mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-01 18:50:34 +03:00
refactor(hal): clean up some hal file dependency on sdkconfig.h
This commit is contained in:
@@ -27,15 +27,14 @@ typedef struct SHAContext {
|
||||
uint32_t total_input_bits[4];
|
||||
} SHA_CTX;
|
||||
|
||||
enum SHA_TYPE {
|
||||
typedef enum SHA_TYPE {
|
||||
SHA1 = 0,
|
||||
SHA2_256,
|
||||
SHA2_384,
|
||||
SHA2_512,
|
||||
|
||||
|
||||
SHA_INVALID = -1,
|
||||
};
|
||||
} SHA_TYPE;
|
||||
|
||||
/* Do not use these function in multi core mode due to
|
||||
* inside they have no safe implementation (without DPORT workaround).
|
||||
|
||||
Reference in New Issue
Block a user