qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Fam Zheng
Subject: Re: [Qemu-devel] [PATCH v1 02/15] crypto: add support for PBKDF2 algorithm
Date: Wed, 13 Jan 2016 13:53:27 +0800
User-agent: Mutt/1.5.21 (2010-09-15)

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 convention in QEMU is in crypto/Makefile.objs:

    crypto-obj-$(CONFIG_NETTLE) += pbkdf-nettle.o
    crypto-obj-$(if $(CONFIG_NETTLE),n,$(CONFIG_GCRYPT)) += pbkdf-gcrypt.o

And move pbkdf-stub.c to stub/pbkdf.c.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]