Browse Source

ECDSA key starts at 320-th byte

pull/93/head
orignal 10 years ago
parent
commit
9277509ce3
  1. 2
      Identity.cpp

2
Identity.cpp

@ -135,7 +135,7 @@ namespace data @@ -135,7 +135,7 @@ namespace data
m_Verifier = new i2p::crypto::DSAVerifier (m_StandardIdentity.signingKey);
break;
case PUBLIC_KEY_TYPE_ECDSA_SHA256_P256:
m_Verifier = new i2p::crypto::ECDSAP256Verifier (m_StandardIdentity.signingKey);
m_Verifier = new i2p::crypto::ECDSAP256Verifier (m_StandardIdentity.signingKey + 64);
break;
default:
LogPrint ("Signing key type ", keyType, " is not supported");

Loading…
Cancel
Save