Home
last modified time | relevance | path

Searched refs:vcrypto (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/crypto/virtio/
H A Dvirtio_crypto_skcipher_algs.c19 struct virtio_crypto *vcrypto; member
116 struct virtio_crypto *vcrypto = ctx->vcrypto; in virtio_crypto_alg_skcipher_init_session() local
167 err = virtio_crypto_ctrl_vq_request(vcrypto, sgs, num_out, num_in, vc_ctrl_req); in virtio_crypto_alg_skcipher_init_session()
196 struct virtio_crypto *vcrypto = ctx->vcrypto; in virtio_crypto_alg_skcipher_close_session() local
229 err = virtio_crypto_ctrl_vq_request(vcrypto, sgs, num_out, num_in, vc_ctrl_req); in virtio_crypto_alg_skcipher_close_session()
253 struct virtio_crypto *vcrypto = ctx->vcrypto; in virtio_crypto_alg_skcipher_init_sessions() local
255 if (keylen > vcrypto->max_cipher_key_len) { in virtio_crypto_alg_skcipher_init_sessions()
291 if (!ctx->vcrypto) { in virtio_crypto_skcipher_setkey()
294 struct virtio_crypto *vcrypto = in virtio_crypto_skcipher_setkey() local
297 if (!vcrypto) { in virtio_crypto_skcipher_setkey()
[all …]
H A Dvirtio_crypto_akcipher_algs.c28 struct virtio_crypto *vcrypto; member
103 struct virtio_crypto *vcrypto = ctx->vcrypto; in virtio_crypto_alg_akcipher_init_session() local
136 err = virtio_crypto_ctrl_vq_request(vcrypto, sgs, num_out, num_in, vc_ctrl_req); in virtio_crypto_alg_akcipher_init_session()
162 struct virtio_crypto *vcrypto = ctx->vcrypto; in virtio_crypto_alg_akcipher_close_session() local
191 err = virtio_crypto_ctrl_vq_request(vcrypto, sgs, num_out, num_in, vc_ctrl_req); in virtio_crypto_alg_akcipher_close_session()
217 struct virtio_crypto *vcrypto = ctx->vcrypto; in __virtio_crypto_akcipher_do_req() local
222 int node = dev_to_node(&vcrypto->vdev->dev); in __virtio_crypto_akcipher_do_req()
277 struct virtio_crypto *vcrypto = ctx->vcrypto; in virtio_crypto_rsa_do_req() local
285 GFP_KERNEL, dev_to_node(&vcrypto->vdev->dev)); in virtio_crypto_rsa_do_req()
316 struct virtio_crypto *vcrypto = ctx->vcrypto; in virtio_crypto_rsa_req() local
[all …]