From 153a39ad5f1a67709869331821602f8e3c579746 Mon Sep 17 00:00:00 2001 From: Vikash Bansal Date: Mon, 25 Jan 2021 11:02:35 +0530 Subject: [PATCH 4/7] 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 6f3340410..b3d296fba 100755 --- a/include/uapi/linux/if_alg.h +++ b/include/uapi/linux/if_alg.h @@ -59,5 +59,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.17.1