Commit Graph

226 Commits (ui-t3t1)

Author SHA1 Message Date
Ondřej Vejpustek db3b7563b2 fix(crypto): imporve handling of return value
4 weeks ago
Ondřej Vejpustek 057b927e99 refactor(crypto): explicitly ignore return value
4 weeks ago
Ondřej Vejpustek 80029823be refactor(crypto): remove unnecessary if
4 weeks ago
Pavol Rusnak caa3c035e7 build(deps): drop curve25519-donna and ed25519 from deps
4 weeks ago
Andrew Kozlik 1e53a84cfc chore(crypto): Zero-initialize stack variables in AES code.
1 month ago
Andrew Kozlik f1b5617652 test(crypto): Add AES-GCM tests.
1 month ago
Andrew Kozlik a3adf98e47 feat(crypto): Integrate AES GCM into trezor-crypto.
1 month ago
Andrew Kozlik 6e207215e3 feat(crypto): Add Brian Gladman's implementation of GCM.
1 month ago
matejcik ff26113083 fix(crypto): add missing header for size_t
3 months ago
Andrew Kozlik 8de2d8989d feat(core/prodtest): Check device certificate chain integrity using authority key identifier.
5 months ago
Andrew Kozlik cbea765e38 feat(core/prodtest): Verify device certificate chain in CERTDEV WRITE.
5 months ago
Andrew Kozlik 41c305f6cd feat(crypto): Use entire DER encoding in DER_ITEM.
5 months ago
Andrew Kozlik 8e8f1afa85 feat(crypto): Use strict DER-decoding in ecdsa_sig_from_der().
5 months ago
Andrew Kozlik f4b1b8a76a test(crypto): Test DER encoding.
6 months ago
Andrew Kozlik d670a0bdfa feat(core): Fix malformed signatures from Optiga.
6 months ago
Andrew Kozlik 388e925de8 feat(crypto): Add basic DER decoding functions.
6 months ago
Andrew Kozlik dee559f4f9 feat(core): Integrate Optiga into PIN verification.
8 months ago
Ondřej Vejpustek 4ecd4cc323 feat(crypto): implement hashing to curve
8 months ago
Ondřej Vejpustek 72acf9d285 fix(crypto): fix assertion
8 months ago
Ondřej Vejpustek 4a686d9231 feat(crypto): introduce bn_read_be_512
8 months ago
Ondřej Vejpustek 93bb4c2e35 feat(crypto): introduce bn_reduce and bn_copy_lower
8 months ago
Ondřej Vejpustek 2b00c72094 refactor(crypto): introduce bignum512
8 months ago
Ondřej Vejpustek 3a2bdf16dd feat(crypto): implement Legendre symbol
8 months ago
Ondřej Vejpustek 5a9d399012 test(crypto): use P-256 prime in test_bignum.py
8 months ago
Andrew Kozlik 2b97a5bac0 test(crypto): Add SHA-384 test vectors.
9 months ago
Andrew Kozlik 91ef616b56 feat(crypto): Implement sha384_Raw().
9 months ago
Andrew Kozlik b8adcf35fe test(crypto): Add test vectors for TLS PRF with SHA-256.
9 months ago
Andrew Kozlik 9949f0d88a feat(crypto): Implement TLS PRF with SHA-256.
9 months ago
Andrew Kozlik f540bab5b8 test(crypto): Add AES-CCM test vectors.
9 months ago
Andrew Kozlik 4accf76954 feat(crypto): Implement AES-CCM.
9 months ago
Andrew Kozlik c3f6e8f19f feat(crypto): Support is_canonical parameter in zkp_ecdsa_sign_digest().
11 months ago
Andrew Kozlik 21f4aec8de refactor: Unify secp256k1_zkp usage.
11 months ago
grdddj 8ee4c41938 chore(crypto): refactor slip39 same way as bip39
1 year ago
Martin Milata 56491a0530 test(crypto): use newer OpenSSL API
1 year ago
Ondrej Mikle 4d0381055c fix(crypto): adapt to changing insecure PRNG to be opt-in
1 year ago
Ondrej Mikle a5f7c19f7e fix(core/bootloader): do not use insecure LCG PRNG. Change insecure PRNG to be opt-in, not opt-out
1 year ago
Christian Reitter e2416bcec2 feat(crypto): improve return code handling, clean up the code and extend documentation
1 year ago
Andrew Kozlik d815a7d6de chore(core): Use C implementation of Bech32 decode.
2 years ago
Christian Reitter cd32a4f50e feat(crypto): correct formatting
2 years ago
Christian Reitter 31eb8e276b feat(crypto): fix issues flagged by GCC
2 years ago
Christian Reitter 6fa1b7131b feat(crypto): avoid memory resource leaks, remove unused variables and dead stores
2 years ago
Christian Reitter d2737308c4 feat(crypto): remove -Wstrict-prototypes issues in zkp_context.c
2 years ago
Christian Reitter 61d93d0539 feat(crypto): avoid memory resource leaks, optimize error path
2 years ago
Christian Reitter f1870102d2 feat(crypto): add targets and improve trezor-crypto fuzzer
2 years ago
Christian Reitter 5fe7d50232 feat(crypto): use macro for check pattern
2 years ago
Christian Reitter d069b2955e feat(crypto): improve trezor-crypto fuzzer
2 years ago
Christian Reitter b56e848eaa feat(crypto): mark uninteresting fuzzer inputs
2 years ago
Christian Reitter e8d24290ad feat(crypto): add fuzzing targets and improve documentation
2 years ago
Christian Reitter 1b04c801de feat(crypto): improve trezor-crypto fuzzer
2 years ago
Dusan Klinec 90771ebb59 fix(xmr): fix tx sending to an integrated address
2 years ago