Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Change the counter argument for CRYPTO_chacha_20 to be 64-bits on all platforms. | bcook | 2015-12-09 | 2 | -5/+6 |
| | | | | | | | | | | | The recently-added EVP_aead_chacha20_poly1305_ietf() function, which implements informational RFC 7539, "ChaCha20 and Poly1305 for IETF Protocols", needs a 64-bit counter to avoid truncation on 32-bit platforms. The existing TLS ChaCha20-Poly1305 ciphersuite is not impacted by this, but making this change requires an ABI bump. ok jsing@, "Looks sane" beck@ | ||||
* | Add missing year to copyright. | jsing | 2014-07-25 | 1 | -2/+2 |
| | |||||
* | replace u_int8_t with uint8_t | bcook | 2014-07-11 | 1 | -3/+5 |
| | | | | ok beck@ | ||||
* | add missing stdint. include for uint32_t, etc. | bcook | 2014-07-08 | 1 | -1/+4 |
| | | | | ok beck@ jsing@ | ||||
* | If a chacha operation does not consume all of the generated key stream, | jsing | 2014-06-24 | 3 | -7/+46 |
| | | | | | | | | | | | | | | | | 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@ | ||||
* | Some KNF. | jsing | 2014-06-24 | 1 | -6/+12 |
| | |||||
* | tags as requested by miod and tedu | deraadt | 2014-06-12 | 3 | -0/+3 |
| | |||||
* | Get the public headers from the official place with <openssl/ > | deraadt | 2014-05-31 | 1 | -1/+1 |
| | | | | from Brent Cook | ||||
* | KNF. | jsing | 2014-05-15 | 2 | -156/+158 |
| | |||||
* | __bounded => __attribute__((__bounded__ | djm | 2014-05-10 | 1 | -5/+5 |
| | |||||
* | Provide an EVP implementation for ChaCha. | jsing | 2014-05-01 | 2 | -0/+31 |
| | | | | ok miod@ | ||||
* | Add ChaCha to libcrypto, based on djb's public domain implementation. | jsing | 2014-05-01 | 3 | -0/+314 |
ok deraadt@ |