This repository was archived by the owner on Apr 18, 2024. It is now read-only.
Repository navigation
Conversation
Yawning
force-pushed
the
yawning/feature/oasis-0.32
branch
from
November 6, 2019 11:59
061ecb9 to
32fa278
Compare
This switches the ed25519 import to use an optimzied ed25519 implementation to improve signing, verification, and key generation performance. Notes: * Go prior to 1.13 does not guarantee that certain `math/bits` intrinsics are constant time. When building non-amd64 targets with older compilers, the 32 bit codepath is forced. * The 64 bit code path is only enabled for the amd64, arm64, ppc64 and ppc64le targets due to the Go compiler's support for optimizing the `math.bits` intrinsics used. * Key generation and signing performance on targets that are not amd64, 386, and ppc64le will be slower than it could be due to the use of `subtle.ConstantTimeCopy` to implement a constant time table lookup. Patches welcome.
Yawning
force-pushed
the
yawning/feature/oasis-0.32
branch
from
November 6, 2019 12:16
32fa278 to
437f697
Compare
Yawning
force-pushed
the
yawning/feature/oasis-0.32
branch
from
November 6, 2019 13:00
1385abf to
343eb70
Compare
oasis-core uses ed25519 with an ad-hoc domain separation context to sign things. This is unsafe when the same key is used to also do Ed25519pure signing. Sensible people will use Ed25519ph/Ed25519ctx for this, because it avoids the collision problem. Non-sensible people use YubiHSM/Ledger to do signing, which supports neither.
Yawning
force-pushed
the
yawning/feature/oasis-0.32
branch
from
November 6, 2019 13:03
343eb70 to
2c829f3
Compare
kostko
approved these changes
Nov 6, 2019
Author
|
Alrighty, this is now done. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
We used to have a fork of tendermint with bugfixes, now it's time to have a fork of tendermint for features.