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

Method ThrowIfInvalidKeyLength

src/cryptopp/cryptlib.cpp:113–117  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

111}
112
113void SimpleKeyingInterface::ThrowIfInvalidKeyLength(size_t length)
114{
115 if (!IsValidKeyLength(length))
116 throw InvalidKeyLength(GetAlgorithm().AlgorithmName(), length);
117}
118
119void SimpleKeyingInterface::ThrowIfResynchronizable()
120{

Callers 1

SetKeyMethod · 0.95

Calls 2

IsValidKeyLengthFunction · 0.70
AlgorithmNameMethod · 0.45

Tested by

no test coverage detected