Re: [virtio-comment] [V3 PATCH 0/1] Introduce virtio asymmetric crypto service

From
Paolo Bonzini <>
Date
2022-04-12T08:55:35+00:00
ID
Thread
Re: [virtio-comment] [V3 PATCH 0/1] Introduce virtio asymmetric crypto service
On Tue, Apr 12, 2022 at 10:15 AM Cornelia Huck <> wrote:
>  +#define VIRTIO_CRYPTO_RSA_NO_HASH   0
>  +#define VIRTIO_CRYPTO_RSA_MD2       1
>  +#define VIRTIO_CRYPTO_RSA_MD3       2
>  +#define VIRTIO_CRYPTO_RSA_MD4       3
>  +#define VIRTIO_CRYPTO_RSA_MD5       4
>  +#define VIRTIO_CRYPTO_RSA_SHA1      5
>  +#define VIRTIO_CRYPTO_RSA_SHA256    6
>  +#define VIRTIO_CRYPTO_RSA_SHA384    7
>  +#define VIRTIO_CRYPTO_RSA_SHA512    8
>  +#define VIRTIO_CRYPTO_RSA_SHA224    9

Hi, should virtio-crypto really support outdated hashes such as MD2-MD5?
The kernel driver that has been merged only uses SHA1 or raw.

Paolo