Lines Matching refs:cipher_handle
1366 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()
1426 &cipher_handle->alg_list); in cc_cipher_alloc()