Searched refs:MP_BADARG (Results 1 – 11 of 11) sorted by relevance
/titanic_44/usr/src/common/mpi/ |
H A D | mplogic.c | 89 ARGCHK(a != NULL && b != NULL, MP_BADARG); in mpl_rsh() 108 ARGCHK(a != NULL && b != NULL, MP_BADARG); in mpl_lsh() 132 ARGCHK(a != NULL, MP_BADARG); in mpl_set_bit() 161 ARGCHK(a != NULL, MP_BADARG); in mpl_get_bit() 188 ARGCHK(numBits < CHAR_BIT * sizeof mask, MP_BADARG); in mpl_get_bits() 210 ARGCHK(a != NULL, MP_BADARG); in mpl_significant_bits()
|
H A D | mpi.c | 152 ARGCHK(mp != NULL && prec > 0, MP_BADARG); in mp_init_size() 181 ARGCHK(mp != NULL && from != NULL, MP_BADARG); in mp_init_copy() 213 ARGCHK(from != NULL && to != NULL, MP_BADARG); in mp_copy() 360 ARGCHK(mp != NULL, MP_BADARG); in mp_set_int() 394 ARGCHK(mp != NULL, MP_BADARG); in mp_set_ulong() 434 ARGCHK(a != NULL && b != NULL, MP_BADARG); in mp_add_d() 478 ARGCHK(a != NULL && b != NULL, MP_BADARG); in mp_sub_d() 522 ARGCHK(a != NULL && b != NULL, MP_BADARG); in mp_mul_d() 546 ARGCHK(a != NULL && c != NULL, MP_BADARG); in mp_mul_2() 574 ARGCHK(a != NULL, MP_BADARG); in mp_div_d() [all …]
|
H A D | mpprime.c | 95 ARGCHK(a != NULL, MP_BADARG); in mpp_random() 116 ARGCHK(a != NULL && prec > 0, MP_BADARG); in mpp_random_size()
|
H A D | mpmontg.c | 139 ARGCHK(a != NULL && b != NULL && c != NULL, MP_BADARG); in s_mp_mul_mont()
|
H A D | mp_gf2m.c | 297 ARGCHK(a != NULL && b != NULL && c != NULL, MP_BADARG); in mp_bmul() 457 ARGCHK(a != NULL && r != NULL, MP_BADARG); in mp_bsqrmod()
|
H A D | mpi.h | 125 #define MP_BADARG -4 /* invalid parameter */ macro
|
/titanic_44/usr/src/common/crypto/ecc/ |
H A D | ecl_mult.c | 66 ARGCHK((k != NULL) && (group != NULL), MP_BADARG); in ECPoint_mul() 121 ARGCHK(group != NULL, MP_BADARG); in ec_pts_mul_basic() 124 || (py == NULL))), MP_BADARG); in ec_pts_mul_basic() 179 ARGCHK(group != NULL, MP_BADARG); in ec_pts_mul_simul_w2() 182 || (py == NULL))), MP_BADARG); in ec_pts_mul_simul_w2() 329 ARGCHK(group != NULL, MP_BADARG); in ECPoints_mul()
|
H A D | ecp_jac.c | 348 ARGCHK(group != NULL, MP_BADARG); in ec_GFp_pt_mul_jac() 349 ARGCHK((n != NULL) && (px != NULL) && (py != NULL), MP_BADARG); in ec_GFp_pt_mul_jac() 435 ARGCHK(group != NULL, MP_BADARG); in ec_GFp_pts_mul_jac() 438 || (py == NULL))), MP_BADARG); in ec_GFp_pts_mul_jac()
|
H A D | ecp_jm.c | 246 ARGCHK(group != NULL, MP_BADARG); in ec_GFp_pt_mul_jm_wNAF() 247 ARGCHK((n != NULL) && (px != NULL) && (py != NULL), MP_BADARG); in ec_GFp_pt_mul_jm_wNAF()
|
H A D | ec2_mont.c | 269 res = MP_BADARG; in ec_GF2m_pt_mul_mont()
|
H A D | ec.c | 514 err = MP_BADARG; in EC_ValidatePublicKey()
|