Lines Matching full:bignum
111 static int digest_to_bn(BIGNUM *out, const uint8_t *digest, size_t digest_len,
112 const BIGNUM *order) {
145 BIGNUM *u1, *u2, *m, *X;
173 const BIGNUM *order = EC_GROUP_get0_order(group);
228 static int ecdsa_sign_setup(const EC_KEY *eckey, BN_CTX *ctx_in, BIGNUM **kinvp,
229 BIGNUM **rp, const uint8_t *digest,
232 BIGNUM *k = NULL, *r = NULL, *tmp = NULL;
264 const BIGNUM *order = EC_GROUP_get0_order(group);
342 int ECDSA_sign_setup(const EC_KEY *eckey, BN_CTX *ctx, BIGNUM **kinv,
343 BIGNUM **rp) {
348 const BIGNUM *in_kinv, const BIGNUM *in_r,
351 BIGNUM *kinv = NULL, *s, *m = NULL, *tmp = NULL;
352 const BIGNUM *ckinv;
356 const BIGNUM *priv_key;
385 const BIGNUM *order = EC_GROUP_get0_order(group);
445 uint8_t *sig, unsigned int *sig_len, const BIGNUM *kinv,
446 const BIGNUM *r, const EC_KEY *eckey) {