Skip to content

Commit a332881

Browse files
committed
Add notes about MbedTLS and hardened stages to readme
1 parent f7b6312 commit a332881

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,8 @@ App|Description
9090

9191
App|Description
9292
---|---
93-
[hello_encrypted](encrypted/hello_encrypted) | Create a self-decrypting binary.
93+
[hello_encrypted](encrypted/hello_encrypted) | Create a self-decrypting binary, using the hardened decryption stage. This should be secure against side channel attacks.
94+
[hello_encrypted_mbedtls](encrypted/hello_encrypted) | Create a self-decrypting binary, using the MbedTLS decryption stage. This is not secure against side channel attacks, so is fast but provides limited protection.
9495

9596
### HSTX (RP235x Only)
9697

encrypted/hello_encrypted/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Example encrypted binary
1+
# Example encrypted binary - this should be secure against side channel attacks
22
add_executable(hello_encrypted
33
hello_encrypted.c
44
secret.S
@@ -48,7 +48,7 @@ pico_add_extra_outputs(hello_encrypted)
4848
example_auto_set_url(hello_encrypted)
4949

5050

51-
# Example encrypted binary using MbedTLS
51+
# Example encrypted binary using MbedTLS - this is faster, but not secure against side channel attacks
5252
add_executable(hello_encrypted_mbedtls
5353
hello_encrypted.c
5454
secret.S

0 commit comments

Comments
 (0)