Fix symmetric AES encryption/decryption. It works!

Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
This commit is contained in:
Pol Henarejos 2022-03-06 01:55:48 +01:00
parent e36c80761e
commit 855b51730b
No known key found for this signature in database
GPG key ID: C0095B7870A4CCD3

View file

@ -1474,6 +1474,7 @@ static int cmd_cipher_sym() {
return SW_EXEC_ERROR();
}
}
res_APDU_size = apdu.cmd_apdu_data_len;
mbedtls_aes_free(&aes);
}
else {