• Home
  • Raw
  • Download

Lines Matching refs:GCM_VALIDATE_RET

56 #define GCM_VALIDATE_RET( cond ) \  macro
146 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()
449 GCM_VALIDATE_RET( output != NULL ); in mbedtls_gcm_update()
522 GCM_VALIDATE_RET( ctx != NULL ); in mbedtls_gcm_finish()
523 GCM_VALIDATE_RET( tag != NULL ); in mbedtls_gcm_finish()
583 GCM_VALIDATE_RET( ctx != NULL ); in mbedtls_gcm_crypt_and_tag()
584 GCM_VALIDATE_RET( iv != NULL ); in mbedtls_gcm_crypt_and_tag()
585 GCM_VALIDATE_RET( add_len == 0 || add != NULL ); in mbedtls_gcm_crypt_and_tag()
586 GCM_VALIDATE_RET( length == 0 || input != NULL ); in mbedtls_gcm_crypt_and_tag()
587 GCM_VALIDATE_RET( length == 0 || output != NULL ); in mbedtls_gcm_crypt_and_tag()
588 GCM_VALIDATE_RET( tag != NULL ); in mbedtls_gcm_crypt_and_tag()
622 GCM_VALIDATE_RET( ctx != NULL ); in mbedtls_gcm_auth_decrypt()
623 GCM_VALIDATE_RET( iv != NULL ); in mbedtls_gcm_auth_decrypt()
624 GCM_VALIDATE_RET( add_len == 0 || add != NULL ); in mbedtls_gcm_auth_decrypt()
625 GCM_VALIDATE_RET( tag != NULL ); in mbedtls_gcm_auth_decrypt()
626 GCM_VALIDATE_RET( length == 0 || input != NULL ); in mbedtls_gcm_auth_decrypt()
627 GCM_VALIDATE_RET( length == 0 || output != NULL ); in mbedtls_gcm_auth_decrypt()