crypto/virtio: support session related ops
authorJay Zhou <jianjay.zhou@huawei.com>
Tue, 17 Apr 2018 09:23:20 +0000 (17:23 +0800)
committerPablo de Lara <pablo.de.lara.guarch@intel.com>
Mon, 23 Apr 2018 17:20:10 +0000 (18:20 +0100)
commitb7fa78c7d3b0d74c777fb2d7285c0075441423f1
treeaa799bd87950bcc8887dd21276d7c3f427e787b4
parent6f0175ff53e0d9c4fbca4796a6c64c78d657a61d
crypto/virtio: support session related ops

This patch implements session related operations, which includes creating
and destroying the session. For now, it only supports the session-oriented
API implementation. The control queue used to create or destroy sessions
for symmetric algorithms.

Signed-off-by: Jay Zhou <jianjay.zhou@huawei.com>
Reviewed-by: Fan Zhang <roy.fan.zhang@intel.com>
drivers/crypto/virtio/virtio_crypto_algs.h [new file with mode: 0644]
drivers/crypto/virtio/virtio_cryptodev.c
drivers/crypto/virtio/virtio_cryptodev.h