Skip to content

Commit

Permalink
Improved documentation (speed vs size)
Browse files Browse the repository at this point in the history
  • Loading branch information
danielinux committed Oct 24, 2024
1 parent 4fe2d4c commit dd8ab72
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions docs/compile.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,16 @@ disabled with the option `NO_ARM_ASM=1`. This is useful for example when you wan
to use SP math optimizations for key verification, but exclude SHA2/AES optimizations
to save some space.

#### Example: ECC256 + SHA256 on STM32H7

Benchmark footprint vs. boot time SHA of 100KB image + signature verification

| Description | Selected options | wolfBoot size (B) | Boot time (s) |
|------|---------------|-----------------|------------|-------------------|-----------|
| Full ECC256 assembly optimizations. Fastest. | `SIGN=ECC256` | 21836 | .583 |
| Optimize ECC only (SP math assembly only) | `SIGN=ECC256 NO_ARM_ASM=1` | 18624 | .760 |
| No assembly optimizations (smallest) | `SIGN=ECC256 NO_ASM=1` | 14416 | 3.356 |


### Flash partitions

Expand Down

0 comments on commit dd8ab72

Please sign in to comment.