mirror of
https://github.com/polhenarejos/pico-hsm.git
synced 2026-01-30 07:09:21 +00:00
DKEKS are also initialized.
Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
This commit is contained in:
parent
0ef2ee40ac
commit
2a770ee7c9
1 changed files with 1 additions and 0 deletions
1
sc_hsm.c
1
sc_hsm.c
|
|
@ -334,6 +334,7 @@ static int cmd_challenge() {
|
|||
static int cmd_initialize() {
|
||||
initialize_flash();
|
||||
scan_flash();
|
||||
dkeks = 0;
|
||||
const uint8_t *p = apdu.cmd_apdu_data;
|
||||
while (p-apdu.cmd_apdu_data < apdu.cmd_apdu_data_len) {
|
||||
uint8_t tag = *p++;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue