chiark / gitweb /
hash: Put hash state on the caller's stack
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 29 Sep 2019 12:29:09 +0000 (13:29 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 29 Sep 2019 15:01:44 +0000 (16:01 +0100)
commit7d52d0bd861c3aeaea5214131ef64543d63ea309
treed8a394ecc764dc210fff8be14f45263ddfae2024
parent48c12bf40ab30af78abfdf20dde47e00c011afbe
hash: Put hash state on the caller's stack

This makes the code simpler too!

We rename len to slen, to distinguish hlen and slen (to help avoid
bugs where the wrong amount is allocated).

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
md5.c
rsa.c
secnet.h
sha1.c