diff options
Diffstat (limited to 'include/linux/crypto.h')
-rw-r--r-- | include/linux/crypto.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/linux/crypto.h b/include/linux/crypto.h index d4d05313280c..67830e7c2c31 100644 --- a/include/linux/crypto.h +++ b/include/linux/crypto.h | |||
@@ -372,12 +372,21 @@ struct crypto_hash { | |||
372 | enum { | 372 | enum { |
373 | CRYPTOA_UNSPEC, | 373 | CRYPTOA_UNSPEC, |
374 | CRYPTOA_ALG, | 374 | CRYPTOA_ALG, |
375 | CRYPTOA_TYPE, | ||
376 | __CRYPTOA_MAX, | ||
375 | }; | 377 | }; |
376 | 378 | ||
379 | #define CRYPTOA_MAX (__CRYPTOA_MAX - 1) | ||
380 | |||
377 | struct crypto_attr_alg { | 381 | struct crypto_attr_alg { |
378 | char name[CRYPTO_MAX_ALG_NAME]; | 382 | char name[CRYPTO_MAX_ALG_NAME]; |
379 | }; | 383 | }; |
380 | 384 | ||
385 | struct crypto_attr_type { | ||
386 | u32 type; | ||
387 | u32 mask; | ||
388 | }; | ||
389 | |||
381 | /* | 390 | /* |
382 | * Transform user interface. | 391 | * Transform user interface. |
383 | */ | 392 | */ |