boringssl/crypto/sha
David Benjamin c0d8b83b44 Make SHA512_Final actually only return one.
Rather than store md_len, factor out the common parts of SHA384_Final and
SHA512_Final and then extract the right state. Also add a missing
SHA384_Transform and be consistent about "1" vs "one" in comments.

This also removes the NULL output special-case which no other hash function
had.

Change-Id: If60008bae7d7d5b123046a46d8fd64139156a7c5
Reviewed-on: https://boringssl-review.googlesource.com/7720
Reviewed-by: Adam Langley <agl@google.com>
2016-04-27 18:42:37 +00:00
..
asm Consistently use named constants in ARM assembly files. 2016-02-23 17:18:18 +00:00
CMakeLists.txt Move arm_arch.h and fix up lots of include paths. 2015-08-26 01:57:59 +00:00
sha1.c Make HOST_l2c return void. 2015-12-16 20:02:37 +00:00
sha256.c Make HOST_l2c return void. 2015-12-16 20:02:37 +00:00
sha512.c Make SHA512_Final actually only return one. 2016-04-27 18:42:37 +00:00