1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-22 15:38:11 +00:00

drop embed/extmod/modtrezorcrypto/trezor-crypto symlink

This commit is contained in:
Pavol Rusnak 2017-12-12 20:31:03 +01:00
parent 816bfe387f
commit 7b9fcf98ae
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D
24 changed files with 82 additions and 83 deletions

View File

@ -10,9 +10,9 @@ SOURCE_MOD = []
# modtrezorcrypto # modtrezorcrypto
CCFLAGS_MOD += '-Wno-sequence-point ' CCFLAGS_MOD += '-Wno-sequence-point '
CPPPATH_MOD += [ CPPPATH_MOD += [
'embed/extmod/modtrezorcrypto/trezor-crypto', 'vendor/trezor-crypto',
'embed/extmod/modtrezorcrypto/trezor-crypto/aes', 'vendor/trezor-crypto/aes',
'embed/extmod/modtrezorcrypto/trezor-crypto/ed25519-donna', 'vendor/trezor-crypto/ed25519-donna',
] ]
CPPDEFINES_MOD += [ CPPDEFINES_MOD += [
'AES_128', 'AES_128',
@ -21,9 +21,9 @@ CPPDEFINES_MOD += [
'ED25519_NO_PRECOMP', 'ED25519_NO_PRECOMP',
] ]
SOURCE_MOD += [ SOURCE_MOD += [
'embed/extmod/modtrezorcrypto/trezor-crypto/blake2s.c', 'vendor/trezor-crypto/blake2s.c',
'embed/extmod/modtrezorcrypto/trezor-crypto/ed25519-donna/ed25519.c', 'vendor/trezor-crypto/ed25519-donna/ed25519.c',
'embed/extmod/modtrezorcrypto/trezor-crypto/sha2.c', 'vendor/trezor-crypto/sha2.c',
] ]
# modtrezorui # modtrezorui

View File

@ -10,9 +10,9 @@ SOURCE_MOD = []
# modtrezorcrypto # modtrezorcrypto
CCFLAGS_MOD += '-Wno-sequence-point ' CCFLAGS_MOD += '-Wno-sequence-point '
CPPPATH_MOD += [ CPPPATH_MOD += [
'embed/extmod/modtrezorcrypto/trezor-crypto', 'vendor/trezor-crypto',
'embed/extmod/modtrezorcrypto/trezor-crypto/aes', 'vendor/trezor-crypto/aes',
'embed/extmod/modtrezorcrypto/trezor-crypto/ed25519-donna', 'vendor/trezor-crypto/ed25519-donna',
] ]
CPPDEFINES_MOD += [ CPPDEFINES_MOD += [
'AES_128', 'AES_128',
@ -21,9 +21,9 @@ CPPDEFINES_MOD += [
'ED25519_NO_PRECOMP', 'ED25519_NO_PRECOMP',
] ]
SOURCE_MOD += [ SOURCE_MOD += [
'embed/extmod/modtrezorcrypto/trezor-crypto/blake2s.c', 'vendor/trezor-crypto/blake2s.c',
'embed/extmod/modtrezorcrypto/trezor-crypto/ed25519-donna/ed25519.c', 'vendor/trezor-crypto/ed25519-donna/ed25519.c',
'embed/extmod/modtrezorcrypto/trezor-crypto/sha2.c', 'vendor/trezor-crypto/sha2.c',
] ]
# modtrezorui # modtrezorui

View File

@ -17,9 +17,9 @@ SOURCE_MOD += [
# modtrezorcrypto # modtrezorcrypto
CCFLAGS_MOD += '-Wno-sequence-point ' CCFLAGS_MOD += '-Wno-sequence-point '
CPPPATH_MOD += [ CPPPATH_MOD += [
'embed/extmod/modtrezorcrypto/trezor-crypto', 'vendor/trezor-crypto',
'embed/extmod/modtrezorcrypto/trezor-crypto/aes', 'vendor/trezor-crypto/aes',
'embed/extmod/modtrezorcrypto/trezor-crypto/ed25519-donna', 'vendor/trezor-crypto/ed25519-donna',
] ]
CPPDEFINES_MOD += [ CPPDEFINES_MOD += [
'AES_128', 'AES_128',
@ -30,27 +30,27 @@ SOURCE_MOD += [
'embed/extmod/modtrezorcrypto/modtrezorcrypto.c', 'embed/extmod/modtrezorcrypto/modtrezorcrypto.c',
'embed/extmod/modtrezorcrypto/rand.c', 'embed/extmod/modtrezorcrypto/rand.c',
'embed/extmod/modtrezorcrypto/ssss.c', 'embed/extmod/modtrezorcrypto/ssss.c',
'embed/extmod/modtrezorcrypto/trezor-crypto/address.c', 'vendor/trezor-crypto/address.c',
'embed/extmod/modtrezorcrypto/trezor-crypto/aes/aescrypt.c', 'vendor/trezor-crypto/aes/aescrypt.c',
'embed/extmod/modtrezorcrypto/trezor-crypto/aes/aeskey.c', 'vendor/trezor-crypto/aes/aeskey.c',
'embed/extmod/modtrezorcrypto/trezor-crypto/aes/aes_modes.c', 'vendor/trezor-crypto/aes/aes_modes.c',
'embed/extmod/modtrezorcrypto/trezor-crypto/aes/aestab.c', 'vendor/trezor-crypto/aes/aestab.c',
'embed/extmod/modtrezorcrypto/trezor-crypto/base58.c', 'vendor/trezor-crypto/base58.c',
'embed/extmod/modtrezorcrypto/trezor-crypto/bignum.c', 'vendor/trezor-crypto/bignum.c',
'embed/extmod/modtrezorcrypto/trezor-crypto/bip32.c', 'vendor/trezor-crypto/bip32.c',
'embed/extmod/modtrezorcrypto/trezor-crypto/bip39.c', 'vendor/trezor-crypto/bip39.c',
'embed/extmod/modtrezorcrypto/trezor-crypto/blake2b.c', 'vendor/trezor-crypto/blake2b.c',
'embed/extmod/modtrezorcrypto/trezor-crypto/blake2s.c', 'vendor/trezor-crypto/blake2s.c',
'embed/extmod/modtrezorcrypto/trezor-crypto/curves.c', 'vendor/trezor-crypto/curves.c',
'embed/extmod/modtrezorcrypto/trezor-crypto/ecdsa.c', 'vendor/trezor-crypto/ecdsa.c',
'embed/extmod/modtrezorcrypto/trezor-crypto/ed25519-donna/ed25519.c', 'vendor/trezor-crypto/ed25519-donna/ed25519.c',
'embed/extmod/modtrezorcrypto/trezor-crypto/hmac.c', 'vendor/trezor-crypto/hmac.c',
'embed/extmod/modtrezorcrypto/trezor-crypto/nist256p1.c', 'vendor/trezor-crypto/nist256p1.c',
'embed/extmod/modtrezorcrypto/trezor-crypto/pbkdf2.c', 'vendor/trezor-crypto/pbkdf2.c',
'embed/extmod/modtrezorcrypto/trezor-crypto/ripemd160.c', 'vendor/trezor-crypto/ripemd160.c',
'embed/extmod/modtrezorcrypto/trezor-crypto/secp256k1.c', 'vendor/trezor-crypto/secp256k1.c',
'embed/extmod/modtrezorcrypto/trezor-crypto/sha2.c', 'vendor/trezor-crypto/sha2.c',
'embed/extmod/modtrezorcrypto/trezor-crypto/sha3.c', 'vendor/trezor-crypto/sha3.c',
] ]
# modtrezorio # modtrezorio

View File

@ -18,9 +18,9 @@ SOURCE_MOD += [
# modtrezorcrypto # modtrezorcrypto
CCFLAGS_MOD += '-Wno-sequence-point ' CCFLAGS_MOD += '-Wno-sequence-point '
CPPPATH_MOD += [ CPPPATH_MOD += [
'embed/extmod/modtrezorcrypto/trezor-crypto', 'vendor/trezor-crypto',
'embed/extmod/modtrezorcrypto/trezor-crypto/aes', 'vendor/trezor-crypto/aes',
'embed/extmod/modtrezorcrypto/trezor-crypto/ed25519-donna', 'vendor/trezor-crypto/ed25519-donna',
] ]
CPPDEFINES_MOD += [ CPPDEFINES_MOD += [
'AES_128', 'AES_128',
@ -31,27 +31,27 @@ SOURCE_MOD += [
'embed/extmod/modtrezorcrypto/modtrezorcrypto.c', 'embed/extmod/modtrezorcrypto/modtrezorcrypto.c',
'embed/extmod/modtrezorcrypto/rand.c', 'embed/extmod/modtrezorcrypto/rand.c',
'embed/extmod/modtrezorcrypto/ssss.c', 'embed/extmod/modtrezorcrypto/ssss.c',
'embed/extmod/modtrezorcrypto/trezor-crypto/address.c', 'vendor/trezor-crypto/address.c',
'embed/extmod/modtrezorcrypto/trezor-crypto/aes/aescrypt.c', 'vendor/trezor-crypto/aes/aescrypt.c',
'embed/extmod/modtrezorcrypto/trezor-crypto/aes/aeskey.c', 'vendor/trezor-crypto/aes/aeskey.c',
'embed/extmod/modtrezorcrypto/trezor-crypto/aes/aes_modes.c', 'vendor/trezor-crypto/aes/aes_modes.c',
'embed/extmod/modtrezorcrypto/trezor-crypto/aes/aestab.c', 'vendor/trezor-crypto/aes/aestab.c',
'embed/extmod/modtrezorcrypto/trezor-crypto/base58.c', 'vendor/trezor-crypto/base58.c',
'embed/extmod/modtrezorcrypto/trezor-crypto/bignum.c', 'vendor/trezor-crypto/bignum.c',
'embed/extmod/modtrezorcrypto/trezor-crypto/bip32.c', 'vendor/trezor-crypto/bip32.c',
'embed/extmod/modtrezorcrypto/trezor-crypto/bip39.c', 'vendor/trezor-crypto/bip39.c',
'embed/extmod/modtrezorcrypto/trezor-crypto/blake2b.c', 'vendor/trezor-crypto/blake2b.c',
'embed/extmod/modtrezorcrypto/trezor-crypto/blake2s.c', 'vendor/trezor-crypto/blake2s.c',
'embed/extmod/modtrezorcrypto/trezor-crypto/curves.c', 'vendor/trezor-crypto/curves.c',
'embed/extmod/modtrezorcrypto/trezor-crypto/ecdsa.c', 'vendor/trezor-crypto/ecdsa.c',
'embed/extmod/modtrezorcrypto/trezor-crypto/ed25519-donna/ed25519.c', 'vendor/trezor-crypto/ed25519-donna/ed25519.c',
'embed/extmod/modtrezorcrypto/trezor-crypto/hmac.c', 'vendor/trezor-crypto/hmac.c',
'embed/extmod/modtrezorcrypto/trezor-crypto/nist256p1.c', 'vendor/trezor-crypto/nist256p1.c',
'embed/extmod/modtrezorcrypto/trezor-crypto/pbkdf2.c', 'vendor/trezor-crypto/pbkdf2.c',
'embed/extmod/modtrezorcrypto/trezor-crypto/ripemd160.c', 'vendor/trezor-crypto/ripemd160.c',
'embed/extmod/modtrezorcrypto/trezor-crypto/secp256k1.c', 'vendor/trezor-crypto/secp256k1.c',
'embed/extmod/modtrezorcrypto/trezor-crypto/sha2.c', 'vendor/trezor-crypto/sha2.c',
'embed/extmod/modtrezorcrypto/trezor-crypto/sha3.c', 'vendor/trezor-crypto/sha3.c',
] ]
# modtrezorio # modtrezorio

View File

@ -7,7 +7,7 @@
#include "py/objstr.h" #include "py/objstr.h"
#include "trezor-crypto/aes/aes.h" #include "aes/aes.h"
/// class AES: /// class AES:
/// ''' /// '''

View File

@ -7,8 +7,8 @@
#include "py/objstr.h" #include "py/objstr.h"
#include "trezor-crypto/bip32.h" #include "bip32.h"
#include "trezor-crypto/curves.h" #include "curves.h"
/// class HDNode: /// class HDNode:
/// ''' /// '''

View File

@ -7,7 +7,7 @@
#include "py/objstr.h" #include "py/objstr.h"
#include "trezor-crypto/bip39.h" #include "bip39.h"
/// def find_word(prefix: str) -> Optional[str]: /// def find_word(prefix: str) -> Optional[str]:
/// ''' /// '''

View File

@ -7,7 +7,7 @@
#include "py/objstr.h" #include "py/objstr.h"
#include "trezor-crypto/blake2b.h" #include "blake2b.h"
/// class Blake2b: /// class Blake2b:
/// ''' /// '''

View File

@ -7,7 +7,7 @@
#include "py/objstr.h" #include "py/objstr.h"
#include "trezor-crypto/blake2s.h" #include "blake2s.h"
/// class Blake2s: /// class Blake2s:
/// ''' /// '''

View File

@ -7,7 +7,7 @@
#include "py/objstr.h" #include "py/objstr.h"
#include "trezor-crypto/ed25519-donna/ed25519.h" #include "ed25519-donna/ed25519.h"
#include "rand.h" #include "rand.h"

View File

@ -7,7 +7,7 @@
#include "py/objstr.h" #include "py/objstr.h"
#include "trezor-crypto/ed25519-donna/ed25519.h" #include "ed25519-donna/ed25519.h"
#include "rand.h" #include "rand.h"

View File

@ -7,8 +7,8 @@
#include "py/objstr.h" #include "py/objstr.h"
#include "trezor-crypto/ecdsa.h" #include "ecdsa.h"
#include "trezor-crypto/nist256p1.h" #include "nist256p1.h"
/// def generate_secret() -> bytes: /// def generate_secret() -> bytes:
/// ''' /// '''

View File

@ -7,7 +7,7 @@
#include "py/objstr.h" #include "py/objstr.h"
#include "trezor-crypto/pbkdf2.h" #include "pbkdf2.h"
/// class Pbkdf2: /// class Pbkdf2:
/// ''' /// '''

View File

@ -7,7 +7,7 @@
#include "py/objstr.h" #include "py/objstr.h"
#include "trezor-crypto/rfc6979.h" #include "rfc6979.h"
/// class Rfc6979: /// class Rfc6979:
/// ''' /// '''

View File

@ -7,7 +7,7 @@
#include "py/objstr.h" #include "py/objstr.h"
#include "trezor-crypto/ripemd160.h" #include "ripemd160.h"
/// class Ripemd160: /// class Ripemd160:
/// ''' /// '''

View File

@ -7,8 +7,8 @@
#include "py/objstr.h" #include "py/objstr.h"
#include "trezor-crypto/ecdsa.h" #include "ecdsa.h"
#include "trezor-crypto/secp256k1.h" #include "secp256k1.h"
/// def generate_secret() -> bytes: /// def generate_secret() -> bytes:
/// ''' /// '''

View File

@ -7,7 +7,7 @@
#include "py/objstr.h" #include "py/objstr.h"
#include "trezor-crypto/sha2.h" #include "sha2.h"
/// class Sha1: /// class Sha1:
/// ''' /// '''

View File

@ -7,7 +7,7 @@
#include "py/objstr.h" #include "py/objstr.h"
#include "trezor-crypto/sha2.h" #include "sha2.h"
/// class Sha256: /// class Sha256:
/// ''' /// '''

View File

@ -7,7 +7,7 @@
#include "py/objstr.h" #include "py/objstr.h"
#include "trezor-crypto/sha3.h" #include "sha3.h"
/// class Sha3_256: /// class Sha3_256:
/// ''' /// '''

View File

@ -7,7 +7,7 @@
#include "py/objstr.h" #include "py/objstr.h"
#include "trezor-crypto/sha3.h" #include "sha3.h"
/// class Sha3_512: /// class Sha3_512:
/// ''' /// '''

View File

@ -7,7 +7,7 @@
#include "py/objstr.h" #include "py/objstr.h"
#include "trezor-crypto/sha2.h" #include "sha2.h"
/// class Sha512: /// class Sha512:
/// ''' /// '''

View File

@ -7,7 +7,7 @@
#include "py/objstr.h" #include "py/objstr.h"
#include "trezor-crypto/bignum.h" #include "bignum.h"
#include "ssss.h" #include "ssss.h"
/// def split(m: int, n: int, secret: bytes) -> tuple: /// def split(m: int, n: int, secret: bytes) -> tuple:

View File

@ -9,7 +9,7 @@
#define __SSSS_H__ #define __SSSS_H__
#include <stdbool.h> #include <stdbool.h>
#include "trezor-crypto/bignum.h" #include "bignum.h"
bool ssss_split(const bignum256 *secret, int m, int n, bignum256 *shares); bool ssss_split(const bignum256 *secret, int m, int n, bignum256 *shares);
bool ssss_combine(const bignum256 *shares, int n, bignum256 *secret); bool ssss_combine(const bignum256 *shares, int n, bignum256 *secret);

View File

@ -1 +0,0 @@
../../../vendor/trezor-crypto