mirror of
https://github.com/polhenarejos/pico-hsm.git
synced 2026-02-07 19:18:23 +00:00
Fix AES XTS call.
Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
This commit is contained in:
parent
1d80b45439
commit
008db87fa7
1 changed files with 1 additions and 1 deletions
|
|
@ -566,7 +566,7 @@ int cmd_cipher_sym() {
|
|||
}
|
||||
}
|
||||
}
|
||||
else if (memcmp(oid, OID_IEEE_ALG, oid_len) == 0) {
|
||||
else if (memcmp(oid, OID_IEEE_ALG, 8) == 0) {
|
||||
if (oid_len != 9) {
|
||||
return SW_WRONG_DATA();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue