Change in pysim[master]: OTA: Adjust IV length for AES
laforge has submitted this change. ( 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(-) Approvals: Jenkins Builder: Verified laforge: Looks good to me, approved 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-Reviewer: Jenkins Builder Gerrit-Reviewer: laforge <laforge@osmocom.org> Gerrit-MessageType: merged
participants (1)
-
laforge