API Reference Manual  1.49.0
api/spec/crypto_types.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: BSD-3-Clause
2  * Copyright (c) 2014-2018 Linaro Limited
3  * Copyright (c) 2021-2025 Nokia
4  */
5 
11 #ifndef ODP_API_SPEC_CRYPTO_TYPES_H_
12 #define ODP_API_SPEC_CRYPTO_TYPES_H_
13 #include <odp/visibility_begin.h>
14 
15 #include <odp/api/deprecated.h>
16 #include <odp/api/packet_types.h>
17 #include <odp/api/pool_types.h>
18 #include <odp/api/std_types.h>
19 
20 #ifdef __cplusplus
21 extern "C" {
22 #endif
23 
41 typedef enum {
47 
51 typedef enum {
57 
61 typedef enum {
64 
67 
70 
73 
76 
79 
82 
85 
89 
98 
107 
116 
125 
136 
144 
154 
174 
177 
185 
188 
191 
194 
202 
210 
212 
216 typedef enum {
219 
225 
231 
237 
243 
249 
255 
258 
261 
264 
267 
276 
295 
304 
312 
319 
328 
339 
350 
358 
368 
389 
397 
412 
415 
423 
438 
446 
449 
452 
455 
458 
461 
464 
467 
470 
473 
476 
479 
481 
487  struct {
489  uint32_t null : 1;
490 
492  uint32_t des : 1;
493 
495  uint32_t trides_cbc : 1;
496 
498  uint32_t trides_ecb : 1;
499 
501  uint32_t aes_cbc : 1;
502 
504  uint32_t aes_ctr : 1;
505 
507  uint32_t aes_ecb : 1;
508 
510  uint32_t aes_cfb128 : 1;
511 
513  uint32_t aes_xts : 1;
514 
516  uint32_t aes_gcm : 1;
517 
519  uint32_t aes_ccm : 1;
520 
522  uint32_t chacha20_poly1305 : 1;
523 
525  uint32_t kasumi_f8 : 1;
526 
528  uint32_t snow3g_uea2 : 1;
529 
531  uint32_t snow5g_nea4 : 1;
532 
534  uint32_t aes_eea2 : 1;
535 
537  uint32_t zuc_eea3 : 1;
538 
540  uint32_t snow_v : 1;
541 
543  uint32_t snow_v_gcm : 1;
544 
546  uint32_t sm4_ecb : 1;
547 
549  uint32_t sm4_cbc : 1;
550 
552  uint32_t sm4_ctr : 1;
553 
555  uint32_t sm4_gcm : 1;
556 
558  uint32_t sm4_ccm : 1;
559 
560  } bit;
561 
566  uint64_t all_bits;
568 
572 typedef union odp_crypto_auth_algos_t {
574  struct {
576  uint32_t null : 1;
577 
579  uint32_t md5_hmac : 1;
580 
582  uint32_t sha1_hmac : 1;
583 
585  uint32_t sha224_hmac : 1;
586 
588  uint32_t sha256_hmac : 1;
589 
591  uint32_t sha384_hmac : 1;
592 
594  uint32_t sha512_hmac : 1;
595 
597  uint32_t sha3_224_hmac : 1;
598 
600  uint32_t sha3_256_hmac : 1;
601 
603  uint32_t sha3_384_hmac : 1;
604 
606  uint32_t sha3_512_hmac : 1;
607 
609  uint32_t aes_gcm : 1;
610 
612  uint32_t aes_gmac : 1;
613 
615  uint32_t aes_ccm : 1;
616 
618  uint32_t aes_cmac : 1;
619 
621  uint32_t aes_xcbc_mac : 1;
622 
624  uint32_t chacha20_poly1305 : 1;
625 
627  uint32_t kasumi_f9 : 1;
628 
630  uint32_t snow3g_uia2 : 1;
631 
633  uint32_t snow5g_nia4 : 1;
634 
636  uint32_t aes_eia2 : 1;
637 
639  uint32_t zuc_eia3 : 1;
640 
642  uint32_t snow_v_gcm : 1;
643 
645  uint32_t snow_v_gmac : 1;
646 
648  uint32_t sm3_hmac : 1;
649 
651  uint32_t sm4_gcm : 1;
652 
654  uint32_t sm4_gmac : 1;
655 
657  uint32_t sm4_ccm : 1;
658 
660  uint32_t md5 : 1;
661 
663  uint32_t sha1 : 1;
664 
666  uint32_t sha224 : 1;
667 
669  uint32_t sha256 : 1;
670 
672  uint32_t sha384 : 1;
673 
675  uint32_t sha512 : 1;
676 
678  uint32_t sha3_224 : 1;
679 
681  uint32_t sha3_256 : 1;
682 
684  uint32_t sha3_384 : 1;
685 
687  uint32_t sha3_512 : 1;
688 
690  uint32_t sm3 : 1;
691 
692  } bit;
693 
698  uint64_t all_bits;
700 
704 typedef struct odp_crypto_key {
706  uint8_t *data;
707 
709  uint32_t length;
710 
712 
716 typedef enum odp_crypto_op_type_t {
722 
736 
750 
752 
762 
774 
786 
798 
817 
827 
841 
847 
861 
867 
869  uint32_t cipher_iv_len;
870 
890 
896 
898  uint32_t auth_iv_len;
899 
904  uint32_t auth_digest_len;
905 
912  uint32_t auth_aad_len;
913 
920 
929 
931 
938 
940  const uint8_t *cipher_iv_ptr;
941 
943  const uint8_t *auth_iv_ptr;
944 
967 
971  const uint8_t *aad_ptr;
972 
990 
1015 
1028 
1035  uint8_t null_crypto :1;
1036 
1038 
1042 typedef enum {
1051 
1060 
1068 
1078 
1082 typedef enum {
1092 
1096 typedef struct odp_crypto_op_status {
1100 
1110 
1113 
1116 
1118 
1122 typedef struct odp_crypto_capability_t {
1124  uint32_t max_sessions;
1125 
1128 
1131 
1134 
1137 
1140 
1143 
1154 
1166 
1172  uint32_t key_len;
1173 
1175  uint32_t iv_len;
1176 
1196 
1198 
1204  uint32_t digest_len;
1205 
1207  uint32_t key_len;
1208 
1210  uint32_t iv_len;
1211 
1213  struct {
1215  uint32_t min;
1216 
1218  uint32_t max;
1219 
1222  uint32_t inc;
1224 
1244 
1246 
1251 #ifdef __cplusplus
1252 }
1253 #endif
1254 
1255 #include <odp/visibility_end.h>
1256 #endif
ODP packet.
ODP pool.
Standard C language types and definitions for ODP.
Control deprecated API definitions.
struct odp_crypto_packet_result_t odp_crypto_packet_result_t
Crypto packet API operation result.
struct odp_crypto_cipher_capability_t odp_crypto_cipher_capability_t
Cipher algorithm capabilities.
odp_cipher_alg_t
Crypto API cipher algorithm.
struct odp_crypto_key odp_crypto_key_t
Crypto API key structure.
uint64_t odp_crypto_session_t
Crypto API opaque session handle.
struct odp_crypto_packet_op_param_t odp_crypto_packet_op_param_t
Crypto packet API per packet operation parameters.
odp_crypto_op_type_t
Type of odp_crypto_op()/odp_crypto_op_enq() calls.
struct odp_crypto_auth_capability_t odp_crypto_auth_capability_t
Authentication algorithm capabilities.
odp_auth_alg_t
Crypto API authentication algorithm.
odp_crypto_ses_create_err_t
Crypto API session creation return code.
struct odp_crypto_op_status odp_crypto_op_status_t
Crypto API per packet operation completion status.
union odp_crypto_auth_algos_t odp_crypto_auth_algos_t
Authentication algorithms in a bit field structure.
struct odp_crypto_session_param_t odp_crypto_session_param_t
Crypto API session creation parameters.
odp_crypto_alg_err_t
Crypto API algorithm return code.
union odp_crypto_cipher_algos_t odp_crypto_cipher_algos_t
Cipher algorithms in a bit field structure.
odp_crypto_op_t
Crypto API operation.
struct odp_crypto_capability_t odp_crypto_capability_t
Crypto capabilities.
odp_crypto_op_mode_t
Crypto API operation mode.
@ ODP_CIPHER_ALG_KASUMI_F8
Confidentiality F8 algorithm (UEA1)
@ ODP_CIPHER_ALG_AES_CFB128
AES with 128-bit cipher feedback.
@ ODP_CIPHER_ALG_SNOW5G_NEA4
NEA4 confidentiality algorithm.
@ ODP_CIPHER_ALG_SNOW3G_UEA2
Confidentiality UEA2 algorithm (128-EEA1)
@ ODP_CIPHER_ALG_SNOW_V_GCM
SNOW-V-GCM AEAD algorithm.
@ ODP_CIPHER_ALG_AES_CCM
AES-CCM.
@ ODP_CIPHER_ALG_SM4_CCM
SM4-CCM AEAD algorithm.
@ ODP_CIPHER_ALG_AES_ECB
AES with electronic codebook.
@ ODP_CIPHER_ALG_AES_CTR
AES with counter mode.
@ ODP_CIPHER_ALG_CHACHA20_POLY1305
ChaCha20-Poly1305.
@ ODP_CIPHER_ALG_AES_CBC
AES with cipher block chaining.
@ ODP_CIPHER_ALG_SM4_ECB
SM4 block cipher in ECB mode.
@ ODP_CIPHER_ALG_AES_GCM
AES-GCM.
@ ODP_CIPHER_ALG_3DES_CBC
Triple DES with cipher block chaining.
@ ODP_CIPHER_ALG_AES_EEA2
Confidentiality 128-EEA2 algorithm.
@ ODP_CIPHER_ALG_SM4_CBC
SM4 block cipher in CBC mode.
@ ODP_CIPHER_ALG_AES_XTS
AES with XEX-based tweaked-codebook mode with ciphertext stealing (XTS)
@ ODP_CIPHER_ALG_DES
DES.
@ ODP_CIPHER_ALG_SM4_GCM
SM4-GCM AEAD algorithm.
@ ODP_CIPHER_ALG_NULL
No cipher algorithm specified.
@ ODP_CIPHER_ALG_ZUC_EEA3
ZUC based confidentiality algorithm.
@ ODP_CIPHER_ALG_SNOW_V
SNOW-V stream cipher.
@ ODP_CIPHER_ALG_3DES_ECB
Triple DES with Electronic Codebook.
@ ODP_CIPHER_ALG_SM4_CTR
SM4 block cipher in CTR mode.
@ ODP_CRYPTO_OP_TYPE_BASIC
Input packet data and metadata are copied to the output packet and then processed.
@ ODP_CRYPTO_OP_TYPE_OOP
Out-of-place crypto operation.
@ ODP_CRYPTO_OP_TYPE_BASIC_AND_OOP
Basic or out-of-place crypto operation depending on op params.
@ ODP_AUTH_ALG_SM4_GCM
SM4-GCM AEAD algorithm.
@ ODP_AUTH_ALG_MD5
MD5 algorithm.
@ ODP_AUTH_ALG_SHA384_HMAC
HMAC-SHA-384.
@ ODP_AUTH_ALG_CHACHA20_POLY1305
ChaCha20-Poly1305 AEAD.
@ ODP_AUTH_ALG_AES_CMAC
AES-CMAC.
@ ODP_AUTH_ALG_SHA384
384 bit SHA2 algorithm
@ ODP_AUTH_ALG_SM3
SM3 hash function.
@ ODP_AUTH_ALG_NULL
No authentication algorithm specified.
@ ODP_AUTH_ALG_SM4_CCM
SM4-CCM AEAD algorithm.
@ ODP_AUTH_ALG_SHA512
512 bit SHA2 algorithm
@ ODP_AUTH_ALG_SHA3_256
SHA-3 hash function producing 256-bit digests.
@ ODP_AUTH_ALG_MD5_HMAC
HMAC-MD5.
@ ODP_AUTH_ALG_SHA512_HMAC
HMAC-SHA-512.
@ ODP_AUTH_ALG_SHA1_HMAC
HMAC-SHA-1.
@ ODP_AUTH_ALG_SNOW5G_NIA4
NIA4 integrity algorithm.
@ ODP_AUTH_ALG_SHA256_HMAC
HMAC-SHA-256.
@ ODP_AUTH_ALG_SHA3_224_HMAC
HMAC using SHA3-224.
@ ODP_AUTH_ALG_SHA256
256 bit SHA2 algorithm
@ ODP_AUTH_ALG_SHA1
SHA1 algorithm.
@ ODP_AUTH_ALG_SNOW_V_GMAC
SNOW-V-GMAC.
@ ODP_AUTH_ALG_SNOW3G_UIA2
Integrity UIA2 algorithm (128-EIA1)
@ ODP_AUTH_ALG_SHA3_512
SHA-3 hash function producing 512-bit digests.
@ ODP_AUTH_ALG_SM3_HMAC
HMAC using SM3.
@ ODP_AUTH_ALG_SHA224_HMAC
HMAC-SHA-224.
@ ODP_AUTH_ALG_AES_GMAC
AES-GMAC.
@ ODP_AUTH_ALG_AES_XCBC_MAC
AES-XCBC-MAC.
@ ODP_AUTH_ALG_AES_GCM
AES-GCM.
@ ODP_AUTH_ALG_KASUMI_F9
Integrity F9 algorithm (UIA1)
@ ODP_AUTH_ALG_SHA3_256_HMAC
HMAC using SHA3-256.
@ ODP_AUTH_ALG_SHA3_384
SHA-3 hash function producing 384-bit digests.
@ ODP_AUTH_ALG_SM4_GMAC
SM4-GMAC.
@ ODP_AUTH_ALG_AES_CCM
AES-CCM.
@ ODP_AUTH_ALG_SHA3_224
SHA-3 hash function producing 224-bit digests.
@ ODP_AUTH_ALG_SNOW_V_GCM
SNOW-V-GCM AEAD algorithm.
@ ODP_AUTH_ALG_SHA3_384_HMAC
HMAC using SHA3-384.
@ ODP_AUTH_ALG_AES_EIA2
Integrity 128-EIA2 algorithm.
@ ODP_AUTH_ALG_SHA3_512_HMAC
HMAC using SHA3-512.
@ ODP_AUTH_ALG_ZUC_EIA3
ZUC-based integrity algorithm.
@ ODP_AUTH_ALG_SHA224
224 bit SHA2 algorithm
@ ODP_CRYPTO_SES_ERR_ALG_COMBO
Unsupported combination of algorithms.
@ ODP_CRYPTO_SES_ERR_NONE
Session created.
@ ODP_CRYPTO_SES_ERR_AUTH
Creation failed, bad auth params.
@ ODP_CRYPTO_SES_ERR_ALG_ORDER
Unsupported order of cipher and auth.
@ ODP_CRYPTO_SES_ERR_CIPHER
Creation failed, bad cipher params.
@ ODP_CRYPTO_SES_ERR_PARAMS
Unsupported combination of session creation parameters.
@ ODP_CRYPTO_SES_ERR_ENOMEM
Creation failed, no resources.
@ ODP_CRYPTO_ALG_ERR_NONE
Algorithm successful.
@ ODP_CRYPTO_ALG_ERR_OTHER
Other error.
@ ODP_CRYPTO_ALG_ERR_ICV_CHECK
Computed ICV value mismatch.
@ ODP_CRYPTO_ALG_ERR_DATA_SIZE
Invalid range or packet size.
@ ODP_CRYPTO_OP_ENCODE
Encrypt and/or compute authentication ICV.
@ ODP_CRYPTO_OP_DECODE
Decrypt and/or verify authentication ICV.
@ ODP_CRYPTO_SYNC
Synchronous, return results immediately.
@ ODP_CRYPTO_ASYNC
Asynchronous, return results via posted event.
bool odp_bool_t
Boolean type.
odp_support_t
ODP support.
Authentication algorithm capabilities.
struct odp_crypto_auth_capability_t::@26 aad_len
Additional Authenticated Data (AAD) lengths.
uint32_t min
Minimum AAD length in bytes.
uint32_t max
Maximum AAD length in bytes.
odp_bool_t bit_mode
Auth algorithm supports bit mode.
uint32_t inc
Increment of supported lengths between min and max (in bytes)
uint32_t digest_len
Digest length in bytes.
uint32_t key_len
Key length in bytes.
uint32_t iv_len
IV length in bytes.
odp_support_t async_mode
Supported packet operation in ASYNC mode.
odp_bool_t queue_type_sched
Scheduled crypto completion queue support.
odp_crypto_cipher_algos_t ciphers
Supported cipher algorithms.
odp_crypto_auth_algos_t hw_auths
Authentication algorithms implemented with HW offload.
odp_crypto_cipher_algos_t hw_ciphers
Cipher algorithms implemented with HW offload.
odp_support_t sync_mode
Supported packet operation in SYNC mode.
odp_bool_t queue_type_plain
Plain crypto completion queue support.
odp_crypto_auth_algos_t auths
Supported authentication algorithms.
uint32_t max_sessions
Maximum number of crypto sessions.
Cipher algorithm capabilities.
odp_bool_t bit_mode
Cipher supports bit mode.
uint32_t key_len
Key length in bytes.
uint32_t iv_len
IV length in bytes.
Crypto API key structure.
uint8_t * data
Key data.
uint32_t length
Key length in bytes.
Crypto API per packet operation completion status.
odp_crypto_alg_err_t alg_err
Algorithm specific return code.
Crypto packet API per packet operation parameters.
uint32_t hash_result_offset
Offset from start of packet for hash result.
const uint8_t * aad_ptr
Pointer to AAD.
int32_t dst_offset_shift
Shift of the output offsets with ODP_CRYPTO_OP_TYPE_OOP.
const uint8_t * cipher_iv_ptr
IV pointer for cipher.
const uint8_t * auth_iv_ptr
IV pointer for authentication.
odp_packet_data_range_t cipher_range
Data range to be ciphered.
odp_crypto_session_t session
Session handle from creation.
uint8_t null_crypto
Use null crypto algorithms.
odp_packet_data_range_t auth_range
Data range to be authenticated.
Crypto packet API operation result.
odp_crypto_op_status_t auth_status
Authentication status.
odp_packet_t pkt_in
Input packet passed to odp_crypo_op_enq() when the operation type of the session is ODP_CRYPTO_OP_TYP...
odp_crypto_op_status_t cipher_status
Cipher status.
Crypto API session creation parameters.
odp_bool_t auth_cipher_text
Authenticate cipher vs.
odp_bool_t cipher_range_in_bits
Cipher range unit.
odp_crypto_key_t auth_key
Authentication key.
uint32_t auth_aad_len
Additional Authenticated Data (AAD) length in bytes.
odp_bool_t null_crypto_enable
Enable skipping crypto on per-packet basis.
odp_crypto_op_type_t op_type
Crypto operation type.
odp_crypto_key_t cipher_key
Cipher key.
odp_queue_t compl_queue
Async mode completion event queue.
odp_pool_t output_pool
Output pool.
uint32_t cipher_iv_len
Cipher IV length.
odp_bool_t hash_result_in_auth_range
Hash result location may overlap authentication range.
uint32_t auth_digest_len
Authentication digest length in bytes.
odp_auth_alg_t auth_alg
Authentication algorithm.
odp_bool_t auth_range_in_bits
Auth range unit.
odp_crypto_op_mode_t op_mode
Operation mode when using packet interface: sync or async.
odp_cipher_alg_t cipher_alg
Cipher algorithm.
uint32_t auth_iv_len
Authentication IV length.
odp_crypto_op_t op
Encode vs.
Packet API data range specifier.
Authentication algorithms in a bit field structure.
uint32_t md5
ODP_AUTH_ALG_MD5.
uint32_t sha3_512_hmac
ODP_AUTH_ALG_SHA3_512_HMAC.
uint32_t sha384
ODP_AUTH_ALG_SHA384.
uint32_t sha224
ODP_AUTH_ALG_SHA224.
uint32_t sha3_224
ODP_AUTH_ALG_SHA3_224.
uint64_t all_bits
All bits of the bit field structure.
uint32_t sm3
ODP_AUTH_ALG_SM3.
uint32_t null
ODP_AUTH_ALG_NULL.
uint32_t sha1_hmac
ODP_AUTH_ALG_SHA1_HMAC.
uint32_t sha512_hmac
ODP_AUTH_ALG_SHA512_HMAC.
uint32_t sha256
ODP_AUTH_ALG_SHA256.
uint32_t sha224_hmac
ODP_AUTH_ALG_SHA224_HMAC.
uint32_t sm4_gmac
ODP_AUTH_ALG_SM4_GMAC.
uint32_t sha3_512
ODP_AUTH_ALG_SHA3_512.
uint32_t aes_cmac
ODP_AUTH_ALG_AES_CMAC.
uint32_t zuc_eia3
ODP_AUTH_ALG_ZUC_EIA3.
uint32_t kasumi_f9
ODP_AUTH_ALG_KASUMI_F9.
uint32_t sm4_ccm
ODP_AUTH_ALG_SM4_CCM.
uint32_t snow3g_uia2
ODP_AUTH_ALG_SNOW3G_UIA2.
uint32_t snow_v_gmac
ODP_AUTH_ALG_SNOW_V_GMAC.
uint32_t aes_gmac
ODP_AUTH_ALG_AES_GMAC.
uint32_t sm4_gcm
ODP_AUTH_ALG_SM4_GCM.
uint32_t sha3_224_hmac
ODP_AUTH_ALG_SHA3_224_HMAC.
uint32_t aes_gcm
ODP_AUTH_ALG_AES_GCM.
uint32_t sm3_hmac
ODP_AUTH_ALG_SM3_HMAC.
uint32_t snow_v_gcm
ODP_AUTH_ALG_SNOW_V_GCM.
uint32_t md5_hmac
ODP_AUTH_ALG_MD5_HMAC.
uint32_t sha1
ODP_AUTH_ALG_SHA1.
uint32_t sha3_384_hmac
ODP_AUTH_ALG_SHA3_384_HMAC.
uint32_t aes_xcbc_mac
ODP_AUTH_ALG_AES_XCBC_MAC.
uint32_t sha3_256
ODP_AUTH_ALG_SHA3_256.
uint32_t sha384_hmac
ODP_AUTH_ALG_SHA384_HMAC.
uint32_t sha256_hmac
ODP_AUTH_ALG_SHA256_HMAC.
uint32_t aes_eia2
ODP_AUTH_ALG_AES_EIA2.
uint32_t sha3_256_hmac
ODP_AUTH_ALG_SHA3_256_HMAC.
uint32_t chacha20_poly1305
ODP_AUTH_ALG_CHACHA20_POLY1305.
uint32_t sha512
ODP_AUTH_ALG_SHA512.
struct odp_crypto_auth_algos_t::@25 bit
Authentication algorithms.
uint32_t aes_ccm
ODP_AUTH_ALG_AES_CCM.
uint32_t snow5g_nia4
ODP_AUTH_ALG_SNOW5G_NIA4.
uint32_t sha3_384
ODP_AUTH_ALG_SHA3_384.
Cipher algorithms in a bit field structure.
uint32_t snow_v
ODP_CIPHER_ALG_SNOW_V.
struct odp_crypto_cipher_algos_t::@24 bit
Cipher algorithms.
uint32_t sm4_cbc
ODP_CIPHER_ALG_SM4_CBC.
uint32_t aes_cfb128
ODP_CIPHER_ALG_AES_CFB128.
uint32_t aes_gcm
ODP_CIPHER_ALG_AES_GCM.
uint32_t trides_cbc
ODP_CIPHER_ALG_3DES_CBC.
uint32_t snow_v_gcm
ODP_CIPHER_ALG_SNOW_V_GCM.
uint32_t sm4_ecb
ODP_CIPHER_ALG_SM4_ECB.
uint32_t aes_eea2
ODP_CIPHER_ALG_AES_EEA2.
uint32_t aes_ctr
ODP_CIPHER_ALG_AES_CTR.
uint32_t aes_cbc
ODP_CIPHER_ALG_AES_CBC.
uint32_t sm4_ctr
ODP_CIPHER_ALG_SM4_CTR.
uint32_t des
ODP_CIPHER_ALG_DES.
uint32_t aes_xts
ODP_CIPHER_ALG_AES_XTS.
uint32_t snow5g_nea4
ODP_CIPHER_ALG_SNOW5G_NEA4.
uint32_t zuc_eea3
ODP_CIPHER_ALG_ZUC_EEA3.
uint32_t null
ODP_CIPHER_ALG_NULL.
uint32_t sm4_gcm
ODP_CIPHER_ALG_SM4_GCM.
uint64_t all_bits
All bits of the bit field structure.
uint32_t kasumi_f8
ODP_CIPHER_ALG_KASUMI_F8.
uint32_t sm4_ccm
ODP_CIPHER_ALG_SM4_CCM.
uint32_t aes_ecb
ODP_CIPHER_ALG_AES_ECB.
uint32_t chacha20_poly1305
ODP_CIPHER_ALG_CHACHA20_POLY1305.
uint32_t trides_ecb
ODP_CIPHER_ALG_3DES_ECB.
uint32_t snow3g_uea2
ODP_CIPHER_ALG_SNOW3G_UEA2.
uint32_t aes_ccm
ODP_CIPHER_ALG_AES_CCM.