Home
last modified time | relevance | path

Searched refs:BN_is_negative (Results 1 – 23 of 23) sorted by relevance

/external/boringssl/src/crypto/fipsmodule/bn/
Dbn_test.cc234 if (!BN_is_negative(a.get()) && !BN_is_negative(b.get())) { in TestSum()
284 if (!BN_is_negative(b.get()) && b_word != (BN_ULONG)-1) { in TestSum()
562 if (BN_is_negative(b.get())) { in TestQuotient()
564 BN_set_negative(quotient.get(), !BN_is_negative(quotient.get())); in TestQuotient()
570 if (BN_is_negative(nnmod.get())) { in TestQuotient()
577 if (BN_is_negative(a.get())) { in TestQuotient()
1104 EXPECT_FALSE(BN_is_negative(bn.get())); in TEST_F()
1109 EXPECT_FALSE(BN_is_negative(bn.get())); in TEST_F()
1114 EXPECT_TRUE(BN_is_negative(bn.get())); in TEST_F()
1119 EXPECT_FALSE(BN_is_negative(bn.get())); in TEST_F()
[all …]
Dmontgomery_inv.c38 assert(!BN_is_negative(n)); in bn_mont_n0()
166 assert(!BN_is_negative(n)); in bn_mod_exp_base_2_consttime()
Dgcd.c125 if (BN_is_negative(a) || BN_cmp(a, n) >= 0) { in BN_mod_inverse_odd()
332 if (BN_is_negative(a) || BN_cmp(a, &mont->N) >= 0) { in BN_mod_inverse_blinded()
Djacobi.c78 if (BN_is_negative(b)) { in bn_jacobi()
Dmontgomery.c172 if (BN_is_negative(mod)) { in bn_mont_ctx_set_N_and_n0()
449 return !BN_is_negative(bn) && in bn_less_than_montgomery_R()
Dbn.c334 int BN_is_negative(const BIGNUM *bn) { in BN_is_negative() function
Ddiv.c462 if (BN_is_negative(numerator) || BN_is_negative(divisor)) { in bn_div_consttime()
Dgcd_extra.c172 if (BN_is_negative(a) || BN_ucmp(a, n) >= 0) { in bn_mod_inverse_consttime()
/external/boringssl/src/crypto/bn_extra/
Dbn_asn1.c47 if (BN_is_negative(bn)) { in BN_marshal_asn1()
Dconvert.c283 if (BN_is_negative(a) && in BN_bn2dec()
/external/boringssl/src/crypto/fipsmodule/ec/
Dfelem.c26 if (BN_is_negative(in) || BN_cmp(in, &group->field) >= 0) { in ec_bignum_to_felem()
Doct.c240 if (BN_is_negative(x) || BN_cmp(x, &group->field) >= 0) { in EC_POINT_set_compressed_coordinates_GFp()
Dec_test.cc897 if (BN_is_negative(b.get())) { in TEST()
/external/boringssl/src/crypto/asn1/
Da_enum.c163 if (BN_is_negative(bn)) in BN_to_ASN1_ENUMERATED()
Da_int.c384 if (BN_is_negative(bn) && !BN_is_zero(bn)) in BN_to_ASN1_INTEGER()
/external/boringssl/src/crypto/evp/
Dprint.c84 const char *neg = BN_is_negative(num) ? "-" : ""; in bn_print()
93 (BN_is_negative(num)) ? " (Negative)" : "") <= 0) { in bn_print()
/external/boringssl/src/crypto/fipsmodule/rsa/
Drsa.c650 if (check_reduced && (BN_is_negative(ainv) || BN_cmp(ainv, m) >= 0)) { in check_mod_inverse()
722 if (BN_is_negative(key->d) || BN_cmp(key->d, key->n) >= 0) { in RSA_check_key()
/external/boringssl/src/crypto/dsa/
Ddsa.c704 if (BN_is_zero(sig->r) || BN_is_negative(sig->r) || in DSA_do_check_signature()
709 if (BN_is_zero(sig->s) || BN_is_negative(sig->s) || in DSA_do_check_signature()
/external/boringssl/src/include/openssl/
Dbn.h229 OPENSSL_EXPORT int BN_is_negative(const BIGNUM *bn);
/external/grpc-grpc/src/objective-c/
Dgrpc_shadow_boringssl_symbol_list740 BN_is_negative
DBoringSSL-GRPC.podspec2292 '#define BN_is_negative GRPC_SHADOW_BN_is_negative',
/external/grpc-grpc/src/core/tsi/
Dgrpc_shadow_boringssl.h768 #define BN_is_negative GRPC_SHADOW_BN_is_negative macro
/external/conscrypt/common/src/jni/main/cpp/conscrypt/
Dnative_crypto.cc263 if (BN_is_negative(source)) { in bignumToArray()