Searched refs:GCM_VALIDATE_RET (Results 1 – 1 of 1) sorted by relevance
56 #define GCM_VALIDATE_RET( cond ) \ macro146 GCM_VALIDATE_RET( ctx != NULL ); in mbedtls_gcm_setkey()147 GCM_VALIDATE_RET( key != NULL ); in mbedtls_gcm_setkey()148 GCM_VALIDATE_RET( keybits == 128 || keybits == 192 || keybits == 256 ); in mbedtls_gcm_setkey()259 GCM_VALIDATE_RET( ctx != NULL ); in mbedtls_gcm_starts()260 GCM_VALIDATE_RET( iv != NULL ); in mbedtls_gcm_starts()337 GCM_VALIDATE_RET( add_len == 0 || add != NULL ); in mbedtls_gcm_update_ad()437 GCM_VALIDATE_RET( output_length != NULL ); in mbedtls_gcm_update()447 GCM_VALIDATE_RET( ctx != NULL ); in mbedtls_gcm_update()448 GCM_VALIDATE_RET( input != NULL ); in mbedtls_gcm_update()[all …]