From 77511c68e4f8dad16bd215b541c53cd730d0df51 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Mon, 17 Jan 2022 16:48:23 +0100 Subject: Fix typo: libar2_earse -> libar2_erase 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, 4 insertions(+), 4 deletions(-) (limited to 'libar2.h') diff --git a/libar2.h b/libar2.h index 07e60eb..835a02f 100644 --- a/libar2.h +++ b/libar2.h @@ -316,9 +316,9 @@ struct libar2_context { /** * Memory deallocation function * - * The application may which to earse the memory before + * The application may which to erase the memory before * deallocating it; this is not done by the library. - * This can be done using `libar2_earse`; + * This can be done using `libar2_erase`; * * Example implementation: * @@ -572,12 +572,12 @@ size_t libar2_decode_base64(const char *str, void *data, size_t *lenp); enum libar2_parameter_error libar2_validate_params(const struct libar2_argon2_parameters *params, const char **errmsgp); /** - * Securily earse memory + * Securily erase memory * * @param mem The memory to erase * @param size The number of bytes to erase */ -void libar2_earse(volatile void *mem, size_t size); +void libar2_erase(volatile void *mem, size_t size); /** * Hash a message -- cgit v1.2.3-70-g09d2