Skip to content

Commit

Permalink
Fixed ec_fixed_bigint for unaligned bit sizes
Browse files Browse the repository at this point in the history
  • Loading branch information
smlu committed Dec 6, 2023
1 parent d94570a commit 05b1a1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/ack/ec.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

namespace ack {
template<std::size_t N>
using ec_fixed_bigint = fixed_bigint<N * 2>; // 2x size required for multiplication
using ec_fixed_bigint = fixed_bigint<bitsize_to_wordsize(N) * word_bit_size * 2>; // 2x size required for multiplication

// Affine coordinates representation of an elliptic curve point
template<typename PointT, typename CurveT>
Expand Down

0 comments on commit 05b1a1f

Please sign in to comment.