util: make lc_scrub public
This commit is contained in:
parent
afc2e4b721
commit
f3667cfe05
3 changed files with 8 additions and 8 deletions
|
@ -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
2
util.c
|
@ -16,7 +16,7 @@
|
|||
|
||||
#include <string.h>
|
||||
|
||||
#include "util.h"
|
||||
#include "lilcrypto.h"
|
||||
|
||||
|
||||
void
|
||||
|
|
7
util.h
7
util.h
|
@ -21,13 +21,6 @@
|
|||
#define nelems(_a) (sizeof((_a)) / sizeof((_a)[0]))
|
||||
|
||||
|
||||
/*
|
||||
* External definitions.
|
||||
*/
|
||||
|
||||
void lc_scrub(void *, size_t);
|
||||
|
||||
|
||||
/*
|
||||
* Endianness.
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue