1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677 |
- #ifndef SHA256_ALT_H
- #define SHA256_ALT_H
- #include <stdint.h>
- #if defined(MBEDTLS_CONFIG_FILE)
- #include MBEDTLS_CONFIG_FILE
- #else
- #include "mbedtls/config.h"
- #endif
- #ifdef __cplusplus
- extern "C" {
- #endif
- #define OCRYPTO_SHA256_CONTEXT_SIZE_WORDS (27)
- typedef struct mbedtls_sha256_context {
- uint32_t data[OCRYPTO_SHA256_CONTEXT_SIZE_WORDS];
- } mbedtls_sha256_context;
- #ifdef __cplusplus
- }
- #endif
- #endif
|