mirror of
https://github.com/espressif/esp-idf.git
synced 2025-09-01 14:34:31 +00:00
libsodium: Use mbedTLS implementations for SHA256 & SHA512
* Adds support for hardware accelerated SHA * Saves code size (~5.5KB) for SHA256 & SHA512 where libsodium & mbedTLS both used
This commit is contained in:

committed by
Angus Gratton

parent
bfb15c6fc9
commit
979eabeba5
6
components/libsodium/port_include/sodium/crypto_auth.h
Normal file
6
components/libsodium/port_include/sodium/crypto_auth.h
Normal file
@@ -0,0 +1,6 @@
|
||||
/* Shim needed to make sure the mbedTLS-specific
|
||||
sha256 & sha512 headers are included */
|
||||
#pragma once
|
||||
#include "crypto_hash_sha512.h"
|
||||
#include "crypto_hash_sha256.h"
|
||||
#include_next "sodium/crypto_auth.h"
|
Reference in New Issue
Block a user