diff options
author | Gonglei | 2018-03-01 14:46:31 +0100 |
---|---|---|
committer | Michael S. Tsirkin | 2018-03-01 17:26:17 +0100 |
commit | 0a9b9be9eb40055d2d1bb5b8fc4d4faefecb22c3 (patch) | |
tree | 3bc51611c611fe4b2077648e0b4942e5536f820a /include/sysemu/cryptodev-vhost-user.h | |
parent | cryptodev-vhost-user: add crypto session handler (diff) | |
download | qemu-0a9b9be9eb40055d2d1bb5b8fc4d4faefecb22c3.tar.gz qemu-0a9b9be9eb40055d2d1bb5b8fc4d4faefecb22c3.tar.xz qemu-0a9b9be9eb40055d2d1bb5b8fc4d4faefecb22c3.zip |
cryptodev-vhost-user: set the key length
Signed-off-by: Gonglei <arei.gonglei@huawei.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'include/sysemu/cryptodev-vhost-user.h')
-rw-r--r-- | include/sysemu/cryptodev-vhost-user.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/sysemu/cryptodev-vhost-user.h b/include/sysemu/cryptodev-vhost-user.h index 937217bc32..6debf53fc5 100644 --- a/include/sysemu/cryptodev-vhost-user.h +++ b/include/sysemu/cryptodev-vhost-user.h @@ -23,6 +23,9 @@ #ifndef CRYPTODEV_VHOST_USER_H #define CRYPTODEV_VHOST_USER_H +#define VHOST_USER_MAX_AUTH_KEY_LEN 512 +#define VHOST_USER_MAX_CIPHER_KEY_LEN 64 + /** * cryptodev_vhost_user_get_vhost: |