Lines Matching refs:SHA512_VALIDATE_RET
53 #define SHA512_VALIDATE_RET(cond) \ macro
97 SHA512_VALIDATE_RET( ctx != NULL ); in mbedtls_sha512_starts()
99 SHA512_VALIDATE_RET( is384 == 0 || is384 == 1 ); in mbedtls_sha512_starts()
101 SHA512_VALIDATE_RET( is384 == 0 ); in mbedtls_sha512_starts()
202 SHA512_VALIDATE_RET( ctx != NULL ); in mbedtls_internal_sha512_process()
203 SHA512_VALIDATE_RET( (const unsigned char *)data != NULL ); in mbedtls_internal_sha512_process()
307 SHA512_VALIDATE_RET( ctx != NULL ); in mbedtls_sha512_update()
308 SHA512_VALIDATE_RET( ilen == 0 || input != NULL ); in mbedtls_sha512_update()
358 SHA512_VALIDATE_RET( ctx != NULL ); in mbedtls_sha512_finish()
359 SHA512_VALIDATE_RET( (unsigned char *)output != NULL ); in mbedtls_sha512_finish()
432 SHA512_VALIDATE_RET( is384 == 0 || is384 == 1 ); in mbedtls_sha512()
434 SHA512_VALIDATE_RET( is384 == 0 ); in mbedtls_sha512()
436 SHA512_VALIDATE_RET( ilen == 0 || input != NULL ); in mbedtls_sha512()
437 SHA512_VALIDATE_RET( (unsigned char *)output != NULL ); in mbedtls_sha512()