Skip to content

Commit

Permalink
fix windows build
Browse files Browse the repository at this point in the history
  • Loading branch information
FAlbertDev committed Sep 28, 2023
1 parent 395aeb0 commit 3894932
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/pubkey/hss_lms/hss.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ std::vector<LMS_Tree_Node_Idx> derive_lms_leaf_indices_from_hss_index(HSS_Sig_Id
const HSS_LMS_Params::LMS_LMOTS_Params_Pair& layer_params = hss_params.params_at_level(layer);
size_t layer_h = layer_params.lms_params().h();
q.at(layer.get()) =
LMS_Tree_Node_Idx(static_cast<uint32_t>(hss_idx.get() % static_cast<uint64_t>(1UL << layer_h)));
LMS_Tree_Node_Idx(static_cast<uint32_t>(hss_idx.get() % static_cast<uint64_t>(1ULL << layer_h)));
hss_idx = hss_idx >> layer_h;
}
BOTAN_ARG_CHECK(hss_idx == HSS_Sig_Idx(0), "HSS Tree is exhausted");
Expand Down

0 comments on commit 3894932

Please sign in to comment.