Skip to content

SoftSpokenOT parameter #2

@mkskeller

Description

@mkskeller
  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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions