aboutsummaryrefslogtreecommitdiffstats
path: root/tests/hazmat/primitives/utils.py
Commit message (Collapse)AuthorAgeFilesLines
* switch to a lambdaPaul Kehrer2014-03-191-13/+5
|
* rename some thingsPaul Kehrer2014-03-191-6/+6
|
* add FIPS 186-2/3 signature verification tests for RSA PKCSv15 and PSSPaul Kehrer2014-03-191-11/+21
|
* import order fixes for future automated checkingPaul Kehrer2014-03-191-8/+6
|
* pass the hash class rather than using getattrPaul Kehrer2014-03-161-7/+7
|
* fix indentationPaul Kehrer2014-03-161-18/+18
|
* add RSA PSS verification supportPaul Kehrer2014-03-161-0/+33
|
* Added future imports and licenses that are missingAlex Gaynor2014-03-081-0/+15
|
* Don't expose extract and expand on this class yet because we don't know how ↵David Reid2014-02-031-2/+2
| | | | best to expose verify functionality, continue testing the stages using the private methods.
* Closer to proposed interface in #513.David Reid2014-02-031-14/+18
|
* Use the nist vector loader.David Reid2014-02-031-18/+12
|
* Break up hkdf_derive into hkdf_extract and hkdf_expand.David Reid2014-02-031-9/+41
| | | | | | | | Testing each individually against all the vectors and actually asserting about the intermediate state. hkdf_derive is now just a helper function which copes with the default arguments.
* Refactor HKDF support and provide vectors for tests.David Reid2014-02-031-0/+31
|
* okay this time really finish the rename. Up example iterations to 100kPaul Kehrer2014-01-281-2/+2
|
* PBKDF2 support for OpenSSL backendPaul Kehrer2014-01-281-0/+25
|
* Represent the hash vectors more cleanlyAlex Gaynor2014-01-271-5/+2
|
* Fixed test for earlier exceptinoAlex Gaynor2014-01-011-6/+3
|
* re-add some removed generators to simplify patchPaul Kehrer2013-12-271-0/+20
|
* refactor all tests to use mark instead of generator skipsPaul Kehrer2013-12-261-141/+25
|
* Cover a missed branchAlex Gaynor2013-12-241-2/+1
|
* restrict gcm tags to a minimum of 4 bytes in lengthPaul Kehrer2013-12-211-0/+7
|
* don't modify params on parametrized testsPaul Kehrer2013-12-201-8/+8
| | | | | multiple backends receive the same params dicts, but we were modifying them using pop.
* pep8Alex Gaynor2013-12-131-1/+1
|
* Make this less invasiveAlex Gaynor2013-12-131-177/+280
|
* Clean up test generation to not use generators anymore and use parametrizationAlex Gaynor2013-12-131-332/+209
|
* raise ValueErrors when supplying/not supplying tags for GCMPaul Kehrer2013-12-041-0/+35
|
* create AEADEncryptionContext and DecryptionContextPaul Kehrer2013-11-291-1/+1
|
* raise TypeError if you attempt to get the tag attribute on a decryptPaul Kehrer2013-11-291-0/+9
| | | | | * To support this the _AEADCipherContext in base.py now needs to be aware of whether it is encrypting/decrypting
* rename add_data to authenticate_additional_data for clarity (hopefully)Paul Kehrer2013-11-291-5/+5
|
* invalidtag exception for gcmPaul Kehrer2013-11-291-2/+2
| | | | | This exception is probably not safe. It depends on the assumption that if ERR_get_error returns a 0 then it is an AEAD tag error.
* enforce AEAD add_data before updatePaul Kehrer2013-11-291-8/+10
|
* _AEADCipherContext refactorPaul Kehrer2013-11-291-0/+4
| | | | | | * No longer extends _CipherContext * Remove _tag from _CipherContext * This change duplicates a small amount of code from _CipherContext
* rename NotFinalized exception to NotYetFinalized because alex is rightPaul Kehrer2013-11-291-2/+2
| | | | ...it does read better that way
* GCM supportPaul Kehrer2013-11-291-2/+103
|
* Use keyword argument forms everywhere.David Reid2013-11-251-7/+7
|
* Explicit backendDavid Reid2013-11-201-5/+5
|
* Fixed using copied hashesAlex Gaynor2013-11-121-0/+6
|
* Remove separate file loaders and replace with onePaul Kehrer2013-11-111-4/+18
| | | | All tests updated to work with the new simplified loader
* ARC4 supportPaul Kehrer2013-11-071-0/+39
|
* block cipher renamePaul Kehrer2013-11-061-2/+2
| | | | | | * block renamed to ciphers * ciphers renamed to algorithms * base moved into algorithms
* Encode Reasons.David Reid2013-11-011-1/+1
|
* Strip down the HMAC interface to be HashContext.David Reid2013-11-011-10/+7
|
* Enforce that Hash takes a HashAlgorithm instance.David Reid2013-10-311-2/+2
|
* Fix python3 compat for the hash_test.David Reid2013-10-311-2/+3
|
* Fix python3 compatibility and pep8David Reid2013-10-301-1/+1
|
* Reduce the surface of the primitive hash interface. Add more interfaces, ↵David Reid2013-10-301-13/+13
| | | | drop direct hashlib compatibility.
* make hmac (mostly) compatible with stdlib hmacPaul Kehrer2013-10-281-10/+10
|
* HMAC supportPaul Kehrer2013-10-281-0/+55
| | | | | | Conflicts: docs/primitives/index.rst tests/hazmat/primitives/utils.py
* Move the bindings into the hazmat moduleDonald Stufft2013-10-281-1/+1
|
* Move primtives into a hazmat packageDonald Stufft2013-10-281-0/+127