Skip to content
Snippets Groups Projects
Commit 1ad6a776 authored by paulavidas's avatar paulavidas Committed by Bartosz Przydatek
Browse files

Fix decrypting stream comment.

PiperOrigin-RevId: 268870105
parent 6430bb1d
No related branches found
No related tags found
No related merge requests found
......@@ -32,9 +32,10 @@ class StreamingAeadDecryptingStream : public InputStream {
public:
// A factory that produces decrypting streams.
// The returned stream is a wrapper around 'ciphertext_source',
// such that any bytes written via the wrapper are AEAD-decrypted
// by 'segment_decrypter' using 'associated_data' as associated
// authenticated data.
// such that reading via the wrapper leads to AEAD-decryption of the
// underlying ciphertext by 'segment_decrypter', using 'associated_data' as
// associated authenticated data, and the read bytes are bytes of the
// resulting plaintext.
static
crypto::tink::util::StatusOr<std::unique_ptr<crypto::tink::InputStream>>
New(std::unique_ptr<StreamSegmentDecrypter> segment_decrypter,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment