From e19ea079a3760f6d368d88287cc54463685a88cd Mon Sep 17 00:00:00 2001 From: Stephan Mueller Date: Sun, 7 Jan 2018 11:57:10 +0100 Subject: [PATCH v3 1/8] crypto: AF_ALG -- add DH keygen / ssgen API Add the flags for handling DH key generation and DH shared secret generation. Signed-off-by: Stephan Mueller --- include/uapi/linux/if_alg.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/uapi/linux/if_alg.h b/include/uapi/linux/if_alg.h index 5814696c904f..a53275c85612 100644 --- a/include/uapi/linux/if_alg.h +++ b/include/uapi/linux/if_alg.h @@ -42,5 +42,7 @@ struct af_alg_iv { #define ALG_OP_ENCRYPT 1 #define ALG_OP_SIGN 2 #define ALG_OP_VERIFY 3 +#define ALG_OP_KEYGEN 4 +#define ALG_OP_SSGEN 5 #endif /* _LINUX_IF_ALG_H */ -- 2.14.3