Home
last modified time | relevance | path

Searched refs:max_key_buf_size (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/crypto/ccree/
H A Dcc_cipher.c161 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 <<= 1; in cc_cipher_setkey()
[all …]