mgorlick / CRESTaceans

Experiments and documentation for building CREST infrastructure. This material is based upon work supported by the National Science Foundation under Grant No. 0820222.
http://www.isr.uci.edu/projects/crest/
5 stars 2 forks source link

pointer math in decryption #14

Open kstrasser opened 13 years ago

kstrasser commented 13 years ago

the binding to crypto_box_afternm performs some pointer math rather than taking a subbytes; the math is invalid for messages of some length (nondeterministically) resulting in garbled message.

kstrasser commented 13 years ago

there were two distinct errors happening and b47987656e8d0d0b7310 solved the compression error but not the encryption error. more fixes pending.