mirror of
https://github.com/polhenarejos/pico-hsm.git
synced 2026-01-17 09:28:05 +00:00
Fix AES derivation (HKDF).
Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
This commit is contained in:
parent
02903bbc65
commit
fe315e7326
1 changed files with 1 additions and 1 deletions
|
|
@ -252,7 +252,7 @@ int cmd_cipher_sym() {
|
|||
int r = mbedtls_hkdf(mbedtls_md_info_from_type(MBEDTLS_MD_SHA256),
|
||||
NULL,
|
||||
0,
|
||||
file_get_data(ef),
|
||||
kdata,
|
||||
key_size,
|
||||
apdu.data,
|
||||
apdu.nc,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue