Home | History | Annotate | Download | only in crypto

Lines Matching refs:bnctx

891 	BN_CTX *bnctx;
893 bnctx = BN_CTX_new();
894 if (bnctx == NULL)
897 bnctx);
898 BN_CTX_free(bnctx);
910 BN_CTX *bnctx;
912 bnctx = BN_CTX_new();
913 if (bnctx == NULL)
916 (const BIGNUM *) c, bnctx);
917 BN_CTX_free(bnctx);
928 BN_CTX *bnctx;
930 bnctx = BN_CTX_new();
931 if (bnctx == NULL)
934 (const BIGNUM *) b, bnctx);
935 BN_CTX_free(bnctx);
956 BN_CTX *bnctx;
958 bnctx = BN_CTX_new();
959 if (bnctx == NULL)
962 (const BIGNUM *) b, bnctx);
963 BN_CTX_free(bnctx);
976 BN_CTX *bnctx;
978 bnctx = BN_CTX_new();
979 if (bnctx == NULL)
982 (const BIGNUM *) c, bnctx);
983 BN_CTX_free(bnctx);
1018 BN_CTX *bnctx;
1053 e->bnctx = BN_CTX_new();
1057 if (e->group == NULL || e->bnctx == NULL || e->prime == NULL ||
1059 !EC_GROUP_get_curve_GFp(e->group, e->prime, NULL, NULL, e->bnctx) ||
1060 !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);