safe

Password protected secret keeper
git clone git://git.z3bra.org/safe.git
Log | Files | Refs | README | LICENSE

commit 5b1b2e8e67f4e3a59fc95af9d9036600d6900cc3
parent d89c6fc699fd695b5b7c6e000392da6a88f6e2b2
Author: Willy Goiffon <dev@z3bra.org>
Date:   Tue,  4 Jun 2019 14:51:55 +0200

Rename secret_enc/decrypt to xenc/decrypt

Diffstat:
safe.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/safe.c b/safe.c @@ -127,7 +127,7 @@ xwrite(int fd, const void *buf, size_t nbytes) } int -secret_encrypt(struct safe *s, uint8_t *m, size_t mlen, uint8_t *c, unsigned long long *clen, int flags) +xencrypt(struct safe *s, uint8_t *m, size_t mlen, uint8_t *c, unsigned long long *clen, int flags) { uint8_t tag = 0; @@ -142,7 +142,7 @@ secret_encrypt(struct safe *s, uint8_t *m, size_t mlen, uint8_t *c, unsigned lon } int -secret_decrypt(struct safe *s, uint8_t *c, size_t clen, uint8_t *m, unsigned long long *mlen, int flags) +xdecrypt(struct safe *s, uint8_t *c, size_t clen, uint8_t *m, unsigned long long *mlen, int flags) { uint8_t tag; if (flags & SAFE_INIT)