This is a first baby step towards making the inside-secure crypto driver
more broadly useful. The current driver only works for Marvell Armada HW
and requires proprietary firmware, only available under NDA from Marvell,
to be installed. This patch set allows the driver to be used with other
hardware and removes the dependence on that proprietary firmware.
changes since v1:
- changed dev_info's into dev_dbg to reduce normal verbosity
- terminate all message strings with \n
- use priv->version field strictly to enumerate device context
- fixed some code & comment style issues
- removed EIP97/197 references from messages
- use #if(IS_ENABLED(CONFIG_PCI)) to remove all PCI related code
- use #if(IS_ENABLED(CONFIG_OF)) to remove all device tree related code
- do not inline the minifw but read it from /lib/firmware instead
Pascal van Leeuwen (3):
crypto: inside-secure - make driver selectable for non-Marvell
hardware
crypto: inside-secure - add support for PCI based FPGA development
board
crypto: inside-secure - add support for using the EIP197 without
vendor firmware
drivers/crypto/Kconfig | 12 +-
drivers/crypto/inside-secure/safexcel.c | 748 +++++++++++++++++--------
drivers/crypto/inside-secure/safexcel.h | 36 +-
drivers/crypto/inside-secure/safexcel_cipher.c | 11 -
drivers/crypto/inside-secure/safexcel_hash.c | 12 -
drivers/crypto/inside-secure/safexcel_ring.c | 3 +-
6 files changed, 569 insertions(+), 253 deletions(-)
--
1.8.3.1