Home
last modified time | relevance | path

Searched refs:mackey (Results 1 – 5 of 5) sorted by relevance

/openssl-master/providers/implementations/keymgmt/
A Dmac_legacy_kmgmt.c67 MAC_KEY *mackey; in ossl_mac_key_new() local
72 mackey = OPENSSL_zalloc(sizeof(*mackey)); in ossl_mac_key_new()
73 if (mackey == NULL) in ossl_mac_key_new()
82 mackey->refcnt = 1; in ossl_mac_key_new()
83 mackey->cmac = cmac; in ossl_mac_key_new()
85 return mackey; in ossl_mac_key_new()
92 if (mackey == NULL) in ossl_mac_key_free()
95 CRYPTO_DOWN_REF(&mackey->refcnt, &ref, mackey->lock); in ossl_mac_key_free()
99 OPENSSL_secure_clear_free(mackey->priv_key, mackey->priv_key_len); in ossl_mac_key_free()
103 OPENSSL_free(mackey); in ossl_mac_key_free()
[all …]
/openssl-master/providers/implementations/include/prov/
A Dmacsignature.h29 void ossl_mac_key_free(MAC_KEY *mackey);
30 int ossl_mac_key_up_ref(MAC_KEY *mackey);
/openssl-master/ssl/statem/
A Dextensions.c1440 EVP_PKEY *mackey = NULL; in tls_psk_do_binder() local
1576 mackey = EVP_PKEY_new_raw_private_key_ex(s->ctx->libctx, "HMAC", in tls_psk_do_binder()
1579 if (mackey == NULL) { in tls_psk_do_binder()
1589 s->ctx->propq, mackey, NULL) <= 0 in tls_psk_do_binder()
1609 EVP_PKEY_free(mackey); in tls_psk_do_binder()
/openssl-master/providers/implementations/ciphers/
A Dcipher_aes_cbc_hmac_sha256_hw.c685 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()
/openssl-master/doc/man3/
A DEVP_EncryptInit.pod878 =item "mackey" (B<OSSL_CIPHER_PARAM_AEAD_MAC_KEY>) <octet string>
1008 with an L<OSSL_PARAM(3)> item with the key "mackey"

Completed in 11 milliseconds