Searched refs:GCM_VALIDATE_RET (Results 1 – 1 of 1) sorted by relevance
56 #define GCM_VALIDATE_RET( cond ) \ macro169 GCM_VALIDATE_RET( ctx != NULL ); in mbedtls_gcm_setkey()170 GCM_VALIDATE_RET( key != NULL ); in mbedtls_gcm_setkey()171 GCM_VALIDATE_RET( keybits == 128 || keybits == 192 || keybits == 256 ); in mbedtls_gcm_setkey()284 GCM_VALIDATE_RET( ctx != NULL ); in mbedtls_gcm_starts()285 GCM_VALIDATE_RET( iv != NULL ); in mbedtls_gcm_starts()286 GCM_VALIDATE_RET( add_len == 0 || add != NULL ); in mbedtls_gcm_starts()370 GCM_VALIDATE_RET( ctx != NULL ); in mbedtls_gcm_update()371 GCM_VALIDATE_RET( length == 0 || input != NULL ); in mbedtls_gcm_update()372 GCM_VALIDATE_RET( length == 0 || output != NULL ); in mbedtls_gcm_update()[all …]