Searched refs:kinv (Results 1 - 7 of 7) sorted by relevance
/freebsd-10-stable/crypto/openssl/crypto/ecdsa/ |
H A D | ecs_sign.c | 68 const BIGNUM *kinv, const BIGNUM *rp, 74 return ecdsa->meth->ecdsa_do_sign(dgst, dlen, kinv, rp, eckey); 84 *sig, unsigned int *siglen, const BIGNUM *kinv, 89 s = ECDSA_do_sign_ex(dgst, dlen, kinv, r, eckey); 67 ECDSA_do_sign_ex(const unsigned char *dgst, int dlen, const BIGNUM *kinv, const BIGNUM *rp, EC_KEY *eckey) argument 83 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.h | 124 * \param kinv BIGNUM with a pre-computed inverse k (optional) 131 const BIGNUM *kinv, const BIGNUM *rp, 174 * \param kinv BIGNUM pointer for the inverse of k 178 int ECDSA_sign_setup(EC_KEY *eckey, BN_CTX *ctx, BIGNUM **kinv, BIGNUM **rp); 200 * \param kinv BIGNUM with a pre-computed inverse k (optional) 208 const BIGNUM *kinv, const BIGNUM *rp, EC_KEY *eckey);
|
H A D | ecs_locl.h | 73 int (*ecdsa_sign_setup) (EC_KEY *eckey, BN_CTX *ctx, BIGNUM **kinv,
|
H A D | ecs_ossl.c | 218 BIGNUM *kinv = NULL, *s, *m = NULL, *tmp = NULL, *order = NULL; local 269 if (!ECDSA_sign_setup(eckey, ctx, &kinv, &ret->r)) { 273 ckinv = kinv; 296 * if kinv and r have been supplied by the caller don't to 297 * generate new kinv and r values 324 if (kinv) 325 BN_clear_free(kinv);
|
/freebsd-10-stable/crypto/openssl/crypto/dsa/ |
H A D | dsa_ossl.c | 135 BIGNUM *kinv = NULL, *r = NULL, *s = NULL; local 158 if ((dsa->kinv == NULL) || (dsa->r == NULL)) { 159 if (!DSA_sign_setup(dsa, ctx, &kinv, &r)) 162 kinv = dsa->kinv; 163 dsa->kinv = NULL; 187 if (!BN_mod_mul(s, s, kinv, dsa->q, ctx)) 217 if (kinv != NULL) /* dsa->kinv is NULL now if we used it */ 218 BN_clear_free(kinv); 226 BIGNUM k, kq, *K, *kinv = NULL, *r = NULL; local [all...] |
H A D | dsa_lib.c | 169 ret->kinv = NULL; 228 if (r->kinv != NULL) 229 BN_clear_free(r->kinv);
|
H A D | dsa.h | 168 BIGNUM *kinv; /* Signing pre-calc */ member in struct:dsa_st
|
Completed in 173 milliseconds