Refactor initialization in curve25519_basepoint_spot_check
commita52d5d530956d2b2acf28400d1635b2fd1320f96
authorNick Mathewson <nickm@torproject.org>
Sun, 9 Sep 2018 14:15:44 +0000 (9 10:15 -0400)
committerNick Mathewson <nickm@torproject.org>
Sun, 9 Sep 2018 14:21:13 +0000 (9 10:21 -0400)
tree691c47e505a5709db98b719c9e3c7bef70844e7c
parent776c1a5d1a39e5fd9ba3313730c47b10f25e4d24
Refactor initialization in curve25519_basepoint_spot_check

This is an attempt to work around what I think may be a bug in
OSS-Fuzz, which thinks that uninitialized data might be passed to
the curve25519 functions.
src/lib/crypt_ops/crypto_curve25519.c