Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/boringssl.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Benjamin <davidben@chromium.org>2015-12-07 21:17:03 +0300
committerAdam Langley <agl@google.com>2015-12-16 22:59:29 +0300
commit0aff3ffb8882a161de9550cc4ea8caacc713aadb (patch)
treef8277b7c908d0ec7c79003e1d142570a906ea5d2 /include/openssl/md4.h
parent5a19d7dfa8abe611da91d3b90f3313611bc9b3c4 (diff)
Store the partial block as uint8_t, not uint32_t.
The uint32_t likely dates to them using HASH_LONG everywhere. Nothing ever touches c->data as a uint32_t, only bytes. (Which makes sense seeing as it stores the partial block.) Change-Id: I634cb7f2b6306523aa663f8697b7dc92aa491320 Reviewed-on: https://boringssl-review.googlesource.com/6651 Reviewed-by: Adam Langley <agl@google.com>
Diffstat (limited to 'include/openssl/md4.h')
-rw-r--r--include/openssl/md4.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/openssl/md4.h b/include/openssl/md4.h
index 19ed662d..93c7af83 100644
--- a/include/openssl/md4.h
+++ b/include/openssl/md4.h
@@ -90,7 +90,7 @@ OPENSSL_EXPORT void MD4_Transform(MD4_CTX *md4, const uint8_t *block);
struct md4_state_st {
uint32_t h[4];
uint32_t Nl, Nh;
- uint32_t data[16];
+ uint8_t data[MD4_CBLOCK];
unsigned num;
};