mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-31 19:24:42 +02:00
Merge pull request #7087 from dgarske/cryptocb_sha1
Allow crypto callbacks with SHA-1 HW
This commit is contained in:
@@ -145,6 +145,7 @@ struct wc_Sha {
|
|||||||
word32 digest[WC_SHA_DIGEST_SIZE / sizeof(word32)];
|
word32 digest[WC_SHA_DIGEST_SIZE / sizeof(word32)];
|
||||||
#endif
|
#endif
|
||||||
void* heap;
|
void* heap;
|
||||||
|
#endif
|
||||||
#ifdef WOLFSSL_PIC32MZ_HASH
|
#ifdef WOLFSSL_PIC32MZ_HASH
|
||||||
hashUpdCache cache; /* cache for updates */
|
hashUpdCache cache; /* cache for updates */
|
||||||
#endif
|
#endif
|
||||||
@@ -164,7 +165,6 @@ struct wc_Sha {
|
|||||||
word32 used;
|
word32 used;
|
||||||
word32 len;
|
word32 len;
|
||||||
#endif
|
#endif
|
||||||
#endif
|
|
||||||
#if defined(WOLFSSL_ESP32_CRYPT) && \
|
#if defined(WOLFSSL_ESP32_CRYPT) && \
|
||||||
!defined(NO_WOLFSSL_ESP32_CRYPT_HASH)
|
!defined(NO_WOLFSSL_ESP32_CRYPT_HASH)
|
||||||
WC_ESP32SHA ctx;
|
WC_ESP32SHA ctx;
|
||||||
|
Reference in New Issue
Block a user