Added Manage Security Environment command.

Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
This commit is contained in:
Pol Henarejos
2022-04-09 20:50:00 +02:00
parent dec3d54ddd
commit b545a1618b
2 changed files with 40 additions and 0 deletions

View File

@@ -39,6 +39,8 @@ extern const uint8_t sc_hsm_aid[];
#define SW_MEMORY_FAILURE() set_res_sw (0x65, 0x81)
#define SW_SECURE_MESSAGE_EXEC_ERROR() set_res_sw (0x66, 0x00)
#define SW_WRONG_LENGTH() set_res_sw (0x67, 0x00)
#define SW_WRONG_DATA() set_res_sw (0x67, 0x00)