You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
pycryptopan as well as yacryptopan agree on the result of the function if the key is the same and the ip address as input is the same. cryptopanlib.so does not produce the same results with the same key. Need to inspect. Probably an endianness problem (?)
The text was updated successfully, but these errors were encountered:
There's another change, which doesn't seem to be documented/explained anywhere, which is that the pad gets XORed with the address bits on each iteration:
By changing these two parts, and also changing the endianness of one value, I was able modify the program to match the reference output (and the other implementations).
pycryptopan as well as yacryptopan agree on the result of the function if the key is the same and the ip address as input is the same. cryptopanlib.so does not produce the same results with the same key. Need to inspect. Probably an endianness problem (?)
The text was updated successfully, but these errors were encountered: