All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Daniel P. Berrange" <berrange@redhat.com>
To: qemu-devel@nongnu.org
Cc: Peter Maydell <peter.maydell@linaro.org>
Subject: [Qemu-devel] [PULL v3 00/13] Merge crypto code for LUKS encryption
Date: Thu, 17 Mar 2016 16:53:41 +0000	[thread overview]
Message-ID: <1458233634-27709-1-git-send-email-berrange@redhat.com> (raw)

The following changes since commit 8c4575472494a5dfedfe05e7b58ca9ce3872ad56:

  Merge remote-tracking branch 'remotes/ehabkost/tags/machine-pull-request' into staging (2016-03-17 08:52:58 +0000)

are available in the git repository at:

  git://github.com/berrange/qemu tags/pull-qcrypto-2016-03-17-3

for you to fetch changes up to 3e308f20edfd65a21c98eb2d8079dacd47957444:

  crypto: implement the LUKS block encryption format (2016-03-17 16:50:40 +0000)

----------------------------------------------------------------
Merge QCrypto 2016/03/17 v3

----------------------------------------------------------------

Changed in v3:

 - Skip luks test build on OS-X correctly
 - Fix mis-matched enum types

Changed in v2:

 - Report error of RUSAGE_THREAD is not available
 - Use GetThreadTimes on Win32 instead of getrusage
 - Skip pbkdf tests on platforms lacking thread usage info

Daniel P. Berrange (13):
  crypto: add cryptographic random byte source
  crypto: add support for PBKDF2 algorithm
  crypto: add support for generating initialization vectors
  crypto: add support for anti-forensic split algorithm
  crypto: skip testing of unsupported cipher algorithms
  crypto: add support for the cast5-128 cipher algorithm
  crypto: add support for the serpent cipher algorithm
  crypto: add support for the twofish cipher algorithm
  crypto: import an implementation of the XTS cipher mode
  crypto: refactor code for dealing with AES cipher
  crypto: wire up XTS mode for cipher APIs
  crypto: add block encryption framework
  crypto: implement the LUKS block encryption format

 Makefile.objs               |    2 +-
 configure                   |   32 ++
 crypto/Makefile.objs        |   17 +
 crypto/afsplit.c            |  158 +++++
 crypto/block-luks.c         | 1328 +++++++++++++++++++++++++++++++++++++++++++
 crypto/block-luks.h         |   28 +
 crypto/block-qcow.c         |  173 ++++++
 crypto/block-qcow.h         |   28 +
 crypto/block.c              |  260 +++++++++
 crypto/blockpriv.h          |   92 +++
 crypto/cipher-builtin.c     |  207 +++++--
 crypto/cipher-gcrypt.c      |  171 +++++-
 crypto/cipher-nettle.c      |  197 ++++++-
 crypto/cipher.c             |   41 +-
 crypto/ivgen-essiv.c        |  118 ++++
 crypto/ivgen-essiv.h        |   28 +
 crypto/ivgen-plain.c        |   59 ++
 crypto/ivgen-plain.h        |   28 +
 crypto/ivgen-plain64.c      |   59 ++
 crypto/ivgen-plain64.h      |   28 +
 crypto/ivgen.c              |   99 ++++
 crypto/ivgenpriv.h          |   49 ++
 crypto/pbkdf-gcrypt.c       |   68 +++
 crypto/pbkdf-nettle.c       |   65 +++
 crypto/pbkdf-stub.c         |   42 ++
 crypto/pbkdf.c              |  109 ++++
 crypto/random-gcrypt.c      |   33 ++
 crypto/random-gnutls.c      |   43 ++
 crypto/random-stub.c        |   31 +
 crypto/xts.c                |  230 ++++++++
 include/crypto/afsplit.h    |  135 +++++
 include/crypto/block.h      |  232 ++++++++
 include/crypto/ivgen.h      |  206 +++++++
 include/crypto/pbkdf.h      |  152 +++++
 include/crypto/random.h     |   44 ++
 include/crypto/xts.h        |   86 +++
 qapi/crypto.json            |  146 ++++-
 tests/.gitignore            |    5 +
 tests/Makefile              |   10 +
 tests/test-crypto-afsplit.c |  193 +++++++
 tests/test-crypto-block.c   |  362 ++++++++++++
 tests/test-crypto-cipher.c  |  215 ++++++-
 tests/test-crypto-ivgen.c   |  173 ++++++
 tests/test-crypto-pbkdf.c   |  392 +++++++++++++
 tests/test-crypto-xts.c     |  423 ++++++++++++++
 45 files changed, 6488 insertions(+), 109 deletions(-)
 create mode 100644 crypto/afsplit.c
 create mode 100644 crypto/block-luks.c
 create mode 100644 crypto/block-luks.h
 create mode 100644 crypto/block-qcow.c
 create mode 100644 crypto/block-qcow.h
 create mode 100644 crypto/block.c
 create mode 100644 crypto/blockpriv.h
 create mode 100644 crypto/ivgen-essiv.c
 create mode 100644 crypto/ivgen-essiv.h
 create mode 100644 crypto/ivgen-plain.c
 create mode 100644 crypto/ivgen-plain.h
 create mode 100644 crypto/ivgen-plain64.c
 create mode 100644 crypto/ivgen-plain64.h
 create mode 100644 crypto/ivgen.c
 create mode 100644 crypto/ivgenpriv.h
 create mode 100644 crypto/pbkdf-gcrypt.c
 create mode 100644 crypto/pbkdf-nettle.c
 create mode 100644 crypto/pbkdf-stub.c
 create mode 100644 crypto/pbkdf.c
 create mode 100644 crypto/random-gcrypt.c
 create mode 100644 crypto/random-gnutls.c
 create mode 100644 crypto/random-stub.c
 create mode 100644 crypto/xts.c
 create mode 100644 include/crypto/afsplit.h
 create mode 100644 include/crypto/block.h
 create mode 100644 include/crypto/ivgen.h
 create mode 100644 include/crypto/pbkdf.h
 create mode 100644 include/crypto/random.h
 create mode 100644 include/crypto/xts.h
 create mode 100644 tests/test-crypto-afsplit.c
 create mode 100644 tests/test-crypto-block.c
 create mode 100644 tests/test-crypto-ivgen.c
 create mode 100644 tests/test-crypto-pbkdf.c
 create mode 100644 tests/test-crypto-xts.c

-- 
2.5.0

             reply	other threads:[~2016-03-17 16:54 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-17 16:53 Daniel P. Berrange [this message]
2016-03-17 16:53 ` [Qemu-devel] [PULL v3 01/13] crypto: add cryptographic random byte source Daniel P. Berrange
2016-03-17 16:53 ` [Qemu-devel] [PULL v3 02/13] crypto: add support for PBKDF2 algorithm Daniel P. Berrange
2016-03-24  3:06   ` Wen Congyang
2016-03-29  9:09     ` Daniel P. Berrange
2016-03-29 14:50     ` Daniel P. Berrange
2016-03-17 16:53 ` [Qemu-devel] [PULL v3 03/13] crypto: add support for generating initialization vectors Daniel P. Berrange
2016-03-17 16:53 ` [Qemu-devel] [PULL v3 04/13] crypto: add support for anti-forensic split algorithm Daniel P. Berrange
2016-03-17 16:53 ` [Qemu-devel] [PULL v3 05/13] crypto: skip testing of unsupported cipher algorithms Daniel P. Berrange
2016-03-17 16:53 ` [Qemu-devel] [PULL v3 06/13] crypto: add support for the cast5-128 cipher algorithm Daniel P. Berrange
2016-03-17 16:53 ` [Qemu-devel] [PULL v3 07/13] crypto: add support for the serpent " Daniel P. Berrange
2016-03-17 16:53 ` [Qemu-devel] [PULL v3 08/13] crypto: add support for the twofish " Daniel P. Berrange
2016-03-17 16:53 ` [Qemu-devel] [PULL v3 09/13] crypto: import an implementation of the XTS cipher mode Daniel P. Berrange
2016-03-17 16:53 ` [Qemu-devel] [PULL v3 10/13] crypto: refactor code for dealing with AES cipher Daniel P. Berrange
2016-03-17 16:53 ` [Qemu-devel] [PULL v3 11/13] crypto: wire up XTS mode for cipher APIs Daniel P. Berrange
2016-03-17 16:53 ` [Qemu-devel] [PULL v3 12/13] crypto: add block encryption framework Daniel P. Berrange
2016-03-17 16:53 ` [Qemu-devel] [PULL v3 13/13] crypto: implement the LUKS block encryption format Daniel P. Berrange
2016-03-17 18:00 ` [Qemu-devel] [PULL v3 00/13] Merge crypto code for LUKS encryption Peter Maydell

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1458233634-27709-1-git-send-email-berrange@redhat.com \
    --to=berrange@redhat.com \
    --cc=peter.maydell@linaro.org \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.