summaryrefslogtreecommitdiff
path: root/crypto/shash.c
diff options
context:
space:
mode:
authorStephan Mueller <smueller@chronox.de>2014-08-17 17:39:31 +0200
committerHerbert Xu <herbert@gondor.apana.org.au>2014-08-25 20:34:11 +0800
commit8f212346ff392fe89148ac1ca9ccf3e1360e6749 (patch)
treeb88c53b6effaca636bd868f93a02823ddd9c11fc /crypto/shash.c
parent99ff688a8ee6e586c585518533ec93028078658a (diff)
downloadlinux-crypto-8f212346ff392fe89148ac1ca9ccf3e1360e6749.tar.gz
linux-crypto-8f212346ff392fe89148ac1ca9ccf3e1360e6749.zip
crypto: drbg - use kmalloc instead of kzalloc for V and C
When allocating V, C, the zeroization is only needed when allocating a new instance of the DRBG, i.e. when performing an initial seeding. For all other allocations, the memcpy implemented in drbg_copy_drbg ensures that the memory is filled with the correct information. Signed-off-by: Stephan Mueller <smueller@chronox.de> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/shash.c')
0 files changed, 0 insertions, 0 deletions