1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-02 20:48:30 +00:00
Commit Graph

37 Commits

Author SHA1 Message Date
Dusan Klinec
13f51319d8 updates to the monero branch 2018-09-03 16:22:35 +02:00
Dusan Klinec
4aea73e4bb xmr: monero crypto implemented, tests 2018-09-03 16:22:35 +02:00
Dusan Klinec
b9edb3b976 ed25519: ROTR, ROTL removed from header file
- redundant, not used in trezor-crypto
- clashes with another ROTR from poly1305 header files if included together
2018-08-22 13:25:14 +02:00
Dusan Klinec
f1eca08383 ed25519: scalarmult fixes
- operation result parameter can be the same as operation input parameter
- operation returns full extended Edwards point
2018-08-21 18:40:40 +02:00
Dusan Klinec
72da171f28 ed25519: double scalarmult fix
- return fully valid ed point
2018-08-21 18:27:47 +02:00
Pavol Rusnak
456037599f
hasher: add HASHER_SHA3{,K} 2018-07-31 14:20:18 +02:00
Ondřej Vejpustek
8318ac35fc fix ed25519-donna signature malleability 2018-07-16 14:27:18 +02:00
Pavol Rusnak
1730601d30
refactor mnemonic_check and mnemonic_to_entropy, style changes 2018-07-10 20:04:41 +02:00
jmuravsky
18b109e2bd Add Cardano currency support 2018-07-10 19:09:21 +02:00
Jochen Hoenicke
f586155d80 Fix unaligned access in curve25519
Use only the safe conversion from uint8_t to uint32_t.
Actually, the ARM gcc-compiler is good enough to detect this pattern.
2018-06-22 09:44:59 +02:00
Dusan Klinec
10788a82a1 ed25519: aA + bB double scalarmult added
- required for monero
2018-05-18 19:08:21 +02:00
Dusan Klinec
60805d0001 ed25519-donna/modm: sub more effective
- using trick: https://www.imperialviolet.org/2010/12/04/ecc.html
2018-04-30 23:55:11 +01:00
Dusan Klinec
6a20ba5586 ed25519-donna/modm: neg, sub added 2018-04-30 23:55:11 +01:00
Dusan Klinec
5708a7257f ed25519-donna/modm: comment typo fix 2018-04-30 23:55:11 +01: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
5331935626 ed25519-donna: Remove duplicate basepoint tables 2017-06-25 12:14:35 +02:00
Saleem Rashid
a7947fec9b
ed25519-donna: Add ed25519-keccak 2017-06-05 16:34:51 +02:00
Saleem Rashid
e808d405a1
ed25519-donna: Add ed25519-sha3 2017-06-05 16:34:15 +02:00
Saleem Rashid
36e8ef48f1
ed25519-donna: Add ED25519_SUFFIX 2017-06-05 16:33:40 +02:00
Pavol Rusnak
3d04064384
don't skip const if not using gcc 2017-04-02 02:54:46 +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
c200ce121a
introduce ED25519_NO_PRECOMP flag to optimize ed25519 verify size 2017-03-29 00:18:56 +02:00
Pavol Rusnak
fdf1b6dc6d
remove duplicite curve25519 scalarmult implementations 2017-03-28 23:05:59 +02:00
Pavol Rusnak
1d232a6f86
whitespace cleanup 2017-03-28 22:52:02 +02:00
Pavol Rusnak
b1bee409e7
ed22519: remove more unused stuff, don't inline 2017-03-28 20:26:43 +02:00
Pavol Rusnak
4669c3db4c
more merging of curve25519 into ed25519 2017-03-28 19:48:36 +02:00
Pavol Rusnak
8cc6539d2d
remove unused functions 2017-03-28 19:20:40 +02:00
Pavol Rusnak
092d8e7bf1
merge curve25519 into ed25519, code reuse 2017-03-28 18:53:09 +02:00
Pavol Rusnak
397a13f654
simplify ed25519 code 2017-03-28 18:32:58 +02:00
Pavol Rusnak
cb471ba2ec
upgrade ed25519 to forthy42 fork 2017-03-28 18:01:42 +02:00
Pavol Rusnak
b8ec5567ba
undef align for ed25519-donna 2016-04-29 17:50:20 +02:00
Pavol Rusnak
ed6debf8c4
reorder parameters of hash_final methods 2016-04-26 11:50:04 +02:00
Jochen Hoenicke
55edf71e27
ed25519 support 2016-04-22 18:21:58 +02:00