aboutsummaryrefslogtreecommitdiffstats
path: root/tests/hazmat/primitives/test_ec.py
Commit message (Collapse)AuthorAgeFilesLines
* Swapping modified x509 test with modified ec testPeter Hamilton2015-10-301-11/+2
|
* Error cleanly if the public and private keys to an ECDH key exchange are on ↵Alex Gaynor2015-10-281-1/+27
| | | | different curves
* add ellipticcurvepublicnumbers reprPaul Kehrer2015-10-281-0/+5
|
* address review feedbackPaul Kehrer2015-10-281-7/+0
|
* modify approach to use EllipticCurvePublicNumbers methodsPaul Kehrer2015-10-271-0/+74
|
* better place for this testAlex Gaynor2015-10-191-0/+16
|
* removed unused code, and added a testAlex Gaynor2015-10-191-12/+13
|
* be more pro-active in handling invalid keysAlex Gaynor2015-10-181-23/+27
|
* unusedAlex Gaynor2015-10-171-6/+0
|
* a refactor to the APIAlex Gaynor2015-10-171-53/+41
|
* Add an Elliptic Curve Key Exchange Algorithm(ECDH)Simo Sorce2015-10-171-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 ValueErrorSimo Sorce2015-10-121-0/+29
| | | | Signed-off-by: Simo Sorce <simo@redhat.com>
* skip if check on ec testPaul Kehrer2015-08-121-1/+2
|
* Enforce signature type in ECDSA and add testsStanisław Pitucha2015-08-121-0/+9
| | | | | Ensure that ECDSA signatures are bytes to match RSA/DSA and add tests for all three.
* require serialization in asym testsPaul Kehrer2015-06-271-36/+5
|
* fix ec_cdata_to_evp_pkey bugPaul Kehrer2015-06-221-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.
* add support for secp256k1Paul Kehrer2015-05-081-4/+11
|
* support DER encoded EC private key serializationPaul Kehrer2015-03-131-12/+93
|
* Merge pull request #1741 from reaperhulk/serialize-der-public-keysAlex Gaynor2015-03-101-8/+23
|\ | | | | support DER serialization of public keys
| * support DER serialization of public keysPaul Kehrer2015-03-101-8/+23
| |
* | Fixed the deprecation warnings being triggered by the testsAlex Gaynor2015-03-101-1/+1
|/
* make tests properly skip on OpenSSLs without EC supportPaul Kehrer2015-03-081-0/+4
|
* serialize EC public keysPaul Kehrer2015-03-081-1/+69
|
* format to privateformatPaul Kehrer2015-03-021-7/+10
|
* skip those tests if ec unsupportedPaul Kehrer2015-03-011-0/+7
|
* add support for serialization of EC private keysPaul Kehrer2015-03-011-2/+162
|
* move EC interfacesPaul Kehrer2015-02-121-4/+4
|
* Removed some deprecated codeAlex Gaynor2014-12-241-19/+0
|
* add NotImplemented handlingPaul Kehrer2014-12-101-0/+2
|
* add __ne__ and __eq__ methods to RSA, DSA, and EC numbers classesPaul Kehrer2014-12-101-0/+35
| | | | fixes #1449
* add encode_rfc6979_signature and refactor tests to use itPaul Kehrer2014-11-271-11/+7
|
* Update the license header for every source file, as well as the documentation.Alex Gaynor2014-11-161-13/+3
| | | | Fixes #1209
* Don't mark this test class as implementing the interface.Alex Gaynor2014-10-301-1/+0
| | | | It doesn't correctly implement it, that's sort of the point of this test.
* Added attributes that are part of hte interface to several test fakesAlex Gaynor2014-10-271-1/+1
|
* Change how we represented that a test requires a backend.Alex Gaynor2014-10-231-3/+3
| | | | This way is more extensible and requires less maintaince
* Fixes #1416 -- replaced assertions with error checking in EC key from numbers.Alex Gaynor2014-10-191-0/+22
| | | | Includes tests.
* if EC_KEY_check_key fails consume errors off stack (+ add test)Paul Kehrer2014-10-141-0/+14
|
* Merge pull request #1345 from reaperhulk/ec-withnumbersAlex Gaynor2014-09-271-0/+36
|\ | | | | Elliptic Curve WithNumbers Support
| * fix invalid dict reference in testPaul Kehrer2014-09-271-1/+1
| |
| * Support EC WithNumbers on OpenSSL backend + testsPaul Kehrer2014-09-271-0/+36
| |
* | EC public/private key loader functions try deprecated as fallbackPaul Kehrer2014-09-271-0/+21
|/
* CURVE_TYPES back to private, removed unneeded point creationPaul Kehrer2014-09-261-4/+4
|
* Process curve name when loading EC keys. Fixes #1336Paul Kehrer2014-09-261-24/+4
|
* Dedicated skip functionAlex Stapleton2014-06-231-12/+17
|
* ECDSA backendAlex Stapleton2014-06-071-37/+257
|
* Test EC public numbers type errorAlex Stapleton2014-05-231-0/+6
|
* Rename private_key to private_valueAlex Stapleton2014-05-231-1/+1
|
* Separate ECC key material from operationsAlex Stapleton2014-05-231-0/+73