Changes between Version 6 and Version 7 of newport/encryption


Ignore:
Timestamp:
07/08/2020 12:32:45 PM (4 years ago)
Author:
Tim Harvey
Comment:

removed links to cpt firmware and explain where to obtain it

Legend:

Unmodified
Added
Removed
Modified
  • newport/encryption

    v6 v7  
    5656'ecb(aes)', 'cfb(aes)', and 'cbc(des3_ede)' algorithms with the Linux crypto subsystem via {{{crypto_register_algs}}} call.
    5757
    58 The CPT driver requires binary firmware be installed in {{{/lib/firmware}}}:
     58The CPT driver requires binary firmware be installed in {{{/lib/firmware}}} which must be obtained from the Marvell SDK (which requires an NDA with Marvell):
    5959{{{#!bash
    60 cd /lib/firmware
    61 wget http://dev.gateworks.com/images/cpt8x-mc-ae.out
    62 wget http://dev.gateworks.com/images/cpt8x-mc-se.out
     60# ls /lib/firmware/cpt8x*
     61cpt8x-mc-ae.out
     62cpt8x-mc-se.out
    6363}}}
     64 - these are found in the OCTEONTX SDK-6.2.0 in linux/cavium-rootfs/tmp-rootfs/lib/firmware
    6465
    6566Once enabled and firmware loaded, {{{/proc/crypto}}} will list out the system cipher and algorithm support:
     
    768769}}}
    769770
     771Note that the performance of this hardware cyprto offload is much slower than software crypto (see wiki:linux/encryption#PerformaceComparisons)
     772
    770773For information on how to use the Linux Kernel Crypto API consult the kernel documentation:
    771774- https://www.kernel.org/doc/html/latest/crypto/index.html