1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-16 04:29:08 +00:00
trezor-firmware/crypto
Pavol Rusnak 8f1d33d5f9 build(core,legacy): remove gcc, use cc instead of gcc
for firmware builds we still use arm-none-eabi-gcc via $(PREFIX)gcc

[no changelog]
2022-04-27 15:48:14 +02:00
..
aes
chacha20poly1305
ed25519-donna
fuzzer
gui
monero
tests
tools
.gitignore
.gitmodules
.gitrepo git subrepo pull crypto 2019-09-12 11:52:12 +02:00
address.c fix(crypto): refactor ethereum_address_checksum to prepend "0x" (#2029) 2022-01-12 21:00:54 +01:00
address.h
AUTHORS
base32.c
base32.h
base58.c
base58.h MONOREPO MERGE trezor-crypto 2019-04-15 19:14:52 +02:00
bignum.c
bignum.h
bip32.c
bip32.h
bip39_english.h
bip39.c
bip39.h
blake2_common.h
blake2b.c crypto: explicitly initialize variables 2019-10-09 17:05:33 +02:00
blake2b.h
blake2s.c crypto: explicitly initialize variables 2019-10-09 17:05:33 +02:00
blake2s.h
blake256.c
blake256.h
byte_order.h
cardano.c
cardano.h
cash_addr.c
cash_addr.h
chacha_drbg.c
chacha_drbg.h
check_mem.h MONOREPO MERGE trezor-crypto 2019-04-15 19:14:52 +02:00
CONTRIBUTORS
curves.c
curves.h
ecdsa.c
ecdsa.h
groestl_internal.h
groestl.c
groestl.h
hasher.c feat(crypto): Add TapSigHash to Hasher. 2021-11-18 22:39:32 +01:00
hasher.h
hmac_drbg.c
hmac_drbg.h
hmac.c
hmac.h
LICENSE
Makefile build(core,legacy): remove gcc, use cc instead of gcc 2022-04-27 15:48:14 +02:00
memzero.c
memzero.h MONOREPO MERGE trezor-crypto 2019-04-15 19:14:52 +02:00
nem.c
nem.h
nist256p1.c
nist256p1.h
nist256p1.table crypto/bignum: change limb size to 29, add tests 2020-05-24 14:36:38 +00:00
options.h
pbkdf2.c crypto: explicitly initialize variables 2019-10-09 17:05:33 +02:00
pbkdf2.h
rand.c
rand.h
rc4.c
rc4.h
README.md
rfc6979.c
rfc6979.h
ripemd160.c
ripemd160.h
script.c
script.h
secp256k1.c
secp256k1.h
secp256k1.table
segwit_addr.c
segwit_addr.h
setup.py
sha2.c
sha2.h
sha3.c feat(crypto): Sanitize undefined behavior. 2022-01-19 15:22:03 +01:00
sha3.h
shamir.c crypto: fix undefined behavior in shamir unbitslice (#1219) 2020-08-24 14:25:43 +02:00
shamir.h
slip39_wordlist.h
slip39.c
slip39.h fix(crypto): Improve naming and robustness of SLIP39's T9 mask lookup. 2020-12-15 13:41:42 +01:00
zkp_bip340.c
zkp_bip340.h
zkp_context.c
zkp_context.h
zkp_ecdsa.c
zkp_ecdsa.h

trezor-crypto

Build Status gitter

Heavily optimized cryptography algorithms for embedded devices.

These include:

  • AES/Rijndael encryption/decryption
  • Big Number (256 bit) Arithmetics
  • BIP32 Hierarchical Deterministic Wallets
  • BIP39 Mnemonic code
  • ECDSA signing/verifying (supports secp256k1 and nist256p1 curves, uses RFC6979 for deterministic signatures)
  • ECDSA public key derivation
  • BIP340 Schnorr signature signing/verifying
  • Base32 (RFC4648 and custom alphabets)
  • Base58 address representation
  • Ed25519 signing/verifying (also SHA3 and Keccak variants)
  • ECDH using secp256k1, nist256p1 and Curve25519
  • HMAC-SHA256 and HMAC-SHA512
  • PBKDF2
  • RIPEMD-160
  • SHA1
  • SHA2-256/SHA2-512
  • SHA3/Keccak
  • BLAKE2s/BLAKE2b
  • Chacha20-Poly1305
  • unit tests (using Check - check.sf.net; in test_check.c)
  • tests against OpenSSL (in test_openssl.c)
  • integrated Wycheproof tests

Distibuted under MIT License.

Some parts of the library come from external sources: