Changes between Version 6 and Version 7 of newport/encryption
- Timestamp:
- 07/08/2020 12:32:45 PM (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
newport/encryption
v6 v7 56 56 'ecb(aes)', 'cfb(aes)', and 'cbc(des3_ede)' algorithms with the Linux crypto subsystem via {{{crypto_register_algs}}} call. 57 57 58 The CPT driver requires binary firmware be installed in {{{/lib/firmware}}} :58 The CPT driver requires binary firmware be installed in {{{/lib/firmware}}} which must be obtained from the Marvell SDK (which requires an NDA with Marvell): 59 59 {{{#!bash 60 cd /lib/firmware 61 wget http://dev.gateworks.com/images/cpt8x-mc-ae.out62 wget http://dev.gateworks.com/images/cpt8x-mc-se.out60 # ls /lib/firmware/cpt8x* 61 cpt8x-mc-ae.out 62 cpt8x-mc-se.out 63 63 }}} 64 - these are found in the OCTEONTX SDK-6.2.0 in linux/cavium-rootfs/tmp-rootfs/lib/firmware 64 65 65 66 Once enabled and firmware loaded, {{{/proc/crypto}}} will list out the system cipher and algorithm support: … … 768 769 }}} 769 770 771 Note that the performance of this hardware cyprto offload is much slower than software crypto (see wiki:linux/encryption#PerformaceComparisons) 772 770 773 For information on how to use the Linux Kernel Crypto API consult the kernel documentation: 771 774 - https://www.kernel.org/doc/html/latest/crypto/index.html