| /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() 287 sess->auth.hmac.i_key_pad, in auth_set_prerequisites() 294 sess->auth.hmac.o_key_pad, in auth_set_prerequisites() 322 sess->auth.hmac.i_key_pad, in auth_set_prerequisites() 329 sess->auth.hmac.o_key_pad, in auth_set_prerequisites() 610 arg.digest.hmac.key = sess->auth.hmac.key; in process_armv8_chained_op() 611 arg.digest.hmac.i_key_pad = sess->auth.hmac.i_key_pad; in process_armv8_chained_op() [all …]
|
| H A D | armv8_pmd_private.h | 173 } hmac; member
|
| /f-stack/freebsd/crypto/ccp/ |
| H A D | ccp.c | 241 axf = s->hmac.auth_hash; in ccp_init_hmac_digest() 245 axf->Final(s->hmac.ipad, &auth_ctx); in ccp_init_hmac_digest() 249 memcpy(s->hmac.ipad, key, klen); in ccp_init_hmac_digest() 251 memset(s->hmac.ipad + klen, 0, axf->blocksize - klen); in ccp_init_hmac_digest() 252 memcpy(s->hmac.opad, s->hmac.ipad, axf->blocksize); in ccp_init_hmac_digest() 255 s->hmac.ipad[i] ^= HMAC_IPAD_VAL; in ccp_init_hmac_digest() 256 s->hmac.opad[i] ^= HMAC_OPAD_VAL; in ccp_init_hmac_digest() 495 s->hmac.auth_hash = auth_hash; in ccp_newsession() 496 s->hmac.auth_mode = auth_mode; in ccp_newsession() 498 s->hmac.hash_len = auth_hash->hashsize; in ccp_newsession() [all …]
|
| H A D | ccp_hardware.c | 1211 axf = s->hmac.auth_hash; in ccp_do_hmac_done() 1222 axf->Update(&auth_ctx, s->hmac.opad, axf->blocksize); in ccp_do_hmac_done() 1223 ccp_sha_copy_result(ihash, s->hmac.res, s->hmac.auth_mode); in ccp_do_hmac_done() 1229 axf->Final(s->hmac.res, &auth_ctx); in ccp_do_hmac_done() 1232 crypto_copydata(crp, crp->crp_digest_start, s->hmac.hash_len, in ccp_do_hmac_done() 1234 if (timingsafe_bcmp(s->hmac.res, ihash, s->hmac.hash_len) != 0) in ccp_do_hmac_done() 1237 crypto_copyback(crp, crp->crp_digest_start, s->hmac.hash_len, in ccp_do_hmac_done() 1238 s->hmac.res); in ccp_do_hmac_done() 1242 explicit_bzero(s->hmac.res, sizeof(s->hmac.res)); in ccp_do_hmac_done() 1267 axf = s->hmac.auth_hash; in ccp_do_hmac() [all …]
|
| H A D | ccp.h | 94 struct ccp_session_hmac hmac; member
|
| /f-stack/dpdk/examples/ipsec-secgw/test/ |
| H A D | tun_aescbc_sha1_common_defs.sh | 33 auth_algo sha1-hmac \ 39 auth_algo sha1-hmac \ 46 auth_algo sha1-hmac \ 52 auth_algo sha1-hmac \ 97 auth_algo sha1-hmac \ 103 auth_algo sha1-hmac \ 110 auth_algo sha1-hmac \ 116 auth_algo sha1-hmac \
|
| H A D | tun_3descbc_sha1_common_defs.sh | 34 auth_algo sha1-hmac \ 41 auth_algo sha1-hmac \ 49 auth_algo sha1-hmac \ 56 auth_algo sha1-hmac \ 102 auth_algo sha1-hmac \ 109 auth_algo sha1-hmac \ 117 auth_algo sha1-hmac \ 124 auth_algo sha1-hmac \
|
| H A D | tun_aesctr_sha1_common_defs.sh | 33 auth_algo sha1-hmac \ 39 auth_algo sha1-hmac \ 46 auth_algo sha1-hmac \ 52 auth_algo sha1-hmac \ 97 auth_algo sha1-hmac \ 103 auth_algo sha1-hmac \ 110 auth_algo sha1-hmac \ 116 auth_algo sha1-hmac \
|
| H A D | trs_aescbc_sha1_common_defs.sh | 33 auth_algo sha1-hmac \ 39 auth_algo sha1-hmac \ 46 auth_algo sha1-hmac \ 53 auth_algo sha1-hmac \
|
| H A D | trs_3descbc_sha1_common_defs.sh | 34 auth_algo sha1-hmac \ 41 auth_algo sha1-hmac \ 49 auth_algo sha1-hmac \ 57 auth_algo sha1-hmac \
|
| H A D | trs_aesctr_sha1_common_defs.sh | 33 auth_algo sha1-hmac \ 39 auth_algo sha1-hmac \ 46 auth_algo sha1-hmac \ 53 auth_algo sha1-hmac \
|
| /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/freebsd/mips/nlm/hal/ |
| H A D | nlmsaelib.h | 220 nlm_crypto_form_pkt_ctrl_desc(unsigned int hmac, unsigned int hashalg, in nlm_crypto_form_pkt_ctrl_desc() argument 225 return (left_shift64(hmac, 61, 1) | in nlm_crypto_form_pkt_ctrl_desc() 462 nlm_crypto_fill_pkt_ctrl(struct nlm_crypto_pkt_ctrl *ctrl, unsigned int hmac, in nlm_crypto_fill_pkt_ctrl() argument 470 ctrl->desc0 = nlm_crypto_form_pkt_ctrl_desc(hmac, hashalg, hashmode, in nlm_crypto_fill_pkt_ctrl()
|
| /f-stack/dpdk/doc/guides/tools/ |
| H A D | cryptoperf.rst | 237 md5-hmac 239 sha1-hmac 241 sha2-224-hmac 243 sha2-256-hmac 245 sha2-384-hmac 247 sha2-512-hmac 394 for cipher encryption aes-cbc and auth generation sha1-hmac, 400 sha1-hmac --auth-op generate --auth-key-sz 64 --digest-sz 12 446 # Section sha 1 hmac buff 32 451 # Section sha 256 hmac buff 32
|
| /f-stack/freebsd/netinet/ |
| H A D | sctp_auth.c | 673 if (list->hmac[i] == hmac_id) { in sctp_auth_add_hmacid() 679 list->hmac[list->num_algo++] = hmac_id; in sctp_auth_add_hmacid() 699 new_list->hmac[i] = list->hmac[i]; in sctp_copy_hmaclist() 731 if (peer->hmac[i] == local->hmac[j]) { in sctp_negotiate_hmacid() 735 peer->hmac[i]); in sctp_negotiate_hmacid() 736 return (peer->hmac[i]); in sctp_negotiate_hmacid() 758 hmac_id = htons(list->hmac[i]); in sctp_serialize_hmaclist() 1132 if (list->hmac[i] == id) in sctp_auth_is_supported_hmac() 1548 m, auth_offset, auth->hmac); in sctp_fill_hmac_digest_m() 1691 memcpy(digest, auth->hmac, digestlen); in sctp_handle_auth() [all …]
|
| H A D | sctp_auth.h | 83 uint16_t hmac[]; member
|
| /f-stack/freebsd/crypto/aesni/ |
| H A D | aesni.c | 553 if ((ses->hmac && klen == 0) || (!ses->hmac && klen != 0)) in aesni_authprepare() 574 ses->hmac = true; in aesni_cipher_setup() 583 ses->hmac = true; in aesni_cipher_setup() 592 ses->hmac = true; in aesni_cipher_setup() 847 if (ses->hmac) { in aesni_cipher_mac()
|
| H A D | aesni.h | 66 bool hmac; member
|
| /f-stack/dpdk/drivers/common/cpt/ |
| H A D | cpt_mcode_defines.h | 293 mc_fc_hmac_context_t hmac; member 314 uint64_t hmac :1; member
|
| H A D | cpt_ucode.h | 305 memset(fctx->hmac.ipad, 0, sizeof(fctx->hmac.ipad)); in cpt_fc_ciph_set_key() 306 memcpy(fctx->hmac.ipad, &key[key_len], key_len); in cpt_fc_ciph_set_key() 528 if (ctx->hmac) { in cpt_digest_gen_prep() 563 if (ctx->hmac) { in cpt_digest_gen_prep() 2484 cpt_ctx->hmac = 1; in cpt_fc_auth_set_key() 2488 memset(fctx->hmac.ipad, 0, sizeof(fctx->hmac.ipad)); in cpt_fc_auth_set_key() 2489 memset(fctx->hmac.opad, 0, sizeof(fctx->hmac.opad)); in cpt_fc_auth_set_key() 2492 memcpy(fctx->hmac.opad, key, key_len); in cpt_fc_auth_set_key()
|
| /f-stack/dpdk/doc/guides/cryptodevs/ |
| H A D | ccp.rst | 111 --auth_op GENERATE --auth_algo sha1-hmac 126 --auth_op GENERATE --auth_algo sha1-hmac
|
| H A D | mvsam.rst | 103 --auth_op GENERATE --auth_algo sha1-hmac \
|
| H A D | virtio.rst | 98 --cipher-op encrypt --cipher-key-sz 16 --auth-algo sha1-hmac \
|
| /f-stack/dpdk/drivers/crypto/openssl/ |
| H A D | openssl_pmd_private.h | 139 } hmac; member
|