aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/crypto.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/crypto.h')
-rw-r--r--include/linux/crypto.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/linux/crypto.h b/include/linux/crypto.h
index 1072f9abaef6..da09b4ac3ae9 100644
--- a/include/linux/crypto.h
+++ b/include/linux/crypto.h
@@ -425,11 +425,15 @@ enum {
425 CRYPTOA_UNSPEC, 425 CRYPTOA_UNSPEC,
426 CRYPTOA_ALG, 426 CRYPTOA_ALG,
427 CRYPTOA_TYPE, 427 CRYPTOA_TYPE,
428 CRYPTOA_U32,
428 __CRYPTOA_MAX, 429 __CRYPTOA_MAX,
429}; 430};
430 431
431#define CRYPTOA_MAX (__CRYPTOA_MAX - 1) 432#define CRYPTOA_MAX (__CRYPTOA_MAX - 1)
432 433
434/* Maximum number of (rtattr) parameters for each template. */
435#define CRYPTO_MAX_ATTRS 32
436
433struct crypto_attr_alg { 437struct crypto_attr_alg {
434 char name[CRYPTO_MAX_ALG_NAME]; 438 char name[CRYPTO_MAX_ALG_NAME];
435}; 439};
@@ -439,6 +443,10 @@ struct crypto_attr_type {
439 u32 mask; 443 u32 mask;
440}; 444};
441 445
446struct crypto_attr_u32 {
447 u32 num;
448};
449
442/* 450/*
443 * Transform user interface. 451 * Transform user interface.
444 */ 452 */