On 3/23/22 13:17, Eric Biggers wrote:> On Wed, Mar 23, 2022 at 10:49:06AM +0800, zhenwei pi wrote: >> v2 -> v3: >> - Introduce akcipher types to qapi >> - Add test/benchmark suite for akcipher class >> - Seperate 'virtio_crypto: Support virtio crypto asym operation' into: >> - crypto: Introduce akcipher crypto class >> - virtio-crypto: Introduce RSA algorithm >> >> v1 -> v2: >> - Update virtio_crypto.h from v2 version of related kernel patch. >> >> v1: >> - Support akcipher for virtio-crypto. >> - Introduce akcipher class. >> - Introduce ASN1 decoder into QEMU. >> - Implement RSA backend by nettle/hogweed. >> >> Lei He (3): >> crypto-akcipher: Introduce akcipher types to qapi >> crypto: Implement RSA algorithm by hogweed >> tests/crypto: Add test suite for crypto akcipher >> >> Zhenwei Pi (3): >> virtio-crypto: header update >> crypto: Introduce akcipher crypto class >> virtio-crypto: Introduce RSA algorithm > > You forgot to describe the point of this patchset and what its use case is. > Like any other Linux kernel patchset, that needs to be in the cover letter. > > - EricThanks Eric for pointing this missing part. This feature provides akcipher service offloading capability. QEMU side handles asymmetric requests via virtio-crypto devices from guest side, do encrypt/decrypt/sign/verify operations on host side, and return the result to guest. This patchset implements a RSA backend by hogweed from nettle, it works together with guest patch: https://lkml.org/lkml/2022/3/1/1425 -- zhenwei pi