Skip to content

Commit

Permalink
feat(core): Rework Optiga PIN slot configuration.
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewkozlik committed Jun 21, 2024
1 parent 9c50e15 commit 509e291
Show file tree
Hide file tree
Showing 4 changed files with 314 additions and 171 deletions.
4 changes: 4 additions & 0 deletions core/embed/trezorhal/optiga.h
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,12 @@ int __wur optiga_pin_verify_v4(OPTIGA_UI_PROGRESS ui_progress,
const uint8_t pin_secret[OPTIGA_PIN_SECRET_SIZE],
uint8_t out_secret[OPTIGA_PIN_SECRET_SIZE]);

int __wur optiga_pin_get_fails_v4(uint32_t *ctr);

int __wur optiga_pin_get_fails(uint32_t *ctr);

int __wur optiga_pin_fails_increase_v4(uint32_t count);

int __wur optiga_pin_fails_increase(uint32_t count);

#endif
Loading

0 comments on commit 509e291

Please sign in to comment.