Relocate encryption key slot to the end of the flash partition#75
Relocate encryption key slot to the end of the flash partition#75
Conversation
a4fd4dd to
24538d1
Compare
dgarske
left a comment
There was a problem hiding this comment.
Hi @danielinux ,
Code changes look great, but I am having trouble validating on the STM32WB55. Here are the steps I've done. Hopefully you can spot the issue with these:
cp ./config/examples/stm32wb-uart-flash-encryption.config .config
make clean
make
st-flash write factory.bin 0x08000000
./tools/scripts/prepare_encrypted_update.sh
./tools/uart-flash-server/ufserver ./test-app/image_v2_signed_and_encrypted.bin /dev/cu.usbmodem14624103
Warning: the binary file provided does not appear to contain a valid firmware partition file. (If the update is encrypted, this is OK)
** TARGET REBOOT **
Version running on target: 1
[|] Writing backup blocks ^C
Thanks, David
|
@dgarske I tested both encrypted and non-encrypted case on STM32WB55.
Thanks, -- |
dgarske
left a comment
There was a problem hiding this comment.
Thanks @danielinux . Excellent improvement to the encryption feature.
ENCRYPT_KEY_SIZE + ENCRYPT_NONCE_SIZEuart_flash_serverto detect and support encrypted partitionsZD 10733