Home
last modified time | relevance | path

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

/openssl-master/crypto/ec/
A Decdsa_sign.c26 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()
A Decdsa_ossl.c60 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()
A Decp_s390x_nistp.c127 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, \
A Dec_kmeth.c237 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
A Dec_local.h182 const BIGNUM *kinv, const BIGNUM *r,
649 *sig, unsigned int *siglen, const BIGNUM *kinv,
683 const BIGNUM *kinv, const BIGNUM *r, EC_KEY *eckey);
/openssl-master/crypto/dsa/
A Ddsa_ossl.c72 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()
/openssl-master/doc/man3/
A DECDSA_SIG_new.pod39 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
/openssl-master/test/
A Decdsatest.c86 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()
/openssl-master/providers/implementations/signature/
A Decdsa_sig.c93 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()
/openssl-master/include/openssl/
A Dec.h1377 int dgstlen, const BIGNUM *kinv,
1400 BIGNUM **kinv, BIGNUM **rp);
1431 unsigned int *siglen, const BIGNUM *kinv,
1483 const BIGNUM *kinv, const BIGNUM *r,
1527 const BIGNUM *kinv, const BIGNUM *r,

Completed in 20 milliseconds