Ethereum  PoC-8
The C++ Implementation of Ethereum
LibSnark.h
Go to the documentation of this file.
1 /*
2  This file is part of cpp-ethereum.
3 
4  cpp-ethereum is free software: you can redistribute it and/or modify
5  it under the terms of the GNU General Public License as published by
6  the Free Software Foundation, either version 3 of the License, or
7  (at your option) any later version.
8 
9  cpp-ethereum is distributed in the hope that it will be useful,
10  but WITHOUT ANY WARRANTY; without even the implied warranty of
11  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12  GNU General Public License for more details.
13 
14  You should have received a copy of the GNU General Public License
15  along with cpp-ethereum. If not, see <http://www.gnu.org/licenses/>.
16  */
21 #pragma once
22 
23 #include <libdevcore/Common.h>
24 
25 namespace dev
26 {
27 namespace crypto
28 {
29 
30 std::pair<bool, bytes> alt_bn128_pairing_product(bytesConstRef _in);
31 std::pair<bool, bytes> alt_bn128_G1_add(bytesConstRef _in);
32 std::pair<bool, bytes> alt_bn128_G1_mul(bytesConstRef _in);
33 
34 }
35 }
dev::crypto::alt_bn128_G1_add
std::pair< bool, bytes > alt_bn128_G1_add(bytesConstRef _in)
Definition: LibSnark.cpp:171
dev::crypto::alt_bn128_pairing_product
std::pair< bool, bytes > alt_bn128_pairing_product(bytesConstRef _in)
Definition: LibSnark.cpp:131
Common.h
dev::bytesConstRef
vector_ref< byte const > bytesConstRef
Definition: Common.h:74
dev
Definition: Address.cpp:21
dev::crypto::alt_bn128_G1_mul
std::pair< bool, bytes > alt_bn128_G1_mul(bytesConstRef _in)
Definition: LibSnark.cpp:187