Skip to content

Commit

Permalink
Fix xcode ci
Browse files Browse the repository at this point in the history
  • Loading branch information
FAlbertDev committed Jun 14, 2024
1 parent b765989 commit c3a9e8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/pubkey/ounsworth_kem_combiner/ounsworth.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ std::vector<uint8_t> rlen(std::span<const uint8_t> s) {
// 2. Let x_1, x_2, ..., x_n be the base-256 encoding of x satisfying:
// x = sum 28(n-i)x i, for i = 1 to n
// 3. Let O_i = uint8(x_i), for i = 1 to n
const auto be_sz_encoding = store_be<std::array<uint8_t, size_t(sizeof(size_t))>>(x);
const auto be_sz_encoding = store_be(x);
BOTAN_ASSERT_NOMSG(be_sz_encoding.size() >= n);
std::vector<uint8_t> o_i(be_sz_encoding.end() - n, be_sz_encoding.end());
// 4. Let O_{n+1} = uint8(n)
Expand Down

0 comments on commit c3a9e8e

Please sign in to comment.