summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/chacha/chacha.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* add missing stdint. include for uint32_t, etc.bcook2014-07-081-1/+4
| | | | ok beck@ jsing@
* If a chacha operation does not consume all of the generated key stream,jsing2014-06-241-1/+16
| | | | | | | | | | | | | | | | ensure that we save it and consume it on subsequent writes. Otherwise we end up discarding part of the key stream and instead generate a new block at the start of the next write. This was only an issue for callers that did multiple writes that are not multiples of 64 bytes - in particular, the ChaCha20Poly1305 usage does not hit this problem since it performs encryption in a single-shot. For the same reason, this is also a non-issue when openssl(1) is used to encrypt with ChaCha. Issue identified by insane coder; reported to bugs@ by Joseph M. Schwartz. ok beck@
* tags as requested by miod and teduderaadt2014-06-121-0/+1
|
* Get the public headers from the official place with <openssl/ >deraadt2014-05-311-1/+1
| | | | from Brent Cook
* Provide an EVP implementation for ChaCha.jsing2014-05-011-0/+20
| | | | ok miod@
* Add ChaCha to libcrypto, based on djb's public domain implementation.jsing2014-05-011-0/+38
ok deraadt@