mirror of
https://github.com/CTCaer/hekate
synced 2024-12-23 03:41:12 +00:00
commit
5d99f2fcf7
1 changed files with 5 additions and 4 deletions
|
@ -188,10 +188,11 @@ int tsec_query(u8 *tsec_keys, u8 kb, tsec_ctxt_t *tsec_ctxt)
|
||||||
{
|
{
|
||||||
smmu_flush_all();
|
smmu_flush_all();
|
||||||
|
|
||||||
if (k == se[SE_KEYTABLE_DATA0_REG_OFFSET / 4])
|
if (k != se[SE_KEYTABLE_DATA0_REG_OFFSET / 4])
|
||||||
continue;
|
{
|
||||||
k = se[SE_KEYTABLE_DATA0_REG_OFFSET / 4];
|
k = se[SE_KEYTABLE_DATA0_REG_OFFSET / 4];
|
||||||
key[kidx++] = k;
|
key[kidx++] = k;
|
||||||
|
}
|
||||||
|
|
||||||
// Failsafe.
|
// Failsafe.
|
||||||
if ((u32)get_tmr_us() - start > 125000)
|
if ((u32)get_tmr_us() - start > 125000)
|
||||||
|
|
Loading…
Reference in a new issue