Commit graph

28 commits

Author SHA1 Message Date
Paul Kehrer
f03334e25c backend support check now lists which backend caused the skip 2014-01-03 11:39:19 -06:00
Paul Kehrer
ec49550b1f change typeerror to valueerror 2013-12-27 15:51:40 -06:00
Paul Kehrer
60fc8da5aa rename the method to be less horribly named 2013-12-26 20:19:34 -06:00
Paul Kehrer
5a8fdf82f3 add mark that allows us to do skip tests on backends via decorators 2013-12-26 20:13:45 -06:00
Alex Gaynor
2b3f942712 Move stuff around and coverage 2013-12-24 21:55:24 -08:00
Paul Kehrer
749ac5b6f9 simplify nist loader to completely ignore sections 2013-11-18 18:12:41 -06:00
Paul Kehrer
c985dbb47b modify nist loader to support multi-line GCM sections 2013-11-18 14:11:55 -06:00
Paul Kehrer
a43b669725 GCM loader support 2013-11-12 15:35:49 -06: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
d3ce703170 Ignore the sections of the NIST files 2013-11-11 14:46:20 -08:00
Alex Gaynor
521c42d26c Simplify the code by doing the filtering earlier, rather than later 2013-11-11 14:25:59 -08:00
Paul Kehrer
2b758679b3 restructure vectors into ciphers/hashes/hmac 2013-10-30 09:01:38 -05:00
Paul Kehrer
1bb8b710d4 clean up loader and make docs default to hmac sha256 2013-10-28 17:34:37 -05:00
Paul Kehrer
00dd509f18 address initial review comments 2013-10-28 17:34:37 -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
Donald Stufft
f04317ae24 Move primtives into a hazmat package 2013-10-28 08:37:33 -04: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
69e0652b1a hash vector loader and tests 2013-10-18 18:02:20 -05: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
e580598228 simplify cryptrec loader, improve comments 2013-09-27 11:26:01 -05: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
057b5001ad simplify and annotate loaders based on review feedback 2013-09-23 12:49:48 -05:00
Paul Kehrer
e58f83e7c8 sort the cryptrec loader dict's items to test reliably 2013-09-15 13:55:30 -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