[v3] vhost: include AKCIPHER algorithms in crypto_config
Checks
Commit Message
Update virtio_crypto_config structure to include AKCIPHER algorithms,
as per VirtIO standard.
Signed-off-by: Gowrishankar Muthukrishnan <gmuthukrishn@marvell.com>
Acked-by: Akhil Goyal <gakhil@marvell.com>
---
v3:
- rebased on main.
lib/vhost/virtio_crypto.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Comments
On 1/7/25 7:25 PM, Gowrishankar Muthukrishnan wrote:
> Update virtio_crypto_config structure to include AKCIPHER algorithms,
> as per VirtIO standard.
>
> Signed-off-by: Gowrishankar Muthukrishnan <gmuthukrishn@marvell.com>
> Acked-by: Akhil Goyal <gakhil@marvell.com>
> ---
> v3:
> - rebased on main.
>
> lib/vhost/virtio_crypto.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/lib/vhost/virtio_crypto.h b/lib/vhost/virtio_crypto.h
> index e3b93573c8..28877a5da3 100644
> --- a/lib/vhost/virtio_crypto.h
> +++ b/lib/vhost/virtio_crypto.h
> @@ -410,7 +410,7 @@ struct virtio_crypto_config {
> uint32_t max_cipher_key_len;
> /* Maximum length of authenticated key */
> uint32_t max_auth_key_len;
> - uint32_t reserve;
> + uint32_t akcipher_algo;
> /* Maximum size of each crypto request's content */
> uint64_t max_size;
> };
Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
Thanks,
Maxime
On 1/7/25 7:25 PM, Gowrishankar Muthukrishnan wrote:
> Update virtio_crypto_config structure to include AKCIPHER algorithms,
> as per VirtIO standard.
>
> Signed-off-by: Gowrishankar Muthukrishnan <gmuthukrishn@marvell.com>
> Acked-by: Akhil Goyal <gakhil@marvell.com>
> ---
> v3:
> - rebased on main.
>
> lib/vhost/virtio_crypto.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/lib/vhost/virtio_crypto.h b/lib/vhost/virtio_crypto.h
> index e3b93573c8..28877a5da3 100644
> --- a/lib/vhost/virtio_crypto.h
> +++ b/lib/vhost/virtio_crypto.h
> @@ -410,7 +410,7 @@ struct virtio_crypto_config {
> uint32_t max_cipher_key_len;
> /* Maximum length of authenticated key */
> uint32_t max_auth_key_len;
> - uint32_t reserve;
> + uint32_t akcipher_algo;
> /* Maximum size of each crypto request's content */
> uint64_t max_size;
> };
Applied to next-virtio/for-next-net.
Thanks,
Maxime
@@ -410,7 +410,7 @@ struct virtio_crypto_config {
uint32_t max_cipher_key_len;
/* Maximum length of authenticated key */
uint32_t max_auth_key_len;
- uint32_t reserve;
+ uint32_t akcipher_algo;
/* Maximum size of each crypto request's content */
uint64_t max_size;
};