Debian Codegraph @

kernel-patches/4.15-rc3/kpp/v3-0001-crypto-AF_ALG-add-DH-keygen-ssgen-API.patch

raw
1 From e19ea079a3760f6d368d88287cc54463685a88cd Mon Sep 17 00:00:00 2001
2 From: Stephan Mueller <[email protected]>
3 Date: Sun, 7 Jan 2018 11:57:10 +0100
4 Subject: [PATCH v3 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 5814696c904f..a53275c85612 100644
16 --- a/include/uapi/linux/if_alg.h
17 +++ b/include/uapi/linux/if_alg.h
18 @@ -42,5 +42,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.14.3
28