Searched refs:max_key_buf_size (Results 1 - 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/drivers/crypto/ccree/ |
H A D | cc_cipher.c | 158 unsigned int max_key_buf_size = cc_alg->skcipher_alg.max_keysize; in cc_cipher_init() local 177 max_key_buf_size <<= 1; in cc_cipher_init() 199 ctx_p->user.key = kzalloc(max_key_buf_size, GFP_KERNEL); in cc_cipher_init() 208 max_key_buf_size, in cc_cipher_init() 212 max_key_buf_size, ctx_p->user.key); in cc_cipher_init() 216 max_key_buf_size, ctx_p->user.key, &ctx_p->user.key_dma_addr); in cc_cipher_init() 235 unsigned int max_key_buf_size = cc_alg->skcipher_alg.max_keysize; in cc_cipher_exit() local 251 dma_unmap_single(dev, ctx_p->user.key_dma_addr, max_key_buf_size, in cc_cipher_exit() 407 unsigned int max_key_buf_size = cc_alg->skcipher_alg.max_keysize; in cc_cipher_setkey() local 439 max_key_buf_size << in cc_cipher_setkey() [all...] |
/kernel/linux/linux-6.6/drivers/crypto/ccree/ |
H A D | cc_cipher.c | 161 unsigned int max_key_buf_size = cc_alg->skcipher_alg.max_keysize; in cc_cipher_init() local 180 max_key_buf_size <<= 1; in cc_cipher_init() 202 ctx_p->user.key = kzalloc(max_key_buf_size, GFP_KERNEL); in cc_cipher_init() 211 max_key_buf_size, in cc_cipher_init() 215 max_key_buf_size, ctx_p->user.key); in cc_cipher_init() 219 max_key_buf_size, ctx_p->user.key, &ctx_p->user.key_dma_addr); in cc_cipher_init() 238 unsigned int max_key_buf_size = cc_alg->skcipher_alg.max_keysize; in cc_cipher_exit() local 254 dma_unmap_single(dev, ctx_p->user.key_dma_addr, max_key_buf_size, in cc_cipher_exit() 410 unsigned int max_key_buf_size = cc_alg->skcipher_alg.max_keysize; in cc_cipher_setkey() local 442 max_key_buf_size << in cc_cipher_setkey() [all...] |
Completed in 4 milliseconds