From ddf7b3e0655cf6dfeacfe509e477c1486d2cc7db Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Wed, 22 Nov 2017 11:42:10 +0100 Subject: 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. --- sys/linux/socket_alg_386.const | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sys/linux/socket_alg_386.const') 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 -- cgit mrf-deployment