Home
last modified time | relevance | path

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

/titanic_50/usr/src/common/mpi/
H A Dmplogic.c89 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 Dmpi.c152 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 Dmpprime.c95 ARGCHK(a != NULL, MP_BADARG); in mpp_random()
116 ARGCHK(a != NULL && prec > 0, MP_BADARG); in mpp_random_size()
H A Dmpmontg.c139 ARGCHK(a != NULL && b != NULL && c != NULL, MP_BADARG); in s_mp_mul_mont()
H A Dmp_gf2m.c297 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 Dmpi.h125 #define MP_BADARG -4 /* invalid parameter */ macro
/titanic_50/usr/src/common/crypto/ecc/
H A Decl_mult.c66 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 Decp_jac.c348 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 Decp_jm.c246 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 Dec2_mont.c269 res = MP_BADARG; in ec_GF2m_pt_mul_mont()
H A Dec.c514 err = MP_BADARG; in EC_ValidatePublicKey()