Re: [Qemu-block] [Qemu-devel] [PATCH v1 02/15] crypto: add support for PBKDF2 algorithm

2016-01-14 Thread Daniel P. Berrange
On Wed, Jan 13, 2016 at 01:53:27PM +0800, Fam Zheng wrote: > On Tue, 01/12 18:56, Daniel P. Berrange wrote: > > +#if defined CONFIG_NETTLE > > +#include "crypto/pbkdf-nettle.c" > > +#elif defined CONFIG_GCRYPT > > +#include "crypto/pbkdf-gcrypt.c" > > +#else /* ! CONFIG_GCRYPT */ > > +#include

Re: [Qemu-block] [Qemu-devel] [PATCH v1 02/15] crypto: add support for PBKDF2 algorithm

2016-01-12 Thread Fam Zheng
On Tue, 01/12 18:56, Daniel P. Berrange wrote: > +#if defined CONFIG_NETTLE > +#include "crypto/pbkdf-nettle.c" > +#elif defined CONFIG_GCRYPT > +#include "crypto/pbkdf-gcrypt.c" > +#else /* ! CONFIG_GCRYPT */ > +#include "crypto/pbkdf-stub.c" > +#endif /* ! CONFIG_GCRYPT */ I think the