@@ -2321,6 +2321,27 @@ west update_board --set board lpcxpresso55s69
23212321deactivate
23222322```
23232323
2324+ ### LPC55S69: Hardware Acceleration
2325+
2326+ wolfBoot / wolfCrypt provide support for the LPC55S69's hardware acceleration
2327+ blocks, to improve performance of various crypto algorithms. By default, this
2328+ support is turned off in the config files, and all crypto is software based.
2329+ To turn on hardware acceleration, set PKA=1 in the config file.
2330+
2331+ Basic hardware acceleration supported:
2332+ - SHA1
2333+ - SHA-256
2334+ - AES-ECB (128, 192, 256 key sizes)
2335+ - AES-CBC (128, 192, 256 key sizes)
2336+ - AES-OFB (128, 192, 256 key sizes)
2337+ - Only supports full 16-byte blocks
2338+ - AES-CFB (128, 192, 256 key sizes)
2339+ - Only supports full 16-byte blocks
2340+ - AES-CTR (128, 192, 256 key sizes)
2341+ - User must avoid counter wrap of all ff's to 0, as this fails in the hardware
2342+
2343+ See [ Test and Benchmark] ( #lpc55s69-test-and-benchmark ) for a comparison with and without hardware acceleration.
2344+
23242345### LPC55S69: Configuring and compiling
23252346
23262347Copy the example configuration file and build with make:
@@ -2330,7 +2351,8 @@ cp config/examples/lpc55s69.config .config
23302351make
23312352```
23322353
2333- We also provide a TrustZone configuration at ` config/examples/lpc55s69-tz.config ` .
2354+ We also provide a TrustZone configuration at ` config/examples/lpc55s69-tz.config `
2355+ and a benchmarking configuration at ` config/examples/lpc55s69-benchmark.config ` .
23342356
23352357### LPC55S69: Loading the firmware
23362358
26082630NOTE: See [ tools/scripts/lpc55s69/lpc55s69_debug.cmm] ( /tools/scripts/lpc55s69/lpc55s69_debug.cmm ) for the lauterbach equivalent.
26092631
26102632
2611- ### LPC55S69: Test and Benchmark
2633+ ### LPC55S69 Test and Benchmark
26122634
26132635Here is an example of how to run wolfCrypt test and benchmarking on actual hardware.
26142636
0 commit comments