Lines Matching refs:SHA256_VALIDATE_RET
47 #define SHA256_VALIDATE_RET(cond) \ macro
82 SHA256_VALIDATE_RET( ctx != NULL ); in mbedtls_sha256_starts()
85 SHA256_VALIDATE_RET( is224 == 0 || is224 == 1 ); in mbedtls_sha256_starts()
87 SHA256_VALIDATE_RET( is224 == 0 ); in mbedtls_sha256_starts()
183 SHA256_VALIDATE_RET( ctx != NULL ); in mbedtls_internal_sha256_process()
184 SHA256_VALIDATE_RET( (const unsigned char *)data != NULL ); in mbedtls_internal_sha256_process()
273 SHA256_VALIDATE_RET( ctx != NULL ); in mbedtls_sha256_update()
274 SHA256_VALIDATE_RET( ilen == 0 || input != NULL ); in mbedtls_sha256_update()
325 SHA256_VALIDATE_RET( ctx != NULL ); in mbedtls_sha256_finish()
326 SHA256_VALIDATE_RET( (unsigned char *)output != NULL ); in mbedtls_sha256_finish()
397 SHA256_VALIDATE_RET( is224 == 0 || is224 == 1 ); in mbedtls_sha256()
399 SHA256_VALIDATE_RET( is224 == 0 ); in mbedtls_sha256()
402 SHA256_VALIDATE_RET( ilen == 0 || input != NULL ); in mbedtls_sha256()
403 SHA256_VALIDATE_RET( (unsigned char *)output != NULL ); in mbedtls_sha256()