| /f-stack/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_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_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 = { 1099 .cipher_key = { 1144 .cipher_key = { 1188 .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 | 41 tdata->cipher_key.len, in verify_algo_support() 88 uint8_t cipher_key[tdata->cipher_key.len]; in test_blockcipher_one_case() local 168 if (tdata->cipher_key.len) in test_blockcipher_one_case() 169 memcpy(cipher_key, tdata->cipher_key.data, in test_blockcipher_one_case() 170 tdata->cipher_key.len); in test_blockcipher_one_case() 394 cipher_xform->cipher.key.data = cipher_key; in test_blockcipher_one_case() 395 cipher_xform->cipher.key.length = tdata->cipher_key.len; in test_blockcipher_one_case()
|
| /f-stack/dpdk/app/test-crypto-perf/ |
| H A D | cperf_test_vectors.c | 371 uint8_t cipher_key[] = { variable 417 t_vec->cipher_key.length = 0; in cperf_test_vector_get_dummy() 419 t_vec->cipher_key.data = NULL; in cperf_test_vector_get_dummy() 421 t_vec->cipher_key.length = options->cipher_key_sz; in cperf_test_vector_get_dummy() 423 t_vec->cipher_key.data = cipher_key; in cperf_test_vector_get_dummy() 475 t_vec->cipher_key.length = 0; in cperf_test_vector_get_dummy() 477 t_vec->cipher_key.data = NULL; in cperf_test_vector_get_dummy() 479 t_vec->cipher_key.length = options->cipher_key_sz; in cperf_test_vector_get_dummy() 481 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 78 extern uint8_t cipher_key[];
|
| H A D | cperf_ops.c | 569 cipher_xform.cipher.key.data = test_vector->cipher_key.data; in cperf_create_session() 570 cipher_xform.cipher.key.length = test_vector->cipher_key.length; in cperf_create_session() 636 test_vector->cipher_key.data; in cperf_create_session() 638 test_vector->cipher_key.length; in cperf_create_session() 684 test_vector->cipher_key.data; in cperf_create_session() 686 test_vector->cipher_key.length; in cperf_create_session() 742 test_vector->cipher_key.data; in cperf_create_session() 744 test_vector->cipher_key.length; in cperf_create_session()
|
| /f-stack/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_3descbc_sha1_common_defs.sh | 32 cipher_key \ 39 cipher_key \ 47 cipher_key \ 55 cipher_key \
|
| 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 \
|
| /f-stack/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 …]
|
| /f-stack/dpdk/drivers/crypto/dpaa_sec/ |
| H A D | dpaa_sec.c | 251 cipherdata.algtype = ses->cipher_key.alg; in dpaa_sec_prep_pdcp_cdb() 362 cipherdata.algtype = ses->cipher_key.alg; in dpaa_sec_prep_ipsec_cdb() 450 alginfo_c.algtype = ses->cipher_key.alg; in dpaa_sec_prep_cdb() 2329 rte_free(s->cipher_key.data); in free_session_data() 2572 session->cipher_key.data = NULL; in dpaa_sec_ipsec_proto_init() 2573 session->cipher_key.length = 0; in dpaa_sec_ipsec_proto_init() 2917 session->cipher_key.data = NULL; in dpaa_sec_set_pdcp_session() 2918 session->cipher_key.length = 0; in dpaa_sec_set_pdcp_session() 2950 rte_free(session->cipher_key.data); in dpaa_sec_set_pdcp_session() 2959 rte_free(session->cipher_key.data); in dpaa_sec_set_pdcp_session() [all …]
|
| /f-stack/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()
|
| /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 296 cipher_key = crypto_xform->aead.key.data; in crypto_sec_ipsec_outb_session_create() 303 cipher_key = cipher_xform->cipher.key.data; in crypto_sec_ipsec_outb_session_create() 314 memcpy(sa->cipher_key, cipher_key, cipher_key_len); in crypto_sec_ipsec_outb_session_create() 346 const uint8_t *cipher_key, *auth_key; in crypto_sec_ipsec_inb_session_create() local 380 cipher_key = crypto_xform->aead.key.data; in crypto_sec_ipsec_inb_session_create() 387 cipher_key = cipher_xform->cipher.key.data; in crypto_sec_ipsec_inb_session_create() 398 memcpy(sa->cipher_key, cipher_key, cipher_key_len); in crypto_sec_ipsec_inb_session_create()
|
| /f-stack/dpdk/drivers/net/octeontx2/ |
| H A D | otx2_ethdev_sec.c | 355 const uint8_t *cipher_key, *auth_key; in eth_sec_ipsec_out_sess_create() local 413 cipher_key = crypto_xform->aead.key.data; in eth_sec_ipsec_out_sess_create() 416 cipher_key = cipher_xform->cipher.key.data; in eth_sec_ipsec_out_sess_create() 423 memcpy(sa->cipher_key, cipher_key, cipher_key_len); in eth_sec_ipsec_out_sess_create() 471 const uint8_t *cipher_key, *auth_key; in eth_sec_ipsec_in_sess_create() local 506 cipher_key = crypto_xform->aead.key.data; in eth_sec_ipsec_in_sess_create() 509 cipher_key = cipher_xform->cipher.key.data; in eth_sec_ipsec_in_sess_create() 516 memcpy(sa->cipher_key, cipher_key, cipher_key_len); in eth_sec_ipsec_in_sess_create()
|
| /f-stack/freebsd/sys/ |
| H A D | ktls.h | 104 const uint8_t *cipher_key; member 119 const uint8_t *cipher_key; member 145 uint8_t *cipher_key; member
|
| /f-stack/dpdk/drivers/crypto/mvsam/ |
| H A D | rte_mrvl_pmd.c | 225 uint8_t *cipher_key; in mrvl_crypto_set_cipher_session_parameters() local 261 cipher_key = malloc(cipher_xform->cipher.key.length); in mrvl_crypto_set_cipher_session_parameters() 262 if (cipher_key == NULL) { in mrvl_crypto_set_cipher_session_parameters() 267 memcpy(cipher_key, cipher_xform->cipher.key.data, in mrvl_crypto_set_cipher_session_parameters() 271 sess->sam_sess_params.cipher_key = cipher_key; in mrvl_crypto_set_cipher_session_parameters() 382 sess->sam_sess_params.cipher_key = aead_key; in mrvl_crypto_set_aead_session_parameters()
|
| /f-stack/dpdk/drivers/crypto/dpaa2_sec/ |
| H A D | dpaa2_sec_dpseci.c | 1952 rte_free(session->cipher_key.data); in dpaa2_sec_cipher_init() 2360 rte_free(session->cipher_key.data); in dpaa2_sec_aead_chain_init() 2536 rte_free(session->cipher_key.data); in dpaa2_sec_aead_chain_init() 2699 session->cipher_key.data = NULL; in dpaa2_sec_ipsec_proto_init() 2700 session->cipher_key.length = 0; in dpaa2_sec_ipsec_proto_init() 3062 rte_free(session->cipher_key.data); in dpaa2_sec_set_ipsec_session() 3143 session->cipher_key.data = NULL; in dpaa2_sec_set_pdcp_session() 3144 session->cipher_key.length = 0; in dpaa2_sec_set_pdcp_session() 3337 rte_free(session->cipher_key.data); in dpaa2_sec_set_pdcp_session() 3397 rte_free(s->cipher_key.data); in dpaa2_sec_security_session_destroy() [all …]
|