OTA: Adjust IV length for AES

Change-Id: I854c844418244c100c328f9e76c0f37850d3db00
changes/05/30305/1
Christian Amsüss 2 months ago
parent 8e45b75711
commit 5d26311efc
  1. 2
      pySim/ota.py

@ -154,7 +154,7 @@ from Crypto.Cipher import DES, DES3, AES
from Crypto.Hash import CMAC
class OtaAlgo(abc.ABC):
iv = b'\x00\x00\x00\x00\x00\x00\x00\x00'
iv = property(lambda self: bytes([0] * self.blocksize))
blocksize = None
enum_name = None

Loading…
Cancel
Save