bdk: se: handle original and updated IV in one go

IV set now requires a size where the second block is updated IV
IV clear now clears both.
This commit is contained in:
CTCaer
2026-01-06 22:28:18 +02:00
parent d442390e9b
commit b4ca6cae21
2 changed files with 11 additions and 20 deletions

View File

@@ -27,11 +27,10 @@ u32 se_key_acc_ctrl_get(u32 ks);
/*! AES Key Management Functions */
void se_aes_key_set(u32 ks, const void *key, u32 size);
void se_aes_iv_set(u32 ks, const void *iv);
void se_aes_iv_set(u32 ks, const void *iv, u32 size);
void se_aes_key_get(u32 ks, void *key, u32 size);
void se_aes_key_clear(u32 ks);
void se_aes_iv_clear(u32 ks);
void se_aes_iv_updated_clear(u32 ks);
int se_aes_unwrap_key(u32 ks_dst, u32 ks_src, const void *seed);
void se_get_aes_keys(u8 *buf, u8 *keys, u32 keysize);
/*! Encryption Functions */