commit | e023ad2d83bb8a804e989d38e91e0685db179830 | [log] [tgz] |
---|---|---|
author | Adam Langley <agl@google.com> | Mon Mar 02 14:55:56 2015 -0800 |
committer | Adam Langley <agl@google.com> | Thu Mar 05 22:44:00 2015 +0000 |
tree | 892bd9bcb38dca978e7f74ad88d80b440f2c86be | |
parent | 5f5bf6f2107e4feb515493c1d152a8f23f82b29d [diff] |
Fix SHA-384 and -512 in NO_ASM mode. This transcription bug comes from the start of BoringSSL and, as you can imagine, was a complete delight to track down. Change-Id: I3051934195098a1d3bf893b154389ec7f14d3609 Reviewed-on: https://boringssl-review.googlesource.com/3740 Reviewed-by: David Benjamin <davidben@chromium.org> Reviewed-by: Adam Langley <agl@google.com>
diff --git a/include/openssl/sha.h b/include/openssl/sha.h index 5b363ee..0e37c45 100644 --- a/include/openssl/sha.h +++ b/include/openssl/sha.h
@@ -224,7 +224,7 @@ uint64_t Nl, Nh; union { uint64_t d[16]; - uint8_t p[64]; + uint8_t p[128]; } u; unsigned int num, md_len; };