[PATCH][TRIVIAL] crypto: ccp - fix typo "CPP"

2016-10-20 Thread Paul Bolle
The abbreviation for Cryptographic Coprocessor is "CCP". Signed-off-by: Paul Bolle --- include/linux/ccp.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/linux/ccp.h b/include/linux/ccp.h index a7653339fedb..c71dd8fa5764 100644 --- a/include/linux/c

Re: [PATCH RFC v3 2/3] crypto: RSA: KEYS: convert rsa and public key to new PKE API

2015-06-05 Thread Paul Bolle
WARNING: "rsa_pkcs1_v1_5_verify_signature" [[...]/crypto/asymmetric_keys/public_key.ko] undefined! Also no MODULE_LICENSE() macro, so loading rsa_pkcs1_v1_5.ko should trigger a warning and taint the kernel. Thanks, Paul Bolle -- To unsubscribe from this list: send the line "unsubscribe linux-crypto" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [V4 PATCH 2/6] arm64 : Introduce support for ACPI _CCA object

2015-05-16 Thread Paul Bolle
capability of the device. Thanks, Paul Bolle -- To unsubscribe from this list: send the line "unsubscribe linux-crypto" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCH 6/6] crypto: add jitterentropy RNG

2015-04-23 Thread Paul Bolle
not submit the trivial patches to make the license comment and the MODULE_LICENSE() macro match in those files too? Thanks, Paul Bolle -- To unsubscribe from this list: send the line "unsubscribe linux-crypto" in the body of a message to majord...@vger.kernel.org More majordomo info at

Re: [PATCH 6/6] crypto: add jitterentropy RNG

2015-04-23 Thread Paul Bolle
E OR OTHERWISE) ARISING IN ANY WAY OUT OF THE > + * USE OF THIS SOFTWARE, EVEN IF NOT ADVISED OF THE POSSIBILITY OF SUCH > + * DAMAGE. > + */ This states the license is BSD or GPL v2. > +MODULE_LICENSE("GPL"); And, according to inlude/linux/module.h, using MODULE_LICENSE("Dua

Re: [PATCH 12/12] crypto/sha-mb/sha1_mb.c : Syntax error

2015-03-16 Thread Paul Bolle
old code apparently works because the preprocessor converts time_before() into time_after(). And the code generated for time_after() will in its turn be wrapped in parentheses. That is, this generates valid syntax by, well, accident. So this could as well be labeled a style fix. A fix for a rather se

Re: [PATCH 7/7] Enabling VMX module for PPC64

2015-02-05 Thread Paul Bolle
p8-ppc.o ghashp8-ppc.o aes.o aes_cbc.o aes_ctr.o > ghash.o > + > +ifeq ($(CONFIG_PPC64),y) Can this test ever fail? > +ifeq ($(CONFIG_CPU_LITTLE_ENDIAN),y) > +TARGET := linux-ppc64le > +else > +TARGET := linux-pcc64 > +endif > +endif > + > +quiet_cmd_perl = PERL $@ >

Re: [PATCH] crypto: caam - Check for CAAM block presence before registering with crypto layer

2014-07-04 Thread Paul Bolle
> + dev_node = of_find_compatible_node(NULL, NULL, "fsl,sec4.0"); > + if (!dev_node) > + return -ENODEV; > + } > + > + pdev = of_find_device_by_node(dev_node); > + if (!pdev) Ditto. > + return

[PATCH] [TRIVIAL] Remove MPILIB_EXTRA

2014-06-18 Thread Paul Bolle
From: Richard Weinberger The symbol is an orphan, get rid of it. Signed-off-by: Richard Weinberger Signed-off-by: Paul Bolle --- Bounced to trivial. Tested with make menuconfig and make oldconfig. Since I'm sending this to Jiri myself I've upgraded my Acked-by to Signed-off-by

Re: [PATCH 05/28] Remove MPILIB_EXTRA

2014-06-18 Thread Paul Bolle
On Tue, 2014-04-15 at 11:21 +0200, Borislav Petkov wrote: > On Tue, Apr 15, 2014 at 11:06:34AM +0200, Paul Bolle wrote: > > On Sun, 2014-02-09 at 21:18 +0100, Paul Bolle wrote: > > > On Sun, 2014-02-09 at 19:47 +0100, Richard Weinberger wrote: > > > > The symb

Re: [PATCH 05/28] Remove MPILIB_EXTRA

2014-04-15 Thread Paul Bolle
On Sun, 2014-02-09 at 21:18 +0100, Paul Bolle wrote: > On Sun, 2014-02-09 at 19:47 +0100, Richard Weinberger wrote: > > The symbol is an orphan, get rid of it. > > > > Signed-off-by: Richard Weinberger > > Acked-by: Paul Bolle > > > --- > > crypto

Re: [PATCH 05/28] Remove MPILIB_EXTRA

2014-02-09 Thread Paul Bolle
On Sun, 2014-02-09 at 19:47 +0100, Richard Weinberger wrote: > The symbol is an orphan, get rid of it. > > Signed-off-by: Richard Weinberger Acked-by: Paul Bolle > --- > crypto/asymmetric_keys/Kconfig | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/crypto/a

[PATCH] crypto: remove dependency on EXPERIMENTAL

2013-05-12 Thread Paul Bolle
The Kconfig symbol EXPERIMENTAL was removed in v3.9. So this dependency makes it impossible to set CRYPTO_DEV_SAHARA. It's unlikely that this is what is intended, so let's remove this dependency. Signed-off-by: Paul Bolle --- Tested with "make ARCH=arm menuconfig". driver

[PATCH] RSA: drop "select MPILIB_EXTRA"

2013-03-08 Thread Paul Bolle
one noticed because all the mpi functionality that was needed was, apparently, already provided by (indirectly) selecting MPILIB. Anyhow, this select can be dropped. Signed-off-by: Paul Bolle --- Tested with "git grep". crypto/asymmetric_keys/Kconfig | 1 - 1 file changed, 1 de

[PATCH] crypto: caam - fix typo "CRYPTO_AHASH"

2013-03-05 Thread Paul Bolle
enable the ahash functionality this driver uses. Signed-off-by: Paul Bolle --- 0) Untested! 1) Apparently, one can indirectly select a Kconfig symbol. That actually surprised me. But if the kconfig parser does not work this way this patch (and it's explanation) is bogus. drivers/crypto/c