diff options
author | 2025-02-10 23:36:44 +0100 | |
---|---|---|
committer | 2025-02-22 15:56:03 +0800 | |
commit | 4f95a6d2748acffaf866cc58e51d2fd00227e91b (patch) | |
tree | a687c3ced0320fccacd8a716c83ffa608d65345d /crypto/crypto_null.c | |
parent | crypto: x86/aes-xts - change license to Apache-2.0 OR BSD-2-Clause (diff) | |
download | wireguard-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