Sync cryptographic algorithm constants with current cryptodev.h.

Reviewed by:	cem
MFC after:	2 weeks
Sponsored by:	Chelsio Communications
Differential Revision:	https://reviews.freebsd.org/D19881
This commit is contained in:
John Baldwin 2019-04-19 21:58:51 +00:00
parent 1e4abf1d4c
commit 02babf9221

View File

@ -197,7 +197,19 @@ def __COPYRIGHT(s): return __IDSTRING(__CONCAT(__copyright_,__LINE__),s)
CRYPTO_AES_128_NIST_GMAC = 26 CRYPTO_AES_128_NIST_GMAC = 26
CRYPTO_AES_192_NIST_GMAC = 27 CRYPTO_AES_192_NIST_GMAC = 27
CRYPTO_AES_256_NIST_GMAC = 28 CRYPTO_AES_256_NIST_GMAC = 28
CRYPTO_ALGORITHM_MAX = 28 CRYPTO_BLAKE2B = 29
CRYPTO_BLAKE2S = 30
CRYPTO_CHACHA20 = 31
CRYPTO_SHA2_224_HMAC = 32
CRYPTO_RIPEMD160 = 33
CRYPTO_SHA2_224 = 34
CRYPTO_SHA2_256 = 35
CRYPTO_SHA2_384 = 36
CRYPTO_SHA2_512 = 37
CRYPTO_POLY1305 = 38
CRYPTO_AES_CCM_CBC_MAC = 39
CRYPTO_AES_CCM_16 = 40
CRYPTO_ALGORITHM_MAX = 40
CRYPTO_ALG_FLAG_SUPPORTED = 0x01 CRYPTO_ALG_FLAG_SUPPORTED = 0x01
CRYPTO_ALG_FLAG_RNG_ENABLE = 0x02 CRYPTO_ALG_FLAG_RNG_ENABLE = 0x02
CRYPTO_ALG_FLAG_DSA_SHA = 0x04 CRYPTO_ALG_FLAG_DSA_SHA = 0x04