Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix error message | tb | 2023-09-28 | 1 | -2/+2 |
| | |||||
* | Check that EVP_CIPHER_CTX_iv_length() matches what was set | tb | 2023-09-28 | 1 | -1/+9 |
| | | | | | | This really only covers AES-GCM. From beck | ||||
* | fixup for MS compilers | bcook | 2023-07-07 | 1 | -1/+8 |
| | |||||
* | Test EVP_chacha20_poly1305() (linking statically for now) | jsing | 2022-08-20 | 2 | -3/+4 |
| | |||||
* | Update copyright for additional/new code. | jsing | 2022-07-30 | 1 | -1/+2 |
| | |||||
* | Provide additional AEAD test cases. | jsing | 2022-07-30 | 6 | -1/+1991 |
| | | | | | | | | | Bring in additional AEAD test cases from BoringSSL. This provides additional coverage for AES-{128,192,256}-GCM, as well as Chacha20-Poly1305 and XChaCha20-Poly1305. Discussed with tb@ | ||||
* | Add EVP_aes_192_gcm() as a known AEAD. | jsing | 2022-07-30 | 1 | -1/+3 |
| | |||||
* | Allow the AEAD to be specified for a test file. | jsing | 2022-07-30 | 2 | -8/+12 |
| | | | | | Currently, this must be specified per test - allow it to be given as a command line argument that applies to the entire test file. | ||||
* | Run AEAD tests against EVP_CIPHER implementations. | jsing | 2022-07-30 | 1 | -15/+220 |
| | | | | | | | | In addition to running AEAD tests against the EVP_AEAD implementation, also run them against the EVP_CIPHER implementation where applicable. This is a perfect example of why EVP_AEAD exists and why EVP_CIPHER is completely unsuited for use with AEADs... | ||||
* | Allow quoted ASCII strings as input for AEAD regress. | jsing | 2022-07-30 | 1 | -21/+42 |
| | | | | | | Currently, each line in the text file is expected to be string of hexadecimal digits. In addition to this, allow a line to be given as an quoted ASCII string. | ||||
* | Sort includes. | jsing | 2022-07-30 | 1 | -4/+4 |
| | |||||
* | Less #ifndef OPENSSL_NO_* | jsing | 2022-07-30 | 1 | -17/+1 |
| | | | | | We're not going to be compiling without AES or CHACHA/POLY1305 anytime soon. | ||||
* | Fix comment formatting. | jsing | 2022-07-30 | 1 | -4/+7 |
| | |||||
* | Switch to ISC license. | jsing | 2022-07-30 | 1 | -46/+13 |
| | | | | | | | Use Google's ISC license for this code - this was originally being upstreamed to OpenSSL by Adam Langley, however it was never actually accepted and eventually ended up in BoringSSL (via commit dfe3053086). The same change was made a long time ago for evp/evp_aead.c and others. | ||||
* | Undo static linking and other workarounds that are no longer needed | tb | 2022-01-14 | 1 | -4/+3 |
| | | | | after the bump | ||||
* | Rework test to use EVP_AEAD_CTX_{new,free}() and link statically for now | tb | 2022-01-12 | 2 | -20/+32 |
| | |||||
* | add support for xchacha20 and xchacha20-poly1305 | dlg | 2019-01-22 | 2 | -2/+20 |
| | | | | | | | xchacha is a chacha stream that allows for an extended nonce, which in turn makes it feasible to use random nonces. ok tb@ | ||||
* | Add missing $OpenBSD$ markers. | tb | 2018-07-17 | 2 | -0/+2 |
| | |||||
* | Remove chacha20-poly1305-old regress and test vectors. | jsing | 2017-08-28 | 2 | -627/+0 |
| | |||||
* | Update AEAD regress to match EVP_aead_chacha20_poly1305() changes. | jsing | 2016-04-28 | 2 | -83/+83 |
| | |||||
* | After opening an AEAD, ensure that the decrypted output matches the | jsing | 2016-04-13 | 1 | -0/+5 |
| | | | | plaintext for the regress test case. | ||||
* | Add EVP_aead_chacha20_poly1305_ietf() - The informational RFC 7539, | reyk | 2015-11-02 | 2 | -0/+42 |
| | | | | | | | | | "ChaCha20 and Poly1305 for IETF Protocols", introduced a modified AEAD construction that is incompatible with the common style that has been already used in TLS with EVP_aead_chacha20_poly1305(). The IETF version also adds a constant (salt) that is prepended to the nonce. OK mikeb@ jsing@ | ||||
* | Wrong logic; Coverity CID 78894 | miod | 2015-02-15 | 1 | -1/+1 |
| | |||||
* | Include -DLIBRESSL_INTERNAL in regress makefiles. | jsing | 2014-07-08 | 1 | -2/+2 |
| | | | | ok miod@ | ||||
* | Build these tests with WARNINGS=Yes and -Werror, and do the necessary | miod | 2014-06-01 | 1 | -1/+3 |
| | | | | fixes to keep building. | ||||
* | Update the aead regress to work with the improved EVP AEAD API. | jsing | 2014-05-26 | 1 | -22/+14 |
| | |||||
* | Add additional chacha20-poly1305 test vectors. | jsing | 2014-05-15 | 2 | -10/+620 |
| | | | | Thanks to Piotr Sikora for providing a reference to the source. | ||||
* | Add chacha20-poly1305 test vector to regress. | jsing | 2014-05-15 | 2 | -5/+24 |
| | |||||
* | KNF. | jsing | 2014-05-15 | 1 | -6/+7 |
| | |||||
* | Add a regress test for AEAD, based on Adam Langley's code. | jsing | 2014-05-15 | 3 | -0/+413 |