| /f-stack/dpdk/drivers/crypto/ccp/ |
| H A D | ccp_crypto.c | 774 memset(sess->auth.key, 0, sess->auth.block_size); in ccp_configure_session_auth() 796 memset(sess->auth.key, 0, sess->auth.block_size); in ccp_configure_session_auth() 809 memset(sess->auth.key, 0, sess->auth.block_size); in ccp_configure_session_auth() 834 memset(sess->auth.key, 0, sess->auth.block_size); in ccp_configure_session_auth() 847 memset(sess->auth.key, 0, sess->auth.block_size); in ccp_configure_session_auth() 873 memset(sess->auth.key, 0, sess->auth.block_size); in ccp_configure_session_auth() 896 memset(sess->auth.key, 0, sess->auth.block_size); in ccp_configure_session_auth() 909 memset(sess->auth.key, 0, sess->auth.block_size); in ccp_configure_session_auth() 935 memset(sess->auth.key, 0, sess->auth.block_size); in ccp_configure_session_auth() 999 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 …]
|
| /f-stack/dpdk/drivers/crypto/aesni_mb/ |
| H A D | rte_aesni_mb_pmd.c | 166 sess->auth.req_digest_len = xform->auth.digest_length; in aesni_mb_set_session_auth_parameters() 169 sess->auth.operation = xform->auth.op; in aesni_mb_set_session_auth_parameters() 181 sess->auth.gen_digest_len = sess->auth.req_digest_len; in aesni_mb_set_session_auth_parameters() 185 sess->auth.xcbc.k2, sess->auth.xcbc.k3); in aesni_mb_set_session_auth_parameters() 211 sess->auth.gen_digest_len = sess->auth.req_digest_len; in aesni_mb_set_session_auth_parameters() 216 sess->auth.cmac.skey1, sess->auth.cmac.skey2); in aesni_mb_set_session_auth_parameters() 232 sess->auth.gen_digest_len = sess->auth.req_digest_len; in aesni_mb_set_session_auth_parameters() 269 sess->auth.gen_digest_len = sess->auth.req_digest_len; in aesni_mb_set_session_auth_parameters() 281 sess->auth.gen_digest_len = sess->auth.req_digest_len; in aesni_mb_set_session_auth_parameters() 410 sess->auth.pads.inner, sess->auth.pads.outer, in aesni_mb_set_session_auth_parameters() [all …]
|
| H A D | rte_aesni_mb_pmd_ops.c | 21 {.auth = { 42 {.auth = { 63 {.auth = { 84 {.auth = { 105 {.auth = { 126 {.auth = { 147 {.auth = { 168 {.auth = { 189 {.auth = { 210 {.auth = { [all …]
|
| /f-stack/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 …]
|
| /f-stack/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 …]
|
| H A D | bcmfs_sym_session.c | 83 sess->auth.op = auth_xform->op; in crypto_set_session_auth_parameters() 84 sess->auth.key.length = auth_xform->key.length; in crypto_set_session_auth_parameters() 85 sess->auth.digest_length = auth_xform->digest_length; in crypto_set_session_auth_parameters() 86 sess->auth.iv.length = auth_xform->iv.length; in crypto_set_session_auth_parameters() 87 sess->auth.iv.offset = auth_xform->iv.offset; in crypto_set_session_auth_parameters() 88 sess->auth.algo = auth_xform->algo; in crypto_set_session_auth_parameters() 92 sess->auth.key.data); in crypto_set_session_auth_parameters() 127 return &xform->auth; in crypto_get_auth_xform()
|
| /f-stack/dpdk/app/test-crypto-perf/ |
| H A D | cperf_ops.c | 148 sym_op->auth.data.length = in cperf_set_ops_null_auth() 153 sym_op->auth.data.offset = 0; in cperf_set_ops_null_auth() 252 sym_op->auth.digest.phys_addr = in cperf_set_ops_auth() 287 sym_op->auth.data.length = in cperf_set_ops_auth() 298 sym_op->auth.data.offset = 0; in cperf_set_ops_auth() 393 sym_op->auth.data.length = in cperf_set_ops_cipher_auth() 404 sym_op->auth.data.offset = 0; in cperf_set_ops_cipher_auth() 711 auth_xform.auth.key.length = in cperf_create_session() 714 auth_xform.auth.iv.length = in cperf_create_session() 767 auth_xform.auth.key.length = in cperf_create_session() [all …]
|
| /f-stack/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 …]
|
| /f-stack/dpdk/drivers/crypto/qat/ |
| H A D | qat_sym_capabilities.h | 13 {.auth = { \ 34 {.auth = { \ 55 {.auth = { \ 76 {.auth = { \ 97 {.auth = { \ 118 {.auth = { \ 139 {.auth = { \ 160 {.auth = { \ 181 {.auth = { \ 202 {.auth = { \ [all …]
|
| /f-stack/dpdk/app/test/ |
| 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_blockcipher.c | 49 cap_idx.algo.auth = tdata->auth_algo; in verify_algo_support() 54 if (cap_idx.algo.auth != RTE_CRYPTO_AUTH_NULL) in verify_algo_support() 415 auth_xform->auth.algo = tdata->auth_algo; in test_blockcipher_one_case() 417 auth_xform->auth.key.data = auth_key; in test_blockcipher_one_case() 418 auth_xform->auth.digest_length = digest_len; in test_blockcipher_one_case() 424 sym_op->auth.digest.phys_addr = in test_blockcipher_one_case() 431 sym_op->auth.digest.phys_addr = in test_blockcipher_one_case() 436 sym_op->auth.data.offset = tdata->auth_offset; in test_blockcipher_one_case() 624 changed_len = sym_op->auth.data.length; in test_blockcipher_one_case() 682 sym_op->auth.data.offset + in test_blockcipher_one_case() [all …]
|
| H A D | test_cryptodev_snow3g_test_vectors.h | 60 } auth; member 400 .auth = { 490 .auth = { 583 .auth = { 650 .auth = { 717 .auth = {
|
| /f-stack/dpdk/drivers/crypto/dpaa2_sec/ |
| H A D | dpaa2_sec_priv.h | 208 {.auth = { 229 {.auth = { 250 {.auth = { 271 {.auth = { 292 {.auth = { 313 {.auth = { 334 {.auth = { 355 {.auth = { 376 {.auth = { 397 {.auth = { [all …]
|
| /f-stack/dpdk/drivers/crypto/octeontx2/ |
| H A D | otx2_cryptodev_capabilities.c | 104 {.auth = { 124 {.auth = { 144 {.auth = { 164 {.auth = { 184 {.auth = { 204 {.auth = { 224 {.auth = { 244 {.auth = { 264 {.auth = { 284 {.auth = { [all …]
|
| /f-stack/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() 1569 EVP_MD_CTX_copy_ex(ctx_a, sess->auth.auth.ctx); in process_openssl_auth_op() [all …]
|
| /f-stack/dpdk/drivers/crypto/mvsam/ |
| H A D | rte_mrvl_pmd_ops.c | 24 {.auth = { 44 {.auth = { 64 {.auth = { 84 {.auth = { 105 {.auth = { 125 {.auth = { 145 {.auth = { 185 {.auth = { 205 {.auth = { 225 {.auth = { [all …]
|
| /f-stack/dpdk/drivers/crypto/caam_jr/ |
| H A D | caam_jr_capabilities.c | 12 {.auth = { 33 {.auth = { 54 {.auth = { 75 {.auth = { 96 {.auth = { 117 {.auth = {
|
| /f-stack/dpdk/drivers/crypto/dpaa_sec/ |
| H A D | dpaa_sec.h | 226 {.auth = { 247 {.auth = { 268 {.auth = { 289 {.auth = { 310 {.auth = { 331 {.auth = { 352 {.auth = { 483 {.auth = { 548 {.auth = { 578 {.auth = { [all …]
|
| /f-stack/dpdk/lib/librte_ipsec/ |
| H A D | sa.c | 23 struct rte_crypto_auth_xform *auth; member 63 xform->auth = &xf->auth; in fill_crypto_xform() 74 xform->auth = &xfn->auth; in fill_crypto_xform() 256 sa->ctp.auth.raw = sa->ctp.cipher.raw; in esp_inb_init() 259 sa->ctp.auth.offset = 0; in esp_inb_init() 260 sa->ctp.auth.length = sa->icv_len - sa->sqh_len; in esp_inb_init() 317 sa->ctp.auth.raw = sa->ctp.cipher.raw; in esp_outb_init() 320 sa->ctp.auth.offset = hlen; in esp_outb_init() 321 sa->ctp.auth.length = sizeof(struct rte_esp_hdr) + in esp_outb_init() 327 sa->cofs.ofs.cipher.tail = (sa->ctp.auth.offset + sa->ctp.auth.length) - in esp_outb_init() [all …]
|
| /f-stack/dpdk/examples/ipsec-secgw/test/ |
| H A D | tun_aesctr_sha1_defs.sh | 28 auth sha1 0xdeadbeefdeadbeefdeadbeefdeadbeefdeadbeef \ 34 auth sha1 0xdeadbeefdeadbeefdeadbeefdeadbeefdeadbeef \ 61 auth sha1 0xdeadbeefdeadbeefdeadbeefdeadbeefdeadbeef \ 68 auth sha1 0xdeadbeefdeadbeefdeadbeefdeadbeefdeadbeef \ 96 auth sha1 0xdeadbeefdeadbeefdeadbeefdeadbeefdeadbeef \ 103 auth sha1 0xdeadbeefdeadbeefdeadbeefdeadbeefdeadbeef \ 131 auth sha1 0xdeadbeefdeadbeefdeadbeefdeadbeefdeadbeef \ 137 auth sha1 0xdeadbeefdeadbeefdeadbeefdeadbeefdeadbeef \
|
| H A D | tun_aescbc_sha1_defs.sh | 28 auth sha1 0xdeadbeefdeadbeefdeadbeefdeadbeefdeadbeef \ 34 auth sha1 0xdeadbeefdeadbeefdeadbeefdeadbeefdeadbeef \ 61 auth sha1 0xdeadbeefdeadbeefdeadbeefdeadbeefdeadbeef \ 68 auth sha1 0xdeadbeefdeadbeefdeadbeefdeadbeefdeadbeef \ 96 auth sha1 0xdeadbeefdeadbeefdeadbeefdeadbeefdeadbeef \ 103 auth sha1 0xdeadbeefdeadbeefdeadbeefdeadbeefdeadbeef \ 131 auth sha1 0xdeadbeefdeadbeefdeadbeefdeadbeefdeadbeef \ 137 auth sha1 0xdeadbeefdeadbeefdeadbeefdeadbeefdeadbeef \
|
| H A D | tun_3descbc_sha1_defs.sh | 28 auth sha1 0xdeadbeefdeadbeefdeadbeefdeadbeefdeadbeef \ 34 auth sha1 0xdeadbeefdeadbeefdeadbeefdeadbeefdeadbeef \ 61 auth sha1 0xdeadbeefdeadbeefdeadbeefdeadbeefdeadbeef \ 68 auth sha1 0xdeadbeefdeadbeefdeadbeefdeadbeefdeadbeef \ 96 auth sha1 0xdeadbeefdeadbeefdeadbeefdeadbeefdeadbeef \ 103 auth sha1 0xdeadbeefdeadbeefdeadbeefdeadbeefdeadbeef \ 131 auth sha1 0xdeadbeefdeadbeefdeadbeefdeadbeefdeadbeef \ 137 auth sha1 0xdeadbeefdeadbeefdeadbeefdeadbeefdeadbeef \
|
| /f-stack/dpdk/drivers/crypto/scheduler/ |
| H A D | rte_cryptodev_scheduler.c | 48 if (s_cap->sym.auth.algo != in sync_caps() 49 cap->sym.auth.algo) in sync_caps() 52 cap->sym.auth.digest_size.min = in sync_caps() 53 s_cap->sym.auth.digest_size.min < in sync_caps() 54 cap->sym.auth.digest_size.min ? in sync_caps() 55 s_cap->sym.auth.digest_size.min : in sync_caps() 56 cap->sym.auth.digest_size.min; in sync_caps() 57 cap->sym.auth.digest_size.max = in sync_caps() 58 s_cap->sym.auth.digest_size.max < in sync_caps() 59 cap->sym.auth.digest_size.max ? in sync_caps() [all …]
|