Frank Denis
|
2bc5874874
|
Check that the output of X25519 is not the all-zero value
Return -1 if this happens, and mark crypto_scalarmult() as warn_unused_result
Mark dependent functions with warn_unused_result as well
|
2015-11-17 11:07:33 +01:00 |
|
Frank Denis
|
6189eec330
|
Remove unused and shadowed global
|
2014-11-25 15:30:26 -08:00 |
|
Frank Denis
|
4f70e7c171
|
C++ compat
|
2014-11-20 11:35:32 -08:00 |
|
Frank Denis
|
d3e716aa49
|
curve25519-donna-c64: don't read an extra byte when expanding a 32-byte number into polynomial form
Reported by Michael Holmwood.
|
2014-11-20 11:22:24 -08:00 |
|
Frank Denis
|
82bc039d6c
|
Consistent syle for the tests.
|
2014-09-14 11:32:55 -07:00 |
|
Frank Denis
|
0e559b94d5
|
Make the tests a little bit more readable
|
2014-09-14 10:34:16 -07:00 |
|
Frank Denis
|
4d276a81e7
|
Include header files commonly used by the tests to cmptest.h
|
2014-09-13 14:11:12 -07:00 |
|
Frank Denis
|
3b680e0a52
|
Use high-level APIs in tests
|
2014-09-13 13:56:41 -07:00 |
|
Frank Denis
|
faa399c3df
|
Only include sodium.h in tests.
Tests should always be passing by just including that.
|
2013-04-21 17:32:04 -07:00 |
|
Frank Denis
|
5c946f9c61
|
Move tests to test/default and windows to quirks/windows.
test/default contains only tests using the default primitives
for a given operation. We need to add other tests as well.
|
2013-02-09 04:21:32 +08:00 |
|