Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
sgxwallet
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
董子豪
sgxwallet
Commits
cc630e05
Unverified
Commit
cc630e05
authored
Dec 11, 2019
by
Chadwick Strange
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update Licensing headers
parent
4d9699f4
Changes
20
Hide whitespace changes
Inline
Side-by-side
Showing
20 changed files
with
407 additions
and
64 deletions
+407
-64
BLSCrypto.cpp
BLSCrypto.cpp
+23
-3
BLSCrypto.h
BLSCrypto.h
+21
-3
DKGCrypto.cpp
DKGCrypto.cpp
+22
-3
DKGCrypto.h
DKGCrypto.h
+22
-3
ECDSACrypto.cpp
ECDSACrypto.cpp
+22
-3
ECDSACrypto.h
ECDSACrypto.h
+22
-3
LevelDB.cpp
LevelDB.cpp
+5
-5
LevelDB.h
LevelDB.h
+5
-5
RPCException.cpp
RPCException.cpp
+22
-3
RPCException.h
RPCException.h
+22
-3
ServerDataChecker.cpp
ServerDataChecker.cpp
+22
-3
ServerDataChecker.h
ServerDataChecker.h
+22
-3
ServerInit.cpp
ServerInit.cpp
+23
-3
ServerInit.h
ServerInit.h
+21
-3
BLSEnclave.cpp
secure_enclave/BLSEnclave.cpp
+22
-3
BLSEnclave.h
secure_enclave/BLSEnclave.h
+22
-3
DH_dkg.c
secure_enclave/DH_dkg.c
+22
-3
DH_dkg.h
secure_enclave/DH_dkg.h
+22
-3
DKGUtils.cpp
secure_enclave/DKGUtils.cpp
+23
-3
DKGUtils.h
secure_enclave/DKGUtils.h
+22
-3
No files found.
BLSCrypto.cpp
View file @
cc630e05
//
/*
// Created by kladko on 9/2/19.
Copyright (C) 2019-Present SKALE Labs
//
This file is part of sgxwallet.
sgxwallet is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published
by the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
sgxwallet is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with sgxwallet. If not, see <https://www.gnu.org/licenses/>.
@file BLSCrypto.cpp
@author Stan Kladko
@date 2019
*/
#include <memory>
#include <memory>
...
...
BLSCrypto.h
View file @
cc630e05
//
/*
// Created by kladko on 9/2/19.
Copyright (C) 2019-Present SKALE Labs
//
This file is part of sgxwallet.
sgxwallet is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published
by the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
sgxwallet is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with sgxwallet. If not, see <https://www.gnu.org/licenses/>.
@file BLSCrypto.h
@author Stan Kladko
@date 2019
*/
#ifndef SGXWALLET_BLSCRYPTO_H
#ifndef SGXWALLET_BLSCRYPTO_H
#define SGXWALLET_BLSCRYPTO_H
#define SGXWALLET_BLSCRYPTO_H
...
...
DKGCrypto.cpp
View file @
cc630e05
//
/*
// Created by kladko on 10/3/19.
Copyright (C) 2019-Present SKALE Labs
//
This file is part of sgxwallet.
sgxwallet is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published
by the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
sgxwallet is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with sgxwallet. If not, see <https://www.gnu.org/licenses/>.
@file DKGCrypto.cpp
@author Stan Kladko
@date 2019
*/
#include "DKGCrypto.h"
#include "DKGCrypto.h"
#include "BLSCrypto.h"
#include "BLSCrypto.h"
...
...
DKGCrypto.h
View file @
cc630e05
//
/*
// Created by kladko on 10/3/19.
Copyright (C) 2019-Present SKALE Labs
//
This file is part of sgxwallet.
sgxwallet is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published
by the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
sgxwallet is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with sgxwallet. If not, see <https://www.gnu.org/licenses/>.
@file DKGCrypto.h
@author Stan Kladko
@date 2019
*/
#ifndef SGXD_DKGCRYPTO_H
#ifndef SGXD_DKGCRYPTO_H
#define SGXD_DKGCRYPTO_H
#define SGXD_DKGCRYPTO_H
...
...
ECDSACrypto.cpp
View file @
cc630e05
//
/*
// Created by kladko on 9/23/19.
Copyright (C) 2019-Present SKALE Labs
//
This file is part of sgxwallet.
sgxwallet is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published
by the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
sgxwallet is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with sgxwallet. If not, see <https://www.gnu.org/licenses/>.
@file ECDSACrypto.cpp
@author Stan Kladko
@date 2019
*/
#include "ECDSACrypto.h"
#include "ECDSACrypto.h"
#include "BLSCrypto.h"
#include "BLSCrypto.h"
...
...
ECDSACrypto.h
View file @
cc630e05
//
/*
// Created by kladko on 9/23/19.
Copyright (C) 2019-Present SKALE Labs
//
This file is part of sgxwallet.
sgxwallet is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published
by the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
sgxwallet is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with sgxwallet. If not, see <https://www.gnu.org/licenses/>.
@file ECDSACrypto.h
@author Stan Kladko
@date 2019
*/
#ifndef SGXD_ECDSACRYPTO_H
#ifndef SGXD_ECDSACRYPTO_H
#define SGXD_ECDSACRYPTO_H
#define SGXD_ECDSACRYPTO_H
...
...
LevelDB.cpp
View file @
cc630e05
/*
/*
Copyright (C) 2019 SKALE Labs
Copyright (C) 2019
-Present
SKALE Labs
This file is part of s
kale-consensus
.
This file is part of s
gxwallet
.
s
kale-consensus
is free software: you can redistribute it and/or modify
s
gxwallet
is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published
it under the terms of the GNU Affero General Public License as published
by the Free Software Foundation, either version 3 of the License, or
by the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
(at your option) any later version.
s
kale-consensus
is distributed in the hope that it will be useful,
s
gxwallet
is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
You should have received a copy of the GNU Affero General Public License
along with s
kale-consensus
. If not, see <https://www.gnu.org/licenses/>.
along with s
gxwallet
. If not, see <https://www.gnu.org/licenses/>.
@file LevelDB.cpp
@file LevelDB.cpp
@author Stan Kladko
@author Stan Kladko
...
...
LevelDB.h
View file @
cc630e05
/*
/*
Copyright (C) 2019 SKALE Labs
Copyright (C) 2019
-Present
SKALE Labs
This file is part of s
kale-consensus
.
This file is part of s
gxwallet
.
s
kale-consensus
is free software: you can redistribute it and/or modify
s
gxwallet
is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published
it under the terms of the GNU Affero General Public License as published
by the Free Software Foundation, either version 3 of the License, or
by the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
(at your option) any later version.
s
kale-consensus
is distributed in the hope that it will be useful,
s
gxwallet
is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
You should have received a copy of the GNU Affero General Public License
along with s
kale-consensus
. If not, see <https://www.gnu.org/licenses/>.
along with s
gxwallet
. If not, see <https://www.gnu.org/licenses/>.
@file LevelDB.h
@file LevelDB.h
@author Stan Kladko
@author Stan Kladko
...
...
RPCException.cpp
View file @
cc630e05
//
/*
// Created by skale on 9/8/19.
Copyright (C) 2019-Present SKALE Labs
//
This file is part of sgxwallet.
sgxwallet is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published
by the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
sgxwallet is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with sgxwallet. If not, see <https://www.gnu.org/licenses/>.
@file RPCException.cpp
@author Stan Kladko
@date 2019
*/
#include "RPCException.h"
#include "RPCException.h"
RPCException.h
View file @
cc630e05
//
/*
// Created by skale on 9/8/19.
Copyright (C) 2019-Present SKALE Labs
//
This file is part of sgxwallet.
sgxwallet is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published
by the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
sgxwallet is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with sgxwallet. If not, see <https://www.gnu.org/licenses/>.
@file RPCException.h
@author Stan Kladko
@date 2019
*/
#ifndef SGXD_RPCEXCEPTION_H
#ifndef SGXD_RPCEXCEPTION_H
#define SGXD_RPCEXCEPTION_H
#define SGXD_RPCEXCEPTION_H
...
...
ServerDataChecker.cpp
View file @
cc630e05
//
/*
// Created by kladko on 11/19/19.
Copyright (C) 2019-Present SKALE Labs
//
This file is part of sgxwallet.
sgxwallet is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published
by the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
sgxwallet is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with sgxwallet. If not, see <https://www.gnu.org/licenses/>.
@file ServerDataChecker.cpp
@author Stan Kladko
@date 2019
*/
#include <vector>
#include <vector>
#include "ServerDataChecker.h"
#include "ServerDataChecker.h"
...
...
ServerDataChecker.h
View file @
cc630e05
//
/*
// Created by kladko on 11/19/19.
Copyright (C) 2019-Present SKALE Labs
//
This file is part of sgxwallet.
sgxwallet is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published
by the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
sgxwallet is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with sgxwallet. If not, see <https://www.gnu.org/licenses/>.
@file ServerDataChecker.h
@author Stan Kladko
@date 2019
*/
#ifndef SGXD_SERVERDATACHECKER_H
#ifndef SGXD_SERVERDATACHECKER_H
#define SGXD_SERVERDATACHECKER_H
#define SGXD_SERVERDATACHECKER_H
...
...
ServerInit.cpp
View file @
cc630e05
//
/*
// Created by kladko on 9/2/19.
Copyright (C) 2019-Present SKALE Labs
//
This file is part of sgxwallet.
sgxwallet is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published
by the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
sgxwallet is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with sgxwallet. If not, see <https://www.gnu.org/licenses/>.
@file ServerInit.cpp
@author Stan Kladko
@date 2019
*/
#include <memory>
#include <memory>
...
...
ServerInit.h
View file @
cc630e05
//
/*
// Created by kladko on 9/2/19.
Copyright (C) 2019-Present SKALE Labs
//
This file is part of sgxwallet.
sgxwallet is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published
by the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
sgxwallet is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with sgxwallet. If not, see <https://www.gnu.org/licenses/>.
@file ServerInit.h
@author Stan Kladko
@date 2019
*/
#ifndef SGXWALLET_SERVERINIT_H
#ifndef SGXWALLET_SERVERINIT_H
#define SGXWALLET_SERVERINIT_H
#define SGXWALLET_SERVERINIT_H
...
...
secure_enclave/BLSEnclave.cpp
View file @
cc630e05
//
/*
// Created by kladko on 8/14/19.
Copyright (C) 2019-Present SKALE Labs
//
This file is part of sgxwallet.
sgxwallet is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published
by the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
sgxwallet is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with sgxwallet. If not, see <https://www.gnu.org/licenses/>.
@file BLSEnclave.cpp
@author Stan Kladko
@date 2019
*/
#define GMP_WITH_SGX
#define GMP_WITH_SGX
...
...
secure_enclave/BLSEnclave.h
View file @
cc630e05
//
/*
// Created by kladko on 8/14/19.
Copyright (C) 2019-Present SKALE Labs
//
This file is part of sgxwallet.
sgxwallet is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published
by the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
sgxwallet is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with sgxwallet. If not, see <https://www.gnu.org/licenses/>.
@file BLSEnclave.h
@author Stan Kladko
@date 2019
*/
#ifndef SGXWALLET_BLSUTILS_H
#ifndef SGXWALLET_BLSUTILS_H
#define SGXWALLET_BLSUTILS_H
#define SGXWALLET_BLSUTILS_H
...
...
secure_enclave/DH_dkg.c
View file @
cc630e05
//
/*
// Created by kladko on 10/1/19.
Copyright (C) 2019-Present SKALE Labs
//
This file is part of sgxwallet.
sgxwallet is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published
by the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
sgxwallet is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with sgxwallet. If not, see <https://www.gnu.org/licenses/>.
@file DH_dkg.c
@author Stan Kladko
@date 2019
*/
#include <stdlib.h>
#include <stdlib.h>
#include <../tgmp-build/include/sgx_tgmp.h>
#include <../tgmp-build/include/sgx_tgmp.h>
...
...
secure_enclave/DH_dkg.h
View file @
cc630e05
//
/*
// Created by kladko on 10/1/19.
Copyright (C) 2019-Present SKALE Labs
//
This file is part of sgxwallet.
sgxwallet is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published
by the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
sgxwallet is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with sgxwallet. If not, see <https://www.gnu.org/licenses/>.
@file DH_dkg.h
@author Stan Kladko
@date 2019
*/
#ifndef SGXD_DRIVE_KEY_DKG_H
#ifndef SGXD_DRIVE_KEY_DKG_H
#define SGXD_DRIVE_KEY_DKG_H
#define SGXD_DRIVE_KEY_DKG_H
...
...
secure_enclave/DKGUtils.cpp
View file @
cc630e05
//
/*
// Created by kladko on 9/5/19.
Copyright (C) 2019-Present SKALE Labs
//
This file is part of sgxwallet.
sgxwallet is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published
by the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
sgxwallet is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with sgxwallet. If not, see <https://www.gnu.org/licenses/>.
@file DKGUtils.cpp
@author Stan Kladko
@date 2019
*/
#include "DKGUtils.h"
#include "DKGUtils.h"
#include <sgx_tgmp.h>
#include <sgx_tgmp.h>
...
...
secure_enclave/DKGUtils.h
View file @
cc630e05
//
/*
// Created by kladko on 9/5/19.
Copyright (C) 2019-Present SKALE Labs
//
This file is part of sgxwallet.
sgxwallet is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published
by the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
sgxwallet is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with sgxwallet. If not, see <https://www.gnu.org/licenses/>.
@file DKGUtils.h
@author Stan Kladko
@date 2019
*/
#ifndef SGXD_DKGUTILS_H
#ifndef SGXD_DKGUTILS_H
#define SGXD_DKGUTILS_H
#define SGXD_DKGUTILS_H
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment