mirror of
https://github.com/polhenarejos/pico-hsm.git
synced 2026-01-17 09:28:05 +00:00
Return reference not found when deleting a key domain.
Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
This commit is contained in:
parent
3b9c2d159b
commit
43a49d2a14
1 changed files with 2 additions and 0 deletions
|
|
@ -111,6 +111,8 @@ int cmd_key_domain() {
|
|||
return SW_EXEC_ERROR();
|
||||
}
|
||||
low_flash_available();
|
||||
if (p1 == 0x3)
|
||||
return SW_REFERENCE_NOT_FOUND();
|
||||
}
|
||||
else if (p1 == 0x2) { //XKEK Key Domain creation
|
||||
if (apdu.nc > 0) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue