Merge pull request #4111 from antonok-edm/hash-context-clone

Derive `Clone` for `hash::Context`
This commit is contained in:
Dario Nieuwenhuis
2025-04-18 18:21:21 +00:00
committed by GitHub

View File

@@ -101,6 +101,7 @@ pub enum DataType {
/// Stores the state of the HASH peripheral for suspending/resuming
/// digest calculation.
#[derive(Clone)]
pub struct Context<'c> {
first_word_sent: bool,
key_sent: bool,