Home
last modified time | relevance | path

Searched refs:kinv (Results 1 – 9 of 9) sorted by relevance

/third_party/openssl/crypto/ec/
Decdsa_sign.c20 const BIGNUM *kinv, const BIGNUM *rp, in ECDSA_do_sign_ex() argument
24 return eckey->meth->sign_sig(dgst, dlen, kinv, rp, eckey); in ECDSA_do_sign_ex()
36 unsigned char *sig, unsigned int *siglen, const BIGNUM *kinv, in ECDSA_sign_ex() argument
40 return eckey->meth->sign(type, dgst, dlen, sig, siglen, kinv, r, eckey); in ECDSA_sign_ex()
Decdsa_ossl.c19 const BIGNUM *kinv, const BIGNUM *r, EC_KEY *eckey) in ossl_ecdsa_sign() argument
23 s = ECDSA_do_sign_ex(dgst, dlen, kinv, r, eckey); in ossl_ecdsa_sign()
159 BIGNUM *kinv = NULL, *s, *m = NULL; in ossl_ecdsa_sign_sig() local
220 if (!ecdsa_sign_setup(eckey, ctx, &kinv, &ret->r, dgst, dgst_len)) { in ossl_ecdsa_sign_sig()
224 ckinv = kinv; in ossl_ecdsa_sign_sig()
282 BN_clear_free(kinv); in ossl_ecdsa_sign_sig()
Dec_kmeth.c210 const BIGNUM *kinv, const BIGNUM *r, in EC_KEY_METHOD_set_sign() argument
285 const BIGNUM *kinv, const BIGNUM *r, in EC_KEY_METHOD_get_sign() argument
Dec_local.h617 *sig, unsigned int *siglen, const BIGNUM *kinv,
648 const BIGNUM *kinv, const BIGNUM *r, EC_KEY *eckey);
/third_party/openssl/crypto/dsa/
Ddsa_ossl.c64 BIGNUM *kinv = NULL; in dsa_do_sign() local
99 if (!dsa_sign_setup(dsa, ctx, &kinv, &ret->r, dgst, dlen)) in dsa_do_sign()
147 if (!BN_mod_mul(ret->s, ret->s, kinv, dsa->q, ctx)) in dsa_do_sign()
172 BN_clear_free(kinv); in dsa_do_sign()
187 BIGNUM *k, *kinv = NULL, *r = *rp; in dsa_sign_setup() local
282 if ((kinv = dsa_mod_inverse_fermat(k, dsa->q, ctx)) == NULL) in dsa_sign_setup()
286 *kinvp = kinv; in dsa_sign_setup()
287 kinv = NULL; in dsa_sign_setup()
/third_party/openssl/doc/man3/
DECDSA_SIG_new.pod34 const BIGNUM *kinv, const BIGNUM *rp,
36 int ECDSA_sign_setup(EC_KEY *eckey, BN_CTX *ctx, BIGNUM **kinv, BIGNUM **rp);
39 const BIGNUM *kinv, const BIGNUM *rp, EC_KEY *eckey);
79 ignored. ECDSA_sign() is wrapper function for ECDSA_sign_ex() with B<kinv>
84 is a wrapper function for ECDSA_do_sign_ex() with B<kinv> and B<rp> set to
94 The remaining functions utilise the internal B<kinv> and B<r> values used
97 either B<kinv> or B<r> is not B<NULL>.
101 (or NULL). The precomputed values or returned in B<kinv> and B<rp> and can be
106 B<kinv> and B<rp>. The DER encoded signature is stored in B<sig> and its
/third_party/openssl/test/
Decdsatest.c108 BIGNUM *kinv = NULL, *rp = NULL; in x9_62_tests() local
150 if (!TEST_true(ECDSA_sign_setup(key, NULL, &kinv, &rp)) in x9_62_tests()
152 kinv, rp, key)) in x9_62_tests()
178 BN_clear_free(kinv); in x9_62_tests()
/third_party/openssl/include/openssl/
Dec.h1205 const BIGNUM *kinv, const BIGNUM *rp,
1227 int ECDSA_sign_setup(EC_KEY *eckey, BN_CTX *ctx, BIGNUM **kinv, BIGNUM **rp);
1257 const BIGNUM *kinv, const BIGNUM *rp, EC_KEY *eckey);
1308 const BIGNUM *kinv, const BIGNUM *r,
1352 const BIGNUM *kinv, const BIGNUM *r,
/third_party/chromium/patch/
D0001-cve.patch32390 - const K kinv = kINVALID;
32392 + const K kinv = hb_coerce<K> (kINVALID);
32394 return key != kinv && value == vinv;
32398 - const K kinv = kINVALID;
32400 + const K kinv = hb_coerce<K> (kINVALID);
32402 return key != kinv && value != vinv;
32469 - const K kinv = kINVALID;
32470 + const K kinv = hb_coerce<K> (kINVALID);
32471 if (unlikely (key == kinv)) return true;