aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/crypto/crypto_null.c
diff options
context:
space:
mode:
authorThorsten Blum <thorsten.blum@linux.dev>2025-02-10 23:36:44 +0100
committerHerbert Xu <herbert@gondor.apana.org.au>2025-02-22 15:56:03 +0800
commit4f95a6d2748acffaf866cc58e51d2fd00227e91b (patch)
treea687c3ced0320fccacd8a716c83ffa608d65345d /crypto/crypto_null.c
parentcrypto: x86/aes-xts - change license to Apache-2.0 OR BSD-2-Clause (diff)
downloadwireguard-linux-4f95a6d2748acffaf866cc58e51d2fd00227e91b.tar.xz
wireguard-linux-4f95a6d2748acffaf866cc58e51d2fd00227e91b.zip
crypto: bcm - set memory to zero only once
Use kmalloc_array() instead of kcalloc() because sg_init_table() already sets the memory to zero. This avoids zeroing the memory twice. Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/crypto_null.c')
0 files changed, 0 insertions, 0 deletions