Lines Matching refs:arr

394     int arr[6];  in BN_GF2m_mod()  local
397 ret = BN_GF2m_poly2arr(p, arr, OSSL_NELEM(arr)); in BN_GF2m_mod()
398 if (!ret || ret > (int)OSSL_NELEM(arr)) { in BN_GF2m_mod()
402 ret = BN_GF2m_mod_arr(r, a, arr); in BN_GF2m_mod()
471 int *arr; in BN_GF2m_mod_mul() local
477 arr = OPENSSL_malloc(sizeof(*arr) * max); in BN_GF2m_mod_mul()
478 if (arr == NULL) in BN_GF2m_mod_mul()
480 ret = BN_GF2m_poly2arr(p, arr, max); in BN_GF2m_mod_mul()
485 ret = BN_GF2m_mod_mul_arr(r, a, b, arr, ctx); in BN_GF2m_mod_mul()
488 OPENSSL_free(arr); in BN_GF2m_mod_mul()
532 int *arr; in BN_GF2m_mod_sqr() local
537 arr = OPENSSL_malloc(sizeof(*arr) * max); in BN_GF2m_mod_sqr()
538 if (arr == NULL) in BN_GF2m_mod_sqr()
540 ret = BN_GF2m_poly2arr(p, arr, max); in BN_GF2m_mod_sqr()
545 ret = BN_GF2m_mod_sqr_arr(r, a, arr, ctx); in BN_GF2m_mod_sqr()
548 OPENSSL_free(arr); in BN_GF2m_mod_sqr()
914 int *arr; in BN_GF2m_mod_exp() local
920 arr = OPENSSL_malloc(sizeof(*arr) * max); in BN_GF2m_mod_exp()
921 if (arr == NULL) in BN_GF2m_mod_exp()
923 ret = BN_GF2m_poly2arr(p, arr, max); in BN_GF2m_mod_exp()
928 ret = BN_GF2m_mod_exp_arr(r, a, b, arr, ctx); in BN_GF2m_mod_exp()
931 OPENSSL_free(arr); in BN_GF2m_mod_exp()
977 int *arr; in BN_GF2m_mod_sqrt() local
982 arr = OPENSSL_malloc(sizeof(*arr) * max); in BN_GF2m_mod_sqrt()
983 if (arr == NULL) in BN_GF2m_mod_sqrt()
985 ret = BN_GF2m_poly2arr(p, arr, max); in BN_GF2m_mod_sqrt()
990 ret = BN_GF2m_mod_sqrt_arr(r, a, arr, ctx); in BN_GF2m_mod_sqrt()
993 OPENSSL_free(arr); in BN_GF2m_mod_sqrt()
1111 int *arr; in BN_GF2m_mod_solve_quad() local
1116 arr = OPENSSL_malloc(sizeof(*arr) * max); in BN_GF2m_mod_solve_quad()
1117 if (arr == NULL) in BN_GF2m_mod_solve_quad()
1119 ret = BN_GF2m_poly2arr(p, arr, max); in BN_GF2m_mod_solve_quad()
1124 ret = BN_GF2m_mod_solve_quad_arr(r, a, arr, ctx); in BN_GF2m_mod_solve_quad()
1127 OPENSSL_free(arr); in BN_GF2m_mod_solve_quad()