| /freebsd-14.2/crypto/openssl/providers/implementations/keymgmt/ |
| H A D | mac_legacy_kmgmt.c | 66 MAC_KEY *mackey; in ossl_mac_key_new() local 71 mackey = OPENSSL_zalloc(sizeof(*mackey)); in ossl_mac_key_new() 72 if (mackey == NULL) in ossl_mac_key_new() 81 mackey->refcnt = 1; in ossl_mac_key_new() 82 mackey->cmac = cmac; in ossl_mac_key_new() 84 return mackey; in ossl_mac_key_new() 91 if (mackey == NULL) in ossl_mac_key_free() 94 CRYPTO_DOWN_REF(&mackey->refcnt, &ref, mackey->lock); in ossl_mac_key_free() 98 OPENSSL_secure_clear_free(mackey->priv_key, mackey->priv_key_len); in ossl_mac_key_free() 102 OPENSSL_free(mackey); in ossl_mac_key_free() [all …]
|
| /freebsd-14.2/crypto/openssl/providers/implementations/include/prov/ |
| H A D | macsignature.h | 29 void ossl_mac_key_free(MAC_KEY *mackey); 30 int ossl_mac_key_up_ref(MAC_KEY *mackey);
|
| /freebsd-14.2/sys/opencrypto/ |
| H A D | cryptodev.c | 91 uint32_t mackey; member 101 uint32_t mackey; member 148 PTRIN_CP(*from, *to, mackey); in session_op_from_32() 172 PTROUT_CP(*from, *to, mackey); in session_op_to_32() 275 void *mackey; member 340 void *mackey = NULL; in cse_create() local 448 error = copyin(sop->mackey, mackey, csp.csp_auth_klen); in cse_create() 455 csp.csp_auth_key = mackey; in cse_create() 501 cse->mackey = mackey; in cse_create() 533 free(mackey, M_CRYPTODEV); in cse_create() [all …]
|
| H A D | cryptodev.h | 231 const void *mackey; member 248 const void *mackey; member
|
| /freebsd-14.2/tests/sys/opencrypto/ |
| H A D | cryptodev.py | 176 def __init__(self, cipher=0, key=None, mac=0, mackey=None, argument 192 if mackey is not None: 193 ses.mackeylen = len(mackey) 194 mk = array.array('B', mackey) 195 ses.mackey = mk.buffer_info()[0]
|
| H A D | cryptotest.py | 264 mackey=key, maclen=Tlen, ivlen=Nlen) 305 mackey=key, maclen=Tlen, ivlen=Nlen) 431 c = Crypto(mac=alg, mackey=key,
|
| H A D | blake2_test.c | 104 sop.mackey = key; in create_session()
|
| H A D | poly1305_test.c | 318 sop.mackey = key; in create_session()
|
| /freebsd-14.2/contrib/netbsd-tests/crypto/opencrypto/ |
| H A D | h_xcbcmac.c | 87 cs.mackey = key; in main()
|
| H A D | h_md5hmac.c | 157 cs.mackey = __UNCONST(&tests[i].key); in main()
|
| H A D | h_sha1hmac.c | 167 cs.mackey = __UNCONST(&tests[i].key); in main()
|
| H A D | h_gcm.c | 67 cs.mackey = key; in main()
|
| /freebsd-14.2/crypto/openssl/ssl/statem/ |
| H A D | extensions.c | 1467 EVP_PKEY *mackey = NULL; in tls_psk_do_binder() local 1603 mackey = EVP_PKEY_new_raw_private_key_ex(s->ctx->libctx, "HMAC", in tls_psk_do_binder() 1606 if (mackey == NULL) { in tls_psk_do_binder() 1616 s->ctx->propq, mackey, NULL) <= 0 in tls_psk_do_binder() 1636 EVP_PKEY_free(mackey); in tls_psk_do_binder()
|
| /freebsd-14.2/crypto/openssl/providers/implementations/ciphers/ |
| H A D | cipher_aes_cbc_hmac_sha256_hw.c | 685 const unsigned char *mackey, in aesni_cbc_hmac_sha256_set_mac_key() argument 696 sha256_update(&ctx->head, mackey, len); in aesni_cbc_hmac_sha256_set_mac_key() 699 memcpy(hmac_key, mackey, len); in aesni_cbc_hmac_sha256_set_mac_key()
|
| /freebsd-14.2/sys/dev/hifn/ |
| H A D | hifn7751.c | 2383 const void *mackey; in hifn_process() local 2478 mackey = crp->crp_auth_key; in hifn_process() 2480 mackey = csp->csp_auth_key; in hifn_process() 2482 bcopy(mackey, cmd->mac, keylen); in hifn_process()
|
| /freebsd-14.2/tools/tools/crypto/ |
| H A D | cryptotest.c | 280 sop.mackey = key; in runtest()
|
| H A D | cryptocheck.c | 629 sop.mackey = key; in ocf_hmac() 877 sop.mackey = auth_key; in ocf_init_eta_session() 1111 sop.mackey = key; in ocf_mac()
|
| /freebsd-14.2/crypto/openssl/doc/man3/ |
| H A D | EVP_EncryptInit.pod | 884 =item "mackey" (B<OSSL_CIPHER_PARAM_AEAD_MAC_KEY>) <octet string> 1014 with an L<OSSL_PARAM(3)> item with the key "mackey"
|