SHA Synchronous Driver

The driver supports the SHA-1/224/256 mode for data hash.

Summary of the API's Functional Features

The API provides functions to:
  • Initialize and deinitialize the driver and associated hardware

  • Enabling and Disabling

  • Compute SHA-1/224/256 message digest

Driver Implementation Description

Limitations

The sha_context struct must align for some devices, it depends if the array that holding message digest required to align, for example, SAMV71 must align 128 bytes.

Dependencies

  • The SHA capable hardware