Lines Matching defs:bnctx
885 BN_CTX *bnctx;
887 bnctx = BN_CTX_new();
888 if (bnctx == NULL)
891 bnctx);
892 BN_CTX_free(bnctx);
904 BN_CTX *bnctx;
906 bnctx = BN_CTX_new();
907 if (bnctx == NULL)
910 (const BIGNUM *) c, bnctx);
911 BN_CTX_free(bnctx);
929 BN_CTX *bnctx;
931 bnctx = BN_CTX_new();
932 if (bnctx == NULL)
935 (const BIGNUM *) b, bnctx);
936 BN_CTX_free(bnctx);
957 BN_CTX *bnctx;
959 bnctx = BN_CTX_new();
960 if (bnctx == NULL)
963 (const BIGNUM *) b, bnctx);
964 BN_CTX_free(bnctx);
977 BN_CTX *bnctx;
979 bnctx = BN_CTX_new();
980 if (bnctx == NULL)
983 (const BIGNUM *) c, bnctx);
984 BN_CTX_free(bnctx);
1019 BN_CTX *bnctx;
1054 e->bnctx = BN_CTX_new();
1058 if (e->group == NULL || e->bnctx == NULL || e->prime == NULL ||
1060 !EC_GROUP_get_curve_GFp(e->group, e->prime, NULL, NULL, e->bnctx) ||
1061 !EC_GROUP_get_order(e->group, e->order, e->bnctx)) {
1076 BN_CTX_free(e->bnctx);
1134 x_bn, y_bn, e->bnctx)) {
1170 e->bnctx)) {
1187 (const EC_POINT *) b, e->bnctx) ? 0 : -1;
1196 (const EC_POINT *) p, (const BIGNUM *) b, e->bnctx)
1203 return EC_POINT_invert(e->group, (EC_POINT *) p, e->bnctx) ? 0 : -1;
1213 e->bnctx) ||
1214 !EC_POINT_is_on_curve(e->group, (EC_POINT *) p, e->bnctx))
1230 return EC_POINT_is_on_curve(e->group, (const EC_POINT *) p, e->bnctx);