diff options
| author | Jung-uk Kim <jkim@FreeBSD.org> | 2019-05-28 20:08:17 +0000 | 
|---|---|---|
| committer | Jung-uk Kim <jkim@FreeBSD.org> | 2019-05-28 20:08:17 +0000 | 
| commit | 375b8e6770f750fb915859470f6f1fe43f35cc48 (patch) | |
| tree | 5db6744924edfc112439ad2366f52f246baa21d1 /doc/man3/EVP_chacha20.pod | |
| parent | 851f7386fd78b9787f4f6669ad271886a2a003f1 (diff) | |
Notes
Diffstat (limited to 'doc/man3/EVP_chacha20.pod')
| -rw-r--r-- | doc/man3/EVP_chacha20.pod | 12 | 
1 files changed, 10 insertions, 2 deletions
diff --git a/doc/man3/EVP_chacha20.pod b/doc/man3/EVP_chacha20.pod index 96da825cded4..a21b64859568 100644 --- a/doc/man3/EVP_chacha20.pod +++ b/doc/man3/EVP_chacha20.pod @@ -21,7 +21,15 @@ The ChaCha20 stream cipher for EVP.  =item EVP_chacha20() -The ChaCha20 stream cipher. The key length is 256 bits, the IV is 96 bits long. +The ChaCha20 stream cipher. The key length is 256 bits, the IV is 128 bits long. +The first 32 bits consists of a counter in little-endian order followed by a 96 +bit nonce. For example a nonce of: + +000000000000000000000002 + +With an initial counter of 42 (2a in hex) would be expressed as: + +2a000000000000000000000000000002  =item EVP_chacha20_poly1305() @@ -46,7 +54,7 @@ L<EVP_CIPHER_meth_new(3)>  =head1 COPYRIGHT -Copyright 2017 The OpenSSL Project Authors. All Rights Reserved. +Copyright 2017-2019 The OpenSSL Project Authors. All Rights Reserved.  Licensed under the OpenSSL license (the "License").  You may not use  this file except in compliance with the License.  You can obtain a copy  | 
