mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-01-11 16:00:57 +00:00
core/monero: refactor bulletproof look-up-tables
This commit is contained in:
parent
ede1a0bae3
commit
5f980b50a0
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
@ -10,7 +10,7 @@
|
||||
from trezor.crypto import hmac, monero as tcry, random
|
||||
from trezor.crypto.hashlib import sha3_256
|
||||
|
||||
NULL_KEY_ENC = b"\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
|
||||
NULL_KEY_ENC = b"\x00" * 32
|
||||
|
||||
random_bytes = random.bytes
|
||||
ct_equals = tcry.ct_equals
|
||||
|
Loading…
Reference in New Issue
Block a user