Skip to content

Commit 9fa9ef6

Browse files
committed
rm old method
1 parent 9f68cab commit 9fa9ef6

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

cpp/src/parquet/util/crypto.cc

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -419,13 +419,6 @@ int AesDecryptor::Decrypt(const uint8_t* ciphertext, int ciphertext_len,
419419
return ctr_decrypt(ciphertext, ciphertext_len, key, key_len, plaintext);
420420
}
421421

422-
int Decrypt(std::shared_ptr<EncryptionProperties> encryption_props, bool metadata,
423-
const uint8_t* ciphertext, int ciphertext_len, uint8_t* plaintext) {
424-
return Decrypt(encryption_props->algorithm(), metadata, ciphertext, ciphertext_len,
425-
encryption_props->key_bytes(), encryption_props->key_length(),
426-
encryption_props->aad_bytes(), encryption_props->aad_length(),
427-
plaintext);
428-
}
429422

430423
static std::string shortToBytesLE(int16_t input) {
431424
int8_t output[2];

0 commit comments

Comments
 (0)