Home
last modified time | relevance | path

Searched refs:ivKey (Results 1 – 15 of 15) sorted by relevance

/dports/security/i2pd/i2pd-2.40.0/libi2pd/
H A DTransitTunnel.h32 const uint8_t * layerKey,const uint8_t * ivKey);
51 const uint8_t * layerKey,const uint8_t * ivKey): in TransitTunnelParticipant() argument
53 layerKey, ivKey), m_NumTransmittedBytes (0) {}; in TransitTunnelParticipant()
72 const uint8_t * layerKey,const uint8_t * ivKey): in TransitTunnelGateway() argument
74 layerKey, ivKey), m_Gateway(this) {}; in TransitTunnelGateway()
92 const uint8_t * layerKey,const uint8_t * ivKey): in TransitTunnelEndpoint() argument
93 TransitTunnel (receiveTunnelID, nextIdent, nextTunnelID, layerKey, ivKey), in TransitTunnelEndpoint()
108 const uint8_t * layerKey,const uint8_t * ivKey,
H A DTransitTunnel.cpp24 const uint8_t * layerKey,const uint8_t * ivKey): in TransitTunnel() argument
27 m_Encryption.SetKeys (layerKey, ivKey); in TransitTunnel()
98 const uint8_t * layerKey,const uint8_t * ivKey, in CreateTransitTunnel() argument
104 …td::make_shared<TransitTunnelEndpoint> (receiveTunnelID, nextIdent, nextTunnelID, layerKey, ivKey); in CreateTransitTunnel()
109 …std::make_shared<TransitTunnelGateway> (receiveTunnelID, nextIdent, nextTunnelID, layerKey, ivKey); in CreateTransitTunnel()
114 …:make_shared<TransitTunnelParticipant> (receiveTunnelID, nextIdent, nextTunnelID, layerKey, ivKey); in CreateTransitTunnel()
H A DTunnelConfig.cpp116 RAND_bytes (ivKey, 32); in CreateBuildRequestRecord()
128 memcpy (clearText + ECIES_BUILD_REQUEST_RECORD_IV_KEY_OFFSET, ivKey, 32); in CreateBuildRequestRecord()
184 memcpy (ivKey, m_CK + 32, 32); in CreateBuildRequestRecord()
188 memcpy (ivKey, m_CK, 32); // last HKDF in CreateBuildRequestRecord()
H A DCrypto.h269 void SetKeys (const AESKey& layerKey, const AESKey& ivKey) in SetKeys() argument
272 m_IVEncryption.SetKey (ivKey); in SetKeys()
287 void SetKeys (const AESKey& layerKey, const AESKey& ivKey) in SetKeys() argument
290 m_IVDecryption.SetKey (ivKey); in SetKeys()
H A DI2NPProtocol.cpp561 uint8_t replyKey[32], layerKey[32], ivKey[32]; in HandleShortTunnelBuildMsg() local
570 memcpy (ivKey, noiseState.m_CK + 32, 32); in HandleShortTunnelBuildMsg()
573 memcpy (ivKey, noiseState.m_CK , 32); in HandleShortTunnelBuildMsg()
589 layerKey, ivKey, in HandleShortTunnelBuildMsg()
H A DTunnelConfig.h27 uint8_t ivKey[32]; member
H A DTunnel.cpp183 m_Hops[i].decryption.SetKeys (hop->layerKey, hop->ivKey); in HandleTunnelBuildResponse()
/dports/math/vtk9/VTK-9.1.0/IO/Legacy/
H A DvtkDataWriter.cxx2036 vtkInformationIntegerVectorKey* ivKey = nullptr; in WriteInformation() local
2079 else if ((ivKey = vtkInformationIntegerVectorKey::SafeDownCast(key))) in WriteInformation()
2084 int length = ivKey->Length(info); in WriteInformation()
2088 int* data = ivKey->Get(info); in WriteInformation()
H A DvtkDataReader.cxx2880 vtkInformationIntegerVectorKey* ivKey = nullptr; in ReadInformation() local
2966 else if ((ivKey = vtkInformationIntegerVectorKey::SafeDownCast(key))) in ReadInformation()
2977 info->Set(ivKey, nullptr, 0); in ReadInformation()
2995 info->Set(ivKey, &values[0], length); in ReadInformation()
/dports/math/vtk8/VTK-8.2.0/IO/Legacy/
H A DvtkDataWriter.cxx1987 vtkInformationIntegerVectorKey *ivKey = nullptr; in WriteInformation() local
2032 else if ((ivKey = vtkInformationIntegerVectorKey::SafeDownCast(key))) in WriteInformation()
2037 int length = ivKey->Length(info); in WriteInformation()
2041 int *data = ivKey->Get(info); in WriteInformation()
H A DvtkDataReader.cxx2844 vtkInformationIntegerVectorKey *ivKey = nullptr; in ReadInformation() local
2939 else if ((ivKey = vtkInformationIntegerVectorKey::SafeDownCast(key))) in ReadInformation()
2952 info->Set(ivKey, nullptr, 0); in ReadInformation()
2971 info->Set(ivKey, &values[0], length); in ReadInformation()
/dports/math/vtk8/VTK-8.2.0/IO/XML/
H A DvtkXMLReader.cxx1178 vtkInformationIntegerVectorKey *ivKey = nullptr; in CreateInformationKey() local
1224 else if ((ivKey = vtkInformationIntegerVectorKey::SafeDownCast(key))) in CreateInformationKey()
1226 if (!readVectorInfo<int>(ivKey, info, element)) in CreateInformationKey()
H A DvtkXMLWriter.cxx2104 vtkInformationIntegerVectorKey *ivKey = nullptr; in WriteInformation() local
2130 else if ((ivKey = vtkInformationIntegerVectorKey::SafeDownCast(key))) in WriteInformation()
2132 writeVectorInfo(ivKey, info, *this->Stream, nextIndent); in WriteInformation()
/dports/math/vtk9/VTK-9.1.0/IO/XML/
H A DvtkXMLReader.cxx1245 vtkInformationIntegerVectorKey* ivKey = nullptr; in CreateInformationKey() local
1291 else if ((ivKey = vtkInformationIntegerVectorKey::SafeDownCast(key))) in CreateInformationKey()
1293 if (!readVectorInfo<int>(ivKey, info, element)) in CreateInformationKey()
H A DvtkXMLWriter.cxx1826 vtkInformationIntegerVectorKey* ivKey = nullptr; in WriteInformation() local
1852 else if ((ivKey = vtkInformationIntegerVectorKey::SafeDownCast(key))) in WriteInformation()
1854 writeVectorInfo(ivKey, info, *this->Stream, nextIndent); in WriteInformation()