Home
last modified time | relevance | path

Searched refs:mod_sqrt (Results 1 – 2 of 2) sorted by relevance

/netbsd-src/crypto/external/bsd/openssl/dist/test/
H A Dbntest.c1726 BIGNUM *a = NULL, *p = NULL, *mod_sqrt = NULL, *ret = NULL, *ret2 = NULL; in file_modsqrt() local
1731 || !TEST_ptr(mod_sqrt = getBN(s, "ModSqrt")) in file_modsqrt()
1736 if (BN_is_negative(mod_sqrt)) { in file_modsqrt()
1751 if (BN_cmp(ret2, mod_sqrt) != 0 in file_modsqrt()
1752 && !equalBN("sqrt(A) (mod P)", mod_sqrt, ret)) in file_modsqrt()
1759 BN_free(mod_sqrt); in file_modsqrt()
/netbsd-src/crypto/external/bsd/openssl.old/dist/test/
H A Dbntest.c1722 BIGNUM *a = NULL, *p = NULL, *mod_sqrt = NULL, *ret = NULL, *ret2 = NULL; in file_modsqrt() local
1727 || !TEST_ptr(mod_sqrt = getBN(s, "ModSqrt")) in file_modsqrt()
1732 if (BN_is_negative(mod_sqrt)) { in file_modsqrt()
1747 if (BN_cmp(ret2, mod_sqrt) != 0 in file_modsqrt()
1748 && !equalBN("sqrt(A) (mod P)", mod_sqrt, ret)) in file_modsqrt()
1755 BN_free(mod_sqrt); in file_modsqrt()