Lines Matching full:encrypt
38 bool encrypt; member
66 /* Finish the encrypt or decrypt process */ in virtio_crypto_dataq_sym_callback()
118 int encrypt) in virtio_crypto_alg_skcipher_init_session() argument
123 int op = encrypt ? VIRTIO_CRYPTO_OP_ENCRYPT : VIRTIO_CRYPTO_OP_DECRYPT; in virtio_crypto_alg_skcipher_init_session()
191 if (encrypt) in virtio_crypto_alg_skcipher_init_session()
206 int encrypt) in virtio_crypto_alg_skcipher_close_session() argument
225 if (encrypt) in virtio_crypto_alg_skcipher_close_session()
387 if (vc_sym_req->encrypt) { in __virtio_crypto_skcipher_do_req()
441 if (!vc_sym_req->encrypt) in __virtio_crypto_skcipher_do_req()
502 vc_sym_req->encrypt = true; in virtio_crypto_skcipher_encrypt()
527 vc_sym_req->encrypt = false; in virtio_crypto_skcipher_decrypt()
582 if (vc_sym_req->encrypt) in virtio_crypto_skcipher_finalize_req()
609 .encrypt = virtio_crypto_skcipher_encrypt,