Unverified Commit 8c3ac1d4 authored by kladko's avatar kladko

SKALE-2895-fix-build-and-docs

parent 5c2a8faf
...@@ -93,7 +93,7 @@ void signature_sign(signature sig, mpz_t message, mpz_t private_key, domain_para ...@@ -93,7 +93,7 @@ void signature_sign(signature sig, mpz_t message, mpz_t private_key, domain_para
//message must not have a bit length longer than that of n //message must not have a bit length longer than that of n
//see: Guide to Elliptic Curve Cryptography, section 4.4.1. //see: Guide to Elliptic Curve Cryptography, section 4.4.1.
for (int i = 0; i < 5000; i++ ) { for (int i = 0; i < 1; i++ ) {
assert(mpz_sizeinbase(message, 2) <= mpz_sizeinbase(curve->n, 2)); assert(mpz_sizeinbase(message, 2) <= mpz_sizeinbase(curve->n, 2));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment