commit | 921ef2c09591ea1f04625e01b800ac4493a8916d | [log] [tgz] |
---|---|---|
author | Robert Sloan <varomodt@google.com> | Tue Oct 17 09:02:20 2017 -0700 |
committer | Robert Sloan <varomodt@google.com> | Tue Oct 17 09:02:59 2017 -0700 |
tree | c4f4084bd965e5f01c9fdbc669bcf707ba7a3afa | |
parent | d4bb7dccd4eb0262166ae61f5a084841b2435738 [diff] [blame] |
external/boringssl: Sync to f8de2af7e319f83ba88579fbf127ba5fafc26c71. This includes the following changes: https://boringssl.googlesource.com/boringssl/+log/73ffb74b9e36a93a3e593010a367a610105da9a1..f8de2af7e319f83ba88579fbf127ba5fafc26c71 Change-Id: Iab4fb4fde30c1f26ad2b98160abca366bdea1da4 Test: BoringSSL CTS Presubmits.
diff --git a/src/include/openssl/chacha.h b/src/include/openssl/chacha.h index 61deb8e..684fc5b 100644 --- a/src/include/openssl/chacha.h +++ b/src/include/openssl/chacha.h
@@ -17,10 +17,14 @@ #include <openssl/base.h> -#ifdef __cplusplus +#if defined(__cplusplus) extern "C" { #endif +// ChaCha20. +// +// ChaCha20 is a stream cipher. See https://tools.ietf.org/html/rfc7539. + // CRYPTO_chacha_20 encrypts |in_len| bytes from |in| with the given key and // nonce and writes the result to |out|. If |in| and |out| alias, they must be