Lines Matching full:encrypt
35 bool encrypt; member
63 /* Finish the encrypt or decrypt process */ in virtio_crypto_dataq_sym_callback()
115 int encrypt) in virtio_crypto_alg_skcipher_init_session() argument
119 int op = encrypt ? VIRTIO_CRYPTO_OP_ENCRYPT : VIRTIO_CRYPTO_OP_DECRYPT; in virtio_crypto_alg_skcipher_init_session()
180 if (encrypt) in virtio_crypto_alg_skcipher_init_session()
194 int encrypt) in virtio_crypto_alg_skcipher_close_session() argument
219 if (encrypt) in virtio_crypto_alg_skcipher_close_session()
371 if (vc_sym_req->encrypt) { in __virtio_crypto_skcipher_do_req()
425 if (!vc_sym_req->encrypt) in __virtio_crypto_skcipher_do_req()
486 vc_sym_req->encrypt = true; in virtio_crypto_skcipher_encrypt()
511 vc_sym_req->encrypt = false; in virtio_crypto_skcipher_decrypt()
563 if (vc_sym_req->encrypt) in virtio_crypto_skcipher_finalize_req()
590 .encrypt = virtio_crypto_skcipher_encrypt,