diff options
Diffstat (limited to 'crypto/sha256.c')
| -rw-r--r-- | crypto/sha256.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/crypto/sha256.c b/crypto/sha256.c index d62264a8a33e..4533a0564895 100644 --- a/crypto/sha256.c +++ b/crypto/sha256.c | |||
| @@ -242,7 +242,6 @@ static void sha256_init(void *ctx) | |||
| 242 | sctx->state[6] = H6; | 242 | sctx->state[6] = H6; |
| 243 | sctx->state[7] = H7; | 243 | sctx->state[7] = H7; |
| 244 | sctx->count[0] = sctx->count[1] = 0; | 244 | sctx->count[0] = sctx->count[1] = 0; |
| 245 | memset(sctx->buf, 0, sizeof(sctx->buf)); | ||
| 246 | } | 245 | } |
| 247 | 246 | ||
| 248 | static void sha256_update(void *ctx, const u8 *data, unsigned int len) | 247 | static void sha256_update(void *ctx, const u8 *data, unsigned int len) |
