aboutsummaryrefslogtreecommitdiffstats
path: root/libar2.h
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2022-01-17 16:48:23 +0100
committerMattias Andrée <maandree@kth.se>2022-01-17 16:48:23 +0100
commit77511c68e4f8dad16bd215b541c53cd730d0df51 (patch)
tree0d1595551ec08d86b9cf592fa47fda1740ee087d /libar2.h
parenttest: improve portability (diff)
downloadlibar2-77511c68e4f8dad16bd215b541c53cd730d0df51.tar.gz
libar2-77511c68e4f8dad16bd215b541c53cd730d0df51.tar.bz2
libar2-77511c68e4f8dad16bd215b541c53cd730d0df51.tar.xz
Fix typo: libar2_earse -> libar2_erase
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'libar2.h')
-rw-r--r--libar2.h8
1 files changed, 4 insertions, 4 deletions
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