tRename secret_enc/decrypt to xenc/decrypt - safe - password protected secret keeper
(HTM) git clone git://git.z3bra.org/safe.git
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit 5b1b2e8e67f4e3a59fc95af9d9036600d6900cc3
(DIR) parent d89c6fc699fd695b5b7c6e000392da6a88f6e2b2
(HTM) Author: Willy Goiffon <dev@z3bra.org>
Date: Tue, 4 Jun 2019 14:51:55 +0200
Rename secret_enc/decrypt to xenc/decrypt
Diffstat:
M safe.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
(DIR) diff --git a/safe.c b/safe.c
t@@ -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;
t@@ -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)