mirror of
https://github.com/bkerler/mtkclient.git
synced 2024-11-14 19:25:05 -05:00
fix typo mistake
This commit is contained in:
parent
b3812b3167
commit
43d93d9286
1 changed files with 1 additions and 1 deletions
|
@ -667,7 +667,7 @@ class GCpu(metaclass=LogBase):
|
|||
|
||||
def mtk_crypto_hmac_sha256_by_devkey(self, data: bytearray, seed: bytearray):
|
||||
if seed is None:
|
||||
seed = bytearray("\x00" * 16)
|
||||
seed = bytearray(16)
|
||||
dev_val = self.get_devinfo_with_index(12)
|
||||
seed = xor_data(seed, dev_val, 4)
|
||||
dev_val = self.get_devinfo_with_index(13)
|
||||
|
|
Loading…
Reference in a new issue