From 6570686dc178b801b287e0ab155aaf691bbcb1eb Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Thu, 17 Feb 2022 15:11:28 +0100 Subject: m + use optimisations '(adds auto-executed function: libar2_init)' MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- libar2.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'libar2.h') diff --git a/libar2.h b/libar2.h index 3b14b3a..8343a8f 100644 --- a/libar2.h +++ b/libar2.h @@ -619,6 +619,14 @@ enum libar2_parameter_error libar2_validate_params(const struct libar2_argon2_pa 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 * -- cgit v1.2.3-70-g09d2