OpenCryptoProject / JCMathLib

Implementation of mathematical operations with big numbers and elliptic curve points for smart cards with JavaCard platform.
MIT License
83 stars 27 forks source link

Add support for ED25519 #1

Open petrs opened 6 years ago

petrs commented 6 years ago

https://github.com/david-oswald/jc_curve25519 converts Curve25519 into Weierstrass form and then uses the standard KeyAgreement

sdellava commented 3 years ago

any news on this feature?

petrs commented 3 years ago

Dear @sdellava , no update yet - still planned, but lacking time to implement it

jonycoo commented 4 months ago

Is it possible to use the native Curves of Javacard 3.1 with JCMathLib? My Application needs ED25519 KeyDerivation and some other Math operations. If it works without modification I will just use version 3.1, if not I might drop to version 3.0.5 and use this: https://github.com/dufkan/JCEd25519 .

petrs commented 4 months ago

@jonycoo to use native curves from JC API spec 3.1, you need to have smartcard supporting this version - we do not have such card yet so we cannot test such usage. Anyway, @dufkan is involved in JCMathLib development and https://github.com/dufkan/JCEd25519 is good way to go (if you have smartcard supporting 3.0.5)