]> git.ipfire.org Git - thirdparty/qemu.git/commit - crypto/cipher.c
crypto: cipher: add cipher driver framework
authorLongpeng(Mike) <longpeng2@huawei.com>
Fri, 14 Jul 2017 18:03:58 +0000 (14:03 -0400)
committerDaniel P. Berrange <berrange@redhat.com>
Wed, 19 Jul 2017 09:11:04 +0000 (10:11 +0100)
commit75c800780919e389e6c272d84b31a33ec348ff79
tree7378c7bf211c2d6c8be33f8d490fa8de86a6370a
parentd962c6266c5361f62f16b3c7b1c5b587502eaf77
crypto: cipher: add cipher driver framework

1) makes the public APIs in cipher-nettle/gcrypt/builtin static,
   and rename them with "nettle/gcrypt/builtin" prefix.

2) introduces cipher framework, including QCryptoCipherDriver
   and new public APIs.

Reviewed-by: Gonglei <arei.gonglei@huawei.com>
Signed-off-by: Longpeng(Mike) <longpeng2@huawei.com>
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
crypto/cipher-builtin.c
crypto/cipher-gcrypt.c
crypto/cipher-nettle.c
crypto/cipher.c
crypto/cipherpriv.h [new file with mode: 0644]
include/crypto/cipher.h