refactor(hal): clean up some hal file dependency on sdkconfig.h

This commit is contained in:
morris
2025-07-17 10:33:08 +08:00
parent 0296c30908
commit ccd092d7dc
35 changed files with 108 additions and 149 deletions
@@ -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).