| 69 | } |
| 70 | |
| 71 | bool 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 |
no test coverage detected