mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-01-03 12:00:59 +00:00
bn_substract_noprime -> bn_subtract
This commit is contained in:
parent
fb2a085fff
commit
c286cd75f3
@ -136,7 +136,7 @@ int cryptoMessageVerify(const uint8_t *message, size_t message_len, const uint8_
|
||||
sha256_Raw(hash, 32, hash);
|
||||
// e = -hash
|
||||
bn_read_be(hash, &e);
|
||||
bn_substract_noprime(&order256k1, &e, &e);
|
||||
bn_subtract(&order256k1, &e, &e);
|
||||
// r = r^-1
|
||||
bn_inverse(&r, &order256k1);
|
||||
point_multiply(&s, &cp, &cp);
|
||||
|
@ -1 +1 @@
|
||||
Subproject commit cb9ccc5cf4ea3992172f31e8d1506f1a5b791157
|
||||
Subproject commit e37ba822e627550a453a1678d180f7e056b3d98f
|
Loading…
Reference in New Issue
Block a user