Skip to content

Commit

Permalink
Clarify TODO in import_bits_generic
Browse files Browse the repository at this point in the history
  • Loading branch information
ioxid committed Dec 10, 2024
1 parent 720afb1 commit eebc0aa
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@ namespace nil::crypto3::multiprecision {
size_type bits = limbs * chunk_size;

// TODO(ioxid): this breaks marshalling tests
// We should throw an exception here. And check that excess bits are zero.
// NIL_CO3_MP_ASSERT(bits <= Bits);

difference_type bit_location = msv_first ? bits - chunk_size : 0;
Expand Down

0 comments on commit eebc0aa

Please sign in to comment.