Searched refs:cipher_handle (Results 1 – 2 of 2) sorted by relevance
1366 struct cc_cipher_handle *cipher_handle = drvdata->cipher_handle; in cc_cipher_free() local1368 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() local1390 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 …]
118 void *cipher_handle; member