Jochen Hoenicke
9dfc6a4477
introduce confidential macro, mark confidential items
2017-08-16 13:38:49 +02:00
Saleem Rashid
e223861848
Makefile: Add aes/aestst to default goal
2017-08-15 12:42:14 +02:00
Saleem Rashid
c7be1c4694
gitignore: Add aestst
2017-08-15 11:15:18 +02:00
Saleem Rashid
8503bec352
Makefile: Remove obsolete comment
2017-08-14 14:39:47 +02:00
Saleem Rashid
5f6c49aebc
Travis CI: Run aestst
2017-08-14 14:39:47 +02:00
Saleem Rashid
2b25724f13
aestst: Allow compilation with stricter warnings
2017-08-14 14:39:47 +02:00
Saleem Rashid
ae126e5ae8
aestst: Remove #if defined(STATIC_TABLES)
...
This looks like an upstream bug because aes_init() is a no-op when
STATIC_TABLES is defined.
2017-08-14 14:39:47 +02:00
Saleem Rashid
90d84ea173
test_check: Add RC4 tests
2017-08-14 00:11:48 +02:00
Saleem Rashid
cb30b58055
rc4: Initial commit
2017-08-14 00:11:43 +02:00
Saleem Rashid
cc3ab71197
CMakeLists: Copy SOURCES from Makefile
2017-08-14 00:08:48 +02:00
Saleem Rashid
3983f330cf
ed25519-donna: Remove duplicate static code
2017-08-14 00:08:48 +02:00
Saleem Rashid
1caade58b3
ed25519-donna: Add ed25519_scalarmult
2017-08-14 00:08:48 +02:00
Saleem Rashid
6e51be6fe2
Add ge25519_scalarmult to ed25519-donna
...
This reverts commit b1bee409e7
.
2017-08-14 00:08:48 +02:00
Saleem Rashid
b472f64c61
aes: Add aestst
...
Removed all the Windows and C++ specific parts. Fixed bug when
-DAES_N_BLOCK (changed length from 1 to AES_BLOCK_SIZE) and use new
name aes_init instead of gen_tabs when -DSTATIC_TABLES
2017-08-14 00:08:28 +02:00
Saleem Rashid
f9ab9f828b
aes: Fix sequence point warning
2017-08-14 00:08:28 +02:00
Pavol Rusnak
ea30ebe393
cleanup context in ripemd160/sha3
2017-08-10 15:49:28 +02:00
Saleem Rashid
6580044196
test_check: Clean up test_bignum tests
...
This also tests zero
2017-07-27 21:20:43 +02:00
Saleem Rashid
85cb0b4f2c
bignum: Fix bn_digitcount
...
bn_digitcount used to use bn_bitcount. This would give the maximum
digits, which would often be higher than the actual number. This would
result in leading zeroes in bn_format.
2017-07-27 21:20:43 +02:00
Saleem Rashid
43ea1392f2
bignum: rename bn_maxdigitcount to bn_digitcount
...
This reverts commit 5dbdf18b6c
.
2017-07-27 21:20:43 +02:00
Pavol Rusnak
5e1a3ad6e0
tests: add more tests for bn_format{,_uint64}
2017-07-27 19:57:04 +02:00
Pavol Rusnak
ea7e1b860d
test: reorder function in source
2017-07-27 19:28:00 +02:00
Pavol Rusnak
5dbdf18b6c
bignum: rename bn_digitcount to bn_maxdigitcount (can return value one higher than the real result)
2017-07-27 19:21:56 +02:00
Pavol Rusnak
fd78df0e57
test: add more tests for bitcount and digitcount
2017-07-27 18:43:26 +02:00
Saleem Rashid
66993f9e92
bignum: Add bn_format_uint64
2017-07-27 17:55:33 +02:00
Saleem Rashid
da586bb37a
test_check: Add more bn_format tests
2017-07-27 17:55:33 +02:00
Saleem Rashid
88527dde7a
bignum: Add exponent and trailing to bn_format
2017-07-27 17:55:33 +02:00
Saleem Rashid
22ebd62b85
test_check: Update bn_format tests
2017-07-27 17:55:33 +02:00
Saleem Rashid
558bc429ec
bignum: Add bn_digitcount
2017-07-27 17:55:33 +02:00
Saleem Rashid
dfdb4d2d76
bip32: Fix NULL dereference for EdDSA
2017-07-25 18:33:57 +02:00
Pavol Rusnak
af06a997cb
refactor ecdsa_get_address_segwit_p2sh{,_raw}
2017-07-25 17:59:26 +02:00
Pavol Rusnak
0f471bfd61
gitignore: add attic+vscode
2017-07-25 00:14:35 +02:00
Pavol Rusnak
8d0852403c
move emscripten build to separate repository (hd-wallet/fastxpub)
2017-07-24 23:43:30 +02:00
Pavol Rusnak
c950342063
refactor hdnode_public_ckd_address_optimized
2017-07-24 22:57:20 +02:00
Pavol Rusnak
cfe8f39cd4
include options.h in address.h
2017-07-11 21:34:47 +02:00
Pavol Rusnak
f49fe75e15
fix ethereum_address_checksum implementation
2017-07-11 21:17:22 +02:00
Pavol Rusnak
ce81cc61df
add ethereum_address_checksum
2017-07-11 19:24:45 +02:00
Saleem Rashid
5331935626
ed25519-donna: Remove duplicate basepoint tables
2017-06-25 12:14:35 +02:00
Pavol Rusnak
4ad30592af
update travis notification url
2017-06-12 14:41:24 +02:00
Saleem Rashid
ba206056e7
README: Add Base32 custom alphabet support
2017-06-08 22:00:32 +02:00
Saleem Rashid
3806c6fcd3
test_check: Add Base32 lowercase RFC4648 tests
2017-06-08 22:00:32 +02:00
Saleem Rashid
a07a89a421
GCC 7.1.1 -Wimplicit-fallthrough comments
...
Use //-fallthrough rather than __attribute__((fallthrough))
2017-06-08 22:00:32 +02:00
Pavol Rusnak
e92f5ad907
add more info to readme
2017-06-05 17:04:11 +02:00
Pavol Rusnak
4e3ae3d69b
test_openssl: test for NIST curve too
2017-06-05 17:02:21 +02:00
Saleem Rashid
d4b5e64ba2
test_check: Add MARK_SECRET_DATA to test_ed25519_keccak
2017-06-05 16:34:52 +02:00
Saleem Rashid
d1f97d07f8
nem_test_vectors: Handle empty header column
2017-06-05 16:34:52 +02:00
Saleem Rashid
ce25dcc9fc
tests: Import NEM test vectors for ed25519_keccak
2017-06-05 16:34:52 +02:00
Saleem Rashid
dc397ff0ed
tests: Import NEM test vectors for keccak_256
2017-06-05 16:34:52 +02:00
Saleem Rashid
7fb886440e
nem_test_vectors: Initial commit
2017-06-05 16:34:52 +02:00
Saleem Rashid
accae3e7d1
bip32: Add ed25519-sha3 & ed25519-keccak
2017-06-05 16:34:52 +02:00
Saleem Rashid
4cb090169c
curves: Add ed25519-sha3 & ed25519-keccak
2017-06-05 16:34:51 +02:00