Skip to content

Commit 5ffb297

Browse files
committed
mac compile fixes
1 parent ea8a068 commit 5ffb297

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

cryptoTools

libOTe/Tools/Tools.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -706,7 +706,7 @@ namespace osuCrypto {
706706

707707
out0 -= out.stride();
708708

709-
t.blks[0] = (t.blks[0] << 1);
709+
t.blks[0] = t.blks[0].slli_epi64(1);
710710
}
711711
}
712712
}

libOTe/Triple/Foleage/FoleageTriple.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -361,7 +361,7 @@ namespace osuCrypto
361361
setTimePoint("input Mult");
362362

363363
// compress the resume and set the output.
364-
auto outSize = std::min(mN, ALsb.size() * 128);
364+
auto outSize = std::min<u64>(mN, ALsb.size() * 128);
365365
std::vector<u8> A(mN);
366366
for (u64 i = 0; i < outSize; ++i)
367367
{

0 commit comments

Comments
 (0)