diff options
-rw-r--r-- | arch/powerpc/crypto/sha1.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/crypto/sha1.c b/arch/powerpc/crypto/sha1.c index 0f88c7b41119..d3feba5a275f 100644 --- a/arch/powerpc/crypto/sha1.c +++ b/arch/powerpc/crypto/sha1.c | |||
@@ -66,7 +66,7 @@ static int sha1_update(struct shash_desc *desc, const u8 *data, | |||
66 | src = data + done; | 66 | src = data + done; |
67 | } while (done + 63 < len); | 67 | } while (done + 63 < len); |
68 | 68 | ||
69 | memset(temp, 0, sizeof(temp)); | 69 | memzero_explicit(temp, sizeof(temp)); |
70 | partial = 0; | 70 | partial = 0; |
71 | } | 71 | } |
72 | memcpy(sctx->buffer + partial, src, len - done); | 72 | memcpy(sctx->buffer + partial, src, len - done); |