keystone-crypto.txt 1.5 KB

1234567891011121314151617181920212223242526272829303132333435
  1. * Texas Instruments Keystone Security Accelerator Crypto Driver
  2. The Security Accelerator (SA) is one of the main components of the Network
  3. Coprocessor (NETCP) peripheral. The SA works together with the Packet
  4. Accelerator (PA) and the Gigabit Ethernet (GbE) switch subsystem to
  5. form a network processing solution. The purpose of the SA is to assist
  6. the host by performing security related tasks. The SA provides hardware
  7. engines to perform encryption, decryption, and authentication operations on
  8. packets for commonly supported protocols, including IPsec ESP and AH, SRTP,
  9. and Air Cipher.
  10. See the http://www.ti.com/lit/ug/sprugy6b/sprugy6b.pdf for details.
  11. Keystone Linux kernel implements a crypto driver which offloads crypto
  12. algorithm processing to CP_ACE. Crypto driver registers algorithm implementations
  13. in the kernel's crypto algorithm management framework. Since the primary use
  14. case for this driver is IPSec ESP offload, it currently registers only AEAD
  15. algorithms.
  16. Following algorithms are supported by the driver:
  17. 1. authenc(hmac(sha1),cbc(aes))
  18. 2. authenc(hmac(sha1),cbc(des3-ede))
  19. 3. authenc(xcbc(aes),cbc(aes))
  20. 4. authenc(xcbc(aes),cbc(des3-ede))
  21. The driver source code:
  22. drivers/crypto/keystone-*.[ch]
  23. See the Documentation/devicetree/bindings/soc/ti/keystone-crypto.txt for
  24. configuration.
  25. In order to work driver requires the sa_mci.fw firmware. By default driver compiled as kernel
  26. module and loaded after root file system is mounted, it is enough to place the firmware to
  27. the /lib/firmware directory.