mbedtls icon indicating copy to clipboard operation
mbedtls copied to clipboard

SHA-3 SHAKE128 and SHAKE256 support

Open polhenarejos opened this issue 3 years ago • 1 comments

Description

It adds support for SHAKE128 and SHAKE256 to SHA-3 module. Test vectors also added.

Splitted from #5800. Requires #5820

Status

READY

Requires Backporting

NO

Migrations

NO

Additional comments

Any additional information that could be of interest

Todos

  • [x] Tests
  • [x] Documentation
  • [x] Changelog updated

polhenarejos avatar May 08 '22 23:05 polhenarejos

For reference, there was some earlier work in this area: https://github.com/Mbed-TLS/mbedtls/pull/1549 (a continuation of https://github.com/Mbed-TLS/mbedtls/pull/479). We're closing the previous PRs and keeping this one as it's fresh and active while the previous one now has numerous conflicts, but the previous PR can be used as a comparison point. In particular, #1549 did some work on tests, so we should make the the coverage in this PR is at least as good, and if not, import relevant tests from the previous PR to complete coverage.

mpg avatar May 20 '22 09:05 mpg