[v3] vhost: include AKCIPHER algorithms in crypto_config

Maxime Coquelin maxime.coquelin at redhat.com
Fri Feb 7 15:10:50 CET 2025



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 at marvell.com>
> Acked-by: Akhil Goyal <gakhil at 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



More information about the dev mailing list