aboutsummaryrefslogtreecommitdiff
path: root/src/cz/crcs/ectester/standalone/test/suites (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Basic Gradle setup.J08nY2024-03-2513-1915/+0
|
* Test with default curve if possible.davidhofman2021-12-095-18/+49
| | | | | | | | | | | | | | | Final changes to the new test suites and scripts. (#16) * Final changes in some of the test suites. * Final changes to testing scripts. * Roll back recent changes in the cofactor test suite. * Change key generation method in Degenerate, Invalid, and Twist test suites. * Small cosmetic change to the edge-cases test suite. * Small change to run_test_suite.sh
* Add 2 scripts for testing libraries. Change suites to prevent error in some ↵davidhofman2021-10-087-21/+19
| | | | | | | | | | | libraries. (#14) * Add two scripts for testing libraries. * Fix KeyAgreement phase already executed error * Small change to the new testing script. * Fix comments in Composite suite.
* Implement StandalonePerformanceSuite. (#13)davidhofman2021-09-151-0/+142
| | | | | | | | | | | * add PerformanceTest. * Add and implement StandalonePerformanceSuite. * Add author information. * Add missing null check to signature performance tests. * Fix reset method in KeyAgreementTestable.
* Implement StandaloneWrongSuite. (#12)davidhofman2021-09-061-0/+344
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* Implement StandaloneEdgeCasesSuite. (#11)davidhofman2021-09-051-0/+311
| | | | | | | | | | | | | * 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.
* Implement StandaloneSignatureSuite. (#10)davidhofman2021-08-261-0/+87
| | | | | | | | | | | | | | | * 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.
* Implement StandaloneCompositeSuite. (#9)davidhofman2021-08-241-0/+211
| | | | | | | | | | | * Add StandaloneCompositeSuite. * Implement StandaloneCompositeSuite. * Moved things out of constructor to prevent list-suites from crashing. * General cleanup of StandaloneCompositeSuite. * Add author information to StandaloneCompositeSuite.
* Fix typo in Miscellaneous suite.J08nY2021-08-241-1/+1
|
* Fix standalone list-suites command.J08nY2021-08-241-4/+5
|
* Add author information.J08nY2021-08-246-0/+18
|
* Implement StandaloneMiscSuite. (#8)davidhofman2021-08-221-0/+146
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* Implement Twist, Invalid, Cofactor and Degenerate standalone suites. (#7)davidhofman2021-08-224-0/+434
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* implement StandaloneTestVectorSuite (#6)davidhofman2021-08-161-0/+59
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* Support key algo parameter for KeyAgreements with KDF in standalone testing.J08nY2018-05-292-3/+10
|
* Implement tracking of stage of execution of standalone testables.J08nY2018-05-282-0/+126
- Output this stage in all the formats.