util: make lc_scrub public

This commit is contained in:
Lucas Gabriel Vuotto 2024-05-31 21:51:37 +00:00
parent afc2e4b721
commit f3667cfe05
3 changed files with 8 additions and 8 deletions

View File

@ -104,3 +104,10 @@ int lc_aead_open(const struct lc_aead_impl *, const uint8_t *, size_t,
const uint8_t *, size_t);
const struct lc_aead_impl *lc_aead_impl_chacha20_poly1305(void);
/*
* Utilities.
*/
void lc_scrub(void *, size_t);

2
util.c
View File

@ -16,7 +16,7 @@
#include <string.h>
#include "util.h"
#include "lilcrypto.h"
void

7
util.h
View File

@ -21,13 +21,6 @@
#define nelems(_a) (sizeof((_a)) / sizeof((_a)[0]))
/*
* External definitions.
*/
void lc_scrub(void *, size_t);
/*
* Endianness.
*/