Searched refs:ARGCHK (Results 1 – 3 of 3) sorted by relevance
/external/dropbear/libtommath/mtest/ |
D | mpi.c | 251 ARGCHK(mp !=NULL && count > 0, MP_BADARG); in mp_init_array() 282 ARGCHK(mp != NULL && prec > 0, MP_BADARG); in mp_init_size() 309 ARGCHK(mp != NULL && from != NULL, MP_BADARG); in mp_init_copy() 340 ARGCHK(from != NULL && to != NULL, MP_BADARG); in mp_copy() 446 ARGCHK(mp != NULL && count > 0, MP_BADARG); in mp_clear_array() 498 ARGCHK(mp != NULL, MP_BADARG); in mp_set_int() 541 ARGCHK(a != NULL && b != NULL, MP_BADARG); in mp_add_d() 575 ARGCHK(a != NULL && b != NULL, MP_BADARG); in mp_sub_d() 617 ARGCHK(a != NULL && b != NULL, MP_BADARG); in mp_mul_d() 641 ARGCHK(a != NULL && c != NULL, MP_BADARG); in mp_mul_2() [all …]
|
D | mpi.h | 63 #define ARGCHK(X,Y) {if(!(X)){return (Y);}} macro 66 #define ARGCHK(X,Y) assert(X) macro 68 #define ARGCHK(X,Y) /* */ macro
|
/external/dropbear/libtomcrypt/ |
D | changes | 212 …-- Added fourth ARGCHK type which outputs to stderr and continues. Useful if you trap sigsegv. … 639 -- Fix to RC2 to not deference pointer before ARGCHK 883 v0.78 -- Made the default ARGCHK macro a function call instead which reduced the code size from 26… 884 -- Fixed a bug in the XTEA keysize function which called ARGCHK incorrectly. 931 v0.75 -- Fixed a flaw in hash_filehandle, it should ARGCHK that the filehandle is not NULL 1018 -- Fixed ARGCHK macro usage when ARGTYPE=1 throughout the code 1027 v0.69 -- Added ARGCHK (see mycrypt_argchk.h) "arguement checking" to all functions that accept poi…
|