bdk: se: use proper naming for ctx keys

This commit is contained in:
CTCaer
2026-01-06 23:00:46 +02:00
parent bb1087006a
commit 1696dd8ebf
2 changed files with 2 additions and 2 deletions

View File

@@ -584,7 +584,7 @@ int se_gen_prng128(void *dst)
return _se_execute_oneshot(SE_OP_START, dst, 16, NULL, 0);
}
void se_get_aes_keys(u8 *buf, u8 *keys, u32 keysize)
void se_aes_ctx_get_keys(u8 *buf, u8 *keys, u32 keysize)
{
u8 *aligned_buf = (u8 *)ALIGN((u32)buf, 0x40);

View File

@@ -32,7 +32,7 @@ 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);
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);
void se_aes_ctx_get_keys(u8 *buf, u8 *keys, u32 keysize);
/*! Encryption Functions */
int se_aes_crypt_ecb(u32 ks, int enc, void *dst, const void *src, u32 size);
int se_aes_crypt_cbc(u32 ks, int enc, void *dst, const void *src, u32 size);