Skip to content

Commit 65be872

Browse files
twcook86danielinux
authored andcommitted
Some doc updates.
1 parent 994fe00 commit 65be872

1 file changed

Lines changed: 24 additions & 2 deletions

File tree

docs/Targets.md

Lines changed: 24 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2321,6 +2321,27 @@ west update_board --set board lpcxpresso55s69
23212321
deactivate
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

23262347
Copy the example configuration file and build with make:
@@ -2330,7 +2351,8 @@ cp config/examples/lpc55s69.config .config
23302351
make
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

@@ -2608,7 +2630,7 @@ c
26082630
NOTE: 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

26132635
Here is an example of how to run wolfCrypt test and benchmarking on actual hardware.
26142636

0 commit comments

Comments
 (0)