aboutsummaryrefslogtreecommitdiffstats
path: root/crypt.h
blob: 60621c57d8eea23a2b8a9ba9b3222729dda189c6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* See LICENSE file for copyright and license details. */
#include <stddef.h>
#include <libar2.h>

char *key2root_crypt(char *msg, size_t msglen, const char *paramstr, int autoerase);


#define explicit_bzero key2root_erase
static inline void
key2root_erase(void *msg, size_t msglen)
{
	libar2_erase(msg, msglen);
}