corda/node
Shams Asari 9d57caebed ENT-11661: Replaced SunEC Ed25519 implementation with Bouncy Castle
It turns out the JDK implementation (`SunEC` provider) of Ed25519 signature verification is quite slow, slower than the abandoned library (i2p) it replaced. This has been replaced by Bouncy Castle, whereby the `EDDSA_ED25519_SHA512` signature scheme uses it. `SunEC` still remains the default implementation. `Crypto.toSupportedPublicKey` (and `toSupportedPrivateKey`) were tweaked to make sure any `SunEC` keys are converted to Bouncy Castle. The presence of two different `EdECPublicKey` implementations for the same key causes cache misses in `BasicHSMKeyManagementService`, resulting in another performance degradation.
2024-03-19 07:48:22 +00:00
..
capsule Extra add-opens to support corda-shell 2024-03-12 15:45:19 +00:00
src ENT-11661: Replaced SunEC Ed25519 implementation with Bouncy Castle 2024-03-19 07:48:22 +00:00
build.gradle ENT-11101: Fix all crypto issues introduced by Java 17 upgrade 2024-03-04 13:29:49 +00:00