Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 49750b0d authored by GreyLeshy's avatar GreyLeshy Committed by TARKZiM
Browse files

crypto: Import Sony Mobile FIPS Driver

* Sony package version: 32.4.A.1.54
parent 297b899d
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -468,4 +468,12 @@ config CRYPTO_DEV_ATMEL_SHA
	  To compile this driver as a module, choose M here: the module
	  will be called atmel-sha.

config CRYPTO_DEV_SOMC_FIPS_KSCL
	tristate "Sony Mobile FIPS AES-XTS/AES-CBC Driver"
	default n
	select WTL_ENCRYPTION_FILTER
	help
	  Support for the SOMC FIPS AES-XTS/AES-CBC Driver.
	  To compile this driver as a module, choose M here.

endif # CRYPTO_HW
+2 −0
Original line number Diff line number Diff line
@@ -22,3 +22,5 @@ obj-$(CONFIG_CRYPTO_DEV_NX) += nx/
obj-$(CONFIG_CRYPTO_DEV_ATMEL_AES) += atmel-aes.o
obj-$(CONFIG_CRYPTO_DEV_ATMEL_TDES) += atmel-tdes.o
obj-$(CONFIG_CRYPTO_DEV_ATMEL_SHA) += atmel-sha.o
obj-$(CONFIG_CRYPTO_DEV_SOMC_FIPS_KSCL) += kscl.o
CFLAGS_kscl.o := $(call cc-option,-mno-android)

drivers/crypto/kscl.c

0 → 100644
+843 −0

File added.

Preview size limit exceeded, changes collapsed.

drivers/crypto/kscl.h

0 → 100644
+119 −0

File added.

Preview size limit exceeded, changes collapsed.