You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
session-android/libaxolotl/jni
Moxie Marlinspike e7b6a852c5 Fix bug caused by 1mod8 compatibility issue.
In the switch from v3, we bind identities in the message MAC
instead of doing the 1mod8 trick.  Since identity keys were
never set as 1mod8, it seemed like we could just remove it.

However, PreKeys are durable.  If an old client upgrades to v3,
it has a bunch of keys that *were* set to 1mod8 floating around.
The Curve25519 donna code re-sets the private key bits on every
operation, which results in a different key, and breaks the output
of an agreement.

So now we don't intentionally generate keys with 1mod8, but we
have to remove the donna code to honor existing 1mod8 keys for
the rest of time.  Trevor is squarely to blame.

// FREEBIE
10 years ago
..
ed25519 Update ed25519 extract and tests 10 years ago
Android.mk Update ed25519 extract and tests 10 years ago
Application.mk MIPS NDK support. Apparently there are mips devices... 10 years ago
curve25519-donna.c Fix bug caused by 1mod8 compatibility issue. 10 years ago
curve25519-donna.h Break core ratchet out into libaxolotol. 10 years ago
curve25519-jni.c Update ed25519 extract and tests 10 years ago