Home
last modified time | relevance | path

Searched refs:BN_value_one (Results 1 – 15 of 15) sorted by relevance

/external/openssl/crypto/rsa/
Drsa_chk.c109 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()
Drsa_gen.c122 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()
Drsa_lib.c352 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/
Ddsa_gen.c149 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/
Dectest.c368 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()
Decp_mont.c231 if (!BN_to_montgomery(one, BN_value_one(), mont, ctx)) goto err; in ec_GFp_mont_group_set_curve()
Dec2_smpl.c361 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()
Decp_smpl.c517 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/
Dbn_exp2.c243 if (!BN_to_montgomery(r,BN_value_one(),mont,ctx)) goto err; in BN_mod_exp2_mont()
Dbn_exp.c457 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()
Dbn_prime.c253 if (BN_cmp(a, BN_value_one()) <= 0) in BN_is_prime_fasttest_ex()
Dbn_lib.c134 const BIGNUM *BN_value_one(void) in BN_value_one() function
Dbn.h399 const BIGNUM *BN_value_one(void);
Dbntest.c1075 BN_copy(&b, BN_value_one()); in test_gf2m_add()
/external/openssl/include/openssl/
Dbn.h399 const BIGNUM *BN_value_one(void);