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

Mixing programming paradigms in libsodium sealed box examples #33

Open
daidoji opened this issue May 8, 2024 · 0 comments
Open

Mixing programming paradigms in libsodium sealed box examples #33

daidoji opened this issue May 8, 2024 · 0 comments

Comments

@daidoji
Copy link

daidoji commented May 8, 2024

In section https://trustoverip.github.io/tswg-tsp-specification/#tsp-use-of-sealed-box-for-pkae we have two C function headers taken from the libsodium documentation, then some pseudo-code that seems to be mixing python indentation with the use of references from the C code. Python doesn't have the & operator for variable addresses (nor does psuedo-code usually) and this is probably confusing. I think I understand the intent of the code so I might try and push a PR for this but wanted to note this issue in case I forget.

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

No branches or pull requests

1 participant