Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | raise ValueError on zero length GCM IV (#4348) | Paul Kehrer | 2018-07-17 | 1 | -0/+4 |
| | |||||
* | Bump the minimum PyPy/cffi version and simplify as a result (#3585) | Alex Gaynor | 2017-05-23 | 1 | -6/+0 |
| | | | | | | | | * Bump the minimum PyPy/cffi version and simplify as a result * unused imports * grumble, fix | ||||
* | Don't compare cffi version using strings (#3524) | Alex Gaynor | 2017-04-29 | 1 | -2/+1 |
| | |||||
* | add support for update_into on CipherContext (#3190) | Paul Kehrer | 2017-02-16 | 1 | -0/+20 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * add support for update_into on CipherContext This allows you to provide your own buffer (like recv_into) to improve performance when repeatedly calling encrypt/decrypt on large payloads. * another skip_if * more skip_if complexity * maybe do this right * correct number of args * coverage for the coverage gods * add a cffi minimum test tox target and travis builder This tests against macOS so we capture some commoncrypto branches * extra arg * need to actually install py35 * fix * coverage for GCM decrypt in CC * no longer relevant * 1.8 now * pep8 * dramatically simplify * update docs * remove unneeded test * changelog entry * test improvements * coverage fix * add some comments to example * move the comments to their own line * fix and move comment | ||||
* | require mode nonce/iv/tag data to be bytes | Paul Kehrer | 2016-03-07 | 1 | -0/+30 |
| | |||||
* | pass bytes to modes/algorithms like we should | Paul Kehrer | 2016-03-07 | 1 | -1/+1 |
| | |||||
* | Un-double the test doubles | Alex Gaynor | 2016-03-05 | 1 | -16/+2 |
| | |||||
* | move cipher and mode interfaces | Paul Kehrer | 2015-02-13 | 1 | -6/+5 |
| | |||||
* | Update the license header for every source file, as well as the documentation. | Alex Gaynor | 2014-11-16 | 1 | -12/+3 |
| | | | | Fixes #1209 | ||||
* | Added attributes that are part of hte interface to several test fakes | Alex Gaynor | 2014-10-27 | 1 | -0/+1 |
| | |||||
* | Change how we represented that a test requires a backend. | Alex Gaynor | 2014-10-23 | 1 | -4/+5 |
| | | | | This way is more extensible and requires less maintaince | ||||
* | fix coverage for CFB8 | Paul Kehrer | 2014-05-16 | 1 | -0/+8 |
| | |||||
* | Add test skip if interfaces.Mode is not supported | Ayrx | 2014-03-30 | 1 | -0/+1 |
| | |||||
* | Update tests and raise sites | Alex Stapleton | 2014-03-27 | 1 | -3/+6 |
| | |||||
* | Fixed #809 -- switch back to always using UnsupportedAlgorithm | Alex Gaynor | 2014-03-27 | 1 | -3/+3 |
| | |||||
* | import order fixes for future automated checking | Paul Kehrer | 2014-03-19 | 1 | -1/+1 |
| | |||||
* | Convert stuff | Alex Gaynor | 2014-03-06 | 1 | -5/+3 |
| | |||||
* | Merge branch 'master' into validate-iv | Alex Gaynor | 2014-01-01 | 1 | -15/+20 |
|\ | | | | | | | | | | | Conflicts: tests/hazmat/backends/test_openssl.py tests/hazmat/primitives/test_block.py | ||||
| * | refactor all tests to use mark instead of generator skips | Paul Kehrer | 2013-12-26 | 1 | -8/+6 |
| | | |||||
| * | add all the markers to the tests | Paul Kehrer | 2013-12-24 | 1 | -0/+3 |
| | | |||||
| * | UnsupportedAlgorithm error messages for Ciphers | Alex Stapleton | 2013-12-22 | 1 | -3/+9 |
| | | |||||
* | | Merge branch 'master' into validate-iv | Alex Gaynor | 2013-12-15 | 1 | -1/+26 |
|\| | | | | | | | | | | | Conflicts: cryptography/hazmat/primitives/ciphers/modes.py tests/hazmat/primitives/test_block.py | ||||
| * | raise ValueErrors when supplying/not supplying tags for GCM | Paul Kehrer | 2013-12-04 | 1 | -1/+11 |
| | | |||||
| * | enforce AEAD add_data before update | Paul Kehrer | 2013-11-29 | 1 | -2/+2 |
| | | |||||
| * | GCM support | Paul Kehrer | 2013-11-29 | 1 | -1/+16 |
| | | |||||
* | | Merge branch 'master' into validate-iv | Alex Gaynor | 2013-11-27 | 1 | -2/+2 |
|\| | |||||
| * | Fixed this test. It was passing for the wrong reason. | Alex Gaynor | 2013-11-27 | 1 | -2/+2 |
| | | | | | | | | Shame on us for letting something without coverage land. | ||||
* | | Merge branch 'master' into validate-iv | Alex Gaynor | 2013-11-27 | 1 | -10/+22 |
|\| | | | | | | | | | Conflicts: tests/hazmat/primitives/test_block.py | ||||
| * | Merge pull request #227 from dreid/explicit-backend-in-hazmat | Alex Gaynor | 2013-11-26 | 1 | -10/+6 |
| |\ | | | | | | | Explicit backend | ||||
| | * | Explicit backend | David Reid | 2013-11-20 | 1 | -10/+6 |
| | | | |||||
| * | | Change teh exception | Alex Gaynor | 2013-11-22 | 1 | -5/+3 |
| | | | |||||
| * | | Raise a correct error when content isn't padded correctly | Alex Gaynor | 2013-11-22 | 1 | -1/+19 |
| |/ | |||||
* | | fixed typo | Alex Gaynor | 2013-11-19 | 1 | -1/+1 |
| | | |||||
* | | test for ctr | Alex Gaynor | 2013-11-19 | 1 | -0/+8 |
| | | |||||
* | | Tests for OFB and CFB | Alex Gaynor | 2013-11-19 | 1 | -0/+16 |
| | | |||||
* | | Validate the IV/nonce length for a given algorithm. | Alex Gaynor | 2013-11-19 | 1 | -1/+16 |
|/ | | | | Fixes #159 | ||||
* | Move interfaces.register to utils.register_interface in preparation for more ↵ | David Reid | 2013-11-18 | 1 | -1/+2 |
| | | | | interface modules. | ||||
* | Implement and document an interface for cipher algorithms | David Reid | 2013-11-15 | 1 | -1/+11 |
| | |||||
* | Use AlreadyFinalized for symmetric ciphers | Alex Gaynor | 2013-11-13 | 1 | -5/+5 |
| | |||||
* | block cipher rename | Paul Kehrer | 2013-11-06 | 1 | -15/+17 |
| | | | | | | * block renamed to ciphers * ciphers renamed to algorithms * base moved into algorithms | ||||
* | Changed excpetion name based on feedback from dreid | Alex Gaynor | 2013-11-02 | 1 | -3/+3 |
| | |||||
* | Document and implement the public API for when the backend doesn't support ↵ | Alex Gaynor | 2013-11-02 | 1 | -0/+11 |
| | | | | the requested algorithm | ||||
* | Move primtives into a hazmat package | Donald Stufft | 2013-10-28 | 1 | -0/+86 |