aboutsummaryrefslogtreecommitdiffstats
path: root/sys/linux/socket_alg_386.const
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2017-11-22 11:42:10 +0100
committerDmitry Vyukov <dvyukov@google.com>2017-11-24 13:56:20 +0100
commitddf7b3e0655cf6dfeacfe509e477c1486d2cc7db (patch)
treedd3ce89e4c92cdb4ddaaae566222ec8cbd177676 /sys/linux/socket_alg_386.const
parentd19770f1b9c6f1cb953b4a6e767aa914009deb20 (diff)
sys/linux: improve AF_ALG alg name generation
There is effectively infinite number of possible crypto algorithm names due to templates. Plus there is tricky relation between algorithms and algorithm type names. This change adds custom mutator for sockaddr_alg struct to improve variance in generated algorithms.
Diffstat (limited to 'sys/linux/socket_alg_386.const')
-rw-r--r--sys/linux/socket_alg_386.const2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/linux/socket_alg_386.const b/sys/linux/socket_alg_386.const
index 2a2508ade..7affe8a9f 100644
--- a/sys/linux/socket_alg_386.const
+++ b/sys/linux/socket_alg_386.const
@@ -1,5 +1,7 @@
# AUTOGENERATED FILE
AF_ALG = 38
+ALG_OP_DECRYPT = 0
+ALG_OP_ENCRYPT = 1
ALG_SET_AEAD_ASSOCLEN = 4
ALG_SET_AEAD_AUTHSIZE = 5
ALG_SET_IV = 2