| /dpdk/app/test/ |
| H A D | test_cryptodev_security_pdcp_sdap_test_vectors.h | 23 const uint8_t *auth_key; member 51 .auth_key = NULL, 80 .auth_key = NULL, 109 .auth_key = NULL, 139 .auth_key = NULL, 168 .auth_key = NULL, 198 .auth_key = NULL, 227 .auth_key = NULL, 256 .auth_key = NULL, 1826 .auth_key = NULL, [all …]
|
| H A D | test_cryptodev_mixed_test_vectors.h | 15 } auth_key; member 75 .auth_key = { 174 .auth_key = { 261 .auth_key = { 453 .auth_key = { 540 .auth_key = { 620 .auth_key = { 700 .auth_key = { 892 .auth_key = { 971 .auth_key = { [all …]
|
| H A D | test_cryptodev_hash_test_vectors.h | 64 .auth_key = { 106 .auth_key = { 151 .auth_key = { 198 .auth_key = { 247 .auth_key = { 302 .auth_key = { 338 .auth_key = { 362 .auth_key = { 387 .auth_key = { /* arbitrary data - shouldn't be used */ 412 .auth_key = {
|
| H A D | test_cryptodev_aes_test_vectors.h | 1288 .auth_key = { 1334 .auth_key = { 1379 .auth_key = { 1424 .auth_key = { 1470 .auth_key = { 1515 .auth_key = { 1559 .auth_key = { 1604 .auth_key = { 1648 .auth_key = { 1695 .auth_key = { [all …]
|
| H A D | test_cryptodev_security_ipsec_test_vectors.h | 542 .auth_key = { 651 .auth_key = { 756 .auth_key = { 864 .auth_key = { 1067 .auth_key = { 1157 .auth_key = { 1265 .auth_key = { 1367 .auth_key = {
|
| H A D | test_cryptodev_des_test_vectors.h | 190 .auth_key = { 364 .auth_key = { 604 .auth_key = { 778 .auth_key = {
|
| H A D | test_cryptodev_blockcipher.c | 58 tdata->auth_key.len, in verify_algo_support() 91 uint8_t auth_key[tdata->auth_key.len]; in test_blockcipher_one_case() local 189 if (tdata->auth_key.len) in test_blockcipher_one_case() 190 memcpy(auth_key, tdata->auth_key.data, in test_blockcipher_one_case() 191 tdata->auth_key.len); in test_blockcipher_one_case() 488 auth_xform->auth.key.length = tdata->auth_key.len; in test_blockcipher_one_case() 489 auth_xform->auth.key.data = auth_key; in test_blockcipher_one_case()
|
| /dpdk/drivers/crypto/dpaa_sec/ |
| H A D | dpaa_sec.c | 390 if (ses->auth_key.length) { in dpaa_sec_prep_ipsec_cdb() 705 sess->auth_key.length); in dpaa_sec_dump() 710 (uint64_t)sess->auth_key.length, sess->auth_key.alg, in dpaa_sec_dump() 711 sess->auth_key.algmode, in dpaa_sec_dump() 2268 session->auth_key.data = in dpaa_sec_auth_init() 2573 rte_free(s->auth_key.data); in free_session_data() 2842 session->auth_key.data = NULL; in dpaa_sec_ipsec_proto_init() 2843 session->auth_key.length = 0; in dpaa_sec_ipsec_proto_init() 3224 if (!session->auth_key.data && in dpaa_sec_set_pdcp_session() 3235 session->auth_key.data = NULL; in dpaa_sec_set_pdcp_session() [all …]
|
| /dpdk/app/test-crypto-perf/ |
| H A D | cperf_test_vectors.c | 607 uint8_t auth_key[] = { variable 696 t_vec->auth_key.length = 0; in cperf_test_vector_get_dummy() 697 t_vec->auth_key.data = NULL; in cperf_test_vector_get_dummy() 701 t_vec->auth_key.length = options->auth_key_sz; in cperf_test_vector_get_dummy() 702 t_vec->auth_key.data = auth_key; in cperf_test_vector_get_dummy() 760 t_vec->auth_key.length = 0; in cperf_test_vector_get_dummy() 761 t_vec->auth_key.data = NULL; in cperf_test_vector_get_dummy() 765 t_vec->auth_key.length = options->auth_key_sz; in cperf_test_vector_get_dummy() 766 t_vec->auth_key.data = auth_key; in cperf_test_vector_get_dummy()
|
| H A D | cperf_test_vector_parsing.c | 29 rte_free(vector->auth_key.data); in free_test_vector() 77 if (test_vector->auth_key.data) { in show_test_vector() 79 for (i = 0; i < test_vector->auth_key.length; ++i) { in show_test_vector() 82 if (i == (uint32_t)(test_vector->auth_key.length - 1)) in show_test_vector() 83 printf("0x%02x", test_vector->auth_key.data[i]); in show_test_vector() 86 test_vector->auth_key.data[i]); in show_test_vector() 334 rte_free(vector->auth_key.data); in parse_entry() 335 vector->auth_key.data = data; in parse_entry() 337 vector->auth_key.length = data_length; in parse_entry() 344 vector->auth_key.length = opts->auth_key_sz; in parse_entry()
|
| H A D | cperf_test_vectors.h | 24 } auth_key; member 106 extern uint8_t auth_key[];
|
| /dpdk/examples/ipsec-secgw/test/ |
| H A D | tun_aescbc_sha1_common_defs.sh | 34 auth_key de:ad:be:ef:de:ad:be:ef:de:ad:be:ef:de:ad:be:ef:de:ad:be:ef \ 40 auth_key de:ad:be:ef:de:ad:be:ef:de:ad:be:ef:de:ad:be:ef:de:ad:be:ef \ 47 auth_key de:ad:be:ef:de:ad:be:ef:de:ad:be:ef:de:ad:be:ef:de:ad:be:ef \ 53 auth_key de:ad:be:ef:de:ad:be:ef:de:ad:be:ef:de:ad:be:ef:de:ad:be:ef \ 98 auth_key de:ad:be:ef:de:ad:be:ef:de:ad:be:ef:de:ad:be:ef:de:ad:be:ef \ 104 auth_key de:ad:be:ef:de:ad:be:ef:de:ad:be:ef:de:ad:be:ef:de:ad:be:ef \ 111 auth_key de:ad:be:ef:de:ad:be:ef:de:ad:be:ef:de:ad:be:ef:de:ad:be:ef \ 117 auth_key de:ad:be:ef:de:ad:be:ef:de:ad:be:ef:de:ad:be:ef:de:ad:be:ef \
|
| H A D | tun_3descbc_sha1_common_defs.sh | 35 auth_key de:ad:be:ef:de:ad:be:ef:de:ad:be:ef:de:ad:be:ef:de:ad:be:ef \ 42 auth_key de:ad:be:ef:de:ad:be:ef:de:ad:be:ef:de:ad:be:ef:de:ad:be:ef \ 50 auth_key de:ad:be:ef:de:ad:be:ef:de:ad:be:ef:de:ad:be:ef:de:ad:be:ef \ 57 auth_key de:ad:be:ef:de:ad:be:ef:de:ad:be:ef:de:ad:be:ef:de:ad:be:ef \ 103 auth_key de:ad:be:ef:de:ad:be:ef:de:ad:be:ef:de:ad:be:ef:de:ad:be:ef \ 110 auth_key de:ad:be:ef:de:ad:be:ef:de:ad:be:ef:de:ad:be:ef:de:ad:be:ef \ 118 auth_key de:ad:be:ef:de:ad:be:ef:de:ad:be:ef:de:ad:be:ef:de:ad:be:ef \ 125 auth_key de:ad:be:ef:de:ad:be:ef:de:ad:be:ef:de:ad:be:ef:de:ad:be:ef \
|
| H A D | tun_aesctr_sha1_common_defs.sh | 34 auth_key de:ad:be:ef:de:ad:be:ef:de:ad:be:ef:de:ad:be:ef:de:ad:be:ef \ 40 auth_key de:ad:be:ef:de:ad:be:ef:de:ad:be:ef:de:ad:be:ef:de:ad:be:ef \ 47 auth_key de:ad:be:ef:de:ad:be:ef:de:ad:be:ef:de:ad:be:ef:de:ad:be:ef \ 53 auth_key de:ad:be:ef:de:ad:be:ef:de:ad:be:ef:de:ad:be:ef:de:ad:be:ef \ 98 auth_key de:ad:be:ef:de:ad:be:ef:de:ad:be:ef:de:ad:be:ef:de:ad:be:ef \ 104 auth_key de:ad:be:ef:de:ad:be:ef:de:ad:be:ef:de:ad:be:ef:de:ad:be:ef \ 111 auth_key de:ad:be:ef:de:ad:be:ef:de:ad:be:ef:de:ad:be:ef:de:ad:be:ef \ 117 auth_key de:ad:be:ef:de:ad:be:ef:de:ad:be:ef:de:ad:be:ef:de:ad:be:ef \
|
| H A D | trs_aescbc_sha1_common_defs.sh | 34 auth_key de:ad:be:ef:de:ad:be:ef:de:ad:be:ef:de:ad:be:ef:de:ad:be:ef \ 40 auth_key de:ad:be:ef:de:ad:be:ef:de:ad:be:ef:de:ad:be:ef:de:ad:be:ef \ 47 auth_key de:ad:be:ef:de:ad:be:ef:de:ad:be:ef:de:ad:be:ef:de:ad:be:ef \ 54 auth_key de:ad:be:ef:de:ad:be:ef:de:ad:be:ef:de:ad:be:ef:de:ad:be:ef \
|
| H A D | trs_aesctr_sha1_common_defs.sh | 34 auth_key de:ad:be:ef:de:ad:be:ef:de:ad:be:ef:de:ad:be:ef:de:ad:be:ef \ 40 auth_key de:ad:be:ef:de:ad:be:ef:de:ad:be:ef:de:ad:be:ef:de:ad:be:ef \ 47 auth_key de:ad:be:ef:de:ad:be:ef:de:ad:be:ef:de:ad:be:ef:de:ad:be:ef \ 54 auth_key de:ad:be:ef:de:ad:be:ef:de:ad:be:ef:de:ad:be:ef:de:ad:be:ef \
|
| H A D | trs_3descbc_sha1_common_defs.sh | 35 auth_key de:ad:be:ef:de:ad:be:ef:de:ad:be:ef:de:ad:be:ef:de:ad:be:ef \ 42 auth_key de:ad:be:ef:de:ad:be:ef:de:ad:be:ef:de:ad:be:ef:de:ad:be:ef \ 50 auth_key de:ad:be:ef:de:ad:be:ef:de:ad:be:ef:de:ad:be:ef:de:ad:be:ef \ 58 auth_key de:ad:be:ef:de:ad:be:ef:de:ad:be:ef:de:ad:be:ef:de:ad:be:ef \
|
| /dpdk/examples/ipsec-secgw/ |
| H A D | ep0.cfg | 70 auth_algo sha1-hmac auth_key 0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0 \ 74 a0:a0:a0:a0:a0 auth_algo sha1-hmac auth_key a0:a0:a0:a0:a0:a0:a0:a0:a0:a0:a0:\ 78 a1:a1:a1:a1:a1 auth_algo sha1-hmac auth_key a1:a1:a1:a1:a1:a1:a1:a1:a1:a1:a1:\ 82 b2:b2:b2:b2:b2 auth_algo sha1-hmac auth_key b2:b2:b2:b2:b2:b2:b2:b2:b2:b2:b2:\ 92 c3:c3:c3:c3:c3 auth_algo sha1-hmac auth_key c3:c3:c3:c3:c3:c3:c3:c3:c3:c3:c3:\ 98 4d:4d:4d:4d:4d auth_algo sha1-hmac auth_key 4d:4d:4d:4d:4d:4d:4d:4d:4d:4d:4d:\ 104 auth_algo sha1-hmac auth_key 0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0 \ 108 a0:a0:a0:a0:a0 auth_algo sha1-hmac auth_key a0:a0:a0:a0:a0:a0:a0:a0:a0:a0:a0:\ 112 a1:a1:a1:a1:a1 auth_algo sha1-hmac auth_key a1:a1:a1:a1:a1:a1:a1:a1:a1:a1:a1:\ 116 b2:b2:b2:b2:b2 auth_algo sha1-hmac auth_key b2:b2:b2:b2:b2:b2:b2:b2:b2:b2:b2:\ [all …]
|
| H A D | ep1.cfg | 67 auth_algo sha1-hmac auth_key 0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0 \ 71 a0:a0:a0:a0:a0 auth_algo sha1-hmac auth_key a0:a0:a0:a0:a0:a0:a0:a0:a0:a0:a0:\ 75 a1:a1:a1:a1:a1 auth_algo sha1-hmac auth_key a1:a1:a1:a1:a1:a1:a1:a1:a1:a1:a1:\ 79 b2:b2:b2:b2:b2 auth_algo sha1-hmac auth_key b2:b2:b2:b2:b2:b2:b2:b2:b2:b2:b2:\ 89 c3:c3:c3:c3:c3 auth_algo sha1-hmac auth_key c3:c3:c3:c3:c3:c3:c3:c3:c3:c3:c3:\ 95 4d:4d:4d:4d:4d auth_algo sha1-hmac auth_key 4d:4d:4d:4d:4d:4d:4d:4d:4d:4d:4d:\ 101 auth_algo sha1-hmac auth_key 0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0 \ 105 a0:a0:a0:a0:a0 auth_algo sha1-hmac auth_key a0:a0:a0:a0:a0:a0:a0:a0:a0:a0:a0:\ 109 a1:a1:a1:a1:a1 auth_algo sha1-hmac auth_key a1:a1:a1:a1:a1:a1:a1:a1:a1:a1:a1:\ 113 b2:b2:b2:b2:b2 auth_algo sha1-hmac auth_key b2:b2:b2:b2:b2:b2:b2:b2:b2:b2:b2:\ [all …]
|
| /dpdk/drivers/crypto/cnxk/ |
| H A D | cn9k_ipsec.c | 332 const uint8_t *auth_key; in cn9k_ipsec_outb_sa_create() local 462 auth_key = auth_xform->auth.key.data; in cn9k_ipsec_outb_sa_create() 470 memcpy(out_sa->sha1.hmac_key, auth_key, auth_key_len); in cn9k_ipsec_outb_sa_create() 475 memcpy(out_sa->sha2.hmac_key, auth_key, auth_key_len); in cn9k_ipsec_outb_sa_create() 478 memcpy(out_sa->aes_xcbc.key, auth_key, auth_key_len); in cn9k_ipsec_outb_sa_create() 549 const uint8_t *auth_key; in cn9k_ipsec_inb_sa_create() local 575 auth_key = auth_xform->auth.key.data; in cn9k_ipsec_inb_sa_create() 582 memcpy(in_sa->sha1_or_gcm.hmac_key, auth_key, in cn9k_ipsec_inb_sa_create() 590 memcpy(in_sa->sha2.hmac_key, auth_key, auth_key_len); in cn9k_ipsec_inb_sa_create() 595 memcpy(in_sa->aes_xcbc.key, auth_key, auth_key_len); in cn9k_ipsec_inb_sa_create()
|
| H A D | cnxk_cryptodev_ops.c | 584 if (sess_priv->roc_se_ctx.auth_key != NULL) { in sym_session_configure() 585 plt_free(sess_priv->roc_se_ctx.auth_key); in sym_session_configure() 586 sess_priv->roc_se_ctx.auth_key = NULL; in sym_session_configure() 632 if (sess_priv->roc_se_ctx.auth_key != NULL) in sym_session_clear() 633 plt_free(sess_priv->roc_se_ctx.auth_key); in sym_session_clear()
|
| /dpdk/drivers/crypto/bcmfs/ |
| H A D | bcmfs_sym_engine.c | 560 struct fsattr *mac, struct fsattr *auth_key, in bcmfs_crypto_build_auth_req() argument 572 uint64_t auth_ksize = (auth_key != NULL) ? fsattr_sz(auth_key) : 0; in bcmfs_crypto_build_auth_req() 596 ret = spu2_hash_xlate(a_alg, auth_key, &spu2_auth_type, in bcmfs_crypto_build_auth_req() 623 memcpy((uint8_t *)fmd + src_msg_len, fsattr_va(auth_key), in bcmfs_crypto_build_auth_req() 775 struct fsattr *auth_key, in bcmfs_crypto_build_chain_request() argument 789 uint64_t auth_ksize = (auth_key != NULL) ? in bcmfs_crypto_build_chain_request() 790 fsattr_sz(auth_key) : 0; in bcmfs_crypto_build_chain_request() 811 ret = spu2_hash_xlate(auth_alg, auth_key, &spu2_auth_type, in bcmfs_crypto_build_chain_request() 849 fsattr_va(auth_key), auth_ksize); in bcmfs_crypto_build_chain_request() 852 BCMFS_DP_HEXDUMP_LOG(DEBUG, "auth key:", fsattr_va(auth_key), in bcmfs_crypto_build_chain_request()
|
| H A D | bcmfs_sym.c | 132 struct fsattr cipher_key, aad, mac, auth_key; in process_crypto_combined_op() local 163 fsattr_va(&auth_key) = sess->auth.key.data; in process_crypto_combined_op() 164 fsattr_pa(&auth_key) = 0; in process_crypto_combined_op() 165 fsattr_sz(&auth_key) = sess->auth.key.length; in process_crypto_combined_op() 188 &auth_key, &iv, in process_crypto_combined_op()
|
| /dpdk/drivers/crypto/dpaa2_sec/ |
| H A D | dpaa2_sec_dpseci.c | 1703 sess->auth_key.length); in dpaa2_sec_dump() 2493 rte_free(session->auth_key.data); in dpaa2_sec_auth_init() 2860 rte_free(session->auth_key.data); in dpaa2_sec_aead_chain_init() 3041 session->auth_key.data = NULL; in dpaa2_sec_ipsec_proto_init() 3042 session->auth_key.length = 0; in dpaa2_sec_ipsec_proto_init() 3392 rte_free(session->auth_key.data); in dpaa2_sec_set_ipsec_session() 3519 if (!session->auth_key.data && in dpaa2_sec_set_pdcp_session() 3531 session->auth_key.data = NULL; in dpaa2_sec_set_pdcp_session() 3532 session->auth_key.length = 0; in dpaa2_sec_set_pdcp_session() 3748 rte_free(s->auth_key.data); in dpaa2_sec_security_session_destroy() [all …]
|
| /dpdk/drivers/common/cnxk/ |
| H A D | roc_aes.h | 11 void __roc_api roc_aes_xcbc_key_derive(const uint8_t *auth_key,
|