Kconfig 536 B

123456789101112131415
  1. menu "libsodium"
  2. config LIBSODIUM_USE_MBEDTLS_SHA
  3. bool "Use mbedTLS SHA256 & SHA512 implementations"
  4. default y
  5. depends on !MBEDTLS_HARDWARE_SHA
  6. help
  7. If this option is enabled, libsodium will use thin wrappers
  8. around mbedTLS for SHA256 & SHA512 operations.
  9. This saves some code size if mbedTLS is also used. However it
  10. is incompatible with hardware SHA acceleration (due to the
  11. way libsodium's API manages SHA state).
  12. endmenu # libsodium