aboutsummaryrefslogtreecommitdiff
path: root/src/cz/crcs/ectester/standalone/ECTesterStandalone.java
Commit message (Collapse)AuthorAgeFilesLines
* Basic Gradle setup.J08nY2024-03-251-942/+0
|
* Do not try to recover signature nonces where we do not know how.J08nY2024-03-161-1/+1
|
* Fix PLAIN and CVC ECDSA parsing.J08nY2024-03-161-1/+1
|
* Fixes for Java 19. Fixes #17.J08nY2023-01-301-20/+35
|
* Implement StandalonePerformanceSuite. (#13)davidhofman2021-09-151-1/+5
| | | | | | | | | | | * 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/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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/+4
| | | | | | | | | | | | | * 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/+4
| | | | | | | | | | | | | | | * 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/+4
| | | | | | | | | | | * Add StandaloneCompositeSuite. * Implement StandaloneCompositeSuite. * Moved things out of constructor to prevent list-suites from crashing. * General cleanup of StandaloneCompositeSuite. * Add author information to StandaloneCompositeSuite.
* Implement StandaloneMiscSuite. (#8)davidhofman2021-08-221-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-221-4/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-2/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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 Nettle and LibreSSL implementations.J08nY2019-12-281-2/+6
|
* Nettle support (#4)Michal Čech2019-12-251-3/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-081-3/+2
| | | | | 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
|
* Unify native timing, add more timing sources.J08nY2019-07-241-10/+74
|
* Write info about digest used to CSV files in standalone.J08nY2019-07-101-4/+33
|
* Add Intel Performance Primitives Crypto support (keygen).J08nY2019-07-091-1/+2
|
* Add mbedTLS support.J08nY2019-07-041-12/+18
|
* 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-021-4/+14
|
* 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-231-0/+4
|
* 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-111-1/+12
|
* Add support for libgcrypt ecdh and ecdsa.J08nY2018-10-211-1/+1
|
* Add libgcrypt support, only keygen first.J08nY2018-10-171-1/+1
|
* Add support for BoringSSL.feature/boring-sslJ08nY2018-10-161-1/+1
|
* Bump version.v0.3.0J08nY2018-10-151-2/+2
|
* Add utility methods for converting EC_Params to JCE EC objects.J08nY2018-08-101-0/+2
|
* Introduce extended KA in standalone, use it where appropriate.J08nY2018-08-041-2/+7
|
* Find KPG algos a bit better in ECTesterStandalone.J08nY2018-07-301-5/+28
|
* Update docs on Standalone testing.J08nY2018-07-291-1/+1
|
* Redo Mscng key storage.J08nY2018-07-281-1/+0
|
* WIP: Microsoft CryptoAPI Next Generation support.J08nY2018-07-251-1/+1
|
* Fix releasing memory in LibTomCrypt shim, fix ECDH time measurement.J08nY2018-07-251-0/+2
|
* Elementary support for OpenSSL.J08nY2018-07-181-6/+11
|
* Implement more tests for wrong parameters. Implement cloning for Tests.J08nY2018-06-271-1/+0
| | | | | | | - Test G = infinity. - Test wrong r, where [r]G != infinity, - prime - composite
* Add support for key generation using Crypto++.J08nY2018-05-301-16/+19
|
* Add basic support for the Crypto++ library.J08nY2018-05-301-5/+5
|