Sha256#

group crypto_sha256

Hash data using SHA256.

Author

Alexandre Abadie alexandre.abadie@inria.fr

Copyright

Inria, 2023

Functions

void crypto_sha256_init(void)#

Initialize the SHA256 hashing process.

void crypto_sha256_update(const uint8_t *data, size_t len)#

Add new data to the running hash process.

Parameters:
  • data[in] Input data

  • len[in] Input data length

void crypto_sha256(uint8_t *digest)#

Returns the computed hash.

Parameters:
  • digest[in] Computed hash