bn_substract_noprime -> bn_subtract

pull/25/head
Pavol Rusnak 9 years ago
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…
Cancel
Save