-
Notifications
You must be signed in to change notification settings - Fork 0
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
input cleanup / only needed information #1
Comments
things that are needed later need to stay, because the only way they get there is passing them through the stages. |
Sorry about the late response but I had to begin my own implementation to get a deep understanding. I began with the |
that is definitely wrong. I guess we need tests for the vectors, that check that incorrect implementations do not pass... |
Here is my PR for cleaning up input: #3 |
@dominictarr asked me to forward a suggestion I made on ssb.
...
To get a little more hands-on, my idea would be to change the first
initialize
vector to this:Since
local.kx_pk
andlocal.kx_sk
are derived fromrandom
andlocal.app_mac
is then derived fromlocal.kx_pk
, they shouldn't be part of the input state. One could argue that the long-term keypair and target remote pubkey also aren't used until the later stages but since they are required for normal operation I'd leave them in but I'm not sure about that.The text was updated successfully, but these errors were encountered: