Home
last modified time | relevance | path

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

/openssl/providers/implementations/keymgmt/
H A Dmac_legacy_kmgmt.c66 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 …]
/openssl/providers/implementations/include/prov/
H A Dmacsignature.h29 void ossl_mac_key_free(MAC_KEY *mackey);
30 int ossl_mac_key_up_ref(MAC_KEY *mackey);
/openssl/ssl/record/methods/
H A Dktls_meth.c373 unsigned char *mackey, size_t mackeylen,
421 iv, ivlen, key, keylen, mackey, mackeylen))
498 size_t ivlen, unsigned char *mackey, size_t mackeylen,
510 key, keylen, iv, ivlen, mackey, mackeylen,
521 ivlen, mackey, mackeylen, ciph,
H A Dtls1_meth.c20 unsigned char *mackey, size_t mackeylen, in tls1_set_crypto_state() argument
62 rl->propq, mackey, in tls1_set_crypto_state()
70 mac_key = EVP_PKEY_new_mac_key(mactype, NULL, mackey, in tls1_set_crypto_state()
113 (int)mackeylen, mackey) <= 0) { in tls1_set_crypto_state()
H A Drecmethod_local.h34 unsigned char *mackey, size_t mackeylen,
261 unsigned char *mackey, size_t mackeylen,
H A Dssl3_meth.c19 unsigned char *mackey, size_t mackeylen, in ssl3_set_crypto_state() argument
69 memcpy(rl->mac_secret, mackey, mackeylen); in ssl3_set_crypto_state()
H A Dtlsany_meth.c18 unsigned char *mackey, size_t mackeylen, in tls_any_set_crypto_state() argument
H A Ddtls_meth.c628 size_t ivlen, unsigned char *mackey, size_t mackeylen, in dtls_new_record_layer() argument
640 key, keylen, iv, ivlen, mackey, mackeylen, in dtls_new_record_layer()
682 ivlen, mackey, mackeylen, ciph, in dtls_new_record_layer()
H A Dtls_common.c1046 unsigned char *mackey, size_t mackeylen, in tls_int_new_record_layer() argument
1165 size_t ivlen, unsigned char *mackey, size_t mackeylen, in tls_new_record_layer() argument
1177 key, keylen, iv, ivlen, mackey, mackeylen, in tls_new_record_layer()
1208 ivlen, mackey, mackeylen, ciph, in tls_new_record_layer()
H A Dtls13_meth.c19 unsigned char *mackey, size_t mackeylen, in tls13_set_crypto_state() argument
/openssl/ssl/record/
H A Drecordmethod.h133 unsigned char *mackey,
H A Drecord.h255 unsigned char *mackey, size_t mackeylen,
H A Drec_layer_s3.c1755 unsigned char *mackey, size_t mackeylen, in ssl_set_new_record_layer() argument
1880 mackey, mackeylen, ciph, in ssl_set_new_record_layer()
/openssl/ssl/statem/
H A Dextensions.c1467 EVP_PKEY *mackey = NULL; in tls_psk_do_binder() local
1604 mackey = EVP_PKEY_new_raw_private_key_ex(sctx->libctx, "HMAC", in tls_psk_do_binder()
1607 if (mackey == NULL) { in tls_psk_do_binder()
1617 sctx->propq, mackey, NULL) <= 0 in tls_psk_do_binder()
1637 EVP_PKEY_free(mackey); in tls_psk_do_binder()
/openssl/test/
H A Dtls13secretstest.c227 unsigned char *mackey, size_t mackeylen, in ssl_set_new_record_layer() argument
/openssl/providers/implementations/ciphers/
H 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/doc/man3/
H A DEVP_EncryptInit.pod892 =item "mackey" (B<OSSL_CIPHER_PARAM_AEAD_MAC_KEY>) <octet string>
1022 with an L<OSSL_PARAM(3)> item with the key "mackey"

Completed in 62 milliseconds