| Commit message (Collapse) | Author | Age | Files | Lines |
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
| |
* add PerformanceTest.
* Add and implement StandalonePerformanceSuite.
* Add author information.
* Add missing null check to signature performance tests.
* Fix reset method in KeyAgreementTestable.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Add StandaloneWrongSuite.
* Partially implement StandaloneWrongSuite.
* Add setParam method to EC_Params.
* Fix new setParam method in EC_Params.
* Implement StandaloneWrongSuite
* Add custom classes for testing wrong curve parameters.
* Update custom classes.
* Add more custom classes for testing curves with wrong parameters.
* Modify StandaloneWrongSuite to work with the new custom classes.
* Various small cosmetic changes to new custom classes.
* Add missing author information to various classes.
* Fix a small mistake in CustomECFieldF2m
* Add randomG test, change some variables to final.
* Add option to skip certain tests + various small changes.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
* Partially implement StandaloneEdgeCasesSuite.
* Partially implement StandaloneEdgeCasesSuite (2).
* Add S=0 and S=1 tests to StandaloneEdgeCasesSuite.
* Finish implementing StandaloneEdgeCasesSuite.
* Add author information to StandaloneEdgeCasesSuite.
* Remove unnecessary comment.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Add StandaloneSignatureSuite.
* Implement StandaloneSignatureSuite.
* Change the new constructor in SignatureTestable.
* Add author information to StandaloneSignatureSuite.
* Change tests to expectError.
* Add guard condition to verify stages in SignatureTestable.
* Change the new constructor in SignatureTestable.
|
| |
|
|
|
|
|
|
|
|
|
| |
* Add StandaloneCompositeSuite.
* Implement StandaloneCompositeSuite.
* Moved things out of constructor to prevent list-suites from crashing.
* General cleanup of StandaloneCompositeSuite.
* Add author information to StandaloneCompositeSuite.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* add empty StandaloneTwistSuite
* implemented StandaloneTwistSuite
* add expectError method to KeyAgreementTest and KeyGeneratorTest
* utilize new expectError methods, general cleanup of StandaloneTwistSuite
* changed KeyAgreement to ECDH in the description
* Add StandaloneCofactorSuite class.
* Implement StandaloneCofactorSuite.
* Add StandaloneDegenerateSuite.
* Add StandaloneInvalidSuite.
* Implement StandaloneInvalidSuite.
* Implement StandaloneDegenerateSuite.
* Small cosmetic change to some constructors.
* Add new expectError method to SignatureTest.
* Add and implement StandaloneMiscSuite.
* More small cosmetic changes.
Co-authored-by: davidhofman <davidhofman@github.com>
Co-authored-by: Ján Jančár <J08nY@users.noreply.github.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* add empty StandaloneTwistSuite
* implemented StandaloneTwistSuite
* add expectError method to KeyAgreementTest and KeyGeneratorTest
* utilize new expectError methods, general cleanup of StandaloneTwistSuite
* changed KeyAgreement to ECDH in the description
* Add StandaloneCofactorSuite class.
* Implement StandaloneCofactorSuite.
* Add StandaloneDegenerateSuite.
* Add StandaloneInvalidSuite.
* Implement StandaloneInvalidSuite.
* Implement StandaloneDegenerateSuite.
* Small cosmetic change to some constructors.
* More small cosmetic changes.
Co-authored-by: davidhofman <davidhofman@github.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Add StandaloneTestVectorSuite class (not implemented)
* Add option to choose test suites in standalone app, StandaloneTestVectorSuite now shows up in list-libs
* partially implement StandaloneTestVectorSuite
* partially implement StandaloneTestVectorSuite 2
* remove unused variable
* modify xml data to support standalone test vectors
* StandaloneTestVectorSuite is now working
* CardTestVectorSuite now skips results with DH_RAW keyAlgo
* some additional debug information are now printed
* change DH_RAW to DH_PLAIN
* remove debug printing, clean up
* remove unnecessary if check in CardTestVectorSuite
* fix test suite command line option
Co-authored-by: davidhofman <davidhofman@github.com>
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Added Nettle java file, added Nettle class to NativeProvider files
* Nettle makefile
* Nettle get curves and setup
* makefile and build-standalone
* makefile hogweed
* added other curves
* mpz to biginteger
* switch nignum to mpz
* it is finally possible to write nettle info
* prepared generate curve
* generate key pair progress
* removed key agreement
* ECParameterSpec experiment
* ECParameterSpec experiment - source
* Another try
* it is finally running (at least), debugging messages
* generator generates - needs to be tested
* removed unnecessary function
* signature preparations
* signature almost done
* added der encoding
* verification and der decoder
* added support for secp192r1, secp224r1, secp384r1 and secp521r1
* fixed the variable length of the points and scalars
* removed debug prints
* removed debug prints (java)
* removed Curve25519 artifacts, added ECDH support
* removed fragment of openssl, added cleanup to ecdh
* src/cz/crcs/ectester/standalone/libs/jni/nettle.c
* reverted plot
* fixed signature for secp521r1
* replaced for loop with memset
* added nettle to requirements in NettleLib class
* removed conflicting lines
* fixed the der signature encoder / decoder
* Switched ECGenParameterSpec -> ECParameterSpec explicit retyping to EC_Store
Co-authored-by: Ján Jančár <J08nY@users.noreply.github.com>
|
| |
|
|
|
| |
The code is copied from the BoringSSL implementation with some minor
modifications to accomodate slight differences in the LibreSSL API.
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
|
| |
- Test G = infinity.
- Test wrong r, where [r]G != infinity,
- prime
- composite
|
| | |
|
| | |
|