Home
last modified time | relevance | path

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

/freebsd/crypto/openssl/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()
/freebsd/crypto/libecc/src/arithmetic_tests/
H A Darithmetic_tests_generator.py1159 def mod_sqrt(a, p): function
1905 fp_sqrt1 = mod_sqrt(fp_val, nn_p)
/freebsd/crypto/libecc/scripts/
H A Dexpand_libecc.py123 def mod_sqrt(a, p): function
1318 beta = mod_sqrt(alpha, prime)