diff options
Diffstat (limited to 'crypto/sha512.c')
-rw-r--r-- | crypto/sha512.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/crypto/sha512.c b/crypto/sha512.c index 7dbec4f6b947..bc77a66d9de2 100644 --- a/crypto/sha512.c +++ b/crypto/sha512.c | |||
@@ -173,7 +173,6 @@ sha512_init(void *ctx) | |||
173 | sctx->state[6] = H6; | 173 | sctx->state[6] = H6; |
174 | sctx->state[7] = H7; | 174 | sctx->state[7] = H7; |
175 | sctx->count[0] = sctx->count[1] = sctx->count[2] = sctx->count[3] = 0; | 175 | sctx->count[0] = sctx->count[1] = sctx->count[2] = sctx->count[3] = 0; |
176 | memset(sctx->buf, 0, sizeof(sctx->buf)); | ||
177 | } | 176 | } |
178 | 177 | ||
179 | static void | 178 | static void |
@@ -189,7 +188,6 @@ sha384_init(void *ctx) | |||
189 | sctx->state[6] = HP6; | 188 | sctx->state[6] = HP6; |
190 | sctx->state[7] = HP7; | 189 | sctx->state[7] = HP7; |
191 | sctx->count[0] = sctx->count[1] = sctx->count[2] = sctx->count[3] = 0; | 190 | sctx->count[0] = sctx->count[1] = sctx->count[2] = sctx->count[3] = 0; |
192 | memset(sctx->buf, 0, sizeof(sctx->buf)); | ||
193 | } | 191 | } |
194 | 192 | ||
195 | static void | 193 | static void |