mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2026-10-29 10:27:36 +08:00
Change the documentation of mbedtls_sha3_finish() and mbedtls_sha3() to state that olen must be at least the digest size (28, 32, 48, or 64 for SHA3-224/256/384/512) rather than must equal it. The implementation accepts olen larger than the digest size — it silently writes the digest and ignores the excess. The previous docs incorrectly suggested that olen larger than the digest size would be an error. Fixes #10844 Signed-off-by: AaryanCdry <AaryanCdry@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| mbedtls | ||
| psa | ||
| .gitignore | ||
| CMakeLists.txt | ||