154e7aac0SAlexey Krasikov /* 254e7aac0SAlexey Krasikov * QEMU crypto secret support 354e7aac0SAlexey Krasikov * 454e7aac0SAlexey Krasikov * Copyright 2020 Yandex N.V. 554e7aac0SAlexey Krasikov * 654e7aac0SAlexey Krasikov * This library is free software; you can redistribute it and/or 754e7aac0SAlexey Krasikov * modify it under the terms of the GNU Lesser General Public 854e7aac0SAlexey Krasikov * License as published by the Free Software Foundation; either 954e7aac0SAlexey Krasikov * version 2.1 of the License, or (at your option) any later version. 1054e7aac0SAlexey Krasikov * 1154e7aac0SAlexey Krasikov * This library is distributed in the hope that it will be useful, 1254e7aac0SAlexey Krasikov * but WITHOUT ANY WARRANTY; without even the implied warranty of 1354e7aac0SAlexey Krasikov * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 1454e7aac0SAlexey Krasikov * Lesser General Public License for more details. 1554e7aac0SAlexey Krasikov * 1654e7aac0SAlexey Krasikov * You should have received a copy of the GNU Lesser General Public 1754e7aac0SAlexey Krasikov * License along with this library; if not, see <http://www.gnu.org/licenses/>. 1854e7aac0SAlexey Krasikov * 1954e7aac0SAlexey Krasikov */ 2054e7aac0SAlexey Krasikov 2154e7aac0SAlexey Krasikov #ifndef QCRYPTO_SECRET_KEYRING_H 2254e7aac0SAlexey Krasikov #define QCRYPTO_SECRET_KEYRING_H 2354e7aac0SAlexey Krasikov 2454e7aac0SAlexey Krasikov #include "qapi/qapi-types-crypto.h" 2554e7aac0SAlexey Krasikov #include "qom/object.h" 2654e7aac0SAlexey Krasikov #include "crypto/secret_common.h" 2754e7aac0SAlexey Krasikov 2854e7aac0SAlexey Krasikov #define TYPE_QCRYPTO_SECRET_KEYRING "secret_keyring" 29*30b5707cSEduardo Habkost OBJECT_DECLARE_SIMPLE_TYPE(QCryptoSecretKeyring, 30c734cd40SEduardo Habkost QCRYPTO_SECRET_KEYRING) 3154e7aac0SAlexey Krasikov 3254e7aac0SAlexey Krasikov 331c8eef02SEduardo Habkost struct QCryptoSecretKeyring { 3454e7aac0SAlexey Krasikov QCryptoSecretCommon parent; 3554e7aac0SAlexey Krasikov int32_t serial; 361c8eef02SEduardo Habkost }; 3754e7aac0SAlexey Krasikov 3854e7aac0SAlexey Krasikov 3954e7aac0SAlexey Krasikov 4054e7aac0SAlexey Krasikov #endif /* QCRYPTO_SECRET_KEYRING_H */ 41