| /f-stack/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 = { /* arbitrary data - shouldn't be used */ 387 .auth_key = {
|
| H A D | test_cryptodev_aes_test_vectors.h | 1122 .auth_key = { 1168 .auth_key = { 1213 .auth_key = { 1258 .auth_key = { 1304 .auth_key = { 1349 .auth_key = { 1393 .auth_key = { 1438 .auth_key = { 1485 .auth_key = { 1540 .auth_key = { [all …]
|
| H A D | test_cryptodev_blockcipher.c | 56 tdata->auth_key.len, in verify_algo_support() 89 uint8_t auth_key[tdata->auth_key.len]; in test_blockcipher_one_case() local 171 if (tdata->auth_key.len) in test_blockcipher_one_case() 172 memcpy(auth_key, tdata->auth_key.data, in test_blockcipher_one_case() 173 tdata->auth_key.len); in test_blockcipher_one_case() 416 auth_xform->auth.key.length = tdata->auth_key.len; in test_blockcipher_one_case() 417 auth_xform->auth.key.data = auth_key; in test_blockcipher_one_case()
|
| H A D | test_cryptodev_des_test_vectors.h | 190 .auth_key = { 364 .auth_key = { 604 .auth_key = { 778 .auth_key = {
|
| /f-stack/dpdk/app/test-crypto-perf/ |
| H A D | cperf_test_vectors.c | 378 uint8_t auth_key[] = { variable 444 t_vec->auth_key.length = 0; in cperf_test_vector_get_dummy() 445 t_vec->auth_key.data = NULL; in cperf_test_vector_get_dummy() 449 t_vec->auth_key.length = options->auth_key_sz; in cperf_test_vector_get_dummy() 450 t_vec->auth_key.data = auth_key; in cperf_test_vector_get_dummy() 508 t_vec->auth_key.length = 0; in cperf_test_vector_get_dummy() 509 t_vec->auth_key.data = NULL; in cperf_test_vector_get_dummy() 513 t_vec->auth_key.length = options->auth_key_sz; in cperf_test_vector_get_dummy() 514 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 79 extern uint8_t auth_key[];
|
| /f-stack/dpdk/drivers/crypto/dpaa_sec/ |
| H A D | dpaa_sec.c | 256 authdata.keylen = ses->auth_key.length; in dpaa_sec_prep_pdcp_cdb() 259 authdata.algtype = ses->auth_key.alg; in dpaa_sec_prep_pdcp_cdb() 365 if (ses->auth_key.length) { in dpaa_sec_prep_ipsec_cdb() 370 authdata.algtype = ses->auth_key.alg; in dpaa_sec_prep_ipsec_cdb() 2328 rte_free(s->auth_key.data); in free_session_data() 2592 session->auth_key.data = NULL; in dpaa_sec_ipsec_proto_init() 2593 session->auth_key.length = 0; in dpaa_sec_ipsec_proto_init() 2956 if (!session->auth_key.data && in dpaa_sec_set_pdcp_session() 2967 session->auth_key.data = NULL; in dpaa_sec_set_pdcp_session() 2968 session->auth_key.length = 0; in dpaa_sec_set_pdcp_session() [all …]
|
| /f-stack/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_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 \
|
| 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 \
|
| /f-stack/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 …]
|
| /f-stack/dpdk/drivers/net/octeontx2/ |
| H A D | otx2_ethdev_sec.c | 275 const uint8_t *auth_key, int len, uint8_t *hmac_key) in hmac_init() argument 294 memcpy(md->buffer, auth_key, len); in hmac_init() 355 const uint8_t *cipher_key, *auth_key; in eth_sec_ipsec_out_sess_create() local 410 auth_key = NULL; in eth_sec_ipsec_out_sess_create() 418 auth_key = auth_xform->auth.key.data; in eth_sec_ipsec_out_sess_create() 448 if (auth_key_len && auth_key) { in eth_sec_ipsec_out_sess_create() 449 ret = hmac_init(ctl, qp, auth_key, auth_key_len, sa->hmac_key); in eth_sec_ipsec_out_sess_create() 471 const uint8_t *cipher_key, *auth_key; in eth_sec_ipsec_in_sess_create() local 501 auth_key = NULL; in eth_sec_ipsec_in_sess_create() 511 auth_key = auth_xform->auth.key.data; in eth_sec_ipsec_in_sess_create() [all …]
|
| /f-stack/freebsd/sys/ |
| H A D | ktls.h | 106 const uint8_t *auth_key; member 121 const uint8_t *auth_key; member 146 uint8_t *auth_key; member
|
| /f-stack/dpdk/drivers/crypto/bcmfs/ |
| 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()
|
| 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()
|
| /f-stack/dpdk/drivers/crypto/octeontx2/ |
| H A D | otx2_cryptodev_sec.c | 204 const uint8_t *cipher_key, *auth_key; in crypto_sec_ipsec_outb_session_create() local 305 auth_key = auth_xform->auth.key.data; in crypto_sec_ipsec_outb_session_create() 319 RTE_SET_USED(auth_key); in crypto_sec_ipsec_outb_session_create() 346 const uint8_t *cipher_key, *auth_key; in crypto_sec_ipsec_inb_session_create() local 389 auth_key = auth_xform->auth.key.data; in crypto_sec_ipsec_inb_session_create() 403 RTE_SET_USED(auth_key); in crypto_sec_ipsec_inb_session_create()
|
| /f-stack/dpdk/drivers/crypto/dpaa2_sec/ |
| H A D | dpaa2_sec_dpseci.c | 2172 rte_free(session->auth_key.data); in dpaa2_sec_auth_init() 2537 rte_free(session->auth_key.data); in dpaa2_sec_aead_chain_init() 2719 session->auth_key.data = NULL; in dpaa2_sec_ipsec_proto_init() 2720 session->auth_key.length = 0; in dpaa2_sec_ipsec_proto_init() 3061 rte_free(session->auth_key.data); in dpaa2_sec_set_ipsec_session() 3187 if (!session->auth_key.data && in dpaa2_sec_set_pdcp_session() 3199 session->auth_key.data = NULL; in dpaa2_sec_set_pdcp_session() 3200 session->auth_key.length = 0; in dpaa2_sec_set_pdcp_session() 3336 rte_free(session->auth_key.data); in dpaa2_sec_set_pdcp_session() 3398 rte_free(s->auth_key.data); in dpaa2_sec_security_session_destroy() [all …]
|
| /f-stack/dpdk/drivers/crypto/mvsam/ |
| H A D | rte_mrvl_pmd.c | 287 uint8_t *auth_key = NULL; in mrvl_crypto_set_auth_session_parameters() local 311 auth_key = malloc(auth_xform->auth.key.length); in mrvl_crypto_set_auth_session_parameters() 312 if (auth_key == NULL) { in mrvl_crypto_set_auth_session_parameters() 317 memcpy(auth_key, auth_xform->auth.key.data, in mrvl_crypto_set_auth_session_parameters() 322 sess->sam_sess_params.auth_key = auth_key; in mrvl_crypto_set_auth_session_parameters()
|