aboutsummaryrefslogtreecommitdiff
path: root/hal.h
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2015-07-17 10:54:52 +0200
committerRob Austein <sra@hactrn.net>2015-07-17 12:37:29 +0200
commitb96b3aeb4ac1fae68e77bb38a1553855b8ef16f7 (patch)
tree112e02c366113816d0a1f27c3fbed62e9eeb0c46 /hal.h
parent0ababd7dc7ab6a080971e669598a862ad23d2fa1 (diff)
First cut at libhal support for hash cores with ability to save and
restore internal state. Compiles, not yet tested.
Diffstat (limited to 'hal.h')
-rw-r--r--hal.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/hal.h b/hal.h
index 8b731d4..15ab8f9 100644
--- a/hal.h
+++ b/hal.h
@@ -517,6 +517,7 @@ typedef struct {
const uint8_t * const digest_algorithm_id;
size_t digest_algorithm_id_length;
const void *driver;
+ unsigned can_restore_state : 1;
} hal_hash_descriptor_t;
/*