MCPcopy Create free account
hub / github.com/PurpleI2P/i2pd / GetPadding

Method GetPadding

libi2pd/Identity.cpp:715–721  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

713 }
714
715 uint8_t * PrivateKeys::GetPadding()
716 {
717 if(m_Public->GetSigningKeyType () == SIGNING_KEY_TYPE_EDDSA_SHA512_ED25519)
718 return m_Public->GetEncryptionPublicKeyBuffer() + 256;
719 else
720 return nullptr; // TODO: implement me
721 }
722
723 std::shared_ptr<i2p::crypto::CryptoKeyDecryptor> PrivateKeys::CreateDecryptor (const uint8_t * key) const
724 {

Callers

nothing calls this directly

Calls 2

GetSigningKeyTypeMethod · 0.80

Tested by

no test coverage detected