summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAdam Langley <agl@google.com>2015-03-06 10:40:08 -0800
committerAdam Langley <agl@google.com>2015-03-06 10:40:08 -0800
commit73e611480396013cb4e059bb9e5ebb0db8e1ffce (patch)
tree95380de054ca2d07b8b771eaf64cb374821696d3 /src
parentf4dabdd0527bd5cc09ab043ec6b0a53be190d93a (diff)
downloadexternal_boringssl-73e611480396013cb4e059bb9e5ebb0db8e1ffce.zip
external_boringssl-73e611480396013cb4e059bb9e5ebb0db8e1ffce.tar.gz
external_boringssl-73e611480396013cb4e059bb9e5ebb0db8e1ffce.tar.bz2
Fix SHA-384 and -512 in NO_ASM mode.
This is a backport of e023ad2d83bb8a804e989d38e91e0685db179830 from BoringSSL. Change-Id: I77b074221f44081229d48f67ee791d5165b2598d
Diffstat (limited to 'src')
-rw-r--r--src/include/openssl/sha.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/openssl/sha.h b/src/include/openssl/sha.h
index 5b363ee..0e37c45 100644
--- a/src/include/openssl/sha.h
+++ b/src/include/openssl/sha.h
@@ -224,7 +224,7 @@ struct sha512_state_st {
uint64_t Nl, Nh;
union {
uint64_t d[16];
- uint8_t p[64];
+ uint8_t p[128];
} u;
unsigned int num, md_len;
};