Module kernel::hil::digest

source ·
Expand description

Interface for computing digests (hashes, cryptographic hashes, and HMACs) over data.

Traits§

  • Implement this trait and use set_client() in order to receive callbacks when data has been added to a digest.
  • Implement this trait and use set_client() in order to receive callbacks when a digest is completed.
  • Implement this trait and use set_client() in order to receive callbacks when digest verification is complete.
  • Computes a digest (cryptographic hash) over data or performs verification.
  • Adding data (mutable or immutable) to a digest. There are two separate methods, add_data for immutable data (e.g., flash) and add_mut_data for mutable data (e.g., RAM). Each has its own callback, but only one operation may be in flight at any time.
  • Computes a digest (cryptographic hash) over data.
  • Verify a digest (cryptographic hash) over data.
  • Computes a digest (cryptographic hash) over data provided through a separate trait.
  • Verifies a digest (cryptographic hash) over data provided through a separate trait