Frank Denis
|
b062a555da
|
scalarmult: check that the top bit is ignored
|
2014-09-18 21:27:49 -07:00 |
|
Frank Denis
|
595e98a224
|
Check return code of crypto_generichash_init()
|
2014-09-16 21:41:33 -07:00 |
|
Frank Denis
|
31d842a432
|
Test for (secret)box_easy behavior with a huge input.
|
2014-09-16 21:20:05 -07:00 |
|
Frank Denis
|
877bf76716
|
crypto_(secret)box_easy: check SIZE_MAX overflow only where needed
|
2014-09-16 21:09:55 -07:00 |
|
Frank Denis
|
c54b05a1e5
|
lcov exclusion
|
2014-09-16 20:55:59 -07:00 |
|
Frank Denis
|
37580f4f52
|
More tests
|
2014-09-16 20:46:43 -07:00 |
|
Frank Denis
|
fbfbbdd349
|
Ensure that nothing explodes when calling crypto_generichash_blake2b_init_salt_personal with salt/personal == NULL
|
2014-09-16 20:09:33 -07:00 |
|
Frank Denis
|
51d9b223aa
|
Test crypto_box_(before|after)nm
|
2014-09-16 20:01:58 -07:00 |
|
Frank Denis
|
1cf170a90e
|
Test sodium_allocarray(), and sodium_malloc() with a huge size
|
2014-09-16 15:35:21 -07:00 |
|
Frank Denis
|
4993073501
|
Test chacha20 with a null output length
|
2014-09-16 15:25:54 -07:00 |
|
Frank Denis
|
6837c2d2c2
|
Include extra 0 in the key used for the hmacsha512 test
|
2014-09-16 15:25:38 -07:00 |
|
Frank Denis
|
fe4bbdc5ca
|
More crypto_pwhash() tests
|
2014-09-16 15:07:42 -07:00 |
|
Frank Denis
|
a721543b58
|
Test hmacsha512 with keys larger than the block size
|
2014-09-16 14:59:19 -07:00 |
|
Frank Denis
|
e333e55209
|
Increase generichash test coverage
|
2014-09-16 14:44:38 -07:00 |
|
Frank Denis
|
671ee78ce2
|
lcov exclusions
|
2014-09-16 10:52:42 -07:00 |
|
Frank Denis
|
7cf7f0a31c
|
More lcov exclusions.
poly1305 optimized implementations will come after 1.0.
|
2014-09-16 10:43:38 -07:00 |
|
Frank Denis
|
cee8af9b66
|
Test chacha20 with length == 0
|
2014-09-16 10:32:04 -07:00 |
|
Frank Denis
|
81aa4ef4a3
|
Check crypto_onetimeauth() streaming interface
|
2014-09-16 10:19:32 -07:00 |
|
Frank Denis
|
eacb7c7f2b
|
Ignore gcov files
|
2014-09-15 18:05:19 -07:00 |
|
Frank Denis
|
9177ebedf2
|
Merge branch 'master' of github.com:jedisct1/libsodium
* 'master' of github.com:jedisct1/libsodium:
Take blake2s off the tree until we actually use it
|
2014-09-15 17:45:58 -07:00 |
|
Frank Denis
|
136af03cc3
|
blake2b-ref: memcpy() -> memmove() for overlapping regions
|
2014-09-15 17:45:07 -07:00 |
|
Frank Denis
|
7d630186d9
|
Take blake2s off the tree until we actually use it
|
2014-09-15 11:33:07 -07:00 |
|
Frank Denis
|
d7edf5c34b
|
crypto_generichash_keybytes_min() cannot be 0, even if 0 is a valid key length
|
2014-09-15 10:26:29 -07:00 |
|
Frank Denis
|
f812967fb8
|
Coverage exclusion when relevant
|
2014-09-14 15:44:13 -07:00 |
|
Frank Denis
|
82c806ec07
|
Capitalize Android
|
2014-09-14 13:56:02 -07:00 |
|
Frank Denis
|
41ed891d56
|
Use -fstack-protector for all.
Might be replaced by -fstack-protector-strong later on.
|
2014-09-14 13:25:29 -07:00 |
|
Frank Denis
|
1217d30bae
|
More chacha20 tests
|
2014-09-14 13:09:15 -07:00 |
|
Frank Denis
|
2f7d98a73d
|
Fix format in auth5 test
|
2014-09-14 12:58:50 -07:00 |
|
Frank Denis
|
dc49ae0491
|
Add tests for invalid generichash parameters
|
2014-09-14 12:56:32 -07:00 |
|
Frank Denis
|
0ec5a25c88
|
More tests for randombytes
|
2014-09-14 12:43:53 -07:00 |
|
Frank Denis
|
c35aee3b94
|
Enable Coverity+Travis
|
2014-09-14 11:53:00 -07: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
|
f41bfa9b94
|
More tests for constants
|
2014-09-13 15:17:19 -07:00 |
|
Frank Denis
|
fcc2513967
|
More tests for constants
|
2014-09-13 15:12:23 -07:00 |
|
Frank Denis
|
d65c791e58
|
More tests for constants
|
2014-09-13 15:03:04 -07:00 |
|
Frank Denis
|
2645422a32
|
Test crypto_aead with a short ciphertext
|
2014-09-13 14:51:21 -07:00 |
|
Frank Denis
|
a92731a9f4
|
More tests for constants
|
2014-09-13 14:47:29 -07:00 |
|
Frank Denis
|
12a3f27706
|
More tests for constants
|
2014-09-13 14:37:04 -07:00 |
|
Frank Denis
|
2c1b507045
|
More constant tests
|
2014-09-13 14:29:59 -07:00 |
|
Frank Denis
|
ab37bd3e0b
|
Tests: no need for crypto_uint8
|
2014-09-13 14:15:55 -07:00 |
|
Frank Denis
|
b7b0436fb8
|
Test the presence of some extra functions
|
2014-09-13 14:12:40 -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
|
21a5e5accb
|
Let Travis check --enable-minimal builds
|
2014-09-13 13:24:41 -07:00 |
|
Frank Denis
|
7dde13e1b4
|
Sync Blake2s changes with Blake2b
Note: Blake2s code is not compiled yet
|
2014-09-13 13:14:56 -07:00 |
|
Frank Denis
|
a7d38ef15d
|
Check outlen in blake2b_final
Not required in Sodium since the check is already performed in
higher-level functions, but it doesn't hurt either.
|
2014-09-13 13:09:25 -07:00 |
|
Frank Denis
|
8994dc340f
|
Blake2 load/store functions must accept unaligned pointers even on LE
|
2014-09-13 12:59:11 -07:00 |
|
Frank Denis
|
59a207e4ff
|
__cpuidex() is not really required for now, just use __cpuid()
|
2014-09-13 12:22:53 -07:00 |
|
Frank Denis
|
a4264a221f
|
Disable MSVC deprecation warning just for _ftime()
|
2014-09-13 12:04:00 -07:00 |
|