mirror of
https://github.com/polhenarejos/pico-hsm.git
synced 2026-04-17 13:48:27 +00:00
Set ACL for all registers.
Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
This commit is contained in:
parent
bbbf28cb42
commit
c14a12d9d1
1 changed files with 1 additions and 1 deletions
|
|
@ -71,7 +71,7 @@ int cmd_read_binary(void) {
|
|||
}
|
||||
|
||||
if ((ef->fid >> 8) == PROT_DATA_PREFIX) {
|
||||
ef->acl[ACL_OP_READ_SEARCH] = 0x90; //force PIN for protected data objects
|
||||
memset(ef->acl, 0x90, sizeof(ef->acl)); //force PIN for protected data objects
|
||||
}
|
||||
|
||||
if ((ef->fid >> 8) == KEY_PREFIX || !authenticate_action(ef, ACL_OP_READ_SEARCH)) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue