Commit Graph

246 Commits (b9a104d2ac9bda6b2a14303c2074489a2dde2c80)

Author SHA1 Message Date
Ondřej Vejpustek c8b811bac5 refacor(crypto): refactor hdnode_public_ckd
1 month ago
Ondřej Vejpustek dd6d48aff3 refactor(crypt): remove unused function
1 month ago
Ondřej Vejpustek a12a81a321 feat(crypto): introduce ecdsa_tweak_public_key
1 month ago
Ondřej Vejpustek a5fd5e179f refactor(crypto): use goto cleanup
1 month ago
Ondřej Vejpustek 3994c654e9 refactor(crypto): extract get_public_key_length
1 month ago
Ondřej Vejpustek d00002ee69 refactor(crypto): use secp256k1 submodule in bip32
1 month ago
Ondřej Vejpustek 54eef8d886 refactor(crypto,core,lagacy): use secp256k1 submodule for ECDH
1 month ago
Ondřej Vejpustek df2545b78e chore(crypto,core,legacy): reduce size of precomputed table used by secp256k1 submodule
1 month ago
Ondřej Vejpustek 20453f6c99 chore(crypto): do not use precomputed tables by native implementation of ECC
1 month ago
Ondřej Vejpustek eef4319cda chore(crypto,legacy,core): add comments about prefixes
1 month ago
Ondřej Vejpustek 3da9c6bbb9 fix(crypto): forbid public key derivation for curve25519, ed25519 and
1 month ago
Ondřej Vejpustek 59a005bf99 refactor(crypto): change ed25519 and curve25519 public key prefix
1 month ago
Ondřej Vejpustek ba1a680bac tests(crypto): add bip32 curve25519 tests
1 month ago
Ondřej Vejpustek 865ca5f0a9 fix(crypto): fix fingerprints for curve25519 and ed25519
1 month ago
Ondřej Vejpustek 5912c1e820 refactor(crypto): use boolean to indicate public key is set
1 month ago
Andrew Kozlik 13de099bc1 refactor(core): Improve parameter naming in ed25519_sign_ext().
2 months ago
Ondřej Vejpustek bfbb6f8685 chore(crypto): initialize automatic variables to zero
5 months ago
Ondřej Vejpustek 18f7820d47 style: fix style according to new clang
5 months ago
Ondřej Vejpustek 68114fa43d test(crypto): add elligator2 tests
5 months ago
Ondřej Vejpustek 88a9574e57 feat(crypto): implement elligator2
5 months ago
Ondřej Vejpustek db3b7563b2 fix(crypto): imporve handling of return value
5 months ago
Ondřej Vejpustek 057b927e99 refactor(crypto): explicitly ignore return value
5 months ago
Ondřej Vejpustek 80029823be refactor(crypto): remove unnecessary if
5 months ago
Pavol Rusnak caa3c035e7 build(deps): drop curve25519-donna and ed25519 from deps
5 months ago
Andrew Kozlik 1e53a84cfc chore(crypto): Zero-initialize stack variables in AES code.
6 months ago
Andrew Kozlik f1b5617652 test(crypto): Add AES-GCM tests.
6 months ago
Andrew Kozlik a3adf98e47 feat(crypto): Integrate AES GCM into trezor-crypto.
6 months ago
Andrew Kozlik 6e207215e3 feat(crypto): Add Brian Gladman's implementation of GCM.
6 months ago
matejcik ff26113083 fix(crypto): add missing header for size_t
8 months ago
Andrew Kozlik 8de2d8989d feat(core/prodtest): Check device certificate chain integrity using authority key identifier.
10 months ago
Andrew Kozlik cbea765e38 feat(core/prodtest): Verify device certificate chain in CERTDEV WRITE.
10 months ago
Andrew Kozlik 41c305f6cd feat(crypto): Use entire DER encoding in DER_ITEM.
10 months ago
Andrew Kozlik 8e8f1afa85 feat(crypto): Use strict DER-decoding in ecdsa_sig_from_der().
10 months ago
Andrew Kozlik f4b1b8a76a test(crypto): Test DER encoding.
10 months ago
Andrew Kozlik d670a0bdfa feat(core): Fix malformed signatures from Optiga.
10 months ago
Andrew Kozlik 388e925de8 feat(crypto): Add basic DER decoding functions.
10 months ago
Andrew Kozlik dee559f4f9 feat(core): Integrate Optiga into PIN verification.
1 year ago
Ondřej Vejpustek 4ecd4cc323 feat(crypto): implement hashing to curve
1 year ago
Ondřej Vejpustek 72acf9d285 fix(crypto): fix assertion
1 year ago
Ondřej Vejpustek 4a686d9231 feat(crypto): introduce bn_read_be_512
1 year ago
Ondřej Vejpustek 93bb4c2e35 feat(crypto): introduce bn_reduce and bn_copy_lower
1 year ago
Ondřej Vejpustek 2b00c72094 refactor(crypto): introduce bignum512
1 year ago
Ondřej Vejpustek 3a2bdf16dd feat(crypto): implement Legendre symbol
1 year ago
Ondřej Vejpustek 5a9d399012 test(crypto): use P-256 prime in test_bignum.py
1 year ago
Andrew Kozlik 2b97a5bac0 test(crypto): Add SHA-384 test vectors.
1 year ago
Andrew Kozlik 91ef616b56 feat(crypto): Implement sha384_Raw().
1 year ago
Andrew Kozlik b8adcf35fe test(crypto): Add test vectors for TLS PRF with SHA-256.
1 year ago
Andrew Kozlik 9949f0d88a feat(crypto): Implement TLS PRF with SHA-256.
1 year ago
Andrew Kozlik f540bab5b8 test(crypto): Add AES-CCM test vectors.
1 year ago
Andrew Kozlik 4accf76954 feat(crypto): Implement AES-CCM.
1 year ago