1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-18 13:38:12 +00:00
Commit Graph

490 Commits

Author SHA1 Message Date
Saleem Rashid
2edd17ab54 base32: Handle when char is unsigned 2017-06-05 12:32:48 +02:00
Saleem Rashid
0afb53fba2 base32: Return char* from base32_encode 2017-06-05 12:32:48 +02:00
Saleem Rashid
0912c4d215 base32: Add base32_decode family of functions 2017-06-05 12:32:48 +02:00
Saleem Rashid
c4db240e70 base32: Add base32_decoded_length 2017-06-05 12:32:48 +02:00
Saleem Rashid
b26a44a205 base32: Optimize base32_encode_character 2017-06-05 12:32:48 +02:00
Saleem Rashid
1df57c3de2 tests: Add test_base32_rfc4648 2017-06-05 12:32:48 +02:00
Saleem Rashid
5ae3f57255 base32: Add to Makefile & CMakeLists.txt 2017-06-05 12:32:48 +02:00
Saleem Rashid
b258e7f924 base32: Add base32_encode & base32_encoded_length 2017-06-05 12:32:48 +02:00
Saleem Rashid
6b7553e2f2 base32: Add base32_encode_unsafe 2017-06-05 12:32:48 +02:00
Saleem Rashid
afdcb37f82 base32: Initial commit 2017-06-05 12:32:48 +02:00
Saleem Rashid
3d6c726bc4 test_check: Move UNMARK_SECRET_DATA in test_ed25519_cosi 2017-06-05 12:16:54 +02:00
Saleem Rashid
5f7d34a506 test_check: Document UNMARK_SECRET_DATA further 2017-06-05 12:16:54 +02:00
Saleem Rashid
9da2e2440a test_check: Add MARK_SECRET_DATA to test_ed25519{,_cosi} 2017-06-05 12:16:54 +02:00
Pavol Rusnak
edb31b89a8
remove test_{sign,verify}_speed from tests.c, rename tests to test_check.c, rework test_speed 2017-06-04 00:35:19 +02:00
Saleem Rashid
27c7474856 tests: Split curve tests into individual tests 2017-06-03 23:39:36 +02:00
Saleem Rashid
50301f22ec tests: Skip speed tests when running on Valgrind 2017-06-03 23:39:36 +02:00
Saleem Rashid
d5b148ad5f travis.yml: Add Valgrind 2017-06-03 23:39:36 +02:00
Saleem Rashid
7f07896c9b tests: Add {UN,}MARK_SECRET_DATA macros 2017-06-03 23:39:36 +02:00
Saleem Rashid
f029bd876e check_mem: Fix Check 0.11 2017-06-03 23:39:36 +02:00
Pavol Rusnak
af01ef71fc
bignum: add bn_format 2017-05-17 17:49:35 +02:00
Pavol Rusnak
1ae459912f
fix chacha20poly1305 issues 2017-05-11 13:27:59 +02:00
Pavol Rusnak
d6d7919c87
add chacha20poly1305 2017-05-11 13:27:34 +02:00
Pavol Rusnak
f6195d8aec
update CMakeLists.txt as well 2017-05-08 17:53:48 +02:00
Pavol Rusnak
ea227fd805
update readme for sources 2017-05-08 17:15:54 +02:00
Pavol Rusnak
2ae032adbb
update AES code from Github 2017-05-08 17:08:48 +02:00
Pavol Rusnak
ca3423efc3
move aes stuff to aes/ subdirectory 2017-05-08 16:46:53 +02:00
Pavol Rusnak
671dad42df
whitespace in bip32.[ch], formatting in readme 2017-05-08 15:27:20 +02:00
Karel Bilek
777056a3a0 Moving emscripten into a separate job 2017-05-04 14:49:33 +02:00
Karel Bilek
8b47323c05 Changing this to self in emscripten post 2017-05-04 14:49:33 +02:00
Pavol Rusnak
fa82ba6d3f
fix xpubaddrgen 2017-04-21 13:53:10 +02:00
Pavol Rusnak
cfde8ec233
use pkg-config for build of tests 2017-04-21 13:44:10 +02:00
Peter Banik
aaf45d704e
introduce version attributes to hdnode_serialize_public/private and hdnode_deserialize functions 2017-04-21 13:42:58 +02:00
Peter Banik
dc1939bae9 Fix for subunit tests on Ubuntu > 16.04 (#88)
https://github.com/libcheck/check/issues/60
2017-04-21 13:12:45 +02:00
Pavol Rusnak
20e8f9c5f6
travis: add gcc/clang build 2017-04-20 20:45:53 +02:00
Pavol Rusnak
242b415453
travis: add webhooks 2017-04-11 17:16:30 +02:00
Pavol Rusnak
4dba3ca38a
cleanup 2017-04-11 17:12:30 +02:00
Karel Bilek
078b387399 Build trezor-crypto 2017-04-11 16:59:29 +02:00
Karel Bilek
d01aa69c26 Read segwit from input 2017-04-11 16:59:29 +02:00
Karel Bilek
0094706e0e Adding segwit test vector 2017-04-11 16:59:29 +02:00
Karel Bilek
6089167f65 Fixing C test of optimized bip32 2017-04-11 16:59:29 +02:00
Karel Bilek
08545a15e7 Experiment - generating segwit addresses 2017-04-11 16:59:29 +02:00
Karel Bilek
81c61ba5a4 Adding emscripten tests 2017-04-11 16:59:29 +02:00
Pavol Rusnak
e15a7bc986
add extra test for rfc6979 from the paper 2017-04-03 21:19:19 +02:00
Pavol Rusnak
a820a5601b
split rfc6979 from ecdsa into separate module 2017-04-03 20:58:53 +02:00
Pavol Rusnak
3d04064384
don't skip const if not using gcc 2017-04-02 02:54:46 +02:00
Pavol Rusnak
a8aacac6be
ecdsa: rand -> rnd 2017-04-02 02:52:50 +02:00
Pavol Rusnak
900f4b0756
build: don't use const for ed25519/cosi if gcc<5 2017-04-02 02:51:09 +02:00
Pavol Rusnak
b666039f66
ed25519_cosi: small changes to code style 2017-04-02 01:28:18 +02:00
Jochen Hoenicke
d3d88591d0 Added co-signing for ed25519. 2017-04-02 01:18:03 +02:00
Pavol Rusnak
12af9b262b
build: switch to gcc-5 (in travis) 2017-04-02 01:13:50 +02:00