/freebsd-13-stable/crypto/openssl/crypto/ec/ |
H A D | ecdsa_sign.c | 20 const BIGNUM *kinv, const BIGNUM *rp, 24 return eckey->meth->sign_sig(dgst, dlen, kinv, rp, eckey); 36 unsigned char *sig, unsigned int *siglen, const BIGNUM *kinv, 40 return eckey->meth->sign(type, dgst, dlen, sig, siglen, kinv, r, eckey); 19 ECDSA_do_sign_ex(const unsigned char *dgst, int dlen, const BIGNUM *kinv, const BIGNUM *rp, EC_KEY *eckey) argument 35 ECDSA_sign_ex(int type, const unsigned char *dgst, int dlen, unsigned char *sig, unsigned int *siglen, const BIGNUM *kinv, const BIGNUM *r, EC_KEY *eckey) argument
|
H A D | ecdsa_ossl.c | 19 const BIGNUM *kinv, const BIGNUM *r, EC_KEY *eckey) 23 s = ECDSA_do_sign_ex(dgst, dlen, kinv, r, eckey); 159 BIGNUM *kinv = NULL, *s, *m = NULL; local 220 if (!ecdsa_sign_setup(eckey, ctx, &kinv, &ret->r, dgst, dgst_len)) { 224 ckinv = kinv; 261 * if kinv and r have been supplied by the caller, don't 262 * generate new kinv and r values 282 BN_clear_free(kinv); 17 ossl_ecdsa_sign(int type, const unsigned char *dgst, int dlen, unsigned char *sig, unsigned int *siglen, const BIGNUM *kinv, const BIGNUM *r, EC_KEY *eckey) argument
|
H A D | ec_kmeth.c | 210 const BIGNUM *kinv, const BIGNUM *r, 285 const BIGNUM *kinv, const BIGNUM *r, 206 EC_KEY_METHOD_set_sign(EC_KEY_METHOD *meth, int (*sign)(int type, const unsigned char *dgst, int dlen, unsigned char *sig, unsigned int *siglen, const BIGNUM *kinv, const BIGNUM *r, EC_KEY *eckey), int (*sign_setup)(EC_KEY *eckey, BN_CTX *ctx_in, BIGNUM **kinvp, BIGNUM **rp), ECDSA_SIG *(*sign_sig)(const unsigned char *dgst, int dgst_len, const BIGNUM *in_kinv, const BIGNUM *in_r, EC_KEY *eckey)) argument 281 EC_KEY_METHOD_get_sign(const EC_KEY_METHOD *meth, int (**psign)(int type, const unsigned char *dgst, int dlen, unsigned char *sig, unsigned int *siglen, const BIGNUM *kinv, const BIGNUM *r, EC_KEY *eckey), int (**psign_setup)(EC_KEY *eckey, BN_CTX *ctx_in, BIGNUM **kinvp, BIGNUM **rp), ECDSA_SIG *(**psign_sig)(const unsigned char *dgst, int dgst_len, const BIGNUM *in_kinv, const BIGNUM *in_r, EC_KEY *eckey)) argument
|
H A D | ec_local.h | 617 *sig, unsigned int *siglen, const BIGNUM *kinv, 648 const BIGNUM *kinv, const BIGNUM *r, EC_KEY *eckey);
|
/freebsd-13-stable/crypto/openssl/crypto/dsa/ |
H A D | dsa_ossl.c | 64 BIGNUM *kinv = NULL; local 99 if (!dsa_sign_setup(dsa, ctx, &kinv, &ret->r, dgst, dlen)) 147 if (!BN_mod_mul(ret->s, ret->s, kinv, dsa->q, ctx)) 172 BN_clear_free(kinv); 187 BIGNUM *k, *kinv = NULL, *r = *rp; local 282 if ((kinv = dsa_mod_inverse_fermat(k, dsa->q, ctx)) == NULL) 286 *kinvp = kinv; 287 kinv = NULL;
|
/freebsd-13-stable/crypto/openssl/include/openssl/ |
H A D | ec.h | 1195 * \param kinv BIGNUM with a pre-computed inverse k (optional) 1202 const BIGNUM *kinv, const BIGNUM *rp, 1220 * \param kinv BIGNUM pointer for the inverse of k 1224 int ECDSA_sign_setup(EC_KEY *eckey, BN_CTX *ctx, BIGNUM **kinv, BIGNUM **rp); 1246 * \param kinv BIGNUM with a pre-computed inverse k (optional) 1254 const BIGNUM *kinv, const BIGNUM *rp, EC_KEY *eckey); 1305 const BIGNUM *kinv, const BIGNUM *r, 1349 const BIGNUM *kinv, const BIGNUM *r,
|