Skip to content
Snippets Groups Projects
Commit 5181a4b5 authored by Dmitry Petrov's avatar Dmitry Petrov
Browse files

Set EX_SSS_BOOT_DO_ERASE to 0

If set to 1, all objects, which are handled by Secure chip except for
predefined ones, are deleted when a client application starts.
This breaks the logic of existing example, and functions "getbinkey",
"erasekey", and "decryptaes" start to fail because a requested key is
already removed when ex_sss_entry() is called.
parent 07fe6b87
No related branches found
No related tags found
1 merge request!3Set EX_SSS_BOOT_DO_ERASE to 0
Pipeline #64118 passed with stage
in 6 seconds
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
static ex_sss_boot_ctx_t gex_sss_symmetric_boot_ctx; static ex_sss_boot_ctx_t gex_sss_symmetric_boot_ctx;
#define EX_SSS_BOOT_PCONTEXT (&gex_sss_symmetric_boot_ctx) #define EX_SSS_BOOT_PCONTEXT (&gex_sss_symmetric_boot_ctx)
#define EX_SSS_BOOT_DO_ERASE 1 #define EX_SSS_BOOT_DO_ERASE 0
#define EX_SSS_BOOT_EXPOSE_ARGC_ARGV 1 #define EX_SSS_BOOT_EXPOSE_ARGC_ARGV 1
#define MAX_FILE_NAME_SIZE 255 #define MAX_FILE_NAME_SIZE 255
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment