Skip to content
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

Fixing constructors for structs in pseudocode #466

Merged
merged 1 commit into from
Sep 21, 2024

Conversation

kevinlewi
Copy link
Collaborator

Instead of the using the syntax

Create Envelope envelope with (envelope_nonce, auth_tag)

in pseudocode, we now say:

envelope = Envelope {
  envelope_nonce,
  auth_tag
}

This is done for all of the instantiated structs in the protocol.

Also, we are renaming the nonce field of an Envelope to be called envelope_nonce, as this will match the protocol and test vectors.

@kevinlewi kevinlewi marked this pull request as ready for review September 18, 2024 18:05
@bytemare bytemare merged commit ceafef6 into cfrg:master Sep 21, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants