mirror of
https://github.com/bkerler/mtkclient.git
synced 2024-12-11 16:41:05 -05:00
fix typo mistake
This commit is contained in:
parent
2d04f27e70
commit
045e71d2da
1 changed files with 1 additions and 0 deletions
|
@ -306,6 +306,7 @@ class cryptutils:
|
||||||
ciphertext = cipher.encrypt(data)
|
ciphertext = cipher.encrypt(data)
|
||||||
return ciphertext
|
return ciphertext
|
||||||
|
|
||||||
|
@staticmethod
|
||||||
def aes_cmac_verify(key, plain, compare):
|
def aes_cmac_verify(key, plain, compare):
|
||||||
ctx = CMAC.new(key, ciphermod=AES)
|
ctx = CMAC.new(key, ciphermod=AES)
|
||||||
ctx.update(plain)
|
ctx.update(plain)
|
||||||
|
|
Loading…
Reference in a new issue