crypto: introduce generic cipher API & built-in implementation
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 <berrange@redhat.com> Message-Id: <1435770638-25715-5-git-send-email-berrange@redhat.com> Signed-off-by:
Paolo Bonzini <pbonzini@redhat.com>
Showing
- crypto/Makefile.objs 1 addition, 0 deletionscrypto/Makefile.objs
- crypto/cipher-builtin.c 398 additions, 0 deletionscrypto/cipher-builtin.c
- crypto/cipher.c 49 additions, 0 deletionscrypto/cipher.c
- include/crypto/cipher.h 210 additions, 0 deletionsinclude/crypto/cipher.h
- tests/.gitignore 1 addition, 0 deletionstests/.gitignore
- tests/Makefile 2 additions, 0 deletionstests/Makefile
- tests/test-crypto-cipher.c 290 additions, 0 deletionstests/test-crypto-cipher.c
Loading
Please register or sign in to comment