mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2024-11-17 21:26:04 +00:00
ECDSA key starts at 320-th byte
This commit is contained in:
parent
b146c5782b
commit
9277509ce3
@ -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");
|
||||||
|
Loading…
Reference in New Issue
Block a user