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
commit 4c6311a1e3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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,