diff options
author | David Benjamin <davidben@google.com> | 2016-04-20 00:39:28 +0300 |
---|---|---|
committer | Adam Langley <agl@google.com> | 2016-04-27 21:42:37 +0300 |
commit | c0d8b83b4462a0eb1889f32dbd7f46e83f4dbc81 (patch) | |
tree | 45cdf838e9d00b641baa7c3a5435823b4a1844b9 /decrepit | |
parent | 3baee2a495df5aa212b13c5948da829332b75b24 (diff) |
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>
Diffstat (limited to 'decrepit')
0 files changed, 0 insertions, 0 deletions