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

core/secp256k1-zkp: use ARM assembly for field operations (#176)

Update to latest secp256k1-zkp to allow building on Cortex-M4 devices (https://github.com/ElementsProject/secp256k1-zkp/pull/56).
This commit is contained in:
Roman Zeyde 2019-05-25 12:42:13 +03:00 committed by Pavol Rusnak
parent 9586358e44
commit d190d906de
2 changed files with 3 additions and 1 deletions

View File

@ -100,6 +100,7 @@ CPPDEFINES_MOD += [
'USE_NUM_NONE',
'USE_FIELD_INV_BUILTIN',
'USE_SCALAR_INV_BUILTIN',
'USE_EXTERNAL_ASM',
'USE_FIELD_10X26',
'USE_SCALAR_8X32',
'USE_ECMULT_STATIC_PRECOMPUTATION',
@ -112,6 +113,7 @@ CPPDEFINES_MOD += [
]
SOURCE_MOD_SECP256K1_ZKP += [
'vendor/secp256k1-zkp/src/secp256k1.c',
'vendor/secp256k1-zkp/src/asm/field_10x26_arm.s'
]
# modtrezorio

@ -1 +1 @@
Subproject commit 1c830b4c9ac30aa32e246ea3ab8ef9ef99acf664
Subproject commit 9ecd8bf38a77a97b44e8c830b286c65051f2f707