Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

crypto: ppc/curve25519 - Update Kconfig and Makefile for ppc64le

Defined CRYPTO_CURVE25519_PPC64 to support X25519 for ppc64le.

Added new module curve25519-ppc64le for X25519.

Signed-off-by: Danny Tsen <dtsen@linux.ibm.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>

authored by

Danny Tsen and committed by
Herbert Xu
b42519db a1bfed35

+13
+11
arch/powerpc/crypto/Kconfig
··· 2 2 3 3 menu "Accelerated Cryptographic Algorithms for CPU (powerpc)" 4 4 5 + config CRYPTO_CURVE25519_PPC64 6 + tristate "Public key crypto: Curve25519 (PowerPC64)" 7 + depends on PPC64 && CPU_LITTLE_ENDIAN 8 + select CRYPTO_LIB_CURVE25519_GENERIC 9 + select CRYPTO_ARCH_HAVE_LIB_CURVE25519 10 + help 11 + Curve25519 algorithm 12 + 13 + Architecture: PowerPC64 14 + - Little-endian 15 + 5 16 config CRYPTO_CRC32C_VPMSUM 6 17 tristate "CRC32c" 7 18 depends on PPC64 && ALTIVEC
+2
arch/powerpc/crypto/Makefile
··· 17 17 obj-$(CONFIG_CRYPTO_CHACHA20_P10) += chacha-p10-crypto.o 18 18 obj-$(CONFIG_CRYPTO_POLY1305_P10) += poly1305-p10-crypto.o 19 19 obj-$(CONFIG_CRYPTO_DEV_VMX_ENCRYPT) += vmx-crypto.o 20 + obj-$(CONFIG_CRYPTO_CURVE25519_PPC64) += curve25519-ppc64le.o 20 21 21 22 aes-ppc-spe-y := aes-spe-core.o aes-spe-keys.o aes-tab-4k.o aes-spe-modes.o aes-spe-glue.o 22 23 md5-ppc-y := md5-asm.o md5-glue.o ··· 30 29 chacha-p10-crypto-y := chacha-p10-glue.o chacha-p10le-8x.o 31 30 poly1305-p10-crypto-y := poly1305-p10-glue.o poly1305-p10le_64.o 32 31 vmx-crypto-objs := vmx.o aesp8-ppc.o ghashp8-ppc.o aes.o aes_cbc.o aes_ctr.o aes_xts.o ghash.o 32 + curve25519-ppc64le-y := curve25519-ppc64le-core.o curve25519-ppc64le_asm.o 33 33 34 34 ifeq ($(CONFIG_CPU_LITTLE_ENDIAN),y) 35 35 override flavour := linux-ppc64le