Change in pysim[master]: OTA: Adjust IV length for AES
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 -- To view, visit https://gerrit.osmocom.org/c/pysim/+/30305 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: pysim Gerrit-Branch: master Gerrit-Change-Id: I854c844418244c100c328f9e76c0f37850d3db00 Gerrit-Change-Number: 30305 Gerrit-PatchSet: 1 Gerrit-Owner: Christian Amsüss <chrysn@fsfe.org> Gerrit-MessageType: newchange
participants (1)
-
Christian Amsüss