/dports/security/i2pd/i2pd-2.40.0/daemon/ |
H A D | Daemon.cpp | 37 namespace i2p namespace 73 i2p::config::Init(); in init() 79 i2p::fs::Init(); in init() 93 i2p::config::Finalize(); in init() 150 i2p::context.Init (); in init() 283 i2p::context.SetBandwidth (i2p::data::CAPS_FLAG_LOW_BANDWIDTH2); in init() 290 i2p::context.SetBandwidth (i2p::data::CAPS_FLAG_EXTRA_BANDWIDTH2); in init() 295 i2p::context.SetBandwidth (i2p::data::CAPS_FLAG_LOW_BANDWIDTH2); in init() 364 i2p::data::netdb.Start(); in start() 368 d.UPnP = std::unique_ptr<i2p::transport::UPnP>(new i2p::transport::UPnP); in start() [all …]
|
H A D | HTTPServer.cpp | 43 namespace i2p { namespace 49 if (i2p::fs::Exists(styleFile)) { in LoadExtCSS() 166 i2p::log::Logger().Reopen (); in SetLogLevel() 196 if (i2p::context.IsFloodfill ()) in ShowPageHead() 263 if (i2p::context.SupportsV6 ()) in ShowStatus() 502 i2p::data::IdentHash ident; in ShowLocalDestination() 576 [&s, &counter](const i2p::data::IdentHash dest, std::shared_ptr<i2p::data::LeaseSet> leaseSet) in ShowLeasesSets() 1213 i2p::win32::StopWin32App (); in HandleCommand() 1226 i2p::data::IdentHash ident; in HandleCommand() 1269 i2p::data::IdentHash ident; in HandleCommand() [all …]
|
/dports/security/i2pd/i2pd-2.40.0/libi2pd/ |
H A D | api.cpp | 23 namespace i2p namespace 29 i2p::config::Init (); in InitI2P() 31 i2p::config::Finalize (); in InitI2P() 37 i2p::fs::Init(); in InitI2P() 48 i2p::context.Init (); in InitI2P() 61 i2p::log::Logger().SendTo (i2p::fs::DataDirPath (i2p::fs::GetAppName () + ".log")); in StartI2P() 64 i2p::data::netdb.Start(); in StartI2P() 79 i2p::data::netdb.Stop(); in StopI2P() 80 i2p::log::Logger().Stop (); in StopI2P() 99 i2p::data::PrivateKeys keys = i2p::data::PrivateKeys::CreateRandomKeys (sigType); in CreateLocalDestination() [all …]
|
H A D | Destination.h | 31 namespace i2p 95 std::set<i2p::data::IdentHash> excluded; 100 std::shared_ptr<i2p::tunnel::InboundTunnel> replyTunnel; 103 void Complete (std::shared_ptr<i2p::data::LeaseSet> ls) in Complete() 125 std::shared_ptr<i2p::data::LeaseSet> FindLeaseSet (const i2p::data::IdentHash& ident); 182 std::map<i2p::data::IdentHash, std::shared_ptr<i2p::data::LeaseSet> > m_RemoteLeaseSets; 185 std::shared_ptr<i2p::tunnel::TunnelPool> m_Pool; 213 i2p::data::CryptoKeyType keyType; 245 …std::shared_ptr<i2p::stream::Stream> CreateStream (std::shared_ptr<const i2p::data::LeaseSet> remo… 246 void SendPing (const i2p::data::IdentHash& to); [all …]
|
H A D | RouterContext.cpp | 25 namespace i2p namespace 52 …m_Keys = i2p::data::PrivateKeys::CreateRandomKeys (i2p::data::SIGNING_KEY_TYPE_EDDSA_SHA512_ED2551… in CreateNewRouter() 60 i2p::data::RouterInfo routerInfo; in NewRouterInfo() 91 if (!i2p::config::IsDefault("host")) in NewRouterInfo() 92 i2p::config::GetOption("host", host); in NewRouterInfo() 120 i2p::config::GetOption("host", host); in NewRouterInfo() 729 i2p::data::Keys keys; in Load() 748 …m_Keys = i2p::data::PrivateKeys::CreateRandomKeys (i2p::data::SIGNING_KEY_TYPE_EDDSA_SHA512_ED2551… in Load() 768 i2p::data::RouterInfo routerInfo(i2p::fs::DataDirPath (ROUTER_INFO)); in Load() 825 i2p::HandleI2NPMessage (msg); in HandleCloveI2NPMessage() [all …]
|
H A D | TunnelConfig.h | 17 namespace i2p 23 std::shared_ptr<const i2p::data::IdentityEx> ident; 24 i2p::data::IdentHash nextIdent; 35 TunnelHopConfig (std::shared_ptr<const i2p::data::IdentityEx> r); 38 void SetNextIdent (const i2p::data::IdentHash& ident); 85 …bool isShort, i2p::data::RouterInfo::CompatibleTransports farEndTransports = i2p::data::RouterInfo… 89 m_LastHop->SetNextIdent (i2p::context.GetIdentHash ()); in m_IsShort() 94 …i2p::data::RouterInfo::CompatibleTransports farEndTransports = i2p::data::RouterInfo::eAllTranspor… 188 m_FarEndTransports (i2p::data::RouterInfo::eAllTransports) in TunnelConfig() 212 const i2p::data::IdentHash& GetNextIdentHash () const { return i2p::context.GetIdentHash (); }; in GetNextIdentHash() [all …]
|
H A D | Transports.h | 30 namespace i2p 67 std::shared_ptr<const i2p::data::RouterInfo> router; 102 void SendMessage (const i2p::data::IdentHash& ident, std::shared_ptr<i2p::I2NPMessage> msg); 103 …void SendMessages (const i2p::data::IdentHash& ident, const std::vector<std::shared_ptr<i2p::I2NPM… 107 bool IsConnected (const i2p::data::IdentHash& ident) const; 142 …void RequestComplete (std::shared_ptr<const i2p::data::RouterInfo> r, const i2p::data::IdentHash& … 143 …void HandleRequestComplete (std::shared_ptr<const i2p::data::RouterInfo> r, i2p::data::IdentHash i… 144 …void PostMessages (i2p::data::IdentHash ident, std::vector<std::shared_ptr<i2p::I2NPMessage> > msg… 164 std::unordered_map<i2p::data::IdentHash, Peer> m_Peers; 178 std::vector<i2p::data::IdentHash> m_TrustedRouters; [all …]
|
H A D | Destination.cpp | 23 namespace i2p namespace 71 i2p::data::IdentHash ident; in LeaseSetDestination() 220 …std::shared_ptr<i2p::data::LeaseSet> LeaseSetDestination::FindLeaseSet (const i2p::data::IdentHash… in FindLeaseSet() 310 …if (numTunnels > i2p::data::MAX_NUM_LEASES) numTunnels = i2p::data::MAX_NUM_LEASES; // 16 tunnels … in UpdateLeaseSet() 475 i2p::data::IdentHash key (buf); in HandleDatabaseSearchReplyMessage() 710 std::set<i2p::data::IdentHash> excluded; in RequestLeaseSet() 778 i2p::tunnel::TunnelMessageBlock in SendLeaseSetRequest() 780 i2p::tunnel::eDeliveryTypeRouter, in SendLeaseSetRequest() 864 return i2p::data::CRYPTO_KEY_TYPE_ELGAMAL; in GetPreferredCryptoType() 1263 …auto ls2 = std::make_shared<i2p::data::LocalLeaseSet2> (i2p::data::NETDB_STORE_TYPE_STANDARD_LEASE… in CreateNewLeaseSet() [all …]
|
H A D | api.h | 18 namespace i2p 31 …std::shared_ptr<i2p::client::ClientDestination> CreateLocalDestination (const i2p::data::PrivateKe… 33 …std::shared_ptr<i2p::client::ClientDestination> CreateLocalDestination (bool isPublic = false, i2p… 35 void DestroyLocalDestination (std::shared_ptr<i2p::client::ClientDestination> dest); 38 …void RequestLeaseSet (std::shared_ptr<i2p::client::ClientDestination> dest, const i2p::data::Ident… 39 …std::shared_ptr<i2p::stream::Stream> CreateStream (std::shared_ptr<i2p::client::ClientDestination>… 40 …void AcceptStream (std::shared_ptr<i2p::client::ClientDestination> dest, const i2p::stream::Stream… 41 void DestroyStream (std::shared_ptr<i2p::stream::Stream> stream);
|
H A D | Identity.cpp | 15 namespace i2p namespace 305 return i2p::crypto::DSA_SIGNATURE_LENGTH; in GetSignatureLen() 340 return new i2p::crypto::DSAVerifier (); in CreateVerifier() 350 return new i2p::crypto::GOSTR3410_256_Verifier (i2p::crypto::eGOSTR3410CryptoProA); in CreateVerifier() 352 return new i2p::crypto::GOSTR3410_512_Verifier (i2p::crypto::eGOSTR3410TC26A512); in CreateVerifier() 405 i2p::crypto::Verifier * verifier; in DropVerifier() 635 return new i2p::crypto::GOSTR3410_256_Signer (i2p::crypto::eGOSTR3410CryptoProA, priv); in CreateSigner() 638 return new i2p::crypto::GOSTR3410_512_Signer (i2p::crypto::eGOSTR3410TC26A512, priv); in CreateSigner() 743 i2p::crypto::CreateGOSTR3410RandomKeys (i2p::crypto::eGOSTR3410CryptoProA, priv, pub); in GenerateSigningKeyPair() 746 i2p::crypto::CreateGOSTR3410RandomKeys (i2p::crypto::eGOSTR3410TC26A512, priv, pub); in GenerateSigningKeyPair() [all …]
|
H A D | Transports.cpp | 19 using namespace i2p::data; 21 namespace i2p namespace 63 i2p::util::SetThreadName("Ephemerals"); in Run() 170 i2p::config::GetOption("nat", m_IsNAT); in Start() 175 i2p::http::URL proxyurl; in Start() 328 i2p::util::SetThreadName("Transports"); in Run() 375 …void Transports::SendMessage (const i2p::data::IdentHash& ident, std::shared_ptr<i2p::I2NPMessage>… in SendMessage() 386 …void Transports::PostMessages (i2p::data::IdentHash ident, std::vector<std::shared_ptr<i2p::I2NPMe… in PostMessages() 587 if (ipv4 && i2p::context.SupportsV4 ()) in PeerTest() 613 if (ipv6 && i2p::context.SupportsV6 ()) in PeerTest() [all …]
|
H A D | Datagram.h | 23 namespace i2p 51 …DatagramSession(std::shared_ptr<i2p::client::ClientDestination> localDestination, const i2p::data:… 70 std::shared_ptr<const i2p::data::IdentHash> IBGW; 71 std::shared_ptr<const i2p::data::IdentHash> OBEP; 77 if(ibgw) IBGW = std::make_shared<i2p::data::IdentHash>(ibgw); in Info() 79 if(obep) OBEP = std::make_shared<i2p::data::IdentHash>(obep); in Info() 95 i2p::data::IdentHash m_RemoteIdent; 96 std::shared_ptr<const i2p::data::LeaseSet> m_RemoteLeaseSet; 157 std::shared_ptr<i2p::client::ClientDestination> m_Owner; 166 i2p::data::GzipInflator m_Inflator; [all …]
|
H A D | I2NPProtocol.cpp | 25 using namespace i2p::transport; 27 namespace i2p namespace 69 auto ts = i2p::util::GetMillisecondsSinceEpoch (); in IsExpired() 225 std::vector<i2p::data::IdentHash> routers) in CreateDatabaseSearchReply() 291 i2p::data::GzipDeflator deflator; in CreateDatabaseStoreMsg() 382 if (i2p::context.AcceptsTunnels () && in HandleBuildRequestRecords() 403 i2p::crypto::CBCEncryption encryption; in HandleBuildRequestRecords() 577 if (!i2p::context.AcceptsTunnels () || in HandleShortTunnelBuildMsg() 798 i2p::tunnel::tunnels.PostTunnelData (msg); in HandleI2NPMessage() 813 i2p::context.ProcessGarlicMessage (msg); in HandleI2NPMessage() [all …]
|
H A D | Blinding.cpp | 23 namespace i2p namespace 73 i2p::crypto::bn2buf (x, blindedPub, publicKeyLen/2); in BlindEncodedPublicKeyECDSA() 84 i2p::crypto::bn2buf (a1, blindedPriv, publicKeyLen/2); in BlindEncodedPrivateKeyECDSA() 93 i2p::crypto::bn2buf (x, blindedPub, publicKeyLen/2); in BlindEncodedPrivateKeyECDSA() 106 case i2p::data::SIGNING_KEY_TYPE_ECDSA_SHA256_P256: in BlindECDSA() 112 case i2p::data::SIGNING_KEY_TYPE_ECDSA_SHA384_P384: in BlindECDSA() 118 case i2p::data::SIGNING_KEY_TYPE_ECDSA_SHA512_P521: in BlindECDSA() 179 …std::unique_ptr<i2p::crypto::Verifier> blindedVerifier (i2p::data::IdentityEx::CreateVerifier (m_S… in BlindedPublicKey() 248 case i2p::data::SIGNING_KEY_TYPE_ECDSA_SHA256_P256: in GetBlindedKey() 306 i2p::data::IdentHash hash; in GetStoreHash() [all …]
|
H A D | RouterContext.h | 22 namespace i2p 53 class RouterContext: public i2p::garlic::GarlicDestination 71 std::shared_ptr<i2p::data::RouterInfo> GetSharedRouterInfo () in GetSharedRouterInfo() 73 return std::shared_ptr<i2p::data::RouterInfo> (&m_RouterInfo, in GetSharedRouterInfo() 74 [](i2p::data::RouterInfo *) {}); in GetSharedRouterInfo() 78 return std::shared_ptr<i2p::garlic::GarlicDestination> (this, in GetSharedDestination() 79 [](i2p::garlic::GarlicDestination *) {}); in GetSharedDestination() 84 i2p::crypto::X25519Keys& GetStaticKeys (); 166 i2p::data::RouterInfo m_RouterInfo; 167 i2p::data::PrivateKeys m_Keys; [all …]
|
/dports/security/i2pd/i2pd-2.40.0/libi2pd_client/ |
H A D | ClientContext.h | 27 namespace i2p 80 i2p::data::SigningKeyType sigType = i2p::data::SIGNING_KEY_TYPE_EDDSA_SHA512_ED25519, 81 i2p::data::CryptoKeyType cryptoType = i2p::data::CRYPTO_KEY_TYPE_ELGAMAL, 84 …bool isPublic = false, i2p::data::SigningKeyType sigType = i2p::data::SIGNING_KEY_TYPE_EDDSA_SHA51… 85 i2p::data::CryptoKeyType cryptoType = i2p::data::CRYPTO_KEY_TYPE_ELGAMAL, 90 const i2p::data::PrivateKeys& keys, bool isPublic = true, 97 i2p::data::SigningKeyType sigType = i2p::data::SIGNING_KEY_TYPE_EDDSA_SHA512_ED25519, 98 i2p::data::CryptoKeyType cryptoType = i2p::data::CRYPTO_KEY_TYPE_ELGAMAL); 143 i2p::proxy::HTTPProxy * m_HttpProxy; 144 i2p::proxy::SOCKSProxy * m_SocksProxy; [all …]
|
H A D | AddressBook.h | 26 namespace i2p 45 i2p::data::IdentHash identHash; 46 std::shared_ptr<i2p::data::BlindedPublicKey> blindedPublicKey; 49 Address (const i2p::data::IdentHash& hash); 61 …virtual std::shared_ptr<const i2p::data::IdentityEx> GetAddress (const i2p::data::IdentHash& ident… 62 virtual void AddAddress (std::shared_ptr<const i2p::data::IdentityEx> address) = 0; 63 virtual void RemoveAddress (const i2p::data::IdentHash& ident) = 0; 91 void InsertFullAddress (std::shared_ptr<const i2p::data::IdentityEx> address); 146 i2p::data::IdentHash m_Ident; 156 void AddAddress (const std::string& name, const i2p::data::IdentHash& ident); [all …]
|
H A D | ClientContext.cpp | 22 namespace i2p namespace 259 i2p::data::SigningKeyType sigType, i2p::data::CryptoKeyType cryptoType) in LoadPrivateKeys() 328 i2p::data::SigningKeyType sigType, i2p::data::CryptoKeyType cryptoType, in CreateNewLocalDestination() 331 i2p::data::PrivateKeys keys = i2p::data::PrivateKeys::CreateRandomKeys (sigType, cryptoType); in CreateNewLocalDestination() 339 i2p::data::SigningKeyType sigType, i2p::data::CryptoKeyType cryptoType, in CreateNewLocalDestination() 342 i2p::data::PrivateKeys keys = i2p::data::PrivateKeys::CreateRandomKeys (sigType, cryptoType); in CreateNewLocalDestination() 520 if (i2p::fs::Exists (tunDir)) in ReadTunnels() 585 i2p::data::PrivateKeys k; in ReadTunnels() 729 i2p::data::PrivateKeys k; in ReadTunnels() 857 i2p::data::PrivateKeys keys; in ReadHttpProxy() [all …]
|
/dports/security/i2pd/i2pd-2.40.0/tests/ |
H A D | test-gost-sig.cpp | 21 i2p::crypto::CreateGOSTR3410RandomKeys (i2p::crypto::eGOSTR3410TC26A512, priv, pub); in main() 22 i2p::crypto::GOSTR3410_512_Signer signer (i2p::crypto::eGOSTR3410TC26A512, priv); in main() 24 i2p::crypto::GOSTR3410_512_Verifier verifier (i2p::crypto::eGOSTR3410TC26A512); in main() 28 i2p::crypto::CreateGOSTR3410RandomKeys (i2p::crypto::eGOSTR3410CryptoProA, priv, pub); in main() 29 i2p::crypto::GOSTR3410_256_Signer signer1 (i2p::crypto::eGOSTR3410CryptoProA, priv); in main() 31 i2p::crypto::GOSTR3410_256_Verifier verifier1 (i2p::crypto::eGOSTR3410CryptoProA); in main()
|
/dports/security/i2pd/i2pd-2.40.0/i18n/ |
H A D | I18N_langs.h | 12 namespace i2p 70 std::function<std::shared_ptr<const i2p::i18n::Locale> (void)> LocaleFunc; 74 namespace afrikaans { std::shared_ptr<const i2p::i18n::Locale> GetLocale (); } 75 namespace armenian { std::shared_ptr<const i2p::i18n::Locale> GetLocale (); } 76 namespace english { std::shared_ptr<const i2p::i18n::Locale> GetLocale (); } 87 { "afrikaans", {"Afrikaans", "af", i2p::i18n::afrikaans::GetLocale} }, 88 { "armenian", {"հայերէն", "hy", i2p::i18n::armenian::GetLocale} }, 89 { "english", {"English", "en", i2p::i18n::english::GetLocale} }, 90 { "russian", {"русский язык", "ru", i2p::i18n::russian::GetLocale} }, 91 { "turkmen", {"türkmen dili", "tk", i2p::i18n::turkmen::GetLocale} }, [all …]
|
/dports/security/i2pd/i2pd-2.40.0/Win32/ |
H A D | Win32App.cpp | 43 namespace i2p namespace 57 if(!i2p::context.AcceptsTunnels()) in ShowPopupMenu() 64 if (!i2p::util::DaemonWin32::Instance ().isGraceful) in ShowPopupMenu() 160 switch (i2p::context.GetError ()) in ShowNetworkStatus() 183 ShowNetworkStatus (s, i2p::context.GetStatus ()); in PrintMainWindowText() 184 if (i2p::context.SupportsV6 ()) in PrintMainWindowText() 253 i2p::context.SetAcceptsTunnels (true); in WndProc() 261 i2p::context.SetAcceptsTunnels (false); in WndProc() 269 i2p::context.SetAcceptsTunnels (false); in WndProc() 278 i2p::context.SetAcceptsTunnels (true); in WndProc() [all …]
|
/dports/devel/llvm-cheri/llvm-project-37c49ff00e3eadce5d8703fdc4497f28458c64a8/llvm/test/Transforms/InstCombine/ |
H A D | callsite_nonnull_args_through_casts.ll | 24 call void @foo(i8* %i2p) 35 call void @foo(i8* %i2p) 46 call void @foo(i8* %i2p) 51 call void @foo(i8* %i2p.2) 59 %i2p = inttoptr i64 %p2i to i8* 61 call void @foo(i8* %i2p) 70 ; CHECK: call void @foo(i8* %i2p) 71 call void @foo(i8* %i2p) 79 %i2p = inttoptr i32 %p2i to i8* 80 ; CHECK: call void @foo(i8* %i2p) [all …]
|
/dports/devel/llvm11/llvm-11.0.1.src/test/Transforms/InstCombine/ |
H A D | callsite_nonnull_args_through_casts.ll | 24 call void @foo(i8* %i2p) 35 call void @foo(i8* %i2p) 46 call void @foo(i8* %i2p) 51 call void @foo(i8* %i2p.2) 59 %i2p = inttoptr i64 %p2i to i8* 61 call void @foo(i8* %i2p) 70 ; CHECK: call void @foo(i8* %i2p) 71 call void @foo(i8* %i2p) 79 %i2p = inttoptr i32 %p2i to i8* 80 ; CHECK: call void @foo(i8* %i2p) [all …]
|
/dports/devel/llvm-devel/llvm-project-f05c95f10fc1d8171071735af8ad3a9e87633120/llvm/test/Transforms/InstCombine/ |
H A D | callsite_nonnull_args_through_casts.ll | 24 call void @foo(i8* %i2p) 35 call void @foo(i8* %i2p) 46 call void @foo(i8* %i2p) 51 call void @foo(i8* %i2p.2) 59 %i2p = inttoptr i64 %p2i to i8* 61 call void @foo(i8* %i2p) 70 ; CHECK: call void @foo(i8* %i2p) 71 call void @foo(i8* %i2p) 79 %i2p = inttoptr i32 %p2i to i8* 80 ; CHECK: call void @foo(i8* %i2p) [all …]
|
/dports/devel/llvm10/llvm-10.0.1.src/test/Transforms/InstCombine/ |
H A D | callsite_nonnull_args_through_casts.ll | 24 call void @foo(i8* %i2p) 35 call void @foo(i8* %i2p) 46 call void @foo(i8* %i2p) 51 call void @foo(i8* %i2p.2) 59 %i2p = inttoptr i64 %p2i to i8* 61 call void @foo(i8* %i2p) 70 ; CHECK: call void @foo(i8* %i2p) 71 call void @foo(i8* %i2p) 79 %i2p = inttoptr i32 %p2i to i8* 80 ; CHECK: call void @foo(i8* %i2p) [all …]
|