Skip to content

Commit 5ba777c

Browse files
committed
Add documentation for ECC P-521.
1 parent c7c0e8c commit 5ba777c

2 files changed

Lines changed: 11 additions & 12 deletions

File tree

docs/Signing.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,9 @@ file is in this format.
9292
* `--ecc384` Use ecc384 for signing the firmware. Assume that the given KEY.DER
9393
file is in this format.
9494

95+
* `--ecc521` Use ecc521 for signing the firmware. Assume that the given KEY.DER
96+
file is in this format.
97+
9598
* `--rsa2048` Use rsa2048 for signing the firmware. Assume that the given KEY.DER
9699
file is in this format.
97100

docs/compile.md

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -90,21 +90,17 @@ performance and activated features are affected by compile-time flags.
9090
By default, wolfBoot is compiled to use Ed25519 DSA. The implementation of ed25519 is smaller,
9191
while giving a good compromise in terms of boot-up time.
9292

93-
Better performance can be achieved using ECDSA with curve p-256. To activate ECC256 support, use
93+
Better performance can be achieved using ECDSA with curve p-256.
94+
To activate ECC256, ECC384 or ECC521 support, use:
9495

95-
`SIGN=ECC256`
96+
`SIGN=ECC256` or `SIGN=ECC384` or `SIGN=ECC521` respectively.
9697

9798
when invoking `make`.
9899

99-
RSA is also supported, with different key length. To activate RSA2048 or RSA4096, use:
100+
RSA is also supported, with different key length.
101+
To activate RSA2048, RSA3072 or RSA4096, use:
100102

101-
`SIGN=RSA2048`
102-
103-
or
104-
105-
`SIGN=RSA4096`
106-
107-
respectively.
103+
`SIGN=RSA2048` or `SIGN=RSA3072` or `SIGN=RSA4096` respectively.
108104

109105
Ed448 is also supported via `SIGN=ED448`.
110106

@@ -135,7 +131,7 @@ For more information and examples, see the [firmware update](firmware_update.md)
135131

136132
### Enable debug symbols
137133

138-
To debug the bootloader, simply compile with `DEBUG=1`. The size of the bootloade will increase
134+
To debug the bootloader, simply compile with `DEBUG=1`. The size of the bootloader will increase
139135
consistently, so ensure that you have enough space at the beginning of the flash before
140136
`WOLFBOOT_PARTITION_BOOT_ADDRESS`.
141137

@@ -168,7 +164,7 @@ Some combinations of authentication algorithms, key sizes and math configuration
168164
a large amount of memory to be allocated in the stack at runtime. By default, if your configuration
169165
falls in one of these cases, wolfBoot compilation will terminate with an explicit error.
170166

171-
In some cases you might have enough memory available to allow large stack allocations.
167+
In some cases you might have enough memory available to allow large stack allocations.
172168
To circumvent the compile-time checks on the maximum allowed stack size, use `WOLFBOOT_HUGE_STACK=1`.
173169

174170
### Disable Backup of current running firmware

0 commit comments

Comments
 (0)