Fixed bug in MMO with prime fields longer than 1024 bits.

This commit is contained in:
Marcel Keller
2022-07-16 18:27:09 +10:00
parent 1a9bcd25e4
commit 1961a78fa8

View File

@@ -18,7 +18,7 @@ void MMO::zeroIV()
{
octet key[AES_BLK_SIZE];
memset(key, 0, AES_BLK_SIZE * sizeof(octet));
key[i] = i;
key[0] = i;
setIV(i, key);
}
}