Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/crypto/ccree/
Dcc_cipher.c1366 struct cc_cipher_handle *cipher_handle = drvdata->cipher_handle; in cc_cipher_free() local
1368 if (cipher_handle) { in cc_cipher_free()
1370 list_for_each_entry_safe(t_alg, n, &cipher_handle->alg_list, in cc_cipher_free()
1376 kfree(cipher_handle); in cc_cipher_free()
1377 drvdata->cipher_handle = NULL; in cc_cipher_free()
1384 struct cc_cipher_handle *cipher_handle; in cc_cipher_alloc() local
1390 cipher_handle = kmalloc(sizeof(*cipher_handle), GFP_KERNEL); in cc_cipher_alloc()
1391 if (!cipher_handle) in cc_cipher_alloc()
1394 INIT_LIST_HEAD(&cipher_handle->alg_list); in cc_cipher_alloc()
1395 drvdata->cipher_handle = cipher_handle; in cc_cipher_alloc()
[all …]
Dcc_driver.h118 void *cipher_handle; member