Commit graph

20 commits

Author SHA1 Message Date
Alex Gaynor
cee8d525a4 Simplify and make better hte tests for load_from_file 2013-11-12 09:29:49 -08:00
Paul Kehrer
f7f6a9f77a Remove separate file loaders and replace with one
All tests updated to work with the new simplified loader
2013-11-11 20:43:52 -06:00
Alex Gaynor
cf5fb332af Removed some tests that are now duplicates 2013-11-11 15:39:52 -08:00
Alex Gaynor
d3ce703170 Ignore the sections of the NIST files 2013-11-11 14:46:20 -08:00
Paul Kehrer
20884bfabe update tests for new test vector locations 2013-10-31 12:08:11 -05:00
Paul Kehrer
2b758679b3 restructure vectors into ciphers/hashes/hmac 2013-10-30 09:01:38 -05:00
Paul Kehrer
0317b04b11 HMAC support
Conflicts:
	docs/primitives/index.rst
	tests/hazmat/primitives/utils.py
2013-10-28 17:34:27 -05:00
Alex Gaynor
afdddcac0a Enable all the flake8 2013-10-21 21:01:40 -07:00
Donald Stufft
3359d7efdc Test what happens when an invalid line is in the cryptrec vectors 2013-10-19 19:33:06 -04:00
Paul Kehrer
87cd0db396 update loader and test to handle lines with brackets 2013-10-18 18:02:21 -05:00
Paul Kehrer
79c16e9ef8 alphabetical import order and quote consistency... 2013-10-18 18:02:20 -05:00
Paul Kehrer
69e0652b1a hash vector loader and tests 2013-10-18 18:02:20 -05:00
Alex Gaynor
745c95c75c flake8 fixes 2013-10-16 14:41:35 -07:00
Alex Gaynor
016eed1cc1 Ported openssl vector tests 2013-10-16 14:16:04 -07:00
Alex Gaynor
1fe70b12b2 Start of the great refactoring 2013-10-16 11:59:17 -07:00
Paul Kehrer
6b99a1b6d2 remove distinction between encrypt/decrypt in the openssl loader
* This was done because all the OpenSSL test vectors we're currently
  using are identical between encrypt/decrypt.
* Removed a bunch of unneeded unit tests that checked the
  encrypt/decrypt vectors
2013-09-24 16:50:21 -05:00
Paul Kehrer
05d7214f40 crazy pep8 contortions 2013-09-15 14:03:15 -05:00
Paul Kehrer
1951bf6444 add cryptrec and openssl test vector loaders + tests 2013-09-15 12:05:43 -05:00
Alex Gaynor
f312a5c1c9 Made the load NIST vectors test utility use bytes correctly 2013-08-10 15:23:38 -04:00
Donald Stufft
9e1a48b84c
Add a test utility functions to read & process NIST vector files 2013-08-09 01:01:03 -04:00