qistoph / ArduinoAES256

Ilya's byte-oriented AES-256 implementation implemented for Arduino
62 stars 22 forks source link

encription/decription not consistant #3

Closed toonamo closed 5 years ago

toonamo commented 10 years ago

The library works great on a single processor. However if you encrypt the same string with the same keys, each processor (a duo and a pro mini), will generate a slightly different encrypted data array.

Is there something I am missing, or can do in order to "sync" the encription/ decription across multiple processors on a i2c bus?

qistoph commented 10 years ago

Both should generate the same results. You could try the AES test vectors to see which one is malfunctioning.

See Appendix C.3 in http://csrc.nist.gov/publications/fips/fips197/fips-197.pdf

qistoph commented 5 years ago

No reply. Closing