Searched refs:pmacctx (Results 1 – 1 of 1) sorted by relevance
52 PROV_MAC_CTX *pmacctx; in mac_newctx() local58 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 …]