Fix AES derivation (HKDF).

Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
This commit is contained in:
Pol Henarejos
2023-05-27 19:00:04 +02:00
parent 02903bbc65
commit fe315e7326

View File

@@ -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,