* t_shs3.c: New test file from Marcus Watts.
authorKen Raeburn <raeburn@mit.edu>
Mon, 16 Jul 2001 20:25:15 +0000 (20:25 +0000)
committerKen Raeburn <raeburn@mit.edu>
Mon, 16 Jul 2001 20:25:15 +0000 (20:25 +0000)
commit515d0383b587e86406f22f6c56367e194ae5dc02
tree6c3c5e91e673da15551b32e807f85752afadc7a6
parentb6be2fcc6f0800a1e808dff212a761dc3589a756
* t_shs3.c: New test file from Marcus Watts.
(longReverse): Resurrected function long since deleted from shs.c.
* Makefile.in (check-unix, check-windows): Use t_shs3 test.
(clean): Delete it.

* shs.c (SHSTransform): Make input data pointer point to const.
(SHSUpdate): Bugfixes suggested by Marcus Watts, to fix buffer overruns, bugs
with small or odd block sizes.

[mostly pr krb5-libs/626]

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13605 dc483132-0cff-0310-8789-dd5450dbe970
src/lib/crypto/sha1/ChangeLog
src/lib/crypto/sha1/Makefile.in
src/lib/crypto/sha1/shs.c
src/lib/crypto/sha1/t_shs3.c [new file with mode: 0644]