| /dpdk/app/test/ |
| H A D | test_cryptodev_security_pdcp_sdap_test_vectors.h | 22 const uint8_t *cipher_key; member 48 .cipher_key = (uint8_t[]){ 0x5a, 0xcb, 0x1d, 0x64, 0x4c, 0x0d, 77 .cipher_key = (uint8_t[]){ 0x5a, 0xcb, 0x1d, 0x64, 0x4c, 0x0d, 106 .cipher_key = (uint8_t[]){ 0x5a, 0xcb, 0x1d, 0x64, 0x4c, 0x0d, 136 .cipher_key = (uint8_t[]){ 0x5a, 0xcb, 0x1d, 0x64, 0x4c, 0x0d, 165 .cipher_key = (uint8_t[]){ 0x5a, 0xcb, 0x1d, 0x64, 0x4c, 0x0d, 195 .cipher_key = (uint8_t[]){ 0x5a, 0xcb, 0x1d, 0x64, 0x4c, 0x0d, 224 .cipher_key = (uint8_t[]){ 0x5a, 0xcb, 0x1d, 0x64, 0x4c, 0x0d, 253 .cipher_key = (uint8_t[]){ 0x5a, 0xcb, 0x1d, 0x64, 0x4c, 0x0d, 285 .cipher_key = (uint8_t[]){ 0x40, 0x19, 0xe2, 0x99, 0x16, 0xc3, [all …]
|
| H A D | test_cryptodev_aes_test_vectors.h | 723 .cipher_key = { 747 .cipher_key = { 772 .cipher_key = { 798 .cipher_key = { 822 .cipher_key = { 847 .cipher_key = { 873 .cipher_key = { 1265 .cipher_key = { 1310 .cipher_key = { 1354 .cipher_key = { [all …]
|
| H A D | test_cryptodev_des_test_vectors.h | 107 .cipher_key = { 133 .cipher_key = { 168 .cipher_key = { 278 .cipher_key = { 305 .cipher_key = { 341 .cipher_key = { 521 .cipher_key = { 547 .cipher_key = { 582 .cipher_key = { 692 .cipher_key = { [all …]
|
| H A D | test_cryptodev_mixed_test_vectors.h | 32 } cipher_key; member 94 .cipher_key = { 193 .cipher_key = { 278 .cipher_key = { 472 .cipher_key = { 559 .cipher_key = { 639 .cipher_key = { 717 .cipher_key = { 911 .cipher_key = { 990 .cipher_key = { [all …]
|
| H A D | test_cryptodev_blockcipher.c | 43 tdata->cipher_key.len, in verify_algo_support() 90 uint8_t cipher_key[tdata->cipher_key.len]; in test_blockcipher_one_case() local 186 if (tdata->cipher_key.len) in test_blockcipher_one_case() 187 memcpy(cipher_key, tdata->cipher_key.data, in test_blockcipher_one_case() 188 tdata->cipher_key.len); in test_blockcipher_one_case() 461 cipher_xform->cipher.key.data = cipher_key; in test_blockcipher_one_case() 462 cipher_xform->cipher.key.length = tdata->cipher_key.len; in test_blockcipher_one_case()
|
| /dpdk/app/test-crypto-perf/ |
| H A D | cperf_test_vectors.c | 600 uint8_t cipher_key[] = { variable 666 t_vec->cipher_key.length = 0; in cperf_test_vector_get_dummy() 668 t_vec->cipher_key.data = NULL; in cperf_test_vector_get_dummy() 670 t_vec->cipher_key.length = options->cipher_key_sz; in cperf_test_vector_get_dummy() 672 t_vec->cipher_key.data = cipher_key; in cperf_test_vector_get_dummy() 727 t_vec->cipher_key.length = 0; in cperf_test_vector_get_dummy() 729 t_vec->cipher_key.data = NULL; in cperf_test_vector_get_dummy() 731 t_vec->cipher_key.length = options->cipher_key_sz; in cperf_test_vector_get_dummy() 733 t_vec->cipher_key.data = cipher_key; in cperf_test_vector_get_dummy()
|
| H A D | cperf_test_vector_parsing.c | 28 rte_free(vector->cipher_key.data); in free_test_vector() 62 if (test_vector->cipher_key.data) { in show_test_vector() 64 for (i = 0; i < test_vector->cipher_key.length; ++i) { in show_test_vector() 67 if (i == (uint32_t)(test_vector->cipher_key.length - 1)) in show_test_vector() 69 test_vector->cipher_key.data[i]); in show_test_vector() 72 test_vector->cipher_key.data[i]); in show_test_vector() 320 rte_free(vector->cipher_key.data); in parse_entry() 321 vector->cipher_key.data = data; in parse_entry() 323 vector->cipher_key.length = data_length; in parse_entry() 330 vector->cipher_key.length = opts->cipher_key_sz; in parse_entry()
|
| H A D | cperf_test_vectors.h | 19 } cipher_key; member 105 extern uint8_t cipher_key[];
|
| H A D | cperf_ops.c | 688 xform.cipher.key.data = test_vector->cipher_key.data; in create_ipsec_session() 690 test_vector->cipher_key.length; in create_ipsec_session() 819 cipher_xform.cipher.key.data = test_vector->cipher_key.data; in cperf_create_session() 820 cipher_xform.cipher.key.length = test_vector->cipher_key.length; in cperf_create_session() 892 test_vector->cipher_key.data; in cperf_create_session() 894 test_vector->cipher_key.length; in cperf_create_session() 940 test_vector->cipher_key.data; in cperf_create_session() 942 test_vector->cipher_key.length; in cperf_create_session() 998 test_vector->cipher_key.data; in cperf_create_session() 1000 test_vector->cipher_key.length; in cperf_create_session()
|
| /dpdk/drivers/crypto/dpaa_sec/ |
| H A D | dpaa_sec.c | 700 (uint64_t)sess->cipher_key.length, sess->cipher_key.alg, in dpaa_sec_dump() 701 sess->cipher_key.algmode); in dpaa_sec_dump() 703 sess->cipher_key.length); in dpaa_sec_dump() 2574 rte_free(s->cipher_key.data); in free_session_data() 2822 session->cipher_key.data = NULL; in dpaa_sec_ipsec_proto_init() 2823 session->cipher_key.length = 0; in dpaa_sec_ipsec_proto_init() 3185 session->cipher_key.data = NULL; in dpaa_sec_set_pdcp_session() 3186 session->cipher_key.length = 0; in dpaa_sec_set_pdcp_session() 3218 rte_free(session->cipher_key.data); in dpaa_sec_set_pdcp_session() 3227 rte_free(session->cipher_key.data); in dpaa_sec_set_pdcp_session() [all …]
|
| /dpdk/examples/ipsec-secgw/test/ |
| H A D | tun_aescbc_sha1_common_defs.sh | 32 cipher_key de:ad:be:ef:de:ad:be:ef:de:ad:be:ef:de:ad:be:ef \ 38 cipher_key de:ad:be:ef:de:ad:be:ef:de:ad:be:ef:de:ad:be:ef \ 45 cipher_key de:ad:be:ef:de:ad:be:ef:de:ad:be:ef:de:ad:be:ef \ 51 cipher_key de:ad:be:ef:de:ad:be:ef:de:ad:be:ef:de:ad:be:ef \ 96 cipher_key de:ad:be:ef:de:ad:be:ef:de:ad:be:ef:de:ad:be:ef \ 102 cipher_key de:ad:be:ef:de:ad:be:ef:de:ad:be:ef:de:ad:be:ef \ 109 cipher_key de:ad:be:ef:de:ad:be:ef:de:ad:be:ef:de:ad:be:ef \ 115 cipher_key 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 | 32 cipher_key \ 39 cipher_key \ 47 cipher_key \ 54 cipher_key \ 100 cipher_key \ 107 cipher_key \ 115 cipher_key \ 122 cipher_key \
|
| H A D | tun_aesctr_sha1_common_defs.sh | 32 cipher_key de:ad:be:ef:de:ad:be:ef:de:ad:be:ef:de:ad:be:ef:de:ad:be:ef \ 38 cipher_key de:ad:be:ef:de:ad:be:ef:de:ad:be:ef:de:ad:be:ef:de:ad:be:ef \ 45 cipher_key de:ad:be:ef:de:ad:be:ef:de:ad:be:ef:de:ad:be:ef:de:ad:be:ef \ 51 cipher_key de:ad:be:ef:de:ad:be:ef:de:ad:be:ef:de:ad:be:ef:de:ad:be:ef \ 96 cipher_key de:ad:be:ef:de:ad:be:ef:de:ad:be:ef:de:ad:be:ef:de:ad:be:ef \ 102 cipher_key de:ad:be:ef:de:ad:be:ef:de:ad:be:ef:de:ad:be:ef:de:ad:be:ef \ 109 cipher_key de:ad:be:ef:de:ad:be:ef:de:ad:be:ef:de:ad:be:ef:de:ad:be:ef \ 115 cipher_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 | 32 cipher_key de:ad:be:ef:de:ad:be:ef:de:ad:be:ef:de:ad:be:ef \ 38 cipher_key de:ad:be:ef:de:ad:be:ef:de:ad:be:ef:de:ad:be:ef \ 45 cipher_key de:ad:be:ef:de:ad:be:ef:de:ad:be:ef:de:ad:be:ef \ 52 cipher_key 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 | 32 cipher_key de:ad:be:ef:de:ad:be:ef:de:ad:be:ef:de:ad:be:ef:de:ad:be:ef \ 38 cipher_key de:ad:be:ef:de:ad:be:ef:de:ad:be:ef:de:ad:be:ef:de:ad:be:ef \ 45 cipher_key de:ad:be:ef:de:ad:be:ef:de:ad:be:ef:de:ad:be:ef:de:ad:be:ef \ 52 cipher_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 | 32 cipher_key \ 39 cipher_key \ 47 cipher_key \ 55 cipher_key \
|
| /dpdk/examples/ipsec-secgw/ |
| H A D | ep0.cfg | 69 sa out 5 cipher_algo aes-128-cbc cipher_key 0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0 \ 73 sa out 6 cipher_algo aes-128-cbc cipher_key a0:a0:a0:a0:a0:a0:a0:a0:a0:a0:a0:\ 77 sa out 10 cipher_algo aes-128-cbc cipher_key a1:a1:a1:a1:a1:a1:a1:a1:a1:a1:a1:\ 81 sa out 11 cipher_algo aes-128-cbc cipher_key b2:b2:b2:b2:b2:b2:b2:b2:b2:b2:b2:\ 91 sa out 25 cipher_algo aes-128-cbc cipher_key c3:c3:c3:c3:c3:c3:c3:c3:c3:c3:c3:\ 97 sa out 26 cipher_algo aes-128-cbc cipher_key 4d:4d:4d:4d:4d:4d:4d:4d:4d:4d:4d:\ 103 sa in 105 cipher_algo aes-128-cbc cipher_key 0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0 \ 107 sa in 106 cipher_algo aes-128-cbc cipher_key a0:a0:a0:a0:a0:a0:a0:a0:a0:a0:a0:\ 111 sa in 110 cipher_algo aes-128-cbc cipher_key a1:a1:a1:a1:a1:a1:a1:a1:a1:a1:a1:\ 115 sa in 111 cipher_algo aes-128-cbc cipher_key b2:b2:b2:b2:b2:b2:b2:b2:b2:b2:b2:\ [all …]
|
| H A D | ep1.cfg | 66 sa in 5 cipher_algo aes-128-cbc cipher_key 0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0 \ 70 sa in 6 cipher_algo aes-128-cbc cipher_key a0:a0:a0:a0:a0:a0:a0:a0:a0:a0:a0:\ 74 sa in 10 cipher_algo aes-128-cbc cipher_key a1:a1:a1:a1:a1:a1:a1:a1:a1:a1:a1:\ 78 sa in 11 cipher_algo aes-128-cbc cipher_key b2:b2:b2:b2:b2:b2:b2:b2:b2:b2:b2:\ 88 sa in 25 cipher_algo aes-128-cbc cipher_key c3:c3:c3:c3:c3:c3:c3:c3:c3:c3:c3:\ 94 sa in 26 cipher_algo aes-128-cbc cipher_key 4d:4d:4d:4d:4d:4d:4d:4d:4d:4d:4d:\ 100 sa out 105 cipher_algo aes-128-cbc cipher_key 0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0 \ 104 sa out 106 cipher_algo aes-128-cbc cipher_key a0:a0:a0:a0:a0:a0:a0:a0:a0:a0:a0:\ 108 sa out 110 cipher_algo aes-128-cbc cipher_key a1:a1:a1:a1:a1:a1:a1:a1:a1:a1:a1:\ 112 sa out 111 cipher_algo aes-128-cbc cipher_key b2:b2:b2:b2:b2:b2:b2:b2:b2:b2:b2:\ [all …]
|
| /dpdk/drivers/crypto/bcmfs/ |
| H A D | bcmfs_sym_engine.c | 697 ret = spu2_cipher_xlate(calgo, cipher_key, in bcmfs_crypto_build_cipher_req() 707 fsattr_sz(cipher_key), false, false, in bcmfs_crypto_build_cipher_req() 722 if (cipher_key != NULL && fsattr_sz(cipher_key) != 0) { in bcmfs_crypto_build_cipher_req() 730 fsattr_va(cipher_key), xts_keylen); in bcmfs_crypto_build_cipher_req() 732 memcpy(cipher_buf, fsattr_va(cipher_key), in bcmfs_crypto_build_cipher_req() 733 fsattr_sz(cipher_key)); in bcmfs_crypto_build_cipher_req() 736 src_msg_len += fsattr_sz(cipher_key); in bcmfs_crypto_build_cipher_req() 774 struct fsattr *cipher_key, in bcmfs_crypto_build_chain_request() argument 791 uint64_t cipher_ksize = (cipher_key != NULL) ? in bcmfs_crypto_build_chain_request() 792 fsattr_sz(cipher_key) : 0; in bcmfs_crypto_build_chain_request() [all …]
|
| H A D | bcmfs_sym.c | 132 struct fsattr cipher_key, aad, mac, auth_key; in process_crypto_combined_op() local 159 fsattr_va(&cipher_key) = sess->cipher.key.data; in process_crypto_combined_op() 160 fsattr_pa(&cipher_key) = 0; in process_crypto_combined_op() 161 fsattr_sz(&cipher_key) = sess->cipher.key.length; in process_crypto_combined_op() 187 &src, &dst, &cipher_key, in process_crypto_combined_op()
|
| /dpdk/drivers/common/cnxk/ |
| H A D | roc_ie_on.h | 168 uint8_t cipher_key[32]; member 289 uint8_t cipher_key[32]; member 308 uint8_t cipher_key[32]; member
|
| H A D | cnxk_security.c | 54 uint8_t *cipher_key, uint8_t *salt_key, in ot_ipsec_sa_common_param_fill() argument 196 memcpy(cipher_key, key, length); in ot_ipsec_sa_common_param_fill() 197 tmp_key = (uint64_t *)cipher_key; in ot_ipsec_sa_common_param_fill() 333 rc = ot_ipsec_sa_common_param_fill(&w2, sa->cipher_key, sa->w8.s.salt, in cnxk_ot_ipsec_inb_sa_fill() 435 rc = ot_ipsec_sa_common_param_fill(&w2, sa->cipher_key, sa->iv.s.salt, in cnxk_ot_ipsec_outb_sa_fill() 608 uint8_t *cipher_key, uint8_t *hmac_opad_ipad, in onf_ipsec_sa_common_param_fill() argument 717 memcpy(cipher_key, key, length); in onf_ipsec_sa_common_param_fill() 734 rc = onf_ipsec_sa_common_param_fill(ctl, sa->nonce, sa->cipher_key, in cnxk_onf_ipsec_inb_sa_fill() 757 rc = onf_ipsec_sa_common_param_fill(ctl, sa->nonce, sa->cipher_key, in cnxk_onf_ipsec_outb_sa_fill()
|
| H A D | roc_ie_ot.h | 390 uint8_t cipher_key[ROC_CTX_MAX_CKEY_LEN]; member 426 PLT_STATIC_ASSERT(offsetof(struct roc_ot_ipsec_inb_sa, cipher_key) == 512 uint8_t cipher_key[ROC_CTX_MAX_CKEY_LEN]; member 547 PLT_STATIC_ASSERT(offsetof(struct roc_ot_ipsec_outb_sa, cipher_key) ==
|
| /dpdk/drivers/crypto/dpaa2_sec/ |
| H A D | dpaa2_sec_dpseci.c | 1699 sess->cipher_key.length); in dpaa2_sec_dump() 1701 sess->cipher_key.length); in dpaa2_sec_dump() 2258 rte_free(session->cipher_key.data); in dpaa2_sec_cipher_init() 2859 rte_free(session->cipher_key.data); in dpaa2_sec_aead_chain_init() 3021 session->cipher_key.data = NULL; in dpaa2_sec_ipsec_proto_init() 3022 session->cipher_key.length = 0; in dpaa2_sec_ipsec_proto_init() 3393 rte_free(session->cipher_key.data); in dpaa2_sec_set_ipsec_session() 3474 session->cipher_key.data = NULL; in dpaa2_sec_set_pdcp_session() 3475 session->cipher_key.length = 0; in dpaa2_sec_set_pdcp_session() 3747 rte_free(s->cipher_key.data); in dpaa2_sec_security_session_destroy() [all …]
|
| /dpdk/drivers/crypto/caam_jr/ |
| H A D | caam_jr.c | 328 alginfo_c.key = (size_t)ses->cipher_key.data; in caam_jr_prep_cdb() 329 alginfo_c.keylen = ses->cipher_key.length; in caam_jr_prep_cdb() 387 alginfo_c.key = (size_t)ses->cipher_key.data; in caam_jr_prep_cdb() 388 alginfo_c.keylen = ses->cipher_key.length; in caam_jr_prep_cdb() 1687 rte_free(session->cipher_key.data); in caam_jr_set_session_parameters() 1738 rte_free(s->cipher_key.data); in caam_jr_sym_session_clear() 1773 session->cipher_key.data = rte_zmalloc(NULL, in caam_jr_set_ipsec_session() 1776 if (session->cipher_key.data == NULL && in caam_jr_set_ipsec_session() 1789 rte_free(session->cipher_key.data); in caam_jr_set_ipsec_session() 1913 rte_free(session->cipher_key.data); in caam_jr_set_ipsec_session() [all …]
|