Home
last modified time | relevance | path

Searched refs:mackey (Results 1 – 19 of 19) 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()
76 OPENSSL_free(mackey); in ossl_mac_key_new()
79 mackey->libctx = libctx; in ossl_mac_key_new()
80 mackey->cmac = cmac; in ossl_mac_key_new()
82 return mackey; in ossl_mac_key_new()
89 if (mackey == NULL) in ossl_mac_key_free()
96 OPENSSL_secure_clear_free(mackey->priv_key, mackey->priv_key_len); in ossl_mac_key_free()
100 OPENSSL_free(mackey); in ossl_mac_key_free()
[all …]
/openssl/providers/implementations/include/prov/
H A Dmacsignature.h28 void ossl_mac_key_free(MAC_KEY *mackey);
29 int ossl_mac_key_up_ref(MAC_KEY *mackey);
/openssl/ssl/record/methods/
H A Dktls_meth.c292 unsigned char *mackey, size_t mackeylen, in ktls_set_crypto_state() argument
331 iv, ivlen, key, keylen, mackey, mackeylen)) in ktls_set_crypto_state()
407 size_t ivlen, unsigned char *mackey, size_t mackeylen, in ktls_new_record_layer() argument
430 ivlen, mackey, mackeylen, ciph, in ktls_new_record_layer()
H A Dtls1_meth.c22 unsigned char *mackey, size_t mackeylen, in tls1_set_crypto_state() argument
65 rl->propq, mackey, in tls1_set_crypto_state()
73 mac_key = EVP_PKEY_new_mac_key(mactype, NULL, mackey, in tls1_set_crypto_state()
116 (int)mackeylen, mackey) <= 0) { in tls1_set_crypto_state()
H A Dssl3_meth.c20 unsigned char *mackey, size_t mackeylen, in ssl3_set_crypto_state() argument
81 memcpy(rl->mac_secret, mackey, mackeylen); in ssl3_set_crypto_state()
H A Dtlsany_meth.c20 unsigned char *mackey, size_t mackeylen, in tls_any_set_crypto_state() argument
H A Ddtls_meth.c629 size_t ivlen, unsigned char *mackey, size_t mackeylen, in dtls_new_record_layer() argument
681 ivlen, mackey, mackeylen, ciph, in dtls_new_record_layer()
H A Dtls13_meth.c19 unsigned char *mackey, size_t mackeylen, in tls13_set_crypto_state() argument
H A Drecmethod_local.h103 unsigned char *mackey, size_t mackeylen,
H A Dtls_common.c1390 size_t ivlen, unsigned char *mackey, size_t mackeylen, in tls_new_record_layer() argument
1433 ivlen, mackey, mackeylen, ciph, in tls_new_record_layer()
/openssl/include/internal/
H A Drecordmethod.h133 unsigned char *mackey,
/openssl/ssl/record/
H A Drecord.h179 unsigned char *mackey, size_t mackeylen,
H A Drec_layer_s3.c1240 unsigned char *mackey, size_t mackeylen, in ssl_set_new_record_layer() argument
1417 ivlen, mackey, mackeylen, ciph, taglen, in ssl_set_new_record_layer()
/openssl/ssl/statem/
H A Dextensions.c1542 EVP_PKEY *mackey = NULL; in tls_psk_do_binder() local
1676 mackey = EVP_PKEY_new_raw_private_key_ex(sctx->libctx, "HMAC", in tls_psk_do_binder()
1679 if (mackey == NULL) { in tls_psk_do_binder()
1689 sctx->propq, mackey, NULL) <= 0 in tls_psk_do_binder()
1709 EVP_PKEY_free(mackey); in tls_psk_do_binder()
/openssl/test/
H A Dtls13secretstest.c231 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/ssl/quic/
H A Dquic_tls.c95 size_t ivlen, unsigned char *mackey, size_t mackeylen, in quic_new_record_layer() argument
/openssl/doc/designs/quic-design/
H A Drecord-layer.md409 unsigned char *mackey,
/openssl/doc/man3/
H A DEVP_EncryptInit.pod940 =item "mackey" (B<OSSL_CIPHER_PARAM_AEAD_MAC_KEY>) <octet string>
1116 with an L<OSSL_PARAM(3)> item with the key "mackey"

Completed in 77 milliseconds