Patch taken from the Debian package for python-axolotl-0.1.39. See . Description: Removes IV paramenter from AES constructor, since it is not necessary for ctr mode. Author: Josue Ortega Last-Update: 2017-04-13 --- a/axolotl/sessioncipher.py +++ b/axolotl/sessioncipher.py @@ -228,13 +228,7 @@ # counterint = struct.unpack(">L", counterbytes)[0] # counterint = int.from_bytes(counterbytes, byteorder='big') ctr = Counter.new(128, initial_value=counter) - - # cipher = AES.new(key, AES.MODE_CTR, counter=ctr) - ivBytes = bytearray(16) - ByteUtil.intToByteArray(ivBytes, 0, counter) - - cipher = AES.new(key, AES.MODE_CTR, IV=bytes(ivBytes), counter=ctr) - + cipher = AES.new(key, AES.MODE_CTR, counter=ctr) return cipher ubmit' value='switch'/> Wojtek's customized Guix
aboutsummaryrefslogtreecommitdiff
AgeCommit message (Expand)Author
2020-11-12nls: Update string translations.Ludovic Courtès
2020-10-27nls: Update.Ludovic Courtès
2020-10-16nls: Update.Ludovic Courtès
2020-09-29nls: Fix copyright and bug address in pot files....* po/guix/Makevars: Fix COPYRIGHT_HOLDER and MSGID_BUGS_ADDRESS. * po/packages/Makevars: idem. Julien Lepiller
2020-04-14nls: Update.Ludovic Courtès
2020-04-12nls: Update.Ludovic Courtès
2020-03-23nls: Update.Ludovic Courtès