diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2019-08-23 19:32:15 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2019-08-23 19:32:15 -0700 |
commit | 10fd98a804097002f9331e48fc6f84f3f3d8f3e2 (patch) | |
tree | df74904a86469a4d2dcde22a890053d0fba6d073 /INSTALL | |
parent | 0dd1d1a586fcfcf11e0b1c926c8be9c4c8d525be (diff) | |
download | txr-10fd98a804097002f9331e48fc6f84f3f3d8f3e2.tar.gz txr-10fd98a804097002f9331e48fc6f84f3f3d8f3e2.tar.bz2 txr-10fd98a804097002f9331e48fc6f84f3f3d8f3e2.zip |
New: MD5 digest functions.
* Makefile (OBJS): New object file, chksums/md5.o.
* chksum.c (sha256_ensure_buf): Renamed to chksum_ensure_buf
and made generic so MD5 code can borrow it.
(sha256_stream, sha256): Call chksum_ensure_buf instead of
sha256_ensure_buf, passing in new length and hash name
parameters.
(md5_stream_impl, md5_buf, md5_str): New static functions.
(md5_stream, md5): New functions.
(chksum_init): Register md5-stream and md5 intrinsics.
* chksum.h (md5_stream, md5): Declared.
* chksums/md5.c, chksums/md5.h: New files.
Diffstat (limited to 'INSTALL')
0 files changed, 0 insertions, 0 deletions