Home
last modified time | relevance | path

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

/optee_os/core/lib/libtomcrypt/src/pk/dsa/
A Ddsa_generate_pqg.c33 int err, res, mr_tests_q, mr_tests_p, found_p, found_q, hash; in _dsa_make_params() local
83 if (N <= 160) { mr_tests_q = 19; } in _dsa_make_params()
84 else if (N <= 224) { mr_tests_q = 24; } in _dsa_make_params()
85 else { mr_tests_q = 27; } in _dsa_make_params()
92 if (N <= 160) { mr_tests_q = 40; } in _dsa_make_params()
93 else if (N <= 224) { mr_tests_q = 56; } in _dsa_make_params()
94 else { mr_tests_q = 64; } in _dsa_make_params()
138 if ((err = mp_prime_is_prime(q, mr_tests_q, &res)) != CRYPT_OK) { goto cleanup; } in _dsa_make_params()

Completed in 1 milliseconds