qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PULL v3 00/13] Merge crypto code for LUKS encryption
@ 2016-03-17 16:53 Daniel P. Berrange
  2016-03-17 16:53 ` [Qemu-devel] [PULL v3 01/13] crypto: add cryptographic random byte source Daniel P. Berrange
                   ` (13 more replies)
  0 siblings, 14 replies; 18+ messages in thread
From: Daniel P. Berrange @ 2016-03-17 16:53 UTC (permalink / raw)
  To: qemu-devel; +Cc: Peter Maydell

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

^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2016-03-29 14:51 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-17 16:53 [Qemu-devel] [PULL v3 00/13] Merge crypto code for LUKS encryption Daniel P. Berrange
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).