| 193 | } |
| 194 | |
| 195 | void UpdateDecryptor(Decryptor* decryptor, int16_t row_group_ordinal, |
| 196 | int16_t column_ordinal, int8_t module_type) { |
| 197 | ARROW_DCHECK(!decryptor->file_aad().empty()); |
| 198 | const std::string aad = |
| 199 | encryption::CreateModuleAad(decryptor->file_aad(), module_type, row_group_ordinal, |
| 200 | column_ordinal, kNonPageOrdinal); |
| 201 | decryptor->UpdateAad(aad); |
| 202 | } |
| 203 | |
| 204 | } // namespace parquet |
no test coverage detected