Searched refs:BN_sqrt (Results 1 - 5 of 5) sorted by relevance
/external/boringssl/src/crypto/bn/ |
H A D | sqrt.c | 431 int BN_sqrt(BIGNUM *out_sqrt, const BIGNUM *in, BN_CTX *ctx) { function
|
H A D | bn_test.cc | 355 if (!BN_sqrt(ret.get(), square.get(), ctx) || 360 // BN_sqrt should fail on non-squares and negative numbers. 368 if (BN_sqrt(ret.get(), tmp.get(), ctx)) { 369 t->PrintLine("BN_sqrt succeeded on a negative number"); 378 if (BN_sqrt(ret.get(), tmp.get(), ctx)) { 379 t->PrintLine("BN_sqrt succeeded on a non-square");
|
/external/boringssl/include/openssl/ |
H A D | bn.h | 436 /* BN_sqrt sets |*out_sqrt| (which may be the same |BIGNUM| as |in|) to the 440 OPENSSL_EXPORT int BN_sqrt(BIGNUM *out_sqrt, const BIGNUM *in, BN_CTX *ctx);
|
/external/boringssl/src/include/openssl/ |
H A D | bn.h | 436 /* BN_sqrt sets |*out_sqrt| (which may be the same |BIGNUM| as |in|) to the 440 OPENSSL_EXPORT int BN_sqrt(BIGNUM *out_sqrt, const BIGNUM *in, BN_CTX *ctx);
|
/external/boringssl/src/crypto/rsa/ |
H A D | rsa.c | 780 !BN_sqrt(p_minus_q, rem, ctx) ||
|
Completed in 886 milliseconds