/external/dropbear/libtomcrypt/src/pk/dsa/ |
dsa_sign_hash.c | 35 void *k, *kinv, *tmp; local 62 if ((err = mp_init_multi(&k, &kinv, &tmp, NULL)) != CRYPT_OK) { goto ERRBUF; } 84 if ((err = mp_invmod(k, key->q, kinv)) != CRYPT_OK) { goto error; } 96 if ((err = mp_mulmod(s, kinv, key->q, s)) != CRYPT_OK) { goto error; } 102 mp_clear_multi(k, kinv, tmp, NULL);
|
/external/chromium_org/third_party/openssl/openssl/crypto/dsa/ |
dsa_ossl.c | 133 BIGNUM *kinv=NULL,*r=NULL,*s=NULL; local 155 if ((dsa->kinv == NULL) || (dsa->r == NULL)) 157 if (!DSA_sign_setup(dsa,ctx,&kinv,&r)) goto err; 161 kinv=dsa->kinv; 162 dsa->kinv=NULL; 182 if (!BN_mod_mul(s,s,kinv,dsa->q,ctx)) goto err; 211 if (kinv != NULL) /* dsa->kinv is NULL now if we used it */ 212 BN_clear_free(kinv); 219 BIGNUM k,kq,*K,*kinv=NULL,*r=NULL; local [all...] |
dsa.h | 170 BIGNUM *kinv; /* Signing pre-calc */ member in struct:dsa_st
|
/external/chromium_org/third_party/openssl/openssl/crypto/ecdsa/ |
ecs_ossl.c | 226 BIGNUM *kinv=NULL, *s, *m=NULL,*tmp=NULL,*order=NULL; local 285 if (!ECDSA_sign_setup(eckey, ctx, &kinv, &ret->r)) 290 ckinv = kinv; 319 /* if kinv and r have been supplied by the caller 320 * don't to generate new kinv and r values */ 348 if (kinv) 349 BN_clear_free(kinv);
|
/external/openssl/crypto/dsa/ |
dsa_ossl.c | 133 BIGNUM *kinv=NULL,*r=NULL,*s=NULL; local 155 if ((dsa->kinv == NULL) || (dsa->r == NULL)) 157 if (!DSA_sign_setup(dsa,ctx,&kinv,&r)) goto err; 161 kinv=dsa->kinv; 162 dsa->kinv=NULL; 182 if (!BN_mod_mul(s,s,kinv,dsa->q,ctx)) goto err; 211 if (kinv != NULL) /* dsa->kinv is NULL now if we used it */ 212 BN_clear_free(kinv); 219 BIGNUM k,kq,*K,*kinv=NULL,*r=NULL; local [all...] |
dsa.h | 170 BIGNUM *kinv; /* Signing pre-calc */ member in struct:dsa_st
|
/external/openssl/crypto/ecdsa/ |
ecs_ossl.c | 226 BIGNUM *kinv=NULL, *s, *m=NULL,*tmp=NULL,*order=NULL; local 285 if (!ECDSA_sign_setup(eckey, ctx, &kinv, &ret->r)) 290 ckinv = kinv; 319 /* if kinv and r have been supplied by the caller 320 * don't to generate new kinv and r values */ 348 if (kinv) 349 BN_clear_free(kinv);
|
/external/chromium_org/third_party/openssl/openssl/include/openssl/ |
dsa.h | 170 BIGNUM *kinv; /* Signing pre-calc */ member in struct:dsa_st
|
/external/openssl/include/openssl/ |
dsa.h | 170 BIGNUM *kinv; /* Signing pre-calc */ member in struct:dsa_st
|