Searched refs:zero_buffer (Results 1 – 3 of 3) sorted by relevance
/linux/drivers/crypto/caam/ |
H A D | caampkc.c | 36 static u8 *zero_buffer; variable 1121 ctx->padding_dma = dma_map_single(ctx->dev, zero_buffer, in caam_rsa_init_tfm() 1199 zero_buffer = kzalloc(CAAM_RSA_MAX_INPUT_SIZE - 1, GFP_KERNEL); in caam_pkc_init() 1200 if (!zero_buffer) in caam_pkc_init() 1206 kfree(zero_buffer); in caam_pkc_init() 1226 kfree(zero_buffer); in caam_pkc_exit()
|
/linux/drivers/net/ethernet/qlogic/qed/ |
H A D | qed_init_ops.c | 268 static u32 zero_buffer[DMAE_MAX_RW_SIZE]; in qed_init_fill_dmae() local 271 memset(zero_buffer, 0, sizeof(u32) * DMAE_MAX_RW_SIZE); in qed_init_fill_dmae() 281 (uintptr_t)(&zero_buffer[0]), in qed_init_fill_dmae()
|
/linux/drivers/crypto/axis/ |
H A D | artpec6_crypto.c | 270 void *zero_buffer; member 1943 ac->zero_buffer, in artpec6_crypto_prepare_aead() 1960 ac->zero_buffer, in artpec6_crypto_prepare_aead() 2906 ac->zero_buffer = devm_kzalloc(&pdev->dev, 2 * ARTPEC_CACHE_LINE_MAX, in artpec6_crypto_probe() 2908 if (!ac->zero_buffer) in artpec6_crypto_probe() 2910 ac->zero_buffer = PTR_ALIGN(ac->zero_buffer, ARTPEC_CACHE_LINE_MAX); in artpec6_crypto_probe()
|