Initial commit: TXW82x FPV v2.7.0.7-42229 SDK + project sources
This commit is contained in:
28
sdk/lib/crypto/mbedtls/library/hw_alt/sha256_alt.h
Normal file
28
sdk/lib/crypto/mbedtls/library/hw_alt/sha256_alt.h
Normal file
@@ -0,0 +1,28 @@
|
||||
#ifndef _MBEDTLS_SHA256_ALT_H_
|
||||
#define _MBEDTLS_SHA256_ALT_H_
|
||||
|
||||
|
||||
#if defined(MBEDTLS_SHA256_ALT)
|
||||
#include "typesdef.h"
|
||||
#include "list.h"
|
||||
#include "dev.h"
|
||||
#include "devid.h"
|
||||
|
||||
#include "mbedtls/private_access.h"
|
||||
#include "mbedtls/build_info.h"
|
||||
#include "mbedtls/platform_util.h"
|
||||
#include "hal/sha.h"
|
||||
|
||||
|
||||
|
||||
typedef struct mbedtls_sha256_context {
|
||||
uint32_t MBEDTLS_PRIVATE(total)[2]; /*!< The number of Bytes processed. */
|
||||
uint32_t MBEDTLS_PRIVATE(state)[8]; /*!< The intermediate digest state. */
|
||||
unsigned char MBEDTLS_PRIVATE(buffer)[64]; /*!< The data block being processed. */
|
||||
}
|
||||
mbedtls_sha256_context;
|
||||
|
||||
|
||||
#endif /* MBEDTLS_SHA256_ALT */
|
||||
|
||||
#endif /* _MBEDTLS_SHA256_ALT_H_ */
|
||||
Reference in New Issue
Block a user