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.h9
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 {
372enum { 372enum {
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
377struct crypto_attr_alg { 381struct crypto_attr_alg {
378 char name[CRYPTO_MAX_ALG_NAME]; 382 char name[CRYPTO_MAX_ALG_NAME];
379}; 383};
380 384
385struct crypto_attr_type {
386 u32 type;
387 u32 mask;
388};
389
381/* 390/*
382 * Transform user interface. 391 * Transform user interface.
383 */ 392 */