Lines Matching refs:SHA256_VALIDATE_RET
52 #define SHA256_VALIDATE_RET(cond) \ macro
110 SHA256_VALIDATE_RET( ctx != NULL ); in mbedtls_sha256_starts_ret()
111 SHA256_VALIDATE_RET( is224 == 0 || is224 == 1 ); in mbedtls_sha256_starts_ret()
207 SHA256_VALIDATE_RET( ctx != NULL ); in mbedtls_internal_sha256_process()
208 SHA256_VALIDATE_RET( (const unsigned char *)data != NULL ); in mbedtls_internal_sha256_process()
281 SHA256_VALIDATE_RET( ctx != NULL ); in mbedtls_sha256_update_ret()
282 SHA256_VALIDATE_RET( ilen == 0 || input != NULL ); in mbedtls_sha256_update_ret()
342 SHA256_VALIDATE_RET( ctx != NULL ); in mbedtls_sha256_finish_ret()
343 SHA256_VALIDATE_RET( (unsigned char *)output != NULL ); in mbedtls_sha256_finish_ret()
419 SHA256_VALIDATE_RET( is224 == 0 || is224 == 1 ); in mbedtls_sha256_ret()
420 SHA256_VALIDATE_RET( ilen == 0 || input != NULL ); in mbedtls_sha256_ret()
421 SHA256_VALIDATE_RET( (unsigned char *)output != NULL ); in mbedtls_sha256_ret()