Searched refs:mackey (Results 1 – 5 of 5) sorted by relevance
66 MAC_KEY *mackey; in ossl_mac_key_new() local71 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 …]
29 void ossl_mac_key_free(MAC_KEY *mackey);30 int ossl_mac_key_up_ref(MAC_KEY *mackey);
1463 EVP_PKEY *mackey = NULL; in tls_psk_do_binder() local1599 mackey = EVP_PKEY_new_raw_private_key_ex(s->ctx->libctx, "HMAC", in tls_psk_do_binder()1602 if (mackey == NULL) { in tls_psk_do_binder()1612 s->ctx->propq, mackey, NULL) <= 0 in tls_psk_do_binder()1632 EVP_PKEY_free(mackey); in tls_psk_do_binder()
685 const unsigned char *mackey, in aesni_cbc_hmac_sha256_set_mac_key() argument696 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()
878 =item "mackey" (B<OSSL_CIPHER_PARAM_AEAD_MAC_KEY>) <octet string>1008 with an L<OSSL_PARAM(3)> item with the key "mackey"