Go to the documentation of this file.
29 #ifndef MBEDTLS_SHA256_H
30 #define MBEDTLS_SHA256_H
32 #if !defined(MBEDTLS_CONFIG_FILE)
35 #include MBEDTLS_CONFIG_FILE
42 #define MBEDTLS_ERR_SHA256_HW_ACCEL_FAILED -0x0037
43 #define MBEDTLS_ERR_SHA256_BAD_INPUT_DATA -0x0074
49 #if !defined(MBEDTLS_SHA256_ALT)
71 #include "sha256_alt.h"
126 const unsigned char *input,
142 unsigned char output[32] );
157 const unsigned char data[64] );
159 #if !defined(MBEDTLS_DEPRECATED_REMOVED)
160 #if defined(MBEDTLS_DEPRECATED_WARNING)
161 #define MBEDTLS_DEPRECATED __attribute__((deprecated))
163 #define MBEDTLS_DEPRECATED
191 const unsigned char *input,
206 unsigned char output[32] );
220 const unsigned char data[64] );
222 #undef MBEDTLS_DEPRECATED
245 unsigned char output[32],
248 #if !defined(MBEDTLS_DEPRECATED_REMOVED)
249 #if defined(MBEDTLS_DEPRECATED_WARNING)
250 #define MBEDTLS_DEPRECATED __attribute__((deprecated))
252 #define MBEDTLS_DEPRECATED
277 unsigned char output[32],
280 #undef MBEDTLS_DEPRECATED
283 #if defined(MBEDTLS_SELF_TEST)