crypto: introduce generic cipher API & built-in implementation
commitca38a4cc9e36647437b837b346a41981fb8880cd
authorDaniel P. Berrange <berrange@redhat.com>
Wed, 1 Jul 2015 17:10:32 +0000 (1 18:10 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 8 Jul 2015 11:11:01 +0000 (8 13:11 +0200)
treebb29de3cad2138f694bbfb4485d0d989caacc759
parent9fd72468dfe40532df7c64d35054994058106c42
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>
crypto/Makefile.objs
crypto/cipher-builtin.c [new file with mode: 0644]
crypto/cipher.c [new file with mode: 0644]
include/crypto/cipher.h [new file with mode: 0644]
tests/.gitignore
tests/Makefile
tests/test-crypto-cipher.c [new file with mode: 0644]