util: add hexdump function

This commit is contained in:
Lucas Gabriel Vuotto 2024-05-31 21:54:10 +00:00
parent f3667cfe05
commit f0b5d01017
3 changed files with 106 additions and 60 deletions

View file

@ -16,6 +16,7 @@
#include <stddef.h>
#include <stdint.h>
#include <stdio.h>
/*
@ -110,4 +111,5 @@ const struct lc_aead_impl *lc_aead_impl_chacha20_poly1305(void);
* Utilities.
*/
int lc_hexdump_fp(FILE *, const void *, size_t);
void lc_scrub(void *, size_t);