/third_party/openssl/crypto/ec/ |
D | ecdsa_sign.c | 26 const BIGNUM *kinv, const BIGNUM *rp, in ECDSA_do_sign_ex() argument 30 return eckey->meth->sign_sig(dgst, dlen, kinv, rp, eckey); in ECDSA_do_sign_ex() 42 unsigned char *sig, unsigned int *siglen, const BIGNUM *kinv, in ECDSA_sign_ex() argument 46 return eckey->meth->sign(type, dgst, dlen, sig, siglen, kinv, r, eckey); in ECDSA_sign_ex()
|
D | ecdsa_ossl.c | 60 const BIGNUM *kinv, const BIGNUM *r, EC_KEY *eckey) in ossl_ecdsa_sign() argument 64 s = ECDSA_do_sign_ex(dgst, dlen, kinv, r, eckey); in ossl_ecdsa_sign() 198 BIGNUM *kinv = NULL, *s, *m = NULL; in ossl_ecdsa_simple_sign_sig() local 259 if (!ecdsa_sign_setup(eckey, ctx, &kinv, &ret->r, dgst, dgst_len)) { in ossl_ecdsa_simple_sign_sig() 263 ckinv = kinv; in ossl_ecdsa_simple_sign_sig() 321 BN_clear_free(kinv); in ossl_ecdsa_simple_sign_sig()
|
D | ecp_s390x_nistp.c | 127 const BIGNUM *kinv, in ecdsa_s390x_nistp_sign_sig() argument 175 if (r == NULL || kinv == NULL) { in ecdsa_s390x_nistp_sign_sig() 193 if (ossl_ec_group_do_inverse_ord(group, k, kinv, NULL) == 0 in ecdsa_s390x_nistp_sign_sig() 303 const BIGNUM *kinv,\ 307 return ecdsa_s390x_nistp_sign_sig(dgst, dgstlen, kinv, r, eckey, \
|
D | ec_kmeth.c | 237 const BIGNUM *kinv, const BIGNUM *r, in EC_KEY_METHOD_set_sign() argument 312 const BIGNUM *kinv, const BIGNUM *r, in EC_KEY_METHOD_get_sign() argument
|
D | ec_local.h | 182 const BIGNUM *kinv, const BIGNUM *r, 649 *sig, unsigned int *siglen, const BIGNUM *kinv, 683 const BIGNUM *kinv, const BIGNUM *r, EC_KEY *eckey);
|
/third_party/openssl/crypto/dsa/ |
D | dsa_ossl.c | 72 BIGNUM *kinv = NULL; in ossl_dsa_do_sign_int() local 109 if (!dsa_sign_setup(dsa, ctx, &kinv, &ret->r, dgst, dlen)) in ossl_dsa_do_sign_int() 157 if (!BN_mod_mul(ret->s, ret->s, kinv, dsa->params.q, ctx)) in ossl_dsa_do_sign_int() 182 BN_clear_free(kinv); in ossl_dsa_do_sign_int() 202 BIGNUM *k, *kinv = NULL, *r = *rp; in dsa_sign_setup() local 301 if ((kinv = dsa_mod_inverse_fermat(k, dsa->params.q, ctx)) == NULL) in dsa_sign_setup() 305 *kinvp = kinv; in dsa_sign_setup() 306 kinv = NULL; in dsa_sign_setup()
|
/third_party/openssl/doc/man3/ |
D | ECDSA_SIG_new.pod | 39 const BIGNUM *kinv, const BIGNUM *rp, 41 int ECDSA_sign_setup(EC_KEY *eckey, BN_CTX *ctx, BIGNUM **kinv, BIGNUM **rp); 44 const BIGNUM *kinv, const BIGNUM *rp, EC_KEY *eckey); 84 ignored. ECDSA_sign() is wrapper function for ECDSA_sign_ex() with I<kinv> 89 is a wrapper function for ECDSA_do_sign_ex() with I<kinv> and I<rp> set to 99 The remaining functions utilise the internal I<kinv> and I<r> values used 102 either I<kinv> or I<r> is not NULL. 106 (or NULL). The precomputed values or returned in I<kinv> and I<rp> and can be 111 I<kinv> and I<rp>. The DER encoded signature is stored in I<sig> and its
|
/third_party/openssl/test/ |
D | ecdsatest.c | 86 BIGNUM *kinv = NULL, *rp = NULL; in x9_62_tests() local 131 if (!TEST_true(ECDSA_sign_setup(key, NULL, &kinv, &rp)) in x9_62_tests() 133 kinv, rp, key)) in x9_62_tests() 155 BN_clear_free(kinv); in x9_62_tests()
|
/third_party/openssl/providers/implementations/signature/ |
D | ecdsa_sig.c | 93 BIGNUM *kinv; member 186 if (ctx->kattest && !ECDSA_sign_setup(ctx->ec, NULL, &ctx->kinv, &ctx->r)) in ecdsa_sign() 196 ret = ECDSA_sign_ex(0, tbs, tbslen, sig, &sltmp, ctx->kinv, ctx->r, ctx->ec); in ecdsa_sign() 385 BN_clear_free(ctx->kinv); in ecdsa_freectx() 411 if (srcctx->kinv != NULL || srcctx->r != NULL) in ecdsa_dupctx()
|
/third_party/openssl/include/openssl/ |
D | ec.h | 1379 int dgstlen, const BIGNUM *kinv, 1402 BIGNUM **kinv, BIGNUM **rp); 1433 unsigned int *siglen, const BIGNUM *kinv, 1485 const BIGNUM *kinv, const BIGNUM *r, 1529 const BIGNUM *kinv, const BIGNUM *r,
|
/third_party/openssl/ohos_lite/include/openssl/ |
D | ec.h | 1205 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/openssl/ohos_lite/crypto/ec/ |
D | ec_local.h | 617 *sig, unsigned int *siglen, const BIGNUM *kinv, 648 const BIGNUM *kinv, const BIGNUM *r, EC_KEY *eckey);
|
/third_party/rust/crates/rust-openssl/openssl-sys/src/handwritten/ |
D | types.rs | 175 pub kinv: *mut BIGNUM,
|
/third_party/chromium/patch/ |
D | 0001-cve.patch | 32390 - 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;
|