Go to the documentation of this file.
33 #ifndef MBEDTLS_SHA1_H
34 #define MBEDTLS_SHA1_H
36 #if !defined(MBEDTLS_CONFIG_FILE)
39 #include MBEDTLS_CONFIG_FILE
46 #define MBEDTLS_ERR_SHA1_HW_ACCEL_FAILED -0x0035
47 #define MBEDTLS_ERR_SHA1_BAD_INPUT_DATA -0x0073
53 #if !defined(MBEDTLS_SHA1_ALT)
152 const unsigned char *input,
172 unsigned char output[20] );
190 const unsigned char data[64] );
192 #if !defined(MBEDTLS_DEPRECATED_REMOVED)
193 #if defined(MBEDTLS_DEPRECATED_WARNING)
194 #define MBEDTLS_DEPRECATED __attribute__((deprecated))
196 #define MBEDTLS_DEPRECATED
230 const unsigned char *input,
249 unsigned char output[20] );
266 const unsigned char data[64] );
268 #undef MBEDTLS_DEPRECATED
296 unsigned char output[20] );
298 #if !defined(MBEDTLS_DEPRECATED_REMOVED)
299 #if defined(MBEDTLS_DEPRECATED_WARNING)
300 #define MBEDTLS_DEPRECATED __attribute__((deprecated))
302 #define MBEDTLS_DEPRECATED
328 unsigned char output[20] );
330 #undef MBEDTLS_DEPRECATED
333 #if defined(MBEDTLS_SELF_TEST)