Home
last modified time | relevance | path

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

/freebsd/crypto/openssl/providers/implementations/signature/
H A Dmac_legacy_sig.c52 PROV_MAC_CTX *pmacctx; in mac_newctx() local
58 pmacctx = OPENSSL_zalloc(sizeof(PROV_MAC_CTX)); in mac_newctx()
59 if (pmacctx == NULL) in mac_newctx()
62 pmacctx->libctx = PROV_LIBCTX_OF(provctx); in mac_newctx()
63 if (propq != NULL && (pmacctx->propq = OPENSSL_strdup(propq)) == NULL) { in mac_newctx()
68 mac = EVP_MAC_fetch(pmacctx->libctx, macname, propq); in mac_newctx()
72 pmacctx->macctx = EVP_MAC_CTX_new(mac); in mac_newctx()
73 if (pmacctx->macctx == NULL) in mac_newctx()
78 return pmacctx; in mac_newctx()
81 OPENSSL_free(pmacctx->propq); in mac_newctx()
[all …]