Debian Codegraph @

kernel-patches/4.14-rc1/kpp/v2-0001-crypto-AF_ALG-add-DH-keygen-ssgen-API.patch

raw
1 From ff4676688bdb8ca8236e978ea5d54ab5c15202af Mon Sep 17 00:00:00 2001
2 From: Stephan Mueller <[email protected]>
3 Date: Fri, 31 Mar 2017 05:35:07 +0200
4 Subject: [PATCH v2 1/8] crypto: AF_ALG -- add DH keygen / ssgen API
5
6 Add the flags for handling DH key generation and DH shared
7 secret generation.
8
9 Signed-off-by: Stephan Mueller <[email protected]>
10 ---
11 include/uapi/linux/if_alg.h | 2 ++
12 1 file changed, 2 insertions(+)
13
14 diff --git a/include/uapi/linux/if_alg.h b/include/uapi/linux/if_alg.h
15 index 02e61627e089..c48eeb605ec2 100644
16 --- a/include/uapi/linux/if_alg.h
17 +++ b/include/uapi/linux/if_alg.h
18 @@ -41,5 +41,7 @@ struct af_alg_iv {
19 #define ALG_OP_ENCRYPT 1
20 #define ALG_OP_SIGN 2
21 #define ALG_OP_VERIFY 3
22 +#define ALG_OP_KEYGEN 4
23 +#define ALG_OP_SSGEN 5
24
25 #endif /* _LINUX_IF_ALG_H */
26 --
27 2.13.5
28