Go to the documentation of this file.
27 #ifndef MBEDTLS_SHA256_H
28 #define MBEDTLS_SHA256_H
30 #if !defined(MBEDTLS_CONFIG_FILE)
33 #include MBEDTLS_CONFIG_FILE
40 #define MBEDTLS_ERR_SHA256_HW_ACCEL_FAILED -0x0037
46 #if !defined(MBEDTLS_SHA256_ALT)
68 #include "sha256_alt.h"
117 const unsigned char *input,
130 unsigned char output[32] );
143 const unsigned char data[64] );
145 #if !defined(MBEDTLS_DEPRECATED_REMOVED)
146 #if defined(MBEDTLS_DEPRECATED_WARNING)
147 #define MBEDTLS_DEPRECATED __attribute__((deprecated))
149 #define MBEDTLS_DEPRECATED
176 const unsigned char *input,
189 unsigned char output[32] );
202 const unsigned char data[64] );
204 #undef MBEDTLS_DEPRECATED
225 unsigned char output[32],
228 #if !defined(MBEDTLS_DEPRECATED_REMOVED)
229 #if defined(MBEDTLS_DEPRECATED_WARNING)
230 #define MBEDTLS_DEPRECATED __attribute__((deprecated))
232 #define MBEDTLS_DEPRECATED
255 unsigned char output[32],
258 #undef MBEDTLS_DEPRECATED