Skip to content

Commit c0f179f

Browse files
committed
Key can be 128 byte key share or 32 byte key
1 parent fd83496 commit c0f179f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tools/CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -406,7 +406,8 @@ endfunction()
406406

407407
# pico_encrypt_binary(TARGET AESFILE IVFILE [SIGFILE <file>] [EMBED] [MBEDTLS] [OTP_KEY_PAGE <page>])
408408
# Encrypt the target binary with the given AES key (should be a binary
409-
# file containing 128 bytes of a random key), and sign the encrypted binary.
409+
# file containing 128 bytes of a random key share, or 32 bytes of a random key),
410+
# and sign the encrypted binary.
410411
# Salts the public IV with the provided IVFILE (should be a binary file
411412
# containing 16 bytes of a random IV), to give the IV used by the encryption.
412413
# This sets PICOTOOL_AESFILE to AESFILE, PICOTOOL_IVFILE to IVFILE, and

0 commit comments

Comments
 (0)