MCPcopy Create free account
hub / github.com/LUX-Core/lux / SetKeyWithIV

Method SetKeyWithIV

src/cryptopp/cryptlib.cpp:108–111  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

106}
107
108void SimpleKeyingInterface::SetKeyWithIV(const byte *key, size_t length, const byte *iv, size_t ivLength)
109{
110 SetKey(key, length, MakeParameters(Name::IV(), ConstByteArrayParameter(iv, ivLength)));
111}
112
113void SimpleKeyingInterface::ThrowIfInvalidKeyLength(size_t length)
114{

Callers 11

setupMethod · 0.80
encryptAES128CTRMethod · 0.80
decryptAES128CTRMethod · 0.80
BOOST_AUTO_TEST_CASEFunction · 0.80
BOOST_AUTO_TEST_CASEFunction · 0.80
SymmetricCipherFinalMethod · 0.80
CRYPTOPP_API mainFunction · 0.80
ValidateFunction · 0.80
FirstPutMethod · 0.80
CheckKeyMethod · 0.80

Calls 3

SetKeyFunction · 0.85
MakeParametersFunction · 0.85

Tested by 5

BOOST_AUTO_TEST_CASEFunction · 0.64
BOOST_AUTO_TEST_CASEFunction · 0.64
CRYPTOPP_API mainFunction · 0.64
ValidateFunction · 0.64