Home
last modified time | relevance | path

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

/linux/drivers/crypto/virtio/
H A Dvirtio_crypto_skcipher_algs.c124 struct virtio_crypto_sym_create_session_req *sym_create_session; in virtio_crypto_alg_skcipher_init_session() local
152 sym_create_session = &ctrl->u.sym_create_session; in virtio_crypto_alg_skcipher_init_session()
153 sym_create_session->op_type = cpu_to_le32(VIRTIO_CRYPTO_SYM_OP_CIPHER); in virtio_crypto_alg_skcipher_init_session()
154 sym_create_session->u.cipher.para.algo = ctrl->header.algo; in virtio_crypto_alg_skcipher_init_session()
155 sym_create_session->u.cipher.para.keylen = cpu_to_le32(keylen); in virtio_crypto_alg_skcipher_init_session()
156 sym_create_session->u.cipher.para.op = cpu_to_le32(op); in virtio_crypto_alg_skcipher_init_session()