Files
sbase/crypt.h
T

13 lines
466 B
C
Raw Normal View History

2013-10-07 17:03:26 +01:00
/* See LICENSE file for copyright and license details. */
struct crypt_ops {
void (*init)(void *);
void (*update)(void *, const void *, unsigned long);
void (*sum)(void *, uint8_t *);
void *s;
};
2014-03-23 12:18:38 +01:00
int cryptcheck(char *, int, char **, struct crypt_ops *, uint8_t *, size_t);
2013-11-30 21:11:19 +00:00
int cryptmain(int, char **, struct crypt_ops *, uint8_t *, size_t);
2013-11-22 13:40:08 +00:00
int cryptsum(struct crypt_ops *, FILE *, const char *, uint8_t *);
void mdprint(const uint8_t *, const char *, size_t);