esp_rom: extract common efuse apis into esp_rom_efuse.h

This commit is contained in:
morris
2020-07-13 21:57:24 +08:00
parent 24e49cc21d
commit 458b14a8ea
24 changed files with 124 additions and 68 deletions
-4
View File
@@ -21,8 +21,6 @@
#include "esp_ds.h"
#if CONFIG_IDF_TARGET_ESP32S2
#define NUM_RESULTS 10
typedef struct {
@@ -379,5 +377,3 @@ TEST_CASE("Digital Signature Invalid Data (FPGA only)", "[hw_crypto]")
}
#endif // CONFIG_IDF_ENV_FPGA
#endif // CONFIG_IDF_TARGET_ESP32S2
-4
View File
@@ -17,8 +17,6 @@
#if CONFIG_IDF_ENV_FPGA
#if CONFIG_IDF_TARGET_ESP32S2
#include "esp32s2/rom/efuse.h"
/* Allow testing varying message lengths (truncating the same message)
@@ -972,6 +970,4 @@ TEST_CASE("HMAC key out of range", "[hw_crypto]")
TEST_ASSERT_EQUAL(ESP_ERR_INVALID_ARG, esp_hmac_calculate(HMAC_KEY5 + 1, message, 47, hmac));
}
#endif // CONFIG_IDF_TARGET_ESP32S2
#endif // CONFIG_IDF_ENV_FPGA