boringssl/crypto/curve25519
David Benjamin 08791e6756 Appease sanitizers in x25519_ge_scalarmult.
Although exactly one iteration of cmov_cached will always initialize selected,
it ends up messing with uninitialized memory. Initialize |selected| before the
loop.

BUG=593540

Change-Id: I5921843f68c6dd1dc7f752538825bc43ba75df4a
Reviewed-on: https://boringssl-review.googlesource.com/7415
Reviewed-by: Arnar Birgisson <arnarb@google.com>
Reviewed-by: David Benjamin <davidben@google.com>
2016-03-10 19:08:42 +00:00
..
asm Add #ifdef guards to crypto/curve25519 assembly files. 2016-02-02 16:03:33 +00:00
CMakeLists.txt Add SPAKE2 over Ed25519. 2016-03-01 19:34:10 +00:00
curve25519.c Appease sanitizers in x25519_ge_scalarmult. 2016-03-10 19:08:42 +00:00
ed25519_test.cc Enable Ed25519 when building with OPENSSL_SMALL. 2015-12-18 23:15:33 +00:00
ed25519_tests.txt Add X25519 and Ed25519 support. 2015-11-17 21:56:12 +00:00
internal.h Add SPAKE2 over Ed25519. 2016-03-01 19:34:10 +00:00
spake25519_test.cc Add SPAKE2 over Ed25519. 2016-03-01 19:34:10 +00:00
spake25519.c Add SPAKE2 over Ed25519. 2016-03-01 19:34:10 +00:00
x25519_test.cc Update draft-irtf-cfrg-curves-11 references to RFC 7748. 2016-01-28 00:53:26 +00:00
x25519-x86_64.c Add x86-64 assembly for X25519. 2015-12-22 16:22:38 +00:00