diff options
author | Jack Lloyd <[email protected]> | 2018-03-01 16:54:27 -0500 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2018-03-01 16:54:27 -0500 |
commit | 2bea955063e1df520531339a9f7e39531f68a2ca (patch) | |
tree | ea31f94d7091dc334363171287370a519375bdff /src/lib/math/bigint/big_ops2.cpp | |
parent | 03e3d3dac4b50a6da3cfec2971460c1182cebd9d (diff) |
Remove MP_WORD_BITS constant
Use the BOTAN_MP_WORD_BITS consistently
Diffstat (limited to 'src/lib/math/bigint/big_ops2.cpp')
-rw-r--r-- | src/lib/math/bigint/big_ops2.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/math/bigint/big_ops2.cpp b/src/lib/math/bigint/big_ops2.cpp index 233a3ed19..9277834ba 100644 --- a/src/lib/math/bigint/big_ops2.cpp +++ b/src/lib/math/bigint/big_ops2.cpp @@ -255,8 +255,8 @@ BigInt& BigInt::operator<<=(size_t shift) { if(shift) { - const size_t shift_words = shift / MP_WORD_BITS, - shift_bits = shift % MP_WORD_BITS, + const size_t shift_words = shift / BOTAN_MP_WORD_BITS, + shift_bits = shift % BOTAN_MP_WORD_BITS, words = sig_words(); /* @@ -282,8 +282,8 @@ BigInt& BigInt::operator>>=(size_t shift) { if(shift) { - const size_t shift_words = shift / MP_WORD_BITS, - shift_bits = shift % MP_WORD_BITS; + const size_t shift_words = shift / BOTAN_MP_WORD_BITS, + shift_bits = shift % BOTAN_MP_WORD_BITS; bigint_shr1(mutable_data(), sig_words(), shift_words, shift_bits); |