| 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 | { |
nothing calls this directly
no test coverage detected