diff options
| author | J08nY | 2023-11-15 10:27:00 +0100 |
|---|---|---|
| committer | J08nY | 2023-11-15 10:27:00 +0100 |
| commit | 887233f511ce517c73adc30730adcfa292cf063a (patch) | |
| tree | b4e504da7c682f8f201534aafd201726bf3876d2 /docs/libraries.rst | |
| parent | f425d0ef1fcdad30ae7be544cb30304a71300133 (diff) | |
| download | pyecsca-887233f511ce517c73adc30730adcfa292cf063a.tar.gz pyecsca-887233f511ce517c73adc30730adcfa292cf063a.tar.zst pyecsca-887233f511ce517c73adc30730adcfa292cf063a.zip | |
Diffstat (limited to 'docs/libraries.rst')
| -rw-r--r-- | docs/libraries.rst | 61 |
1 files changed, 60 insertions, 1 deletions
diff --git a/docs/libraries.rst b/docs/libraries.rst index a7aa1e2..6953a32 100644 --- a/docs/libraries.rst +++ b/docs/libraries.rst @@ -879,7 +879,7 @@ KeyGen: - Montgomery - Montgomery ladder via ``-> ec_Curve25519_pt_mul -> ec_Curve25519_mul``. - xz coords - - Unknown ladder formula + - Unknown ladder and double formula. Derive: - Same as KeyGen. @@ -1101,6 +1101,65 @@ Derive: SunEC ===== +| Version: ``jdk-21-ga`` (JDK 21) +| Repository: https://github.com/openjdk/jdk/ +| Docs: + + +Primitives +---------- + +ECDH, ECDSA, x25519, Ed25519 + +P-256 +^^^^^ + +The only special thing is the generator scalarmult, ``Secp256R1GeneratorMultiplier`` which is a Comb. + +ECDH +^^^^ + +KeyGen: + - Short-Weierstrass + - Fixed Window (width = 4) via ``ECKeyPairGenerator.generateKeyPair -> ECKeyPairGenerator.generateKeyPairImpl -> ECPrivateKeyImpl.calculatePublicKey -> ECOperations.multiply -> Default(PointMultiplier).pointMultiply`` + - projective-3 coords + - RCB-based formulas: ``add-sunec-v21``, ``dbl-sunec-v21`` + +Derive: + - Same as KeyGen. + +ECDSA +^^^^^ + +Same as ECDH. + +x25519 +^^^^^^ + +KeyGen: + - Montgomery + - Montgomery ladder + - xz + - Ladder formula from RFC 7748 + +Derive: + - Same as KeyGen. + +Ed25519 +^^^^^^^ + +KeyGen: + - Twisted-Edwards + - Double and add always + - Extended coords + - Some HWCD formulas. + +Sign: + - Same as KeyGen. + +Verify: + - Same as KeyGen. + Go == |
