diff options
author | Jack Lloyd <[email protected]> | 2018-02-21 11:12:32 -0500 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2018-02-21 11:12:32 -0500 |
commit | 1d07f8287a452420db969cafd61bc223214cff03 (patch) | |
tree | fd78e74fd7dd766f690654fa4c8c940e02c2e2c0 /src/lib/math/bigint/bigint.cpp | |
parent | 061182a46f8b9e42808d57ec7bbafc13db7cf809 (diff) |
New API for blinded ECC point multiplication
No shared state
Diffstat (limited to 'src/lib/math/bigint/bigint.cpp')
-rw-r--r-- | src/lib/math/bigint/bigint.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/math/bigint/bigint.cpp b/src/lib/math/bigint/bigint.cpp index caa78de45..b63bd9be8 100644 --- a/src/lib/math/bigint/bigint.cpp +++ b/src/lib/math/bigint/bigint.cpp @@ -119,7 +119,7 @@ int32_t BigInt::cmp(const BigInt& other, bool check_signs) const uint32_t BigInt::get_substring(size_t offset, size_t length) const { if(length > 32) - throw Invalid_Argument("BigInt::get_substring: Substring size too big"); + throw Invalid_Argument("BigInt::get_substring: Substring size " + std::to_string(length) + " too big"); uint64_t piece = 0; for(size_t i = 0; i != 8; ++i) |