]> granicus.if.org Git - esp-idf/commit
mbedTLS SHA: Fix cloning of SHA-384 digests
authorAngus Gratton <angus@espressif.com>
Fri, 25 Nov 2016 08:07:19 +0000 (19:07 +1100)
committerAngus Gratton <angus@espressif.com>
Fri, 25 Nov 2016 08:26:30 +0000 (19:26 +1100)
commit88b264cfcee5cccd7cbd6aa0d277f6156d8e49a4
tree90de5cdabe3f8c2d1d40cb3842ee12fb5ec4fb46
parenta902e2a9ded6cdebc797b36b18361f2a97e3f224
mbedTLS SHA: Fix cloning of SHA-384 digests

Hardware unit only reads 384 bits of state for SHA-384 LOAD,
which is enough for final digest but not enough if you plan to
resume digest in software.
components/esp32/hwcrypto/sha.c
components/esp32/include/hwcrypto/sha.h
components/mbedtls/port/esp_sha512.c