Skip to content

Commit

Permalink
Merge pull request #140 from skalenetwork/SKALE-3067-cleanip2
Browse files Browse the repository at this point in the history
Skale 3067 cleanip2
  • Loading branch information
kladkogex authored Aug 13, 2020
2 parents 0637814 + b000e64 commit b95ab32
Show file tree
Hide file tree
Showing 5 changed files with 38 additions and 1,232 deletions.
2 changes: 1 addition & 1 deletion BLSPrivateKeyShareSGX.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ std::string BLSPrivateKeyShareSGX::signWithHelperSGXstr(
cerr << "Key is " + *encryptedKeyHex << endl;

sgx_status_t status =
trustedBlsSignMessage(eid, &errStatus, errMsg, encryptedKey,
trustedBlsSignMessageAES(eid, &errStatus, errMsg, encryptedKey,
encryptedKeyHex->size() / 2, xStrArg, yStrArg, signature);

printf("sig is: %s\n", signature);
Expand Down
2 changes: 1 addition & 1 deletion Log.h
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ class Log {

#define HANDLE_SGX_EXCEPTION(__RESULT__) \
catch (SGXException& _e) { \
__RESULT__["status"] = _e.status; \
if (_e.status != 0) {__RESULT__["status"] = _e.status;} else { __RESULT__["status"] = UNKNOWN_ERROR;}; \
__RESULT__["errorMessage"] = _e.errString; \
return __RESULT__; \
} catch (exception& _e) { \
Expand Down
Loading

0 comments on commit b95ab32

Please sign in to comment.