Merge pull request #4111 from antonok-edm/hash-context-clone
Derive `Clone` for `hash::Context`
This commit is contained in:
commit
4c6311a1e3
@ -101,6 +101,7 @@ pub enum DataType {
|
|||||||
|
|
||||||
/// Stores the state of the HASH peripheral for suspending/resuming
|
/// Stores the state of the HASH peripheral for suspending/resuming
|
||||||
/// digest calculation.
|
/// digest calculation.
|
||||||
|
#[derive(Clone)]
|
||||||
pub struct Context<'c> {
|
pub struct Context<'c> {
|
||||||
first_word_sent: bool,
|
first_word_sent: bool,
|
||||||
key_sent: bool,
|
key_sent: bool,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user