/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ /* * Crypto user configuration API. * * Copyright (C) 2011 secunet Security Networks AG * Copyright (C) 2011 Steffen Klassert <[email protected]> * * This program is free software; you can redistribute it and/or modify it * under the terms and conditions of the GNU General Public License, * version 2, as published by the Free Software Foundation. * * This program is distributed in the hope it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for * more details. * * You should have received a copy of the GNU General Public License along with * this program; if not, write to the Free Software Foundation, Inc., * 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef _UAPI_LINUX_CRYPTOUSER_H #define _UAPI_LINUX_CRYPTOUSER_H #include <linux/types.h> /* Netlink configuration messages. */ enum { … }; #define CRYPTO_MSG_MAX … #define CRYPTO_NR_MSGTYPES … #define CRYPTO_MAX_NAME … /* Netlink message attributes. */ enum crypto_attr_type_t { … }; struct crypto_user_alg { … }; /* No longer supported, do not use. */ struct crypto_stat_aead { … }; /* No longer supported, do not use. */ struct crypto_stat_akcipher { … }; /* No longer supported, do not use. */ struct crypto_stat_cipher { … }; /* No longer supported, do not use. */ struct crypto_stat_compress { … }; /* No longer supported, do not use. */ struct crypto_stat_hash { … }; /* No longer supported, do not use. */ struct crypto_stat_kpp { … }; /* No longer supported, do not use. */ struct crypto_stat_rng { … }; /* No longer supported, do not use. */ struct crypto_stat_larval { … }; struct crypto_report_larval { … }; struct crypto_report_hash { … }; struct crypto_report_cipher { … }; struct crypto_report_blkcipher { … }; struct crypto_report_aead { … }; struct crypto_report_comp { … }; struct crypto_report_rng { … }; struct crypto_report_akcipher { … }; struct crypto_report_kpp { … }; struct crypto_report_acomp { … }; #define CRYPTO_REPORT_MAXSIZE … #endif /* _UAPI_LINUX_CRYPTOUSER_H */