Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | require mode nonce/iv/tag data to be bytes | Paul Kehrer | 2016-03-07 | 1 | -0/+30 | |
| | | ||||||
* | | pass bytes to modes/algorithms like we should | Paul Kehrer | 2016-03-07 | 10 | -38/+38 | |
| | | ||||||
* | | Merge pull request #2762 from alex/dedupe-doubles | Paul Kehrer | 2016-03-06 | 8 | -95/+26 | |
|\ \ | | | | | | | Un-double the test doubles | |||||
| * | | Un-double the test doubles | Alex Gaynor | 2016-03-05 | 8 | -95/+26 | |
| |/ | ||||||
* | | make the test function name make sense | Alex Gaynor | 2016-03-05 | 1 | -1/+1 | |
| | | ||||||
* | | move key | Alex Gaynor | 2016-03-05 | 2 | -73/+75 | |
| | | ||||||
* | | wrap some very long lines | Alex Gaynor | 2016-03-05 | 1 | -8/+80 | |
| | | ||||||
* | | Added a failing test case for #2760 | Alex Gaynor | 2016-03-05 | 1 | -0/+36 | |
|/ | ||||||
* | support rsa key generation testing when key is not serializable | Paul Kehrer | 2016-01-30 | 1 | -1/+10 | |
| | ||||||
* | Write some tests for skip conditions in tests. | Alex Gaynor | 2016-01-10 | 3 | -25/+63 | |
| | | | | Without this these branches aren't excersised without 0.9.8, but conceptually they are needed. | |||||
* | move test | Paul Kehrer | 2015-12-27 | 1 | -0/+37 | |
| | ||||||
* | use the non-deprecated name for this function | Alex Gaynor | 2015-12-19 | 1 | -3/+3 | |
| | ||||||
* | Add support for 160 bit ARC4 keys | Ehren Kret | 2015-11-28 | 1 | -0/+1 | |
| | ||||||
* | Swapping modified x509 test with modified ec test | Peter Hamilton | 2015-10-30 | 1 | -11/+2 | |
| | ||||||
* | Adding elliptic curve test fixtures | Peter Hamilton | 2015-10-29 | 1 | -0/+296 | |
| | | | | This change adds pre-generated elliptic curve keys to be used in elliptic curve tests. | |||||
* | Error cleanly if the public and private keys to an ECDH key exchange are on ↵ | Alex Gaynor | 2015-10-28 | 1 | -1/+27 | |
| | | | | different curves | |||||
* | add ellipticcurvepublicnumbers repr | Paul Kehrer | 2015-10-28 | 1 | -0/+5 | |
| | ||||||
* | address review feedback | Paul Kehrer | 2015-10-28 | 1 | -7/+0 | |
| | ||||||
* | modify approach to use EllipticCurvePublicNumbers methods | Paul Kehrer | 2015-10-27 | 2 | -73/+76 | |
| | ||||||
* | remove support for null points, improve docs | Paul Kehrer | 2015-10-27 | 1 | -2/+4 | |
| | ||||||
* | add support for encoding/decoding elliptic curve points | Paul Kehrer | 2015-10-26 | 1 | -2/+71 | |
| | | | | Based on the work of @ronf in #2346. | |||||
* | add comments on test cases to explain reasons a bit better | Paul Kehrer | 2015-10-22 | 1 | -0/+5 | |
| | ||||||
* | make skip message more verbose | Paul Kehrer | 2015-10-21 | 1 | -11/+10 | |
| | ||||||
* | AES keywrap support | Paul Kehrer | 2015-10-21 | 1 | -0/+112 | |
| | ||||||
* | better place for this test | Alex Gaynor | 2015-10-19 | 1 | -0/+16 | |
| | ||||||
* | removed unused code, and added a test | Alex Gaynor | 2015-10-19 | 1 | -12/+13 | |
| | ||||||
* | be more pro-active in handling invalid keys | Alex Gaynor | 2015-10-18 | 1 | -23/+27 | |
| | ||||||
* | unused | Alex Gaynor | 2015-10-17 | 1 | -6/+0 | |
| | ||||||
* | a refactor to the API | Alex Gaynor | 2015-10-17 | 1 | -53/+41 | |
| | ||||||
* | Add an Elliptic Curve Key Exchange Algorithm(ECDH) | Simo Sorce | 2015-10-17 | 1 | -1/+93 | |
| | | | | | | | | | The ECDH Key Exchange algorithm as standardized in NIST publication 800-56A Revision 2 Includes tests with vectors from NIST. Signed-off-by: Simo Sorce <simo@redhat.com> | |||||
* | Catch Invalid X or Y points and raise a ValueError | Simo Sorce | 2015-10-12 | 1 | -0/+29 | |
| | | | | Signed-off-by: Simo Sorce <simo@redhat.com> | |||||
* | rename this file for consistency | Alex Gaynor | 2015-09-26 | 1 | -0/+0 | |
| | ||||||
* | Some cleanups | Alex Gaynor | 2015-09-24 | 1 | -3/+3 | |
| | ||||||
* | Test X9.63 with NIST test vectors | Simo Sorce | 2015-09-24 | 1 | -0/+72 | |
| | | | | Signed-off-by: Simo Sorce <simo@redhat.com> | |||||
* | Add X963KDF from ANSI X9.63:2001 | Simo Sorce | 2015-09-24 | 1 | -0/+120 | |
| | | | | | | | | | | The implemention allows the use a Hash function to implement a KDF very similar to ConcatKDFHash, just different enough to require a separate derivation function. Closes #2203 Signed-off-by: Simo Sorce <simo@redhat.com> | |||||
* | skip if check on ec test | Paul Kehrer | 2015-08-12 | 1 | -1/+2 | |
| | ||||||
* | Merge pull request #2262 from viraptor/non-bytes-signatures | Paul Kehrer | 2015-08-12 | 3 | -0/+31 | |
|\ | | | | | Ensure early exeption on non-bytes signature | |||||
| * | Enforce signature type in ECDSA and add tests | Stanisław Pitucha | 2015-08-12 | 3 | -0/+31 | |
| | | | | | | | | | | Ensure that ECDSA signatures are bytes to match RSA/DSA and add tests for all three. | |||||
* | | resolve incorrect docs/naming around DSA (r, s) tuple encode/decode | Paul Kehrer | 2015-08-10 | 2 | -23/+31 | |
|/ | ||||||
* | Fixes #2199 -- allow SSH keys to have spaces in their comments | Alex Gaynor | 2015-08-03 | 1 | -6/+4 | |
| | ||||||
* | Fixed #2143 -- added __hash__ to RSA{Public,Private}Numbers | Alex Gaynor | 2015-07-12 | 1 | -0/+16 | |
| | ||||||
* | do the same simplification to the aad test | Paul Kehrer | 2015-07-01 | 1 | -3/+1 | |
| | ||||||
* | add missing test, simplify encrypted byte near limit calculation | Paul Kehrer | 2015-07-01 | 1 | -3/+15 | |
| | ||||||
* | add additional increment tests | Paul Kehrer | 2015-07-01 | 1 | -8/+18 | |
| | ||||||
* | put the AAD and encrypted byte limit checks in the parent context | Paul Kehrer | 2015-07-01 | 1 | -0/+30 | |
| | ||||||
* | require serialization in asym tests | Paul Kehrer | 2015-06-27 | 4 | -164/+70 | |
| | ||||||
* | More branch coverage improvements. By virtue of reorganization and a new test | Alex Gaynor | 2015-06-27 | 1 | -0/+21 | |
| | ||||||
* | fix ec_cdata_to_evp_pkey bug | Paul Kehrer | 2015-06-22 | 1 | -0/+18 | |
| | | | | | | We weren't actually returning the object and the tests weren't catching it because we didn't try to use the evp_pkey property in the tests. The added test confirms it actually works. | |||||
* | Remove our workarounds for pyasn.1 bugs, a new pyasn.1 is out! | Alex Gaynor | 2015-06-22 | 1 | -2/+2 | |
| | ||||||
* | Add ConcatKDF from NIST SP 800-56A | Simo Sorce | 2015-06-12 | 1 | -0/+251 | |
| | | | | | | | | | The implemention allows the use an HMAC function as per Revision 2 of the document. Conformance of the formatting of the OtherInfo argument is responsability of the calling application. Signed-off-by: Simo Sorce <simo@redhat.com> |