-
Notifications
You must be signed in to change notification settings - Fork 112
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add derive symmetric key unit test for X25519-Deoxys-II MRAE scheme #4772
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fix commit message, squash into a single commit as the second commit is just a fixup, add a changelog fragment.
runtime/Cargo.toml
Outdated
@@ -56,6 +56,7 @@ oid-registry = "0.4.0" | |||
rsa = "0.5.0" | |||
base64-serde = "0.6.1" | |||
lru = "0.7.5" | |||
hex = "0.4" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be under dev-dependencies
as it is only used in tests.
c916b87
to
6875fac
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if you could make a note of where you acquired the test vectors, this PR looks good to me
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tests seem fine, please address the remaining commit/lint-related comments.
@@ -67,6 +67,7 @@ features = ["full"] | |||
|
|||
[dev-dependencies] | |||
# For storage interoperability tests only. | |||
hex = "0.4" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be moved below as the above comment applies to the jsonrpc
dependency.
@xmzheng ping on addressing the remaining issues and merging this. |
6875fac
to
cd7b0fc
Compare
add same test logic for derive_symmetric_key for golang, rust, which should be identical to those in oasis-sdk/client-sdk/web-ts