Commit Graph

15 Commits (f607cb25019f0bc18bae281ce294a52810fc5ec5)

Author SHA1 Message Date
Ondřej Vejpustek ea5886026f refactor(crypto,legacy): extend parameters of init_rfc6979 by curve
2 years ago
Andrew Kozlik 8baf1ca79f fix(crypto): Fix out of bounds read in ecdsa_sig_to_der().
2 years ago
Andrew Kozlik 4882648dad fix(crypto): Treat point at infinity as an invalid public key in ecdsa_recover_pub_from_sig().
2 years ago
Andrew Kozlik 34621a6b6d fix(crypto,core,legacy): Check private key validity when deriving public key.
3 years ago
Andrew Kozlik 5d03110a42 fix(crypto): Treat edge cases in ecdsa_sign_digest() same as ecdsa_verify_digest() does.
3 years ago
Ondřej Vejpustek 15bb085509 refactor(core,crypto): make public key derivation functions return
3 years ago
Andrew Kozlik 9f6d4ec538 chore(crypto): Implement DER signature parsing.
3 years ago
Andrew Kozlik fed59ec770 fix(crypto): In ecdsa_verify_digest() allow the digest to be equal to the order of the group.
4 years ago
Andrew Kozlik 7ae338bd87 chore(crypto): Improve comments and error handling in ecdsa_verify_digest().
4 years ago
Ondřej Vejpustek 76849f0bd6 crypto: make ecdsa_recover_pub_from_sig faster
4 years ago
Ondřej Vejpustek 24ceb0ab6b crypto/bignum: change limb size to 29, add tests
4 years ago
Ondřej Vejpustek fdad317d8c
crypto: explicitly initialize variables
5 years ago
Andrew Kozlik 1d9e125fd4 crypto/rfc6979: Use the new HMAC DRBG implementation in rfc6979.c. Remove code duplication between rfc6979.c and ecdsa.c.
5 years ago
Kurotych Anatolii 23bfb31ad2 crypto/ecdsa: add compress_coords (#42)
5 years ago
matejcik 4e0d813269 MONOREPO MERGE trezor-crypto
5 years ago