diff options
author | Tor Andersson <tor@ghostscript.com> | 2005-05-26 09:34:56 +0200 |
---|---|---|
committer | Tor Andersson <tor@ghostscript.com> | 2005-05-26 09:34:56 +0200 |
commit | 987d58dfaf4030f43b2a8854e2d246f75465cc57 (patch) | |
tree | 430eeedbebfdc278a9fc88afa134c96dacc073b4 /include/fitz/crypt.h | |
parent | 4bb1d274f49678af1612179d632ebcca7666f235 (diff) | |
download | mupdf-987d58dfaf4030f43b2a8854e2d246f75465cc57.tar.xz |
new stream api
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 */ + |