| /dpdk/drivers/crypto/ccp/ |
| H A D | ccp_crypto.c | 781 memset(sess->auth.key, 0, sess->auth.block_size); in ccp_configure_session_auth() 804 memset(sess->auth.key, 0, sess->auth.block_size); in ccp_configure_session_auth() 817 memset(sess->auth.key, 0, sess->auth.block_size); in ccp_configure_session_auth() 843 memset(sess->auth.key, 0, sess->auth.block_size); in ccp_configure_session_auth() 856 memset(sess->auth.key, 0, sess->auth.block_size); in ccp_configure_session_auth() 882 memset(sess->auth.key, 0, sess->auth.block_size); in ccp_configure_session_auth() 906 memset(sess->auth.key, 0, sess->auth.block_size); in ccp_configure_session_auth() 919 memset(sess->auth.key, 0, sess->auth.block_size); in ccp_configure_session_auth() 945 memset(sess->auth.key, 0, sess->auth.block_size); in ccp_configure_session_auth() 1010 memset(sess->auth.key, 0, sess->auth.block_size); in ccp_configure_session_auth() [all …]
|
| H A D | ccp_pmd_ops.c | 20 {.auth = { \ 41 {.auth = { \ 62 {.auth = { \ 83 {.auth = { \ 104 {.auth = { \ 125 {.auth = { \ 146 {.auth = { \ 167 {.auth = { \ 188 {.auth = { \ 209 {.auth = { \ [all …]
|
| /dpdk/drivers/crypto/ipsec_mb/ |
| H A D | pmd_aesni_mb.c | 85 sess->auth.req_digest_len = xform->auth.digest_length; in aesni_mb_set_session_auth_parameters() 88 sess->auth.operation = xform->auth.op; in aesni_mb_set_session_auth_parameters() 106 sess->auth.gen_digest_len = sess->auth.req_digest_len; in aesni_mb_set_session_auth_parameters() 110 sess->auth.xcbc.k2, sess->auth.xcbc.k3); in aesni_mb_set_session_auth_parameters() 137 sess->auth.gen_digest_len = sess->auth.req_digest_len; in aesni_mb_set_session_auth_parameters() 142 sess->auth.cmac.skey1, sess->auth.cmac.skey2); in aesni_mb_set_session_auth_parameters() 159 sess->auth.gen_digest_len = sess->auth.req_digest_len; in aesni_mb_set_session_auth_parameters() 204 sess->auth.gen_digest_len = sess->auth.req_digest_len; in aesni_mb_set_session_auth_parameters() 206 memcpy(sess->auth.zuc_auth_key, xform->auth.key.data, in aesni_mb_set_session_auth_parameters() 352 sess->auth.pads.inner, sess->auth.pads.outer, in aesni_mb_set_session_auth_parameters() [all …]
|
| H A D | pmd_aesni_mb_priv.h | 30 {.auth = { 51 {.auth = { 72 {.auth = { 93 {.auth = { 114 {.auth = { 135 {.auth = { 156 {.auth = { 177 {.auth = { 198 {.auth = { 219 {.auth = { [all …]
|
| H A D | pmd_snow3g.c | 58 sess->auth_op = auth_xform->auth.op; in snow3g_session_configure() 82 auth_size = (op->sym->auth.data.offset >> 3) + in snow3g_digest_appended_in_src() 83 (op->sym->auth.data.length >> 3); in snow3g_digest_appended_in_src() 130 (ops[i]->sym->auth.data.offset >> 3) + in process_snow3g_cipher_op() 131 (ops[i]->sym->auth.data.length >> 3) + in process_snow3g_cipher_op() 201 (op->sym->auth.data.offset >> 3) + in process_snow3g_cipher_op_bit() 202 (op->sym->auth.data.length >> 3) + in process_snow3g_cipher_op_bit() 252 (ops[i]->sym->auth.data.offset >> 3); in process_snow3g_hash_op() 266 ops[i]->sym->auth.data.offset >> 3); in process_snow3g_hash_op() 286 dst = ops[i]->sym->auth.digest.data; in process_snow3g_hash_op() [all …]
|
| H A D | pmd_zuc.c | 41 if (auth_xform->auth.algo != RTE_CRYPTO_AUTH_ZUC_EIA3) in zuc_session_configure() 44 if (auth_xform->auth.digest_length != ZUC_DIGEST_LENGTH) { in zuc_session_configure() 49 sess->auth_op = auth_xform->auth.op; in zuc_session_configure() 51 if (auth_xform->auth.iv.length != ZUC_IV_KEY_LENGTH) { in zuc_session_configure() 55 sess->auth_iv_offset = auth_xform->auth.iv.offset; in zuc_session_configure() 58 memcpy(sess->pKey_hash, auth_xform->auth.key.data, in zuc_session_configure() 152 if ((ops[i]->sym->auth.data.offset % BYTE_LEN) != 0) { in process_zuc_hash_op() 160 length_in_bits[i] = ops[i]->sym->auth.data.length; in process_zuc_hash_op() 163 (ops[i]->sym->auth.data.offset >> 3); in process_zuc_hash_op() 171 dst[i] = (uint32_t *)ops[i]->sym->auth.digest.data; in process_zuc_hash_op() [all …]
|
| /dpdk/drivers/crypto/armv8/ |
| H A D | rte_armv8_pmd.c | 237 memset(sess->auth.hmac.i_key_pad, 0, sizeof(sess->auth.hmac.i_key_pad)); in auth_hmac_pad_prepare() 238 rte_memcpy(sess->auth.hmac.i_key_pad, sess->auth.hmac.key, in auth_hmac_pad_prepare() 240 memset(sess->auth.hmac.o_key_pad, 0, sizeof(sess->auth.hmac.o_key_pad)); in auth_hmac_pad_prepare() 241 rte_memcpy(sess->auth.hmac.o_key_pad, sess->auth.hmac.key, in auth_hmac_pad_prepare() 265 switch (xform->auth.algo) { in auth_set_prerequisites() 277 rte_memcpy(sess->auth.hmac.key, xform->auth.key.data, in auth_set_prerequisites() 278 xform->auth.key.length); in auth_set_prerequisites() 312 rte_memcpy(sess->auth.hmac.key, xform->auth.key.data, in auth_set_prerequisites() 407 sess->auth.operation = auth_xform->auth.op; in armv8_crypto_set_session_chained_parameters() 422 sess->auth.digest_length = auth_xform->auth.digest_length; in armv8_crypto_set_session_chained_parameters() [all …]
|
| /dpdk/drivers/crypto/bcmfs/ |
| H A D | bcmfs_sym.c | 79 op->sym->auth.data.offset); in process_crypto_auth_op() 82 if (!sess->auth.op) { in process_crypto_auth_op() 92 fsattr_va(&key) = sess->auth.key.data; in process_crypto_auth_op() 100 sess->auth.iv.offset); in process_crypto_auth_op() 102 fsattr_sz(&iv) = sess->auth.iv.length; in process_crypto_auth_op() 109 sess->auth.op, in process_crypto_auth_op() 111 (sess->auth.op) ? (&dst) : NULL, in process_crypto_auth_op() 178 sym_op->auth.data.offset); in process_crypto_combined_op() 180 sym_op->auth.data.offset); in process_crypto_combined_op() 185 sess->auth.algo, in process_crypto_combined_op() [all …]
|
| H A D | bcmfs_sym_capabilities.c | 16 {.auth = { 38 {.auth = { 59 {.auth = { 81 {.auth = { 103 {.auth = { 125 {.auth = { 147 {.auth = { 169 {.auth = { 191 {.auth = { 213 {.auth = { [all …]
|
| /dpdk/app/test-crypto-perf/ |
| H A D | cperf_ops.c | 257 sym_op->auth.data.length = in cperf_set_ops_null_auth() 262 sym_op->auth.data.offset = 0; in cperf_set_ops_null_auth() 398 sym_op->auth.data.length = in cperf_set_ops_auth() 409 sym_op->auth.data.offset = 0; in cperf_set_ops_auth() 505 sym_op->auth.data.length = in cperf_set_ops_cipher_auth() 516 sym_op->auth.data.offset = 0; in cperf_set_ops_cipher_auth() 706 auth_xform.auth.key.length = in create_ipsec_session() 967 auth_xform.auth.key.length = in cperf_create_session() 970 auth_xform.auth.iv.length = in cperf_create_session() 1023 auth_xform.auth.key.length = in cperf_create_session() [all …]
|
| /dpdk/drivers/crypto/cnxk/ |
| H A D | cnxk_cryptodev_capabilities.c | 92 {.auth = { 112 {.auth = { 132 {.auth = { 152 {.auth = { 172 {.auth = { 192 {.auth = { 212 {.auth = { 232 {.auth = { 252 {.auth = { 272 {.auth = { [all …]
|
| H A D | cnxk_ipsec.h | 45 uint16_t keylen = crypto_xform->auth.key.length; in ipsec_xform_auth_verify() 47 if (crypto_xform->auth.algo == RTE_CRYPTO_AUTH_NULL) in ipsec_xform_auth_verify() 50 if (crypto_xform->auth.algo == RTE_CRYPTO_AUTH_SHA1_HMAC) { in ipsec_xform_auth_verify() 53 } else if (crypto_xform->auth.algo == RTE_CRYPTO_AUTH_SHA256_HMAC) { in ipsec_xform_auth_verify() 56 } else if (crypto_xform->auth.algo == RTE_CRYPTO_AUTH_SHA384_HMAC) { in ipsec_xform_auth_verify() 59 } else if (crypto_xform->auth.algo == RTE_CRYPTO_AUTH_SHA512_HMAC) { in ipsec_xform_auth_verify() 62 } else if (crypto_xform->auth.algo == RTE_CRYPTO_AUTH_AES_GMAC) { in ipsec_xform_auth_verify() 67 if (crypto_xform->auth.algo == RTE_CRYPTO_AUTH_AES_XCBC_MAC && in ipsec_xform_auth_verify()
|
| H A D | cn9k_ipsec.c | 190 switch (auth_xform->auth.algo) { in ipsec_sa_ctl_set() 304 cipher_key = auth_xform->auth.key.data; in fill_ipsec_common_sa() 462 auth_key = auth_xform->auth.key.data; in cn9k_ipsec_outb_sa_create() 465 switch (auth_xform->auth.algo) { in cn9k_ipsec_outb_sa_create() 482 auth_xform->auth.algo); in cn9k_ipsec_outb_sa_create() 575 auth_key = auth_xform->auth.key.data; in cn9k_ipsec_inb_sa_create() 578 switch (auth_xform->auth.algo) { in cn9k_ipsec_inb_sa_create() 601 auth_xform->auth.algo); in cn9k_ipsec_inb_sa_create() 665 struct rte_crypto_auth_xform *auth; in cn9k_ipsec_xform_verify() local 669 auth = &crypto->next->auth; in cn9k_ipsec_xform_verify() [all …]
|
| /dpdk/drivers/crypto/octeontx/ |
| H A D | otx_cryptodev_capabilities.c | 15 {.auth = { 35 {.auth = { 60 {.auth = { 80 {.auth = { 100 {.auth = { 120 {.auth = { 140 {.auth = { 160 {.auth = { 180 {.auth = { 200 {.auth = { [all …]
|
| /dpdk/app/test/ |
| H A D | test_cryptodev_security_ipsec.c | 278 cap->sym.auth.algo == auth->auth.algo) { in test_ipsec_crypto_caps_auth_verify() 281 auth->auth.key.length, in test_ipsec_crypto_caps_auth_verify() 282 auth->auth.digest_length, in test_ipsec_crypto_caps_auth_verify() 283 auth->auth.iv.length) == 0) in test_ipsec_crypto_caps_auth_verify() 408 td->xform.chain.auth.auth.algo = in test_ipsec_td_prepare() 410 td->xform.chain.auth.auth.key.length = in test_ipsec_td_prepare() 412 td->xform.chain.auth.auth.digest_length = in test_ipsec_td_prepare() 417 td->xform.chain.auth.auth.iv.length = in test_ipsec_td_prepare() 428 td->xform.chain.auth.auth.algo = in test_ipsec_td_prepare() 430 td->xform.chain.auth.auth.key.length = in test_ipsec_td_prepare() [all …]
|
| H A D | test_cryptodev_mixed_test_vectors.h | 25 } auth; member 89 .auth = { 188 .auth = { 273 .auth = { 467 .auth = { 554 .auth = { 634 .auth = { 712 .auth = { 906 .auth = { 985 .auth = { [all …]
|
| H A D | test_cryptodev_security_ipsec.h | 54 struct rte_crypto_sym_xform auth; member 103 enum rte_crypto_auth_algorithm auth; member 165 .alg.auth = RTE_CRYPTO_AUTH_NULL, 169 .alg.auth = RTE_CRYPTO_AUTH_SHA256_HMAC, 175 .alg.auth = RTE_CRYPTO_AUTH_SHA384_HMAC, 181 .alg.auth = RTE_CRYPTO_AUTH_SHA512_HMAC, 187 .alg.auth = RTE_CRYPTO_AUTH_AES_XCBC_MAC, 193 .alg.auth = RTE_CRYPTO_AUTH_AES_GMAC, 234 struct rte_crypto_sym_xform *auth);
|
| H A D | test_cryptodev_security_ipsec_test_vectors.h | 428 .chain.auth = { 431 .auth = { 631 .chain.auth = { 634 .auth = { 739 .auth = { 847 .auth = { 952 .auth = { 1146 .auth = { 1254 .auth = { 1356 .auth = { [all …]
|
| /dpdk/drivers/crypto/dpaa2_sec/ |
| H A D | dpaa2_sec_priv.h | 240 {.auth = { 261 {.auth = { 282 {.auth = { 303 {.auth = { 324 {.auth = { 345 {.auth = { 366 {.auth = { 387 {.auth = { 408 {.auth = { 429 {.auth = { [all …]
|
| /dpdk/drivers/crypto/dpaa_sec/ |
| H A D | dpaa_sec.h | 258 {.auth = { 279 {.auth = { 300 {.auth = { 321 {.auth = { 342 {.auth = { 363 {.auth = { 384 {.auth = { 405 {.auth = { 426 {.auth = { 447 {.auth = { [all …]
|
| /dpdk/drivers/crypto/openssl/ |
| H A D | rte_openssl_pmd.c | 540 sess->auth.operation = xform->auth.op; in openssl_set_session_auth_parameters() 541 sess->auth.algo = xform->auth.algo; in openssl_set_session_auth_parameters() 543 sess->auth.digest_length = xform->auth.digest_length; in openssl_set_session_auth_parameters() 578 &sess->auth.auth.evp_algo) != 0) in openssl_set_session_auth_parameters() 580 sess->auth.auth.ctx = EVP_MD_CTX_create(); in openssl_set_session_auth_parameters() 596 xform->auth.key.data, in openssl_set_session_auth_parameters() 597 xform->auth.key.length, in openssl_set_session_auth_parameters() 720 switch (sess->auth.mode) { in openssl_reset_session() 722 EVP_MD_CTX_destroy(sess->auth.auth.ctx); in openssl_reset_session() 1567 EVP_MD_CTX_copy_ex(ctx_a, sess->auth.auth.ctx); in process_openssl_auth_op() [all …]
|
| /dpdk/drivers/net/iavf/ |
| H A D | iavf_ipsec_crypto_capabilities.h | 13 {.auth = { 34 {.auth = { 55 {.auth = { 76 {.auth = { 97 {.auth = { 118 {.auth = { 230 {.auth = { 255 {.auth = { 320 {.auth = {
|
| /dpdk/lib/ipsec/ |
| H A D | sa.c | 21 struct rte_crypto_auth_xform *auth; member 54 xform->auth = &xf->auth; in fill_crypto_xform() 70 xform->auth = &xf->auth; in fill_crypto_xform() 81 xform->auth = &xfn->auth; in fill_crypto_xform() 268 sa->ctp.auth.raw = sa->ctp.cipher.raw; in esp_inb_init() 271 sa->ctp.auth.offset = 0; in esp_inb_init() 336 sa->ctp.auth.raw = sa->ctp.cipher.raw; in esp_outb_init() 339 sa->ctp.auth.offset = hlen; in esp_outb_init() 346 sa->cofs.ofs.cipher.tail = (sa->ctp.auth.offset + sa->ctp.auth.length) - in esp_outb_init() 433 sa->icv_len = cxf->auth->digest_length; in esp_sa_init() [all …]
|
| /dpdk/drivers/crypto/caam_jr/ |
| H A D | caam_jr_capabilities.c | 12 {.auth = { 33 {.auth = { 54 {.auth = { 75 {.auth = { 96 {.auth = { 117 {.auth = {
|
| /dpdk/drivers/crypto/mvsam/ |
| H A D | rte_mrvl_pmd_ops.c | 25 {.auth = { 45 {.auth = { 65 {.auth = { 85 {.auth = { 106 {.auth = { 126 {.auth = { 146 {.auth = { 186 {.auth = { 206 {.auth = { 226 {.auth = { [all …]
|