Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
F
fuchsia.googlesource.com-third_party-tink
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
fuchsia-mirror
fuchsia.googlesource.com-third_party-tink
Commits
1ad6a776
Commit
1ad6a776
authored
5 years ago
by
paulavidas
Committed by
Bartosz Przydatek
5 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Fix decrypting stream comment.
PiperOrigin-RevId: 268870105
parent
6430bb1d
No related branches found
Branches containing commit
No related tags found
Tags containing commit
Loading
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
cc/subtle/streaming_aead_decrypting_stream.h
+4
-3
4 additions, 3 deletions
cc/subtle/streaming_aead_decrypting_stream.h
with
4 additions
and
3 deletions
cc/subtle/streaming_aead_decrypting_stream.h
+
4
−
3
View file @
1ad6a776
...
@@ -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
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment