/external/openssl/crypto/bn/ |
D | bn_mod.c | 137 return (d->neg ? BN_sub : BN_add)(r, r, d); in BN_nnmod() 161 if (!BN_sub(r, a, b)) return 0; in BN_mod_sub() 170 if (!BN_sub(r, a, b)) return 0; in BN_mod_sub_quick() 226 return BN_sub(r, r, m); in BN_mod_lshift1_quick() 295 if (!BN_sub(r, r, m)) return 0; in BN_mod_lshift_quick()
|
D | bn_gcd.c | 164 if (!BN_sub(a,a,b)) goto err; in euclid() 360 if (!BN_sub(M,A,B)) goto err; in BN_mod_inverse() 370 if (!BN_sub(M,A,B)) goto err; in BN_mod_inverse() 375 if (!BN_sub(M,A,T)) goto err; in BN_mod_inverse() 388 if (!BN_sub(M,M,B)) goto err; in BN_mod_inverse() 473 if (!BN_sub(Y,n,Y)) goto err; in BN_mod_inverse() 628 if (!BN_sub(Y,n,Y)) goto err; in BN_mod_inverse_no_branch()
|
D | bntest.c | 385 BN_sub(&c,&a,&b); in test_sub() 399 BN_sub(&c,&c,&a); in test_sub() 461 BN_sub(&d,&d,&a); in test_div() 536 BN_sub(&b,&a,&b); in test_div_word() 600 BN_sub(&d,&d,&a); in test_div_recp() 661 BN_sub(&d,&d,&b); in test_mul() 705 BN_sub(&d,&d,&a); in test_sqr() 778 BN_sub(&d,&d,&A); in test_mont() 827 BN_sub(e,e,c); in test_mod() 895 BN_sub(d,d,e); in test_mod_mul() [all …]
|
D | bn_rand.c | 263 if (!BN_sub(r, r, range)) return 0; in bn_rand_range() 265 if (!BN_sub(r, r, range)) return 0; in bn_rand_range()
|
D | bn_prime.c | 420 if (!BN_sub(rnd,rnd,t1)) goto err; in probable_prime_dh() 463 if (!BN_sub(q,q,t1)) goto err; in probable_prime_dh_safe()
|
D | bn_add.c | 263 int BN_sub(BIGNUM *r, const BIGNUM *a, const BIGNUM *b) in BN_sub() function
|
D | bn_sqrt.c | 224 if (!(p->neg ? BN_add : BN_sub)(y, y, p)) goto end; in BN_mod_sqrt()
|
/external/chromium_org/third_party/openssl/openssl/crypto/bn/ |
D | bn_mod.c | 137 return (d->neg ? BN_sub : BN_add)(r, r, d); in BN_nnmod() 161 if (!BN_sub(r, a, b)) return 0; in BN_mod_sub() 170 if (!BN_sub(r, a, b)) return 0; in BN_mod_sub_quick() 226 return BN_sub(r, r, m); in BN_mod_lshift1_quick() 295 if (!BN_sub(r, r, m)) return 0; in BN_mod_lshift_quick()
|
D | bn_gcd.c | 164 if (!BN_sub(a,a,b)) goto err; in euclid() 360 if (!BN_sub(M,A,B)) goto err; in BN_mod_inverse() 370 if (!BN_sub(M,A,B)) goto err; in BN_mod_inverse() 375 if (!BN_sub(M,A,T)) goto err; in BN_mod_inverse() 388 if (!BN_sub(M,M,B)) goto err; in BN_mod_inverse() 473 if (!BN_sub(Y,n,Y)) goto err; in BN_mod_inverse() 628 if (!BN_sub(Y,n,Y)) goto err; in BN_mod_inverse_no_branch()
|
D | bntest.c | 385 BN_sub(&c,&a,&b); in test_sub() 399 BN_sub(&c,&c,&a); in test_sub() 461 BN_sub(&d,&d,&a); in test_div() 536 BN_sub(&b,&a,&b); in test_div_word() 600 BN_sub(&d,&d,&a); in test_div_recp() 661 BN_sub(&d,&d,&b); in test_mul() 705 BN_sub(&d,&d,&a); in test_sqr() 778 BN_sub(&d,&d,&A); in test_mont() 827 BN_sub(e,e,c); in test_mod() 895 BN_sub(d,d,e); in test_mod_mul() [all …]
|
D | bn_rand.c | 262 if (!BN_sub(r, r, range)) return 0; in bn_rand_range() 264 if (!BN_sub(r, r, range)) return 0; in bn_rand_range()
|
D | bn_prime.c | 420 if (!BN_sub(rnd,rnd,t1)) goto err; in probable_prime_dh() 463 if (!BN_sub(q,q,t1)) goto err; in probable_prime_dh_safe()
|
D | bn_add.c | 263 int BN_sub(BIGNUM *r, const BIGNUM *a, const BIGNUM *b) in BN_sub() function
|
D | bn_sqrt.c | 224 if (!(p->neg ? BN_add : BN_sub)(y, y, p)) goto end; in BN_mod_sqrt()
|
/external/chromium_org/third_party/openssl/openssl/crypto/rsa/ |
D | rsa_chk.c | 109 r = BN_sub(i, key->p, BN_value_one()); in RSA_check_key() 111 r = BN_sub(j, key->q, BN_value_one()); in RSA_check_key() 134 r = BN_sub(i, key->p, BN_value_one()); in RSA_check_key() 148 r = BN_sub(i, key->q, BN_value_one()); in RSA_check_key()
|
D | rsa_gen.c | 137 if (!BN_sub(r2,rsa->p,BN_value_one())) goto err; in rsa_builtin_keygen() 162 if (!BN_sub(r2,rsa->q,BN_value_one())) goto err; in rsa_builtin_keygen() 182 if (!BN_sub(r1,rsa->p,BN_value_one())) goto err; /* p-1 */ in rsa_builtin_keygen() 183 if (!BN_sub(r2,rsa->q,BN_value_one())) goto err; /* q-1 */ in rsa_builtin_keygen()
|
D | rsa_crpt.c | 180 if (!BN_sub(r1, p, BN_value_one())) goto err; in rsa_get_public_exp() 181 if (!BN_sub(r2, q, BN_value_one())) goto err; in rsa_get_public_exp()
|
D | rsa_eay.c | 461 BN_sub(f, rsa->n, ret); in RSA_eay_private_encrypt() 700 if (!BN_sub(ret, rsa->n, ret)) goto err; in RSA_eay_public_decrypt() 831 if (!BN_sub(r0,r0,m1)) goto err; in RSA_eay_mod_exp() 868 if (!BN_sub(vrfy, vrfy, I)) goto err; in RSA_eay_mod_exp()
|
/external/openssl/crypto/rsa/ |
D | rsa_chk.c | 115 r = BN_sub(i, key->p, BN_value_one()); in RSA_check_key() 117 r = BN_sub(j, key->q, BN_value_one()); in RSA_check_key() 140 r = BN_sub(i, key->p, BN_value_one()); in RSA_check_key() 154 r = BN_sub(i, key->q, BN_value_one()); in RSA_check_key()
|
D | rsa_gen.c | 137 if (!BN_sub(r2,rsa->p,BN_value_one())) goto err; in rsa_builtin_keygen() 162 if (!BN_sub(r2,rsa->q,BN_value_one())) goto err; in rsa_builtin_keygen() 182 if (!BN_sub(r1,rsa->p,BN_value_one())) goto err; /* p-1 */ in rsa_builtin_keygen() 183 if (!BN_sub(r2,rsa->q,BN_value_one())) goto err; /* q-1 */ in rsa_builtin_keygen()
|
D | rsa_crpt.c | 180 if (!BN_sub(r1, p, BN_value_one())) goto err; in rsa_get_public_exp() 181 if (!BN_sub(r2, q, BN_value_one())) goto err; in rsa_get_public_exp()
|
D | rsa_eay.c | 461 BN_sub(f, rsa->n, ret); in RSA_eay_private_encrypt() 700 if (!BN_sub(ret, rsa->n, ret)) goto err; in RSA_eay_public_decrypt() 831 if (!BN_sub(r0,r0,m1)) goto err; in RSA_eay_mod_exp() 868 if (!BN_sub(vrfy, vrfy, I)) goto err; in RSA_eay_mod_exp()
|
/external/chromium_org/third_party/openssl/openssl/crypto/dsa/ |
D | dsa_gen.c | 296 if (!BN_sub(r0,c,BN_value_one())) goto err; in dsa_builtin_paramgen() 297 if (!BN_sub(p,X,r0)) goto err; in dsa_builtin_paramgen() 325 if (!BN_sub(test,p,BN_value_one())) goto err; in dsa_builtin_paramgen()
|
D | dsa_ossl.c | 181 if (!BN_sub(s,s,dsa->q)) goto err; in dsa_do_sign()
|
/external/openssl/crypto/dsa/ |
D | dsa_gen.c | 296 if (!BN_sub(r0,c,BN_value_one())) goto err; in dsa_builtin_paramgen() 297 if (!BN_sub(p,X,r0)) goto err; in dsa_builtin_paramgen() 325 if (!BN_sub(test,p,BN_value_one())) goto err; in dsa_builtin_paramgen()
|