/external/boringssl/src/include/openssl/ |
ecdsa.h | 129 * |*kinv| and |*rp| to the precomputed values and uses the |ctx| argument, if 132 BIGNUM **kinv, BIGNUM **rp); 138 const BIGNUM *kinv, const BIGNUM *rp, 145 unsigned int *sig_len, const BIGNUM *kinv,
|
dsa.h | 399 BIGNUM *kinv; /* Signing pre-calc */ member in struct:dsa_st
|
/external/boringssl/src/crypto/ecdsa/ |
ecdsa.c | 342 int ECDSA_sign_setup(const EC_KEY *eckey, BN_CTX *ctx, BIGNUM **kinv, 344 return ecdsa_sign_setup(eckey, ctx, kinv, rp, NULL, 0); 351 BIGNUM *kinv = NULL, *s, *m = NULL, *tmp = NULL; local 392 if (!ecdsa_sign_setup(eckey, ctx, &kinv, &ret->r, digest, digest_len)) { 396 ckinv = kinv; 418 /* if kinv and r have been supplied by the caller 419 * don't to generate new kinv and r values */ 440 BN_clear_free(kinv); 445 uint8_t *sig, unsigned int *sig_len, const BIGNUM *kinv, 456 s = ECDSA_do_sign_ex(digest, digest_len, kinv, r, eckey) [all...] |
/external/boringssl/src/crypto/dsa/ |
dsa.c | 120 BN_clear_free(dsa->kinv); 508 BIGNUM *kinv = NULL, *r = NULL, *s = NULL; local 534 if (dsa->kinv == NULL || dsa->r == NULL) { 535 if (!DSA_sign_setup(dsa, ctx, &kinv, &r)) { 539 kinv = dsa->kinv; 540 dsa->kinv = NULL; 569 if (!BN_mod_mul(s, s, kinv, dsa->q, ctx)) { 598 BN_clear_free(kinv); 814 BIGNUM k, kq, *kinv = NULL, *r = NULL local [all...] |