ECDSA key starts at 320-th byte

This commit is contained in:
orignal 2014-08-22 10:34:39 -04:00
parent b146c5782b
commit 9277509ce3

View File

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