Searched refs:BN_value_one (Results 1 – 15 of 15) sorted by relevance
/external/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 | 122 if (!BN_sub(r2,rsa->p,BN_value_one())) goto err; in rsa_builtin_keygen() 147 if (!BN_sub(r2,rsa->q,BN_value_one())) goto err; in rsa_builtin_keygen() 167 if (!BN_sub(r1,rsa->p,BN_value_one())) goto err; /* p-1 */ in rsa_builtin_keygen() 168 if (!BN_sub(r2,rsa->q,BN_value_one())) goto err; /* q-1 */ in rsa_builtin_keygen()
|
D | rsa_lib.c | 352 if (!BN_sub(r1, p, BN_value_one())) goto err; in rsa_get_public_exp() 353 if (!BN_sub(r2, q, BN_value_one())) goto err; in rsa_get_public_exp()
|
/external/openssl/crypto/dsa/ |
D | dsa_gen.c | 149 if (!BN_lshift(test,BN_value_one(),bits-1)) in dsa_builtin_paramgen() 248 if (!BN_sub(r0,c,BN_value_one())) goto err; in dsa_builtin_paramgen() 277 if (!BN_sub(test,p,BN_value_one())) goto err; in dsa_builtin_paramgen() 288 if (!BN_add(test,test,BN_value_one())) goto err; in dsa_builtin_paramgen()
|
/external/openssl/crypto/ec/ |
D | ectest.c | 368 if (!EC_GROUP_set_generator(group, P, z, BN_value_one())) ABORT; in prime_field_tests() 412 if (!EC_GROUP_set_generator(group, P, z, BN_value_one())) ABORT; in prime_field_tests() 458 if (!EC_GROUP_set_generator(group, P, z, BN_value_one())) ABORT; in prime_field_tests() 505 if (!EC_GROUP_set_generator(group, P, z, BN_value_one())) ABORT; in prime_field_tests() 556 if (!EC_GROUP_set_generator(group, P, z, BN_value_one())) ABORT; in prime_field_tests() 613 if (!EC_GROUP_set_generator(group, P, z, BN_value_one())) ABORT; in prime_field_tests() 672 if (!BN_add(y, z, BN_value_one())) ABORT; in prime_field_tests() 1153 if (!BN_add(y, z, BN_value_one())) ABORT; in char2_field_tests()
|
D | ecp_mont.c | 231 if (!BN_to_montgomery(one, BN_value_one(), mont, ctx)) goto err; in ec_GFp_mont_group_set_curve()
|
D | ec2_smpl.c | 361 if (!BN_copy(&point->Z, BN_value_one())) goto err; in ec_GF2m_simple_point_set_affine_coordinates() 385 if (BN_cmp(&point->Z, BN_value_one())) in ec_GF2m_simple_point_get_affine_coordinates()
|
D | ecp_smpl.c | 517 return EC_POINT_set_Jprojective_coordinates_GFp(group, point, x, y, BN_value_one(), ctx); in ec_GFp_simple_point_set_affine_coordinates()
|
/external/openssl/crypto/bn/ |
D | bn_exp2.c | 243 if (!BN_to_montgomery(r,BN_value_one(),mont,ctx)) goto err; in BN_mod_exp2_mont()
|
D | bn_exp.c | 457 if (!BN_to_montgomery(r,BN_value_one(),mont,ctx)) goto err; in BN_mod_exp_mont() 637 if (!BN_to_montgomery(r,BN_value_one(),mont,ctx)) goto err; in BN_mod_exp_mont_consttime()
|
D | bn_prime.c | 253 if (BN_cmp(a, BN_value_one()) <= 0) in BN_is_prime_fasttest_ex()
|
D | bn_lib.c | 134 const BIGNUM *BN_value_one(void) in BN_value_one() function
|
D | bn.h | 399 const BIGNUM *BN_value_one(void);
|
D | bntest.c | 1075 BN_copy(&b, BN_value_one()); in test_gf2m_add()
|
/external/openssl/include/openssl/ |
D | bn.h | 399 const BIGNUM *BN_value_one(void);
|