aboutsummaryrefslogtreecommitdiffstats
path: root/requirements.txt
diff options
context:
space:
mode:
authorHarald Welte <laforge@osmocom.org>2023-05-31 18:07:48 +0200
committerlaforge <laforge@osmocom.org>2023-06-03 12:45:35 +0000
commit219a5f369c82c5ba266e1e828bd0116fca6f714b (patch)
tree27857a9bf88275adf2145c92157360b658783ab4 /requirements.txt
parent03650582e0cda9564e48bebd86049349d928d0be (diff)
OTA: Fix padding of AES CMAC
When using AES CMAC for authentication of OTA messages, we must not pad the user data before calling the CMAC function. This is unlike the DES MAC, where padding to the DES block size is mandatory. This bug was discovered when trying to talk OTA with AES to a sysmoISIM-SJA5. This patch makes the OTA AES interoperate with the card. Also, with this patch the cryptographic results of pySim/ota.py are identical to those of the java code org.opentelecoms.gsm0348.impl.crypto.CipheringManager Change-Id: I4b40b5857f95ccb21c35795abe7a1995e368bac3
Diffstat (limited to 'requirements.txt')
0 files changed, 0 insertions, 0 deletions