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

Review of poly1305 #2

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open

Conversation

fwessels
Copy link

See individual commits for detailed changes.

@@ -10,6 +10,11 @@ import (
"io"
)

const (
AVX2Size = 512
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe don't export the constant, clients should not know anything about the internal implementation...

@@ -10,6 +10,11 @@ import (
"io"
)

const (
AVX2Size = 512
AVX2Buffer = 8 * TagSize
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same here...

},
{
[]byte{},
append(mult, sSet...), // when S-part set, get XOR-ed result
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

s/XOR-ed/added

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