aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/cryptouser.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/cryptouser.h')
-rw-r--r--include/linux/cryptouser.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/cryptouser.h b/include/linux/cryptouser.h
index 4abf2ea6a887..36efbbbf2f83 100644
--- a/include/linux/cryptouser.h
+++ b/include/linux/cryptouser.h
@@ -43,6 +43,7 @@ enum crypto_attr_type_t {
43 CRYPTOCFGA_REPORT_COMPRESS, /* struct crypto_report_comp */ 43 CRYPTOCFGA_REPORT_COMPRESS, /* struct crypto_report_comp */
44 CRYPTOCFGA_REPORT_RNG, /* struct crypto_report_rng */ 44 CRYPTOCFGA_REPORT_RNG, /* struct crypto_report_rng */
45 CRYPTOCFGA_REPORT_CIPHER, /* struct crypto_report_cipher */ 45 CRYPTOCFGA_REPORT_CIPHER, /* struct crypto_report_cipher */
46 CRYPTOCFGA_REPORT_AKCIPHER, /* struct crypto_report_akcipher */
46 __CRYPTOCFGA_MAX 47 __CRYPTOCFGA_MAX
47 48
48#define CRYPTOCFGA_MAX (__CRYPTOCFGA_MAX - 1) 49#define CRYPTOCFGA_MAX (__CRYPTOCFGA_MAX - 1)
@@ -101,5 +102,9 @@ struct crypto_report_rng {
101 unsigned int seedsize; 102 unsigned int seedsize;
102}; 103};
103 104
105struct crypto_report_akcipher {
106 char type[CRYPTO_MAX_NAME];
107};
108
104#define CRYPTO_REPORT_MAXSIZE (sizeof(struct crypto_user_alg) + \ 109#define CRYPTO_REPORT_MAXSIZE (sizeof(struct crypto_user_alg) + \
105 sizeof(struct crypto_report_blkcipher)) 110 sizeof(struct crypto_report_blkcipher))