aboutsummaryrefslogtreecommitdiffstats
path: root/tests/hazmat/primitives/test_block.py
Commit message (Collapse)AuthorAgeFilesLines
* Don't compare cffi version using strings (#3524)Alex Gaynor2017-04-291-2/+1
|
* add support for update_into on CipherContext (#3190)Paul Kehrer2017-02-161-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 bytesPaul Kehrer2016-03-071-0/+30
|
* pass bytes to modes/algorithms like we shouldPaul Kehrer2016-03-071-1/+1
|
* Un-double the test doublesAlex Gaynor2016-03-051-16/+2
|
* move cipher and mode interfacesPaul Kehrer2015-02-131-6/+5
|
* Update the license header for every source file, as well as the documentation.Alex Gaynor2014-11-161-12/+3
| | | | Fixes #1209
* Added attributes that are part of hte interface to several test fakesAlex Gaynor2014-10-271-0/+1
|
* Change how we represented that a test requires a backend.Alex Gaynor2014-10-231-4/+5
| | | | This way is more extensible and requires less maintaince
* fix coverage for CFB8Paul Kehrer2014-05-161-0/+8
|
* Add test skip if interfaces.Mode is not supportedAyrx2014-03-301-0/+1
|
* Update tests and raise sitesAlex Stapleton2014-03-271-3/+6
|
* Fixed #809 -- switch back to always using UnsupportedAlgorithmAlex Gaynor2014-03-271-3/+3
|
* import order fixes for future automated checkingPaul Kehrer2014-03-191-1/+1
|
* Convert stuffAlex Gaynor2014-03-061-5/+3
|
* Merge branch 'master' into validate-ivAlex Gaynor2014-01-011-15/+20
|\ | | | | | | | | | | Conflicts: tests/hazmat/backends/test_openssl.py tests/hazmat/primitives/test_block.py
| * refactor all tests to use mark instead of generator skipsPaul Kehrer2013-12-261-8/+6
| |
| * add all the markers to the testsPaul Kehrer2013-12-241-0/+3
| |
| * UnsupportedAlgorithm error messages for CiphersAlex Stapleton2013-12-221-3/+9
| |
* | Merge branch 'master' into validate-ivAlex Gaynor2013-12-151-1/+26
|\| | | | | | | | | | | Conflicts: cryptography/hazmat/primitives/ciphers/modes.py tests/hazmat/primitives/test_block.py
| * raise ValueErrors when supplying/not supplying tags for GCMPaul Kehrer2013-12-041-1/+11
| |
| * enforce AEAD add_data before updatePaul Kehrer2013-11-291-2/+2
| |
| * GCM supportPaul Kehrer2013-11-291-1/+16
| |
* | Merge branch 'master' into validate-ivAlex Gaynor2013-11-271-2/+2
|\|
| * Fixed this test. It was passing for the wrong reason.Alex Gaynor2013-11-271-2/+2
| | | | | | | | Shame on us for letting something without coverage land.
* | Merge branch 'master' into validate-ivAlex Gaynor2013-11-271-10/+22
|\| | | | | | | | | Conflicts: tests/hazmat/primitives/test_block.py
| * Merge pull request #227 from dreid/explicit-backend-in-hazmatAlex Gaynor2013-11-261-10/+6
| |\ | | | | | | Explicit backend
| | * Explicit backendDavid Reid2013-11-201-10/+6
| | |
| * | Change teh exceptionAlex Gaynor2013-11-221-5/+3
| | |
| * | Raise a correct error when content isn't padded correctlyAlex Gaynor2013-11-221-1/+19
| |/
* | fixed typoAlex Gaynor2013-11-191-1/+1
| |
* | test for ctrAlex Gaynor2013-11-191-0/+8
| |
* | Tests for OFB and CFBAlex Gaynor2013-11-191-0/+16
| |
* | Validate the IV/nonce length for a given algorithm.Alex Gaynor2013-11-191-1/+16
|/ | | | Fixes #159
* Move interfaces.register to utils.register_interface in preparation for more ↵David Reid2013-11-181-1/+2
| | | | interface modules.
* Implement and document an interface for cipher algorithmsDavid Reid2013-11-151-1/+11
|
* Use AlreadyFinalized for symmetric ciphersAlex Gaynor2013-11-131-5/+5
|
* block cipher renamePaul Kehrer2013-11-061-15/+17
| | | | | | * block renamed to ciphers * ciphers renamed to algorithms * base moved into algorithms
* Changed excpetion name based on feedback from dreidAlex Gaynor2013-11-021-3/+3
|
* Document and implement the public API for when the backend doesn't support ↵Alex Gaynor2013-11-021-0/+11
| | | | the requested algorithm
* Move primtives into a hazmat packageDonald Stufft2013-10-281-0/+86