Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SoftSpokenOT parameter #2

Open
mkskeller opened this issue Jul 8, 2022 · 0 comments
Open

SoftSpokenOT parameter #2

mkskeller opened this issue Jul 8, 2022 · 0 comments

Comments

@mkskeller
Copy link
Contributor

  1. Does the -f argument to frontend correspond to $k$ in the paper?
  2. I'm getting a segfault for choices 4 and 5. The trace for -smalicious -f 5 is the following:
 ==3624657== Process terminating with default action of signal 11 (SIGSEGV)
==3624657==  General Protection Fault
==3624657==    at 0x5C6D3F: _mm_aesenc_si128 (wmmintrin.h:63)
==3624657==    by 0x5C6D3F: roundEnc (AES.h:322)
==3624657==    by 0x5C6D3F: roundEncBlocks<7> (AES.h:285)
==3624657==    by 0x5C6D3F: osuCrypto::details::ecbEncBlocksCustomCallingConv7() (AES.cpp:437)
==3624657==    by 0x568899: ecbEncBlocks<7> (AES.h:433)
==3624657==    by 0x568899: hashBlocks<7> (AES.h:154)
==3624657==    by 0x568899: generateImpl<5> (SmallFieldVole.cpp:228)
==3624657==    by 0x568899: osuCrypto::SoftSpokenOT::SmallFieldVoleBase::call_member_func<5ul, void (osuCrypto::SoftSpokenOT::SmallFieldVoleReceiver::*)(unsigned long, osuCrypto::details::AES<(osuCrypto::details::AESTypes)0> const&, osuCrypto::block*, osuCrypto::block const*) const, &(void osuCrypto::SoftSpokenOT::SmallFieldVoleReceiver::generateImpl<5ul>(unsigned long, osuCrypto::details::AES<(osuCrypto::details::AESTypes)0> const&, osuCrypto::block*, osuCrypto::block const*) const)>::call(osuCrypto::SoftSpokenOT::SmallFieldVoleReceiver const&, unsigned long, osuCrypto::details::AES<(osuCrypto::details::AESTypes)0> const&, osuCrypto::block*, osuCrypto::block const*) (SmallFieldVole.cpp:261)
==3624657==    by 0x38CA5732764E7A3E: ???
==3624657==    by 0x54EA477: ???
==3624657==    by 0x5477B2: ~__shared_count (shared_ptr_base.h:730)
==3624657==    by 0x5477B2: ~__shared_ptr (shared_ptr_base.h:1169)
==3624657==    by 0x5477B2: reset (shared_ptr_base.h:1287)
==3624657==    by 0x5477B2: ~_Reset (future:753)
==3624657==    by 0x5477B2: get (future:881)
==3624657==    by 0x5477B2: recv<osuCrypto::block> (Channel.h:913)
==3624657==    by 0x5477B2: osuCrypto::SoftSpokenOT::SubspaceVoleReceiver<osuCrypto::RepetitionCode>::recv(osuCrypto::Channel&, unsigned long) (SubspaceVole.h:148)
==3624657==    by 0x549702: generate (SmallFieldVole.h:219)
==3624657==    by 0x549702: generate (SmallFieldVole.h:232)
==3624657==    by 0x549702: generateChosen (SubspaceVole.h:204)
==3624657==    by 0x549702: generateChosen (SubspaceVoleMaliciousLeaky.h:348)
==3624657==    by 0x549702: processChunk (DotMaliciousLeaky.cpp:51)
==3624657==    by 0x549702: runBatch<> (Chunker.h:315)
==3624657==    by 0x549702: void osuCrypto::SoftSpokenOT::DotMaliciousLeakySender::sendImpl<osuCrypto::SoftSpokenOT::TwoOneMaliciousSender::Hasher>(gsl::span<std::array<osuCrypto::block, 2ul>, -1l>, osuCrypto::PRNG&, osuCrypto::Channel&, osuCrypto::SoftSpokenOT::TwoOneMaliciousSender::Hasher&) (DotMaliciousLeaky.cpp:29)
==3624657==    by 0x464E7B: void osuCrypto::TwoChooseOne_example<osuCrypto::SoftSpokenOT::TwoOneMaliciousSender, osuCrypto::SoftSpokenOT::TwoOneMaliciousReceiver, unsigned long>(osuCrypto::Role, int, int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, osuCrypto::CLP&, unsigned long&&)::{lambda(int)#1}::operator()(int) const (TwoOneMalicious.h:152)
==3624657==    by 0x4F796B3: ??? (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.29)
==3624657==    by 0x4E84608: start_thread (pthread_create.c:477)
==3624657==    by 0x5344132: clone (clone.S:95)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant