Re: [Qemu-block] [PATCH v2 05/17] crypto: add support for anti-forensic split algorithm

2016-02-05 Thread Daniel P. Berrange
On Thu, Feb 04, 2016 at 04:26:42PM -0700, Eric Blake wrote: > On 01/20/2016 10:38 AM, Daniel P. Berrange wrote: > > The LUKS format specifies an anti-forensic split algorithm which > > is used to artificially expand the size of the key material on > > disk. This is an implementation of that algorit

Re: [Qemu-block] [PATCH v2 05/17] crypto: add support for anti-forensic split algorithm

2016-02-05 Thread Daniel P. Berrange
On Thu, Feb 04, 2016 at 04:26:42PM -0700, Eric Blake wrote: > On 01/20/2016 10:38 AM, Daniel P. Berrange wrote: > > +++ b/crypto/afsplit.c > > @@ -0,0 +1,162 @@ > > +/* > > + * QEMU Crypto anti forensic information splitter > > + * > > + * Copyright (c) 2015-2016 Red Hat, Inc. > > + * > > + * Deriv

Re: [Qemu-block] [PATCH v2 05/17] crypto: add support for anti-forensic split algorithm

2016-02-04 Thread Eric Blake
On 01/20/2016 10:38 AM, Daniel P. Berrange wrote: > The LUKS format specifies an anti-forensic split algorithm which > is used to artificially expand the size of the key material on > disk. This is an implementation of that algorithm. > > Signed-off-by: Daniel P. Berrange > --- > crypto/Makefile

Re: [Qemu-block] [PATCH v2 05/17] crypto: add support for anti-forensic split algorithm

2016-01-21 Thread Daniel P. Berrange
On Thu, Jan 21, 2016 at 04:37:28PM +0800, Fam Zheng wrote: > > > + > > +/** > > + * qcrypto_afsplit_encode: > > + * @hash: the hash algorithm to use for data expansion > > + * @blocklen: the size of @in in bytes > > + * @stripes: the number of times to expand @in in size > > + * @in: the master ke

Re: [Qemu-block] [PATCH v2 05/17] crypto: add support for anti-forensic split algorithm

2016-01-21 Thread Fam Zheng
On Wed, 01/20 17:38, Daniel P. Berrange wrote: > diff --git a/crypto/afsplit.c b/crypto/afsplit.c > new file mode 100644 > index 000..42529e7 > --- /dev/null > +++ b/crypto/afsplit.c > @@ -0,0 +1,162 @@ > +/* > + * QEMU Crypto anti forensic information splitter > + * > + * Copyright (c) 2015-20

[Qemu-block] [PATCH v2 05/17] crypto: add support for anti-forensic split algorithm

2016-01-20 Thread Daniel P. Berrange
The LUKS format specifies an anti-forensic split algorithm which is used to artificially expand the size of the key material on disk. This is an implementation of that algorithm. Signed-off-by: Daniel P. Berrange --- crypto/Makefile.objs| 1 + crypto/afsplit.c| 162