crypto: Introduce akcipher crypto class

Introduce new akcipher crypto class 'QCryptoAkCIpher', which supports
basic asymmetric operations: encrypt, decrypt, sign and verify.

Suggested by Daniel P. Berrangé, also add autoptr cleanup for the new
class. Thanks to Daniel!

Co-developed-by: lei he <helei.sig11@bytedance.com>
Signed-off-by: lei he <helei.sig11@bytedance.com>
Signed-off-by: zhenwei pi <pizhenwei@bytedance.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
zhenwei pi 2022-05-25 17:01:12 +08:00 committed by Daniel P. Berrangé
parent daa55f3ecf
commit db5ca5fbfa
4 changed files with 316 additions and 0 deletions

View file

@ -1,6 +1,7 @@
crypto_ss.add(genh)
crypto_ss.add(files(
'afsplit.c',
'akcipher.c',
'block-luks.c',
'block-qcow.c',
'block.c',