aboutsummaryrefslogtreecommitdiffstats
path: root/tests/primitives/test_hashes.py
Commit message (Collapse)AuthorAgeFilesLines
* Move primtives into a hazmat packageDonald Stufft2013-10-281-136/+0
|
* split backend up (refs #170)Paul Kehrer2013-10-221-11/+12
| | | | | | | | * Moves cipher methods into a Ciphers class and hash methods to a Hashes class and makes them available inside Backend as pluralized attributes. * Shortened many of the methods since their purpose is now defined by their container class
* more backend renames from merged commitsPaul Kehrer2013-10-221-8/+8
|
* Merge branch 'master' into api-to-backend-in-one-easy-stepPaul Kehrer2013-10-221-0/+22
|\ | | | | | | | | | | | | | | | | | | | | * master: Make use of currentmodule to maybe reduce redundant module definitions and also get source links. Enable the new read the docs theme, it's pretty. use is for identical object comparison add gcm constants and EVP_CIPHER_CTX_ctrl macro md5 is 128-bit. The person responsible for this mistake has been shot add test to verify api is being copied in hash When copying a hash, pass the api through to the new object
| * use is for identical object comparisonPaul Kehrer2013-10-221-1/+1
| |
| * add test to verify api is being copied in hashPaul Kehrer2013-10-221-0/+11
| |
| * When copying a hash, pass the api through to the new objectPaul Kehrer2013-10-221-0/+11
| |
* | the great api -> backend renamePaul Kehrer2013-10-221-12/+12
|/
* fixes #148 + test casePaul Kehrer2013-10-221-0/+4
|
* Allow data to be passed in the constructor & reject unicode ala hashlibPaul Kehrer2013-10-191-0/+11
|
* MD5 support + documentation for all hashesPaul Kehrer2013-10-191-0/+10
|
* Whirlpool supportPaul Kehrer2013-10-181-0/+10
|
* ripemd160 support + long string hash testPaul Kehrer2013-10-181-0/+10
| | | | | | * Note that the long string hash test for RIPEMD160 adds a vector in the test. You can verify this vector (for b"a" * 1000000) on the RIPE homepage: http://homes.esat.kuleuven.be/~bosselae/ripemd160.html
* SHA-2 family supportPaul Kehrer2013-10-181-0/+40
|
* change api.supports_hash to take a hash class rather than a strPaul Kehrer2013-10-181-1/+1
| | | | | | * This change means hash class names will be byte strings and we no longer need to encode to ascii on hashobject.name in create_hash_context
* remove unneeded lambdas from testsPaul Kehrer2013-10-181-1/+1
|
* Hash Saga Part 3 - API changes + SHA1 support + testsPaul Kehrer2013-10-181-0/+28