aboutsummaryrefslogtreecommitdiffstats
path: root/tests/hazmat/primitives/test_keywrap.py
Commit message (Collapse)AuthorAgeFilesLines
* Change the exception we raise in keywrap unwrapping on invalid length (#4337)Alex Gaynor2018-07-161-3/+5
| | | I believe this can reasonably be considered backwards compatible since other invalid inputs already lead to InvalidUnwrap, and clients shouldn't be distinguishing between these two conditions, and ValueError wasn't documented anyways.
* fix bug with n % 8 length wrapping on AESKWP (#4160)Paul Kehrer2018-03-201-0/+24
| | | | | | * fix bug with n % 8 length wrapping on AESKWP * review feedback
* implement AES KW with padding (RFC 5649) (#3880)Paul Kehrer2018-03-181-0/+65
| | | | | | | | | | | | | | | | | | * implement AES KW with padding (RFC 5649) fixes #3791 * oops, 2.2 * make sure this is the right valueerror * more match * make key padding easier to read * review feedback * review feedback
* pass bytes to modes/algorithms like we shouldPaul Kehrer2016-03-071-5/+5
|
* add comments on test cases to explain reasons a bit betterPaul Kehrer2015-10-221-0/+5
|
* make skip message more verbosePaul Kehrer2015-10-211-11/+10
|
* AES keywrap supportPaul Kehrer2015-10-211-0/+112