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

Streamline structs #673

Closed
bifurcation opened this issue May 16, 2022 · 1 comment · Fixed by #706
Closed

Streamline structs #673

bifurcation opened this issue May 16, 2022 · 1 comment · Fixed by #706

Comments

@bifurcation
Copy link
Collaborator

  • The MLSMessage* collection of structs could be less chatty. Suggest
    • MLSMessageContent => MessageContent
    • MLSMessageContentAuth => AuthenticatedContent
    • MLSMessageCommitContent => CommitContent
    • MLSMessageCommitAuthData => CommitAuthData
  • PreSharedKeys is only used once, can be inlined in GroupSecrets
  • Use GroupContext for the internals of GroupInfo
@bifurcation
Copy link
Collaborator Author

bifurcation commented May 29, 2022

Note:

So only the following remain:

  • MLSMessageContent => MessageContent
  • MLSMessageContentAuth => AuthenticatedContent
  • Use GroupContext for the internals of GroupInfo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging a pull request may close this issue.

1 participant