* sha1.c (COMPRESS): New macro.
(sha1_update): Updated MD_UPDATE call for new conventions. (sha1_digest): Use MD_PAD rather than MD_FINAL, and insert the length manually. Rev: nettle/sha1.c:1.4
Loading
Please register or sign in to comment
(sha1_update): Updated MD_UPDATE call for new conventions. (sha1_digest): Use MD_PAD rather than MD_FINAL, and insert the length manually. Rev: nettle/sha1.c:1.4