Lines Matching refs:cipher_hdl
93 rk_handle cipher_hdl = 0; in test_cipher_item_virt() local
152 res = rk_cipher_init(&cipher_cfg, &cipher_hdl); in test_cipher_item_virt()
182 res = rk_cipher_crypt_virt(cipher_hdl, tmp_data_in, in test_cipher_item_virt()
185 rk_cipher_final(cipher_hdl); in test_cipher_item_virt()
195 rk_cipher_final(cipher_hdl); in test_cipher_item_virt()
196 cipher_hdl = 0; in test_cipher_item_virt()
248 rk_handle cipher_hdl = 0; in test_cipher_item_fd() local
304 res = rk_cipher_init(&cipher_cfg, &cipher_hdl); in test_cipher_item_fd()
324 res = rk_cipher_crypt(cipher_hdl, plain->dma_fd, in test_cipher_item_fd()
327 rk_cipher_final(cipher_hdl); in test_cipher_item_fd()
332 rk_cipher_final(cipher_hdl); in test_cipher_item_fd()
333 cipher_hdl = 0; in test_cipher_item_fd()