Lines Matching refs:max
470 const int max = BN_num_bits(p) + 1; in BN_GF2m_mod_mul() local
477 arr = OPENSSL_malloc(sizeof(*arr) * max); in BN_GF2m_mod_mul()
480 ret = BN_GF2m_poly2arr(p, arr, max); in BN_GF2m_mod_mul()
481 if (!ret || ret > max) { in BN_GF2m_mod_mul()
531 const int max = BN_num_bits(p) + 1; in BN_GF2m_mod_sqr() local
537 arr = OPENSSL_malloc(sizeof(*arr) * max); in BN_GF2m_mod_sqr()
540 ret = BN_GF2m_poly2arr(p, arr, max); in BN_GF2m_mod_sqr()
541 if (!ret || ret > max) { in BN_GF2m_mod_sqr()
913 const int max = BN_num_bits(p) + 1; in BN_GF2m_mod_exp() local
920 arr = OPENSSL_malloc(sizeof(*arr) * max); in BN_GF2m_mod_exp()
923 ret = BN_GF2m_poly2arr(p, arr, max); in BN_GF2m_mod_exp()
924 if (!ret || ret > max) { in BN_GF2m_mod_exp()
976 const int max = BN_num_bits(p) + 1; in BN_GF2m_mod_sqrt() local
982 arr = OPENSSL_malloc(sizeof(*arr) * max); in BN_GF2m_mod_sqrt()
985 ret = BN_GF2m_poly2arr(p, arr, max); in BN_GF2m_mod_sqrt()
986 if (!ret || ret > max) { in BN_GF2m_mod_sqrt()
1110 const int max = BN_num_bits(p) + 1; in BN_GF2m_mod_solve_quad() local
1116 arr = OPENSSL_malloc(sizeof(*arr) * max); in BN_GF2m_mod_solve_quad()
1119 ret = BN_GF2m_poly2arr(p, arr, max); in BN_GF2m_mod_solve_quad()
1120 if (!ret || ret > max) { in BN_GF2m_mod_solve_quad()
1148 int BN_GF2m_poly2arr(const BIGNUM *a, int p[], int max) in BN_GF2m_poly2arr() argument
1163 if (k < max) in BN_GF2m_poly2arr()
1174 if (k < max) in BN_GF2m_poly2arr()