diff options
Diffstat (limited to 'include/fitz/crypt.h')
-rw-r--r-- | include/fitz/crypt.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/fitz/crypt.h b/include/fitz/crypt.h index 647a1eda..15191caa 100644 --- a/include/fitz/crypt.h +++ b/include/fitz/crypt.h @@ -1,3 +1,9 @@ +/* + * Basic crypto functions. + * Independent of the rest of fitz. + * For further encapsulation in filters, or not. + */ + /* md5 digests */ typedef struct fz_md5_s fz_md5; @@ -28,3 +34,6 @@ void fz_arc4init(fz_arc4 *state, unsigned char *key, unsigned len); unsigned char fz_arc4next(fz_arc4 *state); void fz_arc4encrypt(fz_arc4 *state, unsigned char *dest, unsigned char *src, unsigned len); +/* TODO: sha1 */ +/* TODO: aes */ + |