aboutsummaryrefslogtreecommitdiffstats
path: root/tests/hazmat/primitives/test_padding.py
Commit message (Collapse)AuthorAgeFilesLines
* Raise padding block_size limit to what is allowed by the specs. (#3108)Terry Chia2016-11-151-0/+16
| | | | | | | | | | | | | | | | | | | | * Raize padding block_size limit to what is allowed by the specs. * Add tests for raising padding limits. * Amend C code for padding check to use uint16_t instead of uint8_t. * Fix test to work in Python 3. * Fix typo. * Fix another typo. * Fix return type of the padding checks. * Change hypothesis test on padding. * Update comment.
* Add more tests since there is no more sub-classingCédric Krier2016-03-161-0/+29
|
* Add padding check for ANSI X.923Cédric Krier2016-02-271-0/+15
| | | | All padding bytes must be 0.
* Added support for padding ANSI X.923Cédric Krier2016-02-271-0/+48
|
* Refs #1870 - replace six.u with u prefix in tests/hazmat/primitivesEeshan Garg2015-04-291-4/+2
|
* Update the license header for every source file, as well as the documentation.Alex Gaynor2014-11-161-12/+3
| | | | Fixes #1209
* Use AlreadyFinalized not ValueErrorAlex Stapleton2014-04-251-4/+5
|
* Added future imports and licenses that are missingAlex Gaynor2014-03-081-0/+2
|
* Fixed two bugs in the PKCS7 padding where unpadding would accept bad inputs.Alex Gaynor2013-11-091-0/+2
|
* raise an error if you unicodeAlex Gaynor2013-10-291-0/+10
|
* Clean up var namingAlex Gaynor2013-10-291-11/+5
|
* Optimize + test casesAlex Gaynor2013-10-291-0/+10
|
* Removed helperAlex Gaynor2013-10-291-3/+11
|
* Initial implementation with tests, docs to followAlex Gaynor2013-10-291-0/+85