|
From: | Gonglei |
Subject: | Re: [Qemu-devel] [PATCH v3 04/10] crypto: introduce generic cipher API & built-in implementation |
Date: | Tue, 23 Jun 2015 10:15:26 +0800 |
User-agent: | Mozilla/5.0 (Windows NT 6.1; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 |
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 <address@hidden> > --- > 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 <address@hidden>
[Prev in Thread] | Current Thread | [Next in Thread] |