bn_mod_sqrt_p_is_1_mod_8
if (!bn_mod_sqrt_p_is_1_mod_8(sqrt, a_mod_p, p, ctx))
failed |= bn_mod_sqrt_p_is_1_mod_8();