Lines Matching refs:DHM_VALIDATE_RET
58 #define DHM_VALIDATE_RET( cond ) \ macro
135 DHM_VALIDATE_RET( ctx != NULL ); in mbedtls_dhm_read_params()
136 DHM_VALIDATE_RET( p != NULL && *p != NULL ); in mbedtls_dhm_read_params()
137 DHM_VALIDATE_RET( end != NULL ); in mbedtls_dhm_read_params()
216 DHM_VALIDATE_RET( ctx != NULL ); in mbedtls_dhm_make_params()
217 DHM_VALIDATE_RET( output != NULL ); in mbedtls_dhm_make_params()
218 DHM_VALIDATE_RET( olen != NULL ); in mbedtls_dhm_make_params()
219 DHM_VALIDATE_RET( f_rng != NULL ); in mbedtls_dhm_make_params()
266 DHM_VALIDATE_RET( ctx != NULL ); in mbedtls_dhm_set_group()
267 DHM_VALIDATE_RET( P != NULL ); in mbedtls_dhm_set_group()
268 DHM_VALIDATE_RET( G != NULL ); in mbedtls_dhm_set_group()
287 DHM_VALIDATE_RET( ctx != NULL ); in mbedtls_dhm_read_public()
288 DHM_VALIDATE_RET( input != NULL ); in mbedtls_dhm_read_public()
308 DHM_VALIDATE_RET( ctx != NULL ); in mbedtls_dhm_make_public()
309 DHM_VALIDATE_RET( output != NULL ); in mbedtls_dhm_make_public()
310 DHM_VALIDATE_RET( f_rng != NULL ); in mbedtls_dhm_make_public()
407 DHM_VALIDATE_RET( ctx != NULL ); in mbedtls_dhm_calc_secret()
408 DHM_VALIDATE_RET( output != NULL ); in mbedtls_dhm_calc_secret()
409 DHM_VALIDATE_RET( olen != NULL ); in mbedtls_dhm_calc_secret()
490 DHM_VALIDATE_RET( dhm != NULL ); in mbedtls_dhm_parse_dhm()
491 DHM_VALIDATE_RET( dhmin != NULL ); in mbedtls_dhm_parse_dhm()
640 DHM_VALIDATE_RET( dhm != NULL ); in mbedtls_dhm_parse_dhmfile()
641 DHM_VALIDATE_RET( path != NULL ); in mbedtls_dhm_parse_dhmfile()