aboutsummaryrefslogtreecommitdiff
path: root/docs (unfollow)
Commit message (Collapse)AuthorFilesLines
2024-03-26Fix Java 8.J08nY5-9/+9
2024-03-25Minor cleanups.J08nY19-86/+80
2024-03-25Cache library builds.J08nY1-1/+15
2024-03-25Add first standalone unit test.J08nY4-0/+29
2024-03-25Add CI.J08nY8-317/+106
2024-03-25Fix applet building.J08nY495-631/+335
2024-03-25Basic Gradle setup.J08nY633-5009/+4048
2024-03-16Bump BouncyCastle.J08nY5-4/+4
2024-03-16Do not try to recover signature nonces where we do not know how.J08nY4-9/+33
2024-03-16Fix PLAIN and CVC ECDSA parsing.J08nY3-22/+12
2024-03-16Fix DER decoding.J08nY1-5/+8
2023-03-03Bump Commons CLI version.J08nY8-4/+4
2023-01-30Fixes for Java 19. Fixes #17.J08nY3-23/+37
2023-01-30Bump BouncyCastle and fix resource loading.J08nY8-5/+24
Fixes #18.
2023-01-30Now works with Java 11!J08nY11-21/+40
Uses ph4r05's jcardsim release 3.0.5.11: https://mvnrepository.com/artifact/com.klinec/jcardsim/3.0.5.11 Uses ant-javacard v21.12.31: https://github.com/martinpaljak/ant-javacard/releases/tag/v21.12.31 Also note the JavaCard and Java compatibility issues: https://github.com/martinpaljak/ant-javacard/wiki/Version-compatibility
2023-01-30Vendor ipp-crypto and bump its version.J08nY5-5/+20
2023-01-30Bump BoringSSL and LibreSSL versions.J08nY2-0/+0
2022-08-19Bump BoringSSL.J08nY1-0/+0
2022-08-19Bump LibreSSL to 3.5.3.J08nY1-0/+0
2022-08-19Add tabulate to requirements to fix MyBinder notebooks.J08nY1-1/+2
2021-12-09Test with default curve if possible.davidhofman8-30/+75
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
2021-10-08Add 2 scripts for testing libraries. Change suites to prevent error in some ↵davidhofman9-21/+123
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.
2021-09-15Implement StandalonePerformanceSuite. (#13)davidhofman4-1/+265
* add PerformanceTest. * Add and implement StandalonePerformanceSuite. * Add author information. * Add missing null check to signature performance tests. * Fix reset method in KeyAgreementTestable.
2021-09-06Implement StandaloneWrongSuite. (#12)davidhofman7-0/+604
* 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.
2021-09-05Implement StandaloneEdgeCasesSuite. (#11)davidhofman2-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.
2021-08-26Implement StandaloneSignatureSuite. (#10)davidhofman3-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.
2021-08-24Implement StandaloneCompositeSuite. (#9)davidhofman2-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.
2021-08-24Fix Cofactor suite.J08nY2-3/+11
2021-08-24Fix typo in Miscellaneous suite.J08nY1-1/+1
2021-08-24Fix standalone list-suites command.J08nY1-4/+5
2021-08-24Bump BoringSSL and LibreSSL, include build information.J08nY3-0/+21
2021-08-24Add author information.J08nY6-0/+18
2021-08-24Suppress unnecessary warnings.J08nY9-2/+48
2021-08-22Implement StandaloneMiscSuite. (#8)davidhofman3-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>
2021-08-22Implement Twist, Invalid, Cofactor and Degenerate standalone suites. (#7)davidhofman8-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>
2021-08-16implement StandaloneTestVectorSuite (#6)davidhofman3-2/+163
* 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>
2020-08-09Fix BoringSSL build.J08nY1-1/+2
2020-08-09Fix warnings in standalone shims, update BoringSSL.J08nY8-54/+55
2020-08-09Fix libressl Travis build.J08nY1-0/+0
2020-08-09Fix reader allocation commands.J08nY2-5/+5
2020-08-09Update logo.J08nY3-1/+2
2019-12-28Fix Nettle and LibreSSL implementations.J08nY6-54/+130
2019-12-25Update Travis, add info about new supported libs.J08nY5-17/+45
2019-12-25Nettle support (#4)Michal Čech12-9/+765
* 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>
2019-12-11Add wolfSSL DSA bias to VULNS file.J08nY1-1/+1
2019-12-08Add support for LibreSSLMatěj Grabovský14-24/+846
The code is copied from the BoringSSL implementation with some minor modifications to accomodate slight differences in the LibreSSL API.