/freebsd/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() 75 mackey->lock = CRYPTO_THREAD_lock_new(); in ossl_mac_key_new() 76 if (mackey->lock == NULL) { in ossl_mac_key_new() 77 OPENSSL_free(mackey); in ossl_mac_key_new() 80 mackey->libctx = libctx; 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() [all …]
|
/freebsd/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/sys/opencrypto/ |
H A D | cryptodev.c | 90 uint32_t mackey; member 100 uint32_t mackey; member 147 PTRIN_CP(*from, *to, mackey); in session_op_from_32() 171 PTROUT_CP(*from, *to, mackey); in session_op_to_32() 274 void *mackey; member 339 void *mackey = NULL; in cse_create() local 445 mackey = malloc(csp.csp_auth_klen, M_CRYPTODEV, in cse_create() 447 error = copyin(sop->mackey, mackey, csp.csp_auth_klen); in cse_create() 454 csp.csp_auth_key = mackey; in cse_create() 500 cse->mackey = mackey; in cse_create() [all …]
|
H A D | cryptodev.h | 231 const void *mackey; member 248 const void *mackey; member
|
/freebsd/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/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/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/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/sys/dev/hifn/ |
H A D | hifn7751.c | 2381 const void *mackey; in hifn_process() local 2476 mackey = crp->crp_auth_key; in hifn_process() 2478 mackey = csp->csp_auth_key; in hifn_process() 2480 bcopy(mackey, cmd->mac, keylen); in hifn_process()
|
/freebsd/tools/tools/crypto/ |
H A D | cryptotest.c | 280 sop.mackey = key; in runtest()
|
H A D | cryptocheck.c | 631 sop.mackey = key; in ocf_hmac() 902 sop.mackey = auth_key; in ocf_init_eta_session() 1157 sop.mackey = key; in ocf_mac()
|
/freebsd/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"
|