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
Loading
...@@ -32,9 +32,10 @@ class StreamingAeadDecryptingStream : public InputStream { ...@@ -32,9 +32,10 @@ class StreamingAeadDecryptingStream : public InputStream {
public: public:
// A factory that produces decrypting streams. // A factory that produces decrypting streams.
// The returned stream is a wrapper around 'ciphertext_source', // The returned stream is a wrapper around 'ciphertext_source',
// such that any bytes written via the wrapper are AEAD-decrypted // such that reading via the wrapper leads to AEAD-decryption of the
// by 'segment_decrypter' using 'associated_data' as associated // underlying ciphertext by 'segment_decrypter', using 'associated_data' as
// authenticated data. // associated authenticated data, and the read bytes are bytes of the
// resulting plaintext.
static static
crypto::tink::util::StatusOr<std::unique_ptr<crypto::tink::InputStream>> crypto::tink::util::StatusOr<std::unique_ptr<crypto::tink::InputStream>>
New(std::unique_ptr<StreamSegmentDecrypter> segment_decrypter, 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