Searched refs:kinv (Results 1 - 6 of 6) sorted by relevance
/external/boringssl/include/openssl/ |
H A D | ecdsa.h | 129 * |*kinv| and |*rp| to the precomputed values and uses the |ctx| argument, if 131 OPENSSL_EXPORT int ECDSA_sign_setup(EC_KEY *eckey, BN_CTX *ctx, BIGNUM **kinv, 138 const BIGNUM *kinv, const BIGNUM *rp, 145 unsigned int *sig_len, const BIGNUM *kinv,
|
H A D | dsa.h | 322 BIGNUM *kinv; /* Signing pre-calc */ member in struct:dsa_st
|
/external/boringssl/src/include/openssl/ |
H A D | ecdsa.h | 129 * |*kinv| and |*rp| to the precomputed values and uses the |ctx| argument, if 131 OPENSSL_EXPORT int ECDSA_sign_setup(EC_KEY *eckey, BN_CTX *ctx, BIGNUM **kinv, 138 const BIGNUM *kinv, const BIGNUM *rp, 145 unsigned int *sig_len, const BIGNUM *kinv,
|
H A D | dsa.h | 322 BIGNUM *kinv; /* Signing pre-calc */ member in struct:dsa_st
|
/external/boringssl/src/crypto/ecdsa/ |
H A D | ecdsa.c | 360 int ECDSA_sign_setup(EC_KEY *eckey, BN_CTX *ctx, BIGNUM **kinv, BIGNUM **rp) { argument 361 return ecdsa_sign_setup(eckey, ctx, kinv, rp, NULL, 0); 368 BIGNUM *kinv = NULL, *s, *m = NULL, *tmp = NULL; local 409 if (!ecdsa_sign_setup(eckey, ctx, &kinv, &ret->r, digest, digest_len)) { 413 ckinv = kinv; 435 /* if kinv and r have been supplied by the caller 436 * don't to generate new kinv and r values */ 457 BN_clear_free(kinv); 462 uint8_t *sig, unsigned int *sig_len, const BIGNUM *kinv, 473 s = ECDSA_do_sign_ex(digest, digest_len, kinv, 461 ECDSA_sign_ex(int type, const uint8_t *digest, size_t digest_len, uint8_t *sig, unsigned int *sig_len, const BIGNUM *kinv, const BIGNUM *r, EC_KEY *eckey) argument [all...] |
/external/boringssl/src/crypto/dsa/ |
H A D | dsa.c | 122 BN_clear_free(dsa->kinv); 474 BIGNUM *kinv = NULL, *r = NULL, *s = NULL; local 500 if (dsa->kinv == NULL || dsa->r == NULL) { 501 if (!DSA_sign_setup(dsa, ctx, &kinv, &r)) { 505 kinv = dsa->kinv; 506 dsa->kinv = NULL; 535 if (!BN_mod_mul(s, s, kinv, dsa->q, ctx)) { 564 BN_clear_free(kinv); 767 BIGNUM k, kq, *K, *kinv local [all...] |
Completed in 156 milliseconds