MCPcopy Create free account
hub / github.com/apache/arrow / ValidateKeyLength

Function ValidateKeyLength

cpp/src/parquet/encryption/key_toolkit_internal.cc:71–76  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

69}
70
71bool ValidateKeyLength(int32_t key_length_bits) {
72 int32_t* found_key_length = std::find(
73 const_cast<int32_t*>(kAcceptableDataKeyLengths),
74 const_cast<int32_t*>(std::end(kAcceptableDataKeyLengths)), key_length_bits);
75 return found_key_length != std::end(kAcceptableDataKeyLengths);
76}
77
78} // namespace parquet::encryption::internal

Callers 2

Calls 1

endFunction · 0.50

Tested by

no test coverage detected