diff options
author | Stephan Mueller <smueller@chronox.de> | 2014-08-17 19:39:31 +0400 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2014-08-25 16:34:11 +0400 |
commit | e6c0244ad38a358598392638688b1dcac7878f66 (patch) | |
tree | 974c13306d5fbbfbc221839ec667511247288149 /fs/ceph | |
parent | f072f0e0fe0f3758c7c94bee875564c89fd07d08 (diff) | |
download | linux-e6c0244ad38a358598392638688b1dcac7878f66.tar.xz |
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 'fs/ceph')
0 files changed, 0 insertions, 0 deletions