Skip to content

Commit

Permalink
rm old method
Browse files Browse the repository at this point in the history
  • Loading branch information
ggershinsky committed May 28, 2019
1 parent 9f68cab commit 9fa9ef6
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions cpp/src/parquet/util/crypto.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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];
Expand Down

0 comments on commit 9fa9ef6

Please sign in to comment.