]> granicus.if.org Git - esp-idf/commitdiff
mbedtls hwcrypto sha512: Fix redirection of function names
authorAngus Gratton <angus@espressif.com>
Wed, 14 Sep 2016 07:52:24 +0000 (17:52 +1000)
committerAngus Gratton <angus@espressif.com>
Wed, 14 Sep 2016 07:52:24 +0000 (17:52 +1000)
components/mbedtls/port/include/sha512_alt.h

index c9f6bdc850e850a378de78856dc76f2c37eec2ce..241f2be3b393b414bdad80d17daf9267e9ac3c98 100644 (file)
@@ -17,12 +17,12 @@ extern "C" {
 typedef esp_sha_context  mbedtls_sha512_context;
 
 #define mbedtls_sha512_init     esp_sha512_init
-#define mbedtls_sha512_process  esp_sha512_process
 #define mbedtls_sha512_clone    esp_sha512_clone
 #define mbedtls_sha512_starts   esp_sha512_start
 #define mbedtls_sha512_update   esp_sha512_update
 #define mbedtls_sha512_finish   esp_sha512_finish
-#define mbedtls_sha512_free(...)
+#define mbedtls_sha512_free     esp_sha512_free
+#define mbedtls_sha512_process(...)
 
 #endif