fix typo mistake

This commit is contained in:
ColdWindScholar 2024-05-04 16:58:29 +08:00
parent 2d04f27e70
commit 045e71d2da

View file

@ -306,6 +306,7 @@ class cryptutils:
ciphertext = cipher.encrypt(data)
return ciphertext
@staticmethod
def aes_cmac_verify(key, plain, compare):
ctx = CMAC.new(key, ciphermod=AES)
ctx.update(plain)