mirror of
https://github.com/apache/arrow.git
synced 2026-10-29 09:05:47 +08:00
rm old method
This commit is contained in:
1 parent
9f68cab27b
commit
9fa9ef665f
1 file changed
-7
@@ -419,13 +419,6 @@ int AesDecryptor::Decrypt(const uint8_t* ciphertext, int ciphertext_len,
|
||||
return ctr_decrypt(ciphertext, ciphertext_len, key, key_len, plaintext);
|
||||
}
|
||||
|
||||
int Decrypt(std::shared_ptr<EncryptionProperties> encryption_props, bool metadata,
|
||||
const uint8_t* ciphertext, int ciphertext_len, uint8_t* plaintext) {
|
||||
return Decrypt(encryption_props->algorithm(), metadata, ciphertext, ciphertext_len,
|
||||
encryption_props->key_bytes(), encryption_props->key_length(),
|
||||
encryption_props->aad_bytes(), encryption_props->aad_length(),
|
||||
plaintext);
|
||||
}
|
||||
|
||||
static std::string shortToBytesLE(int16_t input) {
|
||||
int8_t output[2];
|
||||
|
||||
Reference in new issue
Block a user