Lines Matching refs:BIGNUM

53     int (*group_set_curve) (EC_GROUP *, const BIGNUM *p, const BIGNUM *a,
54 const BIGNUM *b, BN_CTX *);
55 int (*group_get_curve) (const EC_GROUP *, BIGNUM *p, BIGNUM *a, BIGNUM *b,
80 EC_POINT *, const BIGNUM *x,
81 const BIGNUM *y,
82 const BIGNUM *z, BN_CTX *);
84 const EC_POINT *, BIGNUM *x,
85 BIGNUM *y, BIGNUM *z,
88 const BIGNUM *x, const BIGNUM *y,
91 BIGNUM *x, BIGNUM *y, BN_CTX *);
93 const BIGNUM *x, int y_bit,
139 int (*mul) (const EC_GROUP *group, EC_POINT *r, const BIGNUM *scalar,
140 size_t num, const EC_POINT *points[], const BIGNUM *scalars[],
151 int (*field_mul) (const EC_GROUP *, BIGNUM *r, const BIGNUM *a,
152 const BIGNUM *b, BN_CTX *);
153 int (*field_sqr) (const EC_GROUP *, BIGNUM *r, const BIGNUM *a, BN_CTX *);
154 int (*field_div) (const EC_GROUP *, BIGNUM *r, const BIGNUM *a,
155 const BIGNUM *b, BN_CTX *);
162 int (*field_inv) (const EC_GROUP *, BIGNUM *r, const BIGNUM *a, BN_CTX *);
164 int (*field_encode) (const EC_GROUP *, BIGNUM *r, const BIGNUM *a,
167 int (*field_decode) (const EC_GROUP *, BIGNUM *r, const BIGNUM *a,
169 int (*field_set_to_one) (const EC_GROUP *, BIGNUM *r, BN_CTX *);
173 int (*set_private)(EC_KEY *eckey, const BIGNUM *priv_key);
183 int (*field_inverse_mod_ord)(const EC_GROUP *, BIGNUM *r,
184 const BIGNUM *x, BN_CTX *);
209 BIGNUM *order, *cofactor;
227 BIGNUM *field;
243 BIGNUM *a, *b;
251 int (*field_mod_func) (BIGNUM *, const BIGNUM *, const BIGNUM *,
286 BIGNUM *priv_key;
303 BIGNUM *X;
304 BIGNUM *Y;
305 BIGNUM *Z; /* Jacobian projective coordinates: * (X, Y,
341 int ec_wNAF_mul(const EC_GROUP *group, EC_POINT *r, const BIGNUM *scalar,
342 size_t num, const EC_POINT *points[], const BIGNUM *scalars[],
352 int ec_GFp_simple_group_set_curve(EC_GROUP *, const BIGNUM *p,
353 const BIGNUM *a, const BIGNUM *b, BN_CTX *);
354 int ec_GFp_simple_group_get_curve(const EC_GROUP *, BIGNUM *p, BIGNUM *a,
355 BIGNUM *b, BN_CTX *);
364 EC_POINT *, const BIGNUM *x,
365 const BIGNUM *y,
366 const BIGNUM *z, BN_CTX *);
368 const EC_POINT *, BIGNUM *x,
369 BIGNUM *y, BIGNUM *z,
372 const BIGNUM *x,
373 const BIGNUM *y, BN_CTX *);
375 const EC_POINT *, BIGNUM *x,
376 BIGNUM *y, BN_CTX *);
378 const BIGNUM *x, int y_bit,
397 int ec_GFp_simple_field_mul(const EC_GROUP *, BIGNUM *r, const BIGNUM *a,
398 const BIGNUM *b, BN_CTX *);
399 int ec_GFp_simple_field_sqr(const EC_GROUP *, BIGNUM *r, const BIGNUM *a,
401 int ec_GFp_simple_field_inv(const EC_GROUP *, BIGNUM *r, const BIGNUM *a,
417 int ec_GFp_mont_group_set_curve(EC_GROUP *, const BIGNUM *p, const BIGNUM *a,
418 const BIGNUM *b, BN_CTX *);
422 int ec_GFp_mont_field_mul(const EC_GROUP *, BIGNUM *r, const BIGNUM *a,
423 const BIGNUM *b, BN_CTX *);
424 int ec_GFp_mont_field_sqr(const EC_GROUP *, BIGNUM *r, const BIGNUM *a,
426 int ec_GFp_mont_field_inv(const EC_GROUP *, BIGNUM *r, const BIGNUM *a,
428 int ec_GFp_mont_field_encode(const EC_GROUP *, BIGNUM *r, const BIGNUM *a,
430 int ec_GFp_mont_field_decode(const EC_GROUP *, BIGNUM *r, const BIGNUM *a,
432 int ec_GFp_mont_field_set_to_one(const EC_GROUP *, BIGNUM *r, BN_CTX *);
436 int ec_GFp_nist_group_set_curve(EC_GROUP *, const BIGNUM *p, const BIGNUM *a,
437 const BIGNUM *b, BN_CTX *);
438 int ec_GFp_nist_field_mul(const EC_GROUP *, BIGNUM *r, const BIGNUM *a,
439 const BIGNUM *b, BN_CTX *);
440 int ec_GFp_nist_field_sqr(const EC_GROUP *, BIGNUM *r, const BIGNUM *a,
448 int ec_GF2m_simple_group_set_curve(EC_GROUP *, const BIGNUM *p,
449 const BIGNUM *a, const BIGNUM *b,
451 int ec_GF2m_simple_group_get_curve(const EC_GROUP *, BIGNUM *p, BIGNUM *a,
452 BIGNUM *b, BN_CTX *);
461 const BIGNUM *x,
462 const BIGNUM *y, BN_CTX *);
464 const EC_POINT *, BIGNUM *x,
465 BIGNUM *y, BN_CTX *);
467 const BIGNUM *x, int y_bit,
486 int ec_GF2m_simple_field_mul(const EC_GROUP *, BIGNUM *r, const BIGNUM *a,
487 const BIGNUM *b, BN_CTX *);
488 int ec_GF2m_simple_field_sqr(const EC_GROUP *, BIGNUM *r, const BIGNUM *a,
490 int ec_GF2m_simple_field_div(const EC_GROUP *, BIGNUM *r, const BIGNUM *a,
491 const BIGNUM *b, BN_CTX *);
496 int ec_GFp_nistp224_group_set_curve(EC_GROUP *group, const BIGNUM *p,
497 const BIGNUM *a, const BIGNUM *n,
501 BIGNUM *x, BIGNUM *y,
504 const BIGNUM *scalar, size_t num,
505 const EC_POINT *points[], const BIGNUM *scalars[],
508 const BIGNUM *scalar, size_t num,
510 const BIGNUM *scalars[], BN_CTX *ctx);
516 int ec_GFp_nistp256_group_set_curve(EC_GROUP *group, const BIGNUM *p,
517 const BIGNUM *a, const BIGNUM *n,
521 BIGNUM *x, BIGNUM *y,
524 const BIGNUM *scalar, size_t num,
525 const EC_POINT *points[], const BIGNUM *scalars[],
528 const BIGNUM *scalar, size_t num,
530 const BIGNUM *scalars[], BN_CTX *ctx);
536 int ec_GFp_nistp521_group_set_curve(EC_GROUP *group, const BIGNUM *p,
537 const BIGNUM *a, const BIGNUM *n,
541 BIGNUM *x, BIGNUM *y,
544 const BIGNUM *scalar, size_t num,
545 const EC_POINT *points[], const BIGNUM *scalars[],
548 const BIGNUM *scalar, size_t num,
550 const BIGNUM *scalars[], BN_CTX *ctx);
611 int (*set_private)(EC_KEY *key, const BIGNUM *priv_key);
617 *sig, unsigned int *siglen, const BIGNUM *kinv,
618 const BIGNUM *r, EC_KEY *eckey);
619 int (*sign_setup)(EC_KEY *eckey, BN_CTX *ctx_in, BIGNUM **kinvp,
620 BIGNUM **rp);
622 const BIGNUM *in_kinv, const BIGNUM *in_r,
640 BIGNUM *r;
641 BIGNUM *s;
644 int ossl_ecdsa_sign_setup(EC_KEY *eckey, BN_CTX *ctx_in, BIGNUM **kinvp,
645 BIGNUM **rp);
648 const BIGNUM *kinv, const BIGNUM *r, EC_KEY *eckey);
650 const BIGNUM *in_kinv, const BIGNUM *in_r,
699 const BIGNUM *scalar, const EC_POINT *point,