crypto: Introduce akcipher crypto class
authorzhenwei pi <pizhenwei@bytedance.com>
Wed, 25 May 2022 09:01:12 +0000 (17:01 +0800)
committerDaniel P. Berrangé <berrange@redhat.com>
Thu, 26 May 2022 10:41:47 +0000 (11:41 +0100)
commitdb5ca5fbfa6597ac9dd1ae40f986696db9c8b9dd
tree4acb26c640711c2475dc4bdd25557a71f3bf525b
parentdaa55f3ecf2d413295eb2d539e7629fc05d7bc92
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>
crypto/akcipher.c [new file with mode: 0644]
crypto/akcipherpriv.h [new file with mode: 0644]
crypto/meson.build
include/crypto/akcipher.h [new file with mode: 0644]