Skip to content

Commit f9817cf

Browse files
authored
Merge pull request #10431 from mattia-moffa/20260330-max32666-sha-bare-metal
MAX32666 bare-metal SHA accelerator
2 parents c99567c + bd022d9 commit f9817cf

3 files changed

Lines changed: 977 additions & 22 deletions

File tree

wolfcrypt/src/port/maxim/README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84,9 +84,11 @@ hardware.
8484
- SHA-384
8585
- SHA-512
8686

87-
Please note that when using `MAX3266X_SHA` there will be a limitation when
88-
attempting to do a larger sized hash as the SDK for the hardware currently
89-
expects a the whole msg buffer to be given.
87+
By default `MAX3266X_SHA` drives the TPU directly, feeding the message to the
88+
hardware incrementally so hashes of any size are supported. Adding
89+
`#define WOLFSSL_MAX3266X_SHA_ONESHOT` to `user_settings.h` instead buffers
90+
the whole message in memory and hashes it in one shot using the SDK, which
91+
has slightly better performance.
9092

9193
`#define MAX3266X_MATH` (Replaces math operation calls for algos
9294
like RSA and ECC key generation):

0 commit comments

Comments
 (0)