Skip to content

Commit

Permalink
add debug logs
Browse files Browse the repository at this point in the history
  • Loading branch information
olehnikolaiev committed Feb 20, 2024
1 parent 2e3d65d commit 6cf1918
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions DKGCrypto.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -471,6 +471,11 @@ vector<string> getBLSPubKey(const char *encryptedKeyHex) {
throw SGXException(GET_BLS_PUBKEY_INVALID_KEY_HEX,
string(__FUNCTION__) + ":Invalid encryptedKeyHex");
}
spdlog::debug("Encrypted key length: {}", decKeyLen);
spdlog::debug("Encrypted key is:");
for (size_t i = 0; i < decKeyLen; ++i) {
std::cout << encrKey[i] << ' ';
}

SAFE_CHAR_BUF(pubKey, 320)

Expand Down

0 comments on commit 6cf1918

Please sign in to comment.