Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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> | ||||
* | Remove a default argument and rename a private function. | Jiangge Zhang | 2015-06-03 | 2 | -3/+3 |
| | |||||
* | Follow the review advice: turn URI generator into methods. | Jiangge Zhang | 2015-06-03 | 2 | -9/+4 |
| | |||||
* | Add "generate_key_uri" utility for HOTP/TOTP. | Jiangge Zhang | 2015-05-26 | 2 | -0/+31 |
| | |||||
* | Merge pull request #1989 from elitest/fixapachelic | Paul Kehrer | 2015-05-24 | 1 | -12/+3 |
|\ | | | | | Fix dual license in test_dh.py | ||||
| * | Fix dual license in test_dh.py | Jim Shaver | 2015-05-24 | 1 | -12/+3 |
| | | |||||
* | | add support for secp256k1 | Paul Kehrer | 2015-05-08 | 1 | -4/+11 |
| | | |||||
* | | Refs #1870 - replace six.u with u prefix in tests/hazmat/primitives | Eeshan Garg | 2015-04-29 | 7 | -32/+18 |
|/ | |||||
* | Merge pull request #1848 from reaperhulk/invalid-token | Alex Gaynor | 2015-04-14 | 2 | -2/+4 |
|\ | | | | | Twofactor invalid token | ||||
| * | Move cryptography.exceptions.InvalidToken to ↵ | Steven Buss | 2015-04-13 | 2 | -2/+4 |
| | | | | | | | | cryptography.hazmat.primitives.twofactor | ||||
* | | Work around pyasn1's willingness to return endOfOctets in DER parsing | Geoffrey Thomas | 2015-04-13 | 1 | -0/+5 |
|/ | | | | See #1838 for discussion. | ||||
* | DER serialization of DSA private keys | Paul Kehrer | 2015-03-14 | 1 | -24/+86 |
| | |||||
* | support DER encoded EC private key serialization | Paul Kehrer | 2015-03-13 | 1 | -12/+93 |
| |