| /dpdk/drivers/crypto/bcmfs/ |
| H A D | bcmfs_sym_capabilities.c | 17 .algo = RTE_CRYPTO_AUTH_SHA1, 39 .algo = RTE_CRYPTO_AUTH_MD5, 60 .algo = RTE_CRYPTO_AUTH_SHA224, 82 .algo = RTE_CRYPTO_AUTH_SHA256, 104 .algo = RTE_CRYPTO_AUTH_SHA384, 126 .algo = RTE_CRYPTO_AUTH_SHA512, 148 .algo = RTE_CRYPTO_AUTH_SHA3_224, 170 .algo = RTE_CRYPTO_AUTH_SHA3_256, 192 .algo = RTE_CRYPTO_AUTH_SHA3_384, 214 .algo = RTE_CRYPTO_AUTH_SHA3_512, [all …]
|
| H A D | bcmfs_sym_session.h | 34 enum rte_crypto_cipher_algorithm algo; member 50 enum rte_crypto_auth_algorithm algo; member 69 enum rte_crypto_aead_algorithm algo; member
|
| /dpdk/drivers/crypto/octeontx/ |
| H A D | otx_cryptodev_capabilities.c | 16 .algo = RTE_CRYPTO_AUTH_NULL, 36 .algo = RTE_CRYPTO_AUTH_AES_GMAC, 61 .algo = RTE_CRYPTO_AUTH_KASUMI_F9, 81 .algo = RTE_CRYPTO_AUTH_MD5, 101 .algo = RTE_CRYPTO_AUTH_MD5_HMAC, 121 .algo = RTE_CRYPTO_AUTH_SHA1, 141 .algo = RTE_CRYPTO_AUTH_SHA1_HMAC, 161 .algo = RTE_CRYPTO_AUTH_SHA224, 181 .algo = RTE_CRYPTO_AUTH_SHA224_HMAC, 201 .algo = RTE_CRYPTO_AUTH_SHA256, [all …]
|
| /dpdk/drivers/crypto/cnxk/ |
| H A D | cnxk_ipsec.h | 25 if (crypto_xform->cipher.algo == RTE_CRYPTO_CIPHER_NULL) in ipsec_xform_cipher_verify() 28 if (crypto_xform->cipher.algo == RTE_CRYPTO_CIPHER_DES_CBC && in ipsec_xform_cipher_verify() 32 if (crypto_xform->cipher.algo == RTE_CRYPTO_CIPHER_AES_CBC || in ipsec_xform_cipher_verify() 33 crypto_xform->cipher.algo == RTE_CRYPTO_CIPHER_AES_CTR) { in ipsec_xform_cipher_verify() 45 if (crypto_xform->cipher.algo == RTE_CRYPTO_CIPHER_3DES_CBC && in ipsec_xform_cipher_verify() 57 if (crypto_xform->auth.algo == RTE_CRYPTO_AUTH_NULL) in ipsec_xform_auth_verify() 60 if (crypto_xform->auth.algo == RTE_CRYPTO_AUTH_MD5_HMAC) { in ipsec_xform_auth_verify() 65 if (crypto_xform->auth.algo == RTE_CRYPTO_AUTH_SHA1_HMAC) { in ipsec_xform_auth_verify() 68 } else if (crypto_xform->auth.algo == RTE_CRYPTO_AUTH_SHA256_HMAC) { in ipsec_xform_auth_verify() 71 } else if (crypto_xform->auth.algo == RTE_CRYPTO_AUTH_SHA384_HMAC) { in ipsec_xform_auth_verify() [all …]
|
| /dpdk/lib/pdcp/ |
| H A D | pdcp_crypto.c | 23 cap_idx.algo.cipher = c_xfrm->cipher.algo; in pdcp_crypto_caps_cipher_verify() 43 cap_idx.algo.auth = a_xfrm->auth.algo; in pdcp_crypto_caps_auth_verify() 110 if ((c_xfrm->cipher.algo != RTE_CRYPTO_CIPHER_NULL) && in pdcp_crypto_xfrm_validate() 111 (c_xfrm->cipher.algo != RTE_CRYPTO_CIPHER_AES_CTR) && in pdcp_crypto_xfrm_validate() 112 (c_xfrm->cipher.algo != RTE_CRYPTO_CIPHER_ZUC_EEA3) && in pdcp_crypto_xfrm_validate() 113 (c_xfrm->cipher.algo != RTE_CRYPTO_CIPHER_SNOW3G_UEA2)) in pdcp_crypto_xfrm_validate() 116 if (c_xfrm->cipher.algo == RTE_CRYPTO_CIPHER_NULL) in pdcp_crypto_xfrm_validate() 125 if ((a_xfrm->auth.algo != RTE_CRYPTO_AUTH_NULL) && in pdcp_crypto_xfrm_validate() 126 (a_xfrm->auth.algo != RTE_CRYPTO_AUTH_AES_CMAC) && in pdcp_crypto_xfrm_validate() 127 (a_xfrm->auth.algo != RTE_CRYPTO_AUTH_ZUC_EIA3) && in pdcp_crypto_xfrm_validate() [all …]
|
| /dpdk/drivers/crypto/dpaa2_sec/ |
| H A D | dpaa2_sec_priv.h | 235 .algo = RTE_CRYPTO_AUTH_MD5, 256 .algo = RTE_CRYPTO_AUTH_MD5_HMAC, 277 .algo = RTE_CRYPTO_AUTH_SHA1, 298 .algo = RTE_CRYPTO_AUTH_SHA1_HMAC, 319 .algo = RTE_CRYPTO_AUTH_SHA224, 340 .algo = RTE_CRYPTO_AUTH_SHA224_HMAC, 361 .algo = RTE_CRYPTO_AUTH_SHA256, 382 .algo = RTE_CRYPTO_AUTH_SHA256_HMAC, 403 .algo = RTE_CRYPTO_AUTH_SHA384, 424 .algo = RTE_CRYPTO_AUTH_SHA384_HMAC, [all …]
|
| /dpdk/app/test/ |
| H A D | test_cryptodev_security_tls_record_test_vectors.h | 61 .algo = RTE_CRYPTO_AEAD_AES_GCM, 131 .algo = RTE_CRYPTO_AEAD_AES_GCM, 203 .algo = RTE_CRYPTO_AEAD_AES_GCM, 283 .algo = RTE_CRYPTO_AUTH_SHA1_HMAC, 295 .algo = RTE_CRYPTO_CIPHER_AES_CBC, 365 .algo = RTE_CRYPTO_AEAD_AES_GCM, 437 .algo = RTE_CRYPTO_AEAD_AES_GCM, 499 .algo = RTE_CRYPTO_AUTH_SHA1_HMAC, 511 .algo = RTE_CRYPTO_CIPHER_NULL, 583 .algo = RTE_CRYPTO_AEAD_CHACHA20_POLY1305, [all …]
|
| H A D | test_cryptodev_security_ipsec_test_vectors.h | 116 .algo = RTE_CRYPTO_AEAD_AES_GCM, 215 .algo = RTE_CRYPTO_AEAD_AES_GCM, 317 .algo = RTE_CRYPTO_AEAD_AES_GCM, 418 .algo = RTE_CRYPTO_AEAD_AES_CCM, 525 .algo = RTE_CRYPTO_CIPHER_AES_CBC, 534 .algo = RTE_CRYPTO_AUTH_NULL, 626 .algo = RTE_CRYPTO_AEAD_AES_GCM, 726 .algo = RTE_CRYPTO_CIPHER_AES_CBC, 736 .algo = RTE_CRYPTO_AUTH_MD5_HMAC, 835 .algo = RTE_CRYPTO_CIPHER_AES_CBC, [all …]
|
| H A D | test_security_proto.c | 70 crypto_cap->sym.aead.algo == aead->aead.algo) { in test_sec_crypto_caps_aead_verify() 96 cap->sym.cipher.algo == cipher->cipher.algo) { in test_sec_crypto_caps_cipher_verify() 120 cap->sym.auth.algo == auth->auth.algo) { in test_sec_crypto_caps_auth_verify()
|
| H A D | test_cryptodev_crosscheck.c | 48 int algo; member 93 return rte_cryptodev_get_auth_algo_string(capa->auth.algo); in algo_name_get() 95 return rte_cryptodev_get_cipher_algo_string(capa->cipher.algo); in algo_name_get() 97 return rte_cryptodev_get_aead_algo_string(capa->aead.algo); in algo_name_get() 138 profile.algo = capa->auth.algo; in profile_create() 160 profile.algo = capa->cipher.algo; in profile_create() 179 profile.algo = capa->aead.algo; in profile_create() 247 cap_idx.algo.auth = cap->auth.algo; in sym_capability_to_idx() 250 cap_idx.algo.cipher = cap->cipher.algo; in sym_capability_to_idx() 253 cap_idx.algo.aead = cap->aead.algo; in sym_capability_to_idx() [all …]
|
| /dpdk/drivers/crypto/caam_jr/ |
| H A D | caam_jr_capabilities.c | 13 .algo = RTE_CRYPTO_AUTH_MD5_HMAC, 34 .algo = RTE_CRYPTO_AUTH_SHA1_HMAC, 55 .algo = RTE_CRYPTO_AUTH_SHA224_HMAC, 76 .algo = RTE_CRYPTO_AUTH_SHA256_HMAC, 97 .algo = RTE_CRYPTO_AUTH_SHA384_HMAC, 118 .algo = RTE_CRYPTO_AUTH_SHA512_HMAC, 139 .algo = RTE_CRYPTO_AEAD_AES_GCM, 169 .algo = RTE_CRYPTO_CIPHER_AES_CBC, 189 .algo = RTE_CRYPTO_CIPHER_AES_CTR, 209 .algo = RTE_CRYPTO_CIPHER_3DES_CBC,
|
| /dpdk/drivers/crypto/ccp/ |
| H A D | ccp_pmd_ops.c | 21 .algo = RTE_CRYPTO_AUTH_SHA1, \ 42 .algo = RTE_CRYPTO_AUTH_SHA1_HMAC, \ 63 .algo = RTE_CRYPTO_AUTH_SHA224, \ 84 .algo = RTE_CRYPTO_AUTH_SHA224_HMAC, \ 105 .algo = RTE_CRYPTO_AUTH_SHA3_224, \ 126 .algo = RTE_CRYPTO_AUTH_SHA3_224_HMAC, \ 147 .algo = RTE_CRYPTO_AUTH_SHA256, \ 168 .algo = RTE_CRYPTO_AUTH_SHA256_HMAC, \ 189 .algo = RTE_CRYPTO_AUTH_SHA3_256, \ 210 .algo = RTE_CRYPTO_AUTH_SHA3_256_HMAC, \ [all …]
|
| /dpdk/examples/ipsec-secgw/ |
| H A D | sa.c | 41 enum rte_crypto_cipher_algorithm algo; member 49 enum rte_crypto_auth_algorithm algo; member 58 enum rte_crypto_aead_algorithm algo; member 70 .algo = RTE_CRYPTO_CIPHER_NULL, 77 .algo = RTE_CRYPTO_CIPHER_AES_CBC, 84 .algo = RTE_CRYPTO_CIPHER_AES_CBC, 91 .algo = RTE_CRYPTO_CIPHER_AES_CBC, 98 .algo = RTE_CRYPTO_CIPHER_AES_CTR, 106 .algo = RTE_CRYPTO_CIPHER_AES_CTR, 113 .algo 266 const struct supported_cipher_algo *algo = find_match_cipher_algo() local 282 const struct supported_auth_algo *algo = find_match_auth_algo() local 298 const struct supported_aead_algo *algo = find_match_aead_algo() local 453 const struct supported_cipher_algo *algo; parse_sa_tokens() local 521 const struct supported_auth_algo *algo; parse_sa_tokens() local 586 const struct supported_aead_algo *algo; parse_sa_tokens() local [all...] |
| /dpdk/drivers/crypto/nitrox/ |
| H A D | nitrox_sym_capabilities.c | 13 .algo = RTE_CRYPTO_AUTH_SHA1_HMAC, 34 .algo = RTE_CRYPTO_AUTH_SHA224_HMAC, 55 .algo = RTE_CRYPTO_AUTH_SHA256_HMAC, 76 .algo = RTE_CRYPTO_CIPHER_AES_CBC, 96 .algo = RTE_CRYPTO_CIPHER_3DES_CBC, 116 .algo = RTE_CRYPTO_AEAD_AES_GCM, 146 .algo = RTE_CRYPTO_AEAD_AES_CCM,
|
| /dpdk/drivers/crypto/mvsam/ |
| H A D | rte_mrvl_pmd_ops.c | 26 .algo = RTE_CRYPTO_AUTH_MD5_HMAC, 46 .algo = RTE_CRYPTO_AUTH_MD5, 66 .algo = RTE_CRYPTO_AUTH_SHA1_HMAC, 86 .algo = RTE_CRYPTO_AUTH_SHA1, 107 .algo = RTE_CRYPTO_AUTH_SHA224_HMAC, 127 .algo = RTE_CRYPTO_AUTH_SHA224, 147 .algo = RTE_CRYPTO_AUTH_SHA256_HMAC, 167 .algo = RTE_CRYPTO_AUTH_SHA256, 187 .algo = RTE_CRYPTO_AUTH_SHA384_HMAC, 207 .algo = RTE_CRYPTO_AUTH_SHA384, [all …]
|
| /dpdk/examples/fips_validation/ |
| H A D | fips_dev_self_test.c | 36 enum rte_crypto_cipher_algorithm algo; member 40 enum rte_crypto_aead_algorithm algo; member 48 enum rte_crypto_auth_algorithm algo; member 77 .algo = RTE_CRYPTO_AUTH_SHA1_HMAC, 122 .algo = RTE_CRYPTO_AUTH_SHA224_HMAC, 174 .algo = RTE_CRYPTO_AUTH_SHA256_HMAC, 224 .algo = RTE_CRYPTO_AUTH_SHA384_HMAC, 277 .algo = RTE_CRYPTO_AUTH_SHA512_HMAC, 336 .algo = RTE_CRYPTO_AUTH_AES_CMAC, 377 .algo = RTE_CRYPTO_AEAD_AES_CCM, [all …]
|
| H A D | fips_validation_sha.c | 33 enum rte_crypto_auth_algorithm algo; member 49 parse_test_sha_hash_size(enum rte_crypto_auth_algorithm algo) in parse_test_sha_hash_size() argument 55 if (phsc[i].algo == algo) { in parse_test_sha_hash_size() 73 info.interim_info.sha_data.algo = phsc[i].algo; in parse_interim_algo() 124 enum rte_crypto_auth_algorithm algo; member 219 if (info.interim_info.sha_data.algo == RTE_CRYPTO_AUTH_SHAKE_128 || in parse_test_sha_json_writeback() 220 info.interim_info.sha_data.algo == RTE_CRYPTO_AUTH_SHAKE_256) in parse_test_sha_json_writeback() 234 if (info.interim_info.sha_data.algo == RTE_CRYPTO_AUTH_SHAKE_128 || in parse_test_sha_mct_json_writeback() 235 info.interim_info.sha_data.algo == RTE_CRYPTO_AUTH_SHAKE_256) in parse_test_sha_mct_json_writeback() 294 info.interim_info.sha_data.algo = json_algorithms[i].algo; in parse_test_sha_json_algorithm() [all …]
|
| H A D | fips_validation.c | 119 info.algo = FIPS_TEST_ALGO_AES; in fips_test_parse_header() 125 info.algo = FIPS_TEST_ALGO_AES_GCM; in fips_test_parse_header() 131 info.algo = FIPS_TEST_ALGO_AES_CMAC; in fips_test_parse_header() 137 info.algo = FIPS_TEST_ALGO_AES_CCM; in fips_test_parse_header() 143 info.algo = FIPS_TEST_ALGO_HMAC; in fips_test_parse_header() 149 info.algo = FIPS_TEST_ALGO_TDES; in fips_test_parse_header() 155 info.algo = FIPS_TEST_ALGO_TDES; in fips_test_parse_header() 161 info.algo = FIPS_TEST_ALGO_TDES; in fips_test_parse_header() 167 info.algo = FIPS_TEST_ALGO_TDES; in fips_test_parse_header() 173 info.algo in fips_test_parse_header() [all...] |
| H A D | fips_validation_hmac.c | 33 enum rte_crypto_auth_algorithm algo; member 56 info.interim_info.hmac_data.algo = hsc[i].algo; in parse_interim_algo() 183 info.interim_info.hmac_data.algo = json_algorithms[i].algo; in parse_test_hmac_json_algorithm()
|
| /dpdk/drivers/compress/qat/dev/ |
| H A D | qat_comp_pmd_gen4.c | 16 .algo = RTE_COMP_ALGO_DEFLATE, 95 if (xform->compress.algo == RTE_COMP_ALGO_DEFLATE) { in qat_comp_set_slice_cfg_word_gen4() 101 hw_comp_lower_csr.algo = in qat_comp_set_slice_cfg_word_gen4() 106 hw_comp_lower_csr.algo = in qat_comp_set_slice_cfg_word_gen4() 175 if (xform->compress.algo == RTE_COMP_ALGO_DEFLATE) in qat_comp_set_slice_cfg_word_gen4() 176 hw_decomp_lower_csr.algo = in qat_comp_set_slice_cfg_word_gen4()
|
| H A D | qat_comp_pmd_gen1.c | 16 .algo = RTE_COMP_ALGO_DEFLATE, 105 unsigned int algo, comp_level, direction; in qat_comp_set_slice_cfg_word_gen1() local 107 if (xform->compress.algo == RTE_COMP_ALGO_DEFLATE) in qat_comp_set_slice_cfg_word_gen1() 108 algo = ICP_QAT_HW_COMPRESSION_ALGO_DEFLATE; in qat_comp_set_slice_cfg_word_gen1() 142 algo, in qat_comp_set_slice_cfg_word_gen1()
|
| /dpdk/lib/vhost/ |
| H A D | vhost_crypto.c | 59 enum rte_crypto_cipher_algorithm *algo) in cipher_algo_transform() argument 63 *algo = RTE_CRYPTO_CIPHER_AES_CBC; in cipher_algo_transform() 66 *algo = RTE_CRYPTO_CIPHER_AES_CTR; in cipher_algo_transform() 69 *algo = -VIRTIO_CRYPTO_NOTSUPP; in cipher_algo_transform() 72 *algo = RTE_CRYPTO_CIPHER_DES_CBC; in cipher_algo_transform() 75 *algo = RTE_CRYPTO_CIPHER_3DES_ECB; in cipher_algo_transform() 78 *algo = RTE_CRYPTO_CIPHER_3DES_CBC; in cipher_algo_transform() 81 *algo = RTE_CRYPTO_CIPHER_3DES_CTR; in cipher_algo_transform() 84 *algo = RTE_CRYPTO_CIPHER_KASUMI_F8; in cipher_algo_transform() 87 *algo = RTE_CRYPTO_CIPHER_SNOW3G_UEA2; in cipher_algo_transform() [all …]
|
| H A D | virtio_crypto.h | 33 uint32_t algo; member 55 uint32_t algo; member 92 uint32_t algo; member 120 uint32_t algo; member 138 uint32_t algo; member 243 uint32_t algo; member
|
| /dpdk/drivers/crypto/null/ |
| H A D | null_crypto_pmd.c | 25 if (xform->auth.algo == RTE_CRYPTO_AUTH_NULL) in null_crypto_set_session_parameters() 30 if (xform->auth.algo == RTE_CRYPTO_AUTH_NULL && in null_crypto_set_session_parameters() 31 xform->next->cipher.algo == RTE_CRYPTO_CIPHER_NULL) in null_crypto_set_session_parameters() 36 if (xform->cipher.algo == RTE_CRYPTO_CIPHER_NULL) in null_crypto_set_session_parameters() 41 if (xform->cipher.algo == RTE_CRYPTO_CIPHER_NULL && in null_crypto_set_session_parameters() 42 xform->next->auth.algo == RTE_CRYPTO_AUTH_NULL) in null_crypto_set_session_parameters()
|
| /dpdk/drivers/common/qat/qat_adf/ |
| H A D | icp_qat_hw.h | 128 #define ICP_QAT_HW_AUTH_CONFIG_BUILD(mode, algo, cmp_len) \ argument 130 (((algo) & QAT_AUTH_ALGO_MASK) << QAT_AUTH_ALGO_BITPOS) | \ 131 (((algo >> 4) & QAT_AUTH_ALGO_SHA3_MASK) \ 303 #define ICP_QAT_HW_CIPHER_CONFIG_BUILD(mode, algo, convert, dir) \ argument 305 ((algo & QAT_CIPHER_ALGO_MASK) << QAT_CIPHER_ALGO_BITPOS) | \ 456 enum icp_qat_hw_cipher_algo algo; member 487 csr.algo, in ICP_QAT_HW_UCS_CIPHER_GEN4_BUILD_CONFIG_LOWER() 590 dir, delayed, algo, depth, filetype) \ argument 594 (((algo) & QAT_COMPRESSION_ALGO_MASK) \
|