projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
drm/rockchip: vop: move plane calculate to atomic_check
[firefly-linux-kernel-4.4.55.git]
/
crypto
/
vmac.c
diff --git
a/crypto/vmac.c
b/crypto/vmac.c
index bf2d3a89845fb329de8cfe67aed4a8084f2b75b0..df76a816cfb22f68ac173d3ef01e2e2f9e166c72 100644
(file)
--- a/
crypto/vmac.c
+++ b/
crypto/vmac.c
@@
-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));
}
mac = vmac(ctx->partial, ctx->partial_size, nonce, NULL, ctx);
memcpy(out, &mac, sizeof(vmac_t));
- mem
set(&mac, 0
, sizeof(vmac_t));
+ mem
zero_explicit(&mac
, sizeof(vmac_t));
memset(&ctx->__vmac_ctx, 0, sizeof(struct vmac_ctx));
ctx->partial_size = 0;
return 0;
memset(&ctx->__vmac_ctx, 0, sizeof(struct vmac_ctx));
ctx->partial_size = 0;
return 0;