From c3a9e8e638f4cc09c75964e2c68c49eca9007a11 Mon Sep 17 00:00:00 2001 From: Fabian Albert Date: Fri, 14 Jun 2024 14:09:19 +0200 Subject: [PATCH] Fix xcode ci --- src/lib/pubkey/ounsworth_kem_combiner/ounsworth.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/pubkey/ounsworth_kem_combiner/ounsworth.cpp b/src/lib/pubkey/ounsworth_kem_combiner/ounsworth.cpp index 5c6dcd9242b..751a7d59ca9 100644 --- a/src/lib/pubkey/ounsworth_kem_combiner/ounsworth.cpp +++ b/src/lib/pubkey/ounsworth_kem_combiner/ounsworth.cpp @@ -35,7 +35,7 @@ std::vector rlen(std::span 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>(x); + const auto be_sz_encoding = store_be(x); BOTAN_ASSERT_NOMSG(be_sz_encoding.size() >= n); std::vector o_i(be_sz_encoding.end() - n, be_sz_encoding.end()); // 4. Let O_{n+1} = uint8(n)