ARM64: rockchip_defconfig: enable pwm remote control
[firefly-linux-kernel-4.4.55.git] / crypto / vmac.c
index bf2d3a89845fb329de8cfe67aed4a8084f2b75b0..df76a816cfb22f68ac173d3ef01e2e2f9e166c72 100644 (file)
@@ -613,7 +613,7 @@ static int vmac_final(struct shash_desc *pdesc, u8 *out)
        }
        mac = vmac(ctx->partial, ctx->partial_size, nonce, NULL, ctx);
        memcpy(out, &mac, sizeof(vmac_t));
-       memset(&mac, 0, sizeof(vmac_t));
+       memzero_explicit(&mac, sizeof(vmac_t));
        memset(&ctx->__vmac_ctx, 0, sizeof(struct vmac_ctx));
        ctx->partial_size = 0;
        return 0;