aboutsummaryrefslogtreecommitdiff
path: root/src/cz/crcs/ectester/standalone
Commit message (Collapse)AuthorAgeFilesLines
* Basic Gradle setup.J08nY2024-03-2576-17624/+0
|
* Do not try to recover signature nonces where we do not know how.J08nY2024-03-162-1/+5
|
* Fix PLAIN and CVC ECDSA parsing.J08nY2024-03-161-1/+1
|
* Fixes for Java 19. Fixes #17.J08nY2023-01-301-20/+35
|
* Vendor ipp-crypto and bump its version.J08nY2023-01-302-4/+7
|
* 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-154-1/+265
| | | | | | | | | | | * 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-062-0/+348
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-052-0/+315
| | | | | | | | | | | | | * 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-263-43/+147
| | | | | | | | | | | | | | | * 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-242-0/+215
| | | | | | | | | | | * 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
|
* Suppress unnecessary warnings.J08nY2021-08-243-2/+42
|
* Implement StandaloneMiscSuite. (#8)davidhofman2021-08-223-1/+161
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-228-8/+482
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-162-2/+74
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* Fix warnings in standalone shims, update BoringSSL.J08nY2020-08-096-52/+52
|
* Fix Nettle and LibreSSL implementations.J08nY2019-12-285-53/+128
|
* Update Travis, add info about new supported libs.J08nY2019-12-251-1/+0
|
* Nettle support (#4)Michal Čech2019-12-2511-9/+759
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* Add support for LibreSSLMatěj Grabovský2019-12-0811-24/+836
| | | | | The code is copied from the BoringSSL implementation with some minor modifications to accomodate slight differences in the LibreSSL API.
* Add --fixed option to standalone ECDSA.J08nY2019-08-181-2/+15
|
* Update and fix library building.J08nY2019-08-041-2/+1
|
* Unify native timing, add more timing sources.J08nY2019-07-2428-597/+378
|
* Add option to use KeyBuilder.J08nY2019-07-163-19/+38
|
* Fix Microsoft CNG provider.J08nY2019-07-114-147/+245
|
* Add MatrixSSL support.J08nY2019-07-1116-29/+776
|
* Write info about digest used to CSV files in standalone.J08nY2019-07-105-5/+49
|
* Add Intel Performance Primitives Crypto support (ECDH and ECDSA).feature/ippcpJ08nY2019-07-104-3/+336
|
* Add Intel Performance Primitives Crypto support (keygen).J08nY2019-07-0911-15/+793
|
* Add mbedTLS support.J08nY2019-07-0415-23/+958
|
* Bump version.J08nY2019-03-181-2/+2
|
* Add customizable time resolution.develJ08nY2019-03-181-1/+2
|
* Migrate plot scripts to Jupyter notebook format. Fix ECDSA nonce recovery.J08nY2019-03-181-2/+2
|
* Add better loading of keys to standalone.J08nY2019-02-281-46/+40
|
* Bump version...0.3.2J08nY2019-02-221-2/+2
|
* Fix applet switch fall-through and standalone ECDH on BouncyCastle.J08nY2018-12-171-2/+1
|
* Add named key opts to standalone.J08nY2018-12-171-12/+61
|
* Add nonce output to standalone ECDSA function.J08nY2018-12-022-4/+15
|
* Bump version.0.3.1J08nY2018-11-281-2/+2
|
* Use native timing when available.J08nY2018-11-231-12/+20
|
* Improve native lib timing.J08nY2018-11-2321-19/+547
|
* Add more keygen/ecdh/ecdsa options to standalone.J08nY2018-11-181-119/+171
|
* Fix keygen plotting.J08nY2018-11-181-1/+1
|
* Output duration of keygen and export as well.J08nY2018-11-181-3/+3
|
* Add WolfCrypt provider to testing.J08nY2018-11-112-1/+30
|
* Fix gcrypt ecdh and ecdsa.J08nY2018-10-301-4/+4
|