Lines Matching refs:bnctx
1640 BN_CTX *bnctx = BN_CTX_new_ex(ossl_ec_key_get_libctx(eckey)); in get_payload_public_key() local
1644 if (bnctx == NULL) in get_payload_public_key()
1648 &buf, bnctx); in get_payload_public_key()
1650 BN_CTX_free(bnctx); in get_payload_public_key()
1672 BN_CTX *bnctx; in get_payload_public_key_ec() local
1686 bnctx = BN_CTX_new_ex(ossl_ec_key_get_libctx(eckey)); in get_payload_public_key_ec()
1687 if (bnctx == NULL) in get_payload_public_key_ec()
1697 x = BN_CTX_get(bnctx); in get_payload_public_key_ec()
1698 y = BN_CTX_get(bnctx); in get_payload_public_key_ec()
1702 if (!EC_POINT_get_affine_coordinates(ecg, point, x, y, bnctx)) in get_payload_public_key_ec()
1715 BN_CTX_free(bnctx); in get_payload_public_key_ec()