Cryptography device algorithms

Updated: April 19, 2023

Algorithms supported by the cryptography device.

Description:

See cryptodev_session_op_t.

Definitions:

#define CRYPTO_INVALID 0
#define CRYPTO_DES_CBC 1
#define CRYPTO_3DES_CBC 2
#define CRYPTO_BLF_CBC 3
#define CRYPTO_CAST_CBC 4
#define CRYPTO_SKIPJACK_CBC 5
#define CRYPTO_MD5_HMAC 6
#define CRYPTO_SHA1_HMAC 7
#define CRYPTO_RIPEMD160_HMAC 8
#define CRYPTO_MD5_KPDK 9
#define CRYPTO_SHA1_KPDK 10
#define CRYPTO_RIJNDAEL128_CBC 11
#define CRYPTO_AES_CBC CRYPTO_RIJNDAEL128_CBC
#define CRYPTO_ARC4 12
#define CRYPTO_MD5 13
#define CRYPTO_SHA1 14
#define CRYPTO_SHA2_256_HMAC 15
#define CRYPTO_SHA2_HMAC CRYPTO_SHA2_256_HMAC

Defines an alternative algorithm name to allow backwards compatibility.

#define CRYPTO_SHA256_HMAC CRYPTO_SHA2_256_HMAC

Defines an alternative algorithm name to allow backwards compatibility.

#define CRYPTO_NULL_HMAC 16
#define CRYPTO_NULL_CBC 17
#define CRYPTO_DEFLATE_COMP 18
#define CRYPTO_MD5_HMAC_96 19
#define CRYPTO_SHA1_HMAC_96 20
#define CRYPTO_RIPEMD160_HMAC_96 21
#define CRYPTO_GZIP_COMP 22
#define CRYPTO_DEFLATE_COMP_NOGROW 23
#define CRYPTO_SHA2_384_HMAC 24
#define CRYPTO_SHA384_HMAC CRYPTO_SHA2_384_HMAC

Defines an alternative algorithm name to allow backwards compatibility.

#define CRYPTO_SHA2_512_HMAC 25
#define CRYPTO_SHA512_HMAC CRYPTO_SHA2_512_HMAC

Defines an alternative algorithm name to allow backwards compatibility.

#define CRYPTO_CAMELLIA_CBC 26
#define CRYPTO_AES_CTR 27
#define CRYPTO_AES_XCBC_MAC_96 28
#define CRYPTO_AES_XCBC_MAC CRYPTO_AES_XCBC_MAC_96

Defines an alternative algorithm name to allow backwards compatibility.

#define CRYPTO_AES_GCM_16 29
#define CRYPTO_AES_128_GMAC 30
#define CRYPTO_AES_192_GMAC 31
#define CRYPTO_AES_256_GMAC 32
#define CRYPTO_AES_GMAC 33
#define CRYPTO_SHA2_224 34
#define CRYPTO_SHA224 CRYPTO_SHA2_224

Defines an alternative algorithm name to allow backwards compatibility.

#define CRYPTO_SHA2_256 35
#define CRYPTO_SHA256 CRYPTO_SHA2_256

Defines an alternative algorithm name to allow backwards compatibility.

#define CRYPTO_SHA2_384 36
#define CRYPTO_SHA384 CRYPTO_SHA2_384

Defines an alternative algorithm name to allow backwards compatibility.

#define CRYPTO_SHA2_512 37
#define CRYPTO_SHA512 CRYPTO_SHA2_512

Defines an alternative algorithm name to allow backwards compatibility.

#define CRYPTO_SHA2_224_HMAC 38
#define CRYPTO_SHA224_HMAC CRYPTO_SHA2_224_HMAC

Defines an alternative algorithm name to allow backwards compatibility.

#define CRYPTO_AES_XTS 39
#define CRYPTO_AES_ECB 40
#define CRYPTO_AES_GCM 41
#define CRYPTO_SHA512_224 42
#define CRYPTO_SHA512_256 43
#define CRYPTO_SHA512_224_HMAC 44
#define CRYPTO_SHA512_256_HMAC 45
#define CRYPTO_ALGORITHM_ALL 46
#define CRYPTO_ALGORITHM_MIN (CRYPTO_INVALID + 1)
#define CRYPTO_ALGORITHM_MAX (CRYPTO_ALGORITHM_ALL - 1)