You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/encrypted_partitions.md
+7Lines changed: 7 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -179,6 +179,13 @@ as template. The file `hal/stm32l0_chacha_ram.ld` contains the changes described
179
179
all the needed symbols in RAM.
180
180
181
181
182
+
### Using a custom buffer as encrypt/decrypt cache
183
+
184
+
By default, encryption support requires a buffer of the same size as the external flash page size to be allocated in RAM.
185
+
You can provide a custom pre-allocated buffer by passing its address via the option `ENCRYPT_CACHE`, e.g.:
186
+
187
+
`ENCRYPT_CACHE=0x20010000`
188
+
182
189
### API usage in the application
183
190
184
191
When transferring the image, the application can still use the libwolfboot API functions to store the encrypted firmware. When called from the application,
0 commit comments