Christian Amsüss has uploaded this change for review. ( https://gerrit.osmocom.org/c/pysim/+/30305 )
Change subject: OTA: Adjust IV length for AES ......................................................................
OTA: Adjust IV length for AES
Change-Id: I854c844418244c100c328f9e76c0f37850d3db00 --- M pySim/ota.py 1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.osmocom.org:29418/pysim refs/changes/05/30305/1
diff --git a/pySim/ota.py b/pySim/ota.py index bc4b0a7..80c823e 100644 --- a/pySim/ota.py +++ b/pySim/ota.py @@ -154,7 +154,7 @@ 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