aboutsummaryrefslogtreecommitdiffstats
path: root/libar2.h
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2022-02-17 15:11:28 +0100
committerMattias Andrée <maandree@kth.se>2022-02-17 15:11:33 +0100
commit6570686dc178b801b287e0ab155aaf691bbcb1eb (patch)
tree72ac2dcc50d58314b607ce523792ae6e7ec2a102 /libar2.h
parentAdd optimisations (no yet used) (diff)
downloadlibar2-6570686dc178b801b287e0ab155aaf691bbcb1eb.tar.gz
libar2-6570686dc178b801b287e0ab155aaf691bbcb1eb.tar.bz2
libar2-6570686dc178b801b287e0ab155aaf691bbcb1eb.tar.xz
m + use optimisations '(adds auto-executed function: libar2_init)'
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'libar2.h')
-rw-r--r--libar2.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/libar2.h b/libar2.h
index 3b14b3a..8343a8f 100644
--- a/libar2.h
+++ b/libar2.h
@@ -620,6 +620,14 @@ LIBAR2_PUBLIC__
void libar2_erase(volatile void *mem, size_t size);
/**
+ * Initialise the library
+ *
+ * Called automatically by `libar2_hash`
+ */
+LIBAR2_PUBLIC__
+void libar2_init(void);
+
+/**
* Hash a message
*
* The recommended why of verify a password is to hash the