MOTION
0.01
Framework for mixed-protocol multi-party computation
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
Functions
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
Variables
Typedefs
a
b
c
d
g
i
l
o
p
r
s
t
w
Enumerations
Enumerator
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
y
z
~
Functions
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
w
x
~
Variables
a
b
c
d
f
g
i
k
l
m
n
o
p
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
g
i
k
m
p
r
t
v
Enumerations
Related Functions
Files
File List
File Members
All
_
a
b
c
d
e
f
g
i
k
l
m
o
p
r
s
t
u
v
x
Functions
a
b
c
d
e
g
i
k
l
m
p
r
s
t
x
Variables
b
d
k
p
r
s
v
Typedefs
Enumerations
Enumerator
Macros
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
src
motioncore
communication
shared_bits_message.h
Go to the documentation of this file.
1
// MIT License
2
//
3
// Copyright (c) 2019 Lennart Braun
4
//
5
// Permission is hereby granted, free of charge, to any person obtaining a copy
6
// of this software and associated documentation files (the "Software"), to deal
7
// in the Software without restriction, including without limitation the rights
8
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
// copies of the Software, and to permit persons to whom the Software is
10
// furnished to do so, subject to the following conditions:
11
//
12
// The above copyright notice and this permission notice shall be included in all
13
// copies or substantial portions of the Software.
14
//
15
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
// SOFTWARE.
22
23
#pragma once
24
25
#include <flatbuffers/flatbuffers.h>
26
#include "
utility/constants.h
"
27
28
namespace
encrypto::motion::communication
{
29
30
flatbuffers::FlatBufferBuilder
BuildSharedBitsMaskMessage
(
const
std::vector<std::uint8_t>& buffer);
31
32
flatbuffers::FlatBufferBuilder
BuildSharedBitsReconstructMessage
(
33
const
std::vector<std::uint8_t>& buffer);
34
35
}
// namespace encrypto::motion::communication
message.h
shared_bits_message_generated.h
encrypto::motion::communication::FinishSharedBitsMessageBuffer
void FinishSharedBitsMessageBuffer(flatbuffers::FlatBufferBuilder &fbb, flatbuffers::Offset< encrypto::motion::communication::SharedBitsMessage > root)
Definition:
shared_bits_message_generated.h:86
encrypto::motion::communication::CreateSharedBitsMessageDirect
flatbuffers::Offset< SharedBitsMessage > CreateSharedBitsMessageDirect(flatbuffers::FlatBufferBuilder &_fbb, const std::vector< uint8_t > *payload=nullptr)
Definition:
shared_bits_message_generated.h:59
encrypto::motion::communication::BuildSharedBitsReconstructMessage
flatbuffers::FlatBufferBuilder BuildSharedBitsReconstructMessage(const std::vector< std::uint8_t > &buffer)
Definition:
shared_bits_message.cpp:38
encrypto::motion::communication::MessageType::kSharedBitsMask
@ kSharedBitsMask
encrypto::motion::communication::MessageType::kSharedBitsReconstruct
@ kSharedBitsReconstruct
encrypto::motion::communication::BuildMessage
flatbuffers::FlatBufferBuilder BuildMessage(MessageType message_type, const std::vector< uint8_t > *payload)
Definition:
message.cpp:32
encrypto::motion::communication
Definition:
backend.h:37
encrypto::motion::communication::BuildSharedBitsMaskMessage
flatbuffers::FlatBufferBuilder BuildSharedBitsMaskMessage(const std::vector< std::uint8_t > &buffer)
Definition:
shared_bits_message.cpp:31
constants.h
shared_bits_message.h
message_generated.h
Generated by
1.8.17