Searched refs:SHA512_VALIDATE_RET (Results 1 – 1 of 1) sorted by relevance
53 #define SHA512_VALIDATE_RET(cond) \ macro97 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()[all …]