Files
wolfssl/wrapper/rust/wolfssl-wolfcrypt/tests
Mark Atwood b6a857cbaa feat(rust): add copy() to SHA256 and SHA384
Add copy(&mut self) methods backed by wc_Sha256Copy/wc_Sha384Copy
for transcript snapshotting (e.g. TLS handshake hashing).

Uses &mut self (not Clone trait) because wc_ShaCopy may mutate src
on some platforms. Initializes dst before calling Copy to avoid
passing uninitialized memory to wc_ShaFree inside the C function.

Includes unit tests verifying independent copy semantics with
externally computed SHA-256/SHA-384 test vectors.
2026-07-30 10:36:31 -07:00
..
2026-02-23 10:54:21 -05:00
2026-02-04 14:32:05 -05:00
2026-02-04 14:32:05 -05:00
2026-02-04 14:32:05 -05:00
2026-05-29 14:51:50 -04:00