On 2015/6/19 1:02, Daniel P. Berrange wrote:
> Introduce a generic cipher API and an implementation of it that
> supports only the built-in AES and DES-RFB algorithms.
> 
> The test suite checks the supported algorithms + modes to
> validate that every backend implementation is actually correctly
> complying with the specs.
> 
> Signed-off-by: Daniel P. Berrange <berra...@redhat.com>
> ---
>  crypto/Makefile.objs       |   1 +
>  crypto/cipher-builtin.c    | 398 
> +++++++++++++++++++++++++++++++++++++++++++++
>  crypto/cipher.c            |  50 ++++++
>  include/crypto/cipher.h    | 210 ++++++++++++++++++++++++
>  tests/.gitignore           |   1 +
>  tests/Makefile             |   2 +
>  tests/test-crypto-cipher.c | 290 +++++++++++++++++++++++++++++++++
>  7 files changed, 952 insertions(+)
>  create mode 100644 crypto/cipher-builtin.c
>  create mode 100644 crypto/cipher.c
>  create mode 100644 include/crypto/cipher.h
>  create mode 100644 tests/test-crypto-cipher.c

Reviewed-by: Gonglei <arei.gong...@huawei.com>


Reply via email to