| 50 | } |
| 51 | |
| 52 | int32_t Decryptor::Decrypt(std::span<const uint8_t> ciphertext, |
| 53 | std::span<uint8_t> plaintext) { |
| 54 | return aes_decryptor_->Decrypt(ciphertext, key_.as_span(), str2span(aad_), plaintext); |
| 55 | } |
| 56 | |
| 57 | // InternalFileDecryptor |
| 58 | InternalFileDecryptor::InternalFileDecryptor( |