/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() 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 D | macsignature.h | 29 void ossl_mac_key_free(MAC_KEY *mackey); 30 int ossl_mac_key_up_ref(MAC_KEY *mackey);
|
/openssl/ssl/record/methods/ |
H A D | ktls_meth.c | 373 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 D | tls1_meth.c | 20 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 D | recmethod_local.h | 34 unsigned char *mackey, size_t mackeylen, 261 unsigned char *mackey, size_t mackeylen,
|
H A D | ssl3_meth.c | 19 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 D | tlsany_meth.c | 18 unsigned char *mackey, size_t mackeylen, in tls_any_set_crypto_state() argument
|
H A D | dtls_meth.c | 628 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 D | tls_common.c | 1046 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 D | tls13_meth.c | 19 unsigned char *mackey, size_t mackeylen, in tls13_set_crypto_state() argument
|
/openssl/ssl/record/ |
H A D | recordmethod.h | 133 unsigned char *mackey,
|
H A D | record.h | 255 unsigned char *mackey, size_t mackeylen,
|
H A D | rec_layer_s3.c | 1755 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 D | extensions.c | 1467 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 D | tls13secretstest.c | 227 unsigned char *mackey, size_t mackeylen, in ssl_set_new_record_layer() argument
|
/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()
|
/openssl/doc/man3/ |
H A D | EVP_EncryptInit.pod | 892 =item "mackey" (B<OSSL_CIPHER_PARAM_AEAD_MAC_KEY>) <octet string> 1022 with an L<OSSL_PARAM(3)> item with the key "mackey"
|