-
Notifications
You must be signed in to change notification settings - Fork 7
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
base: master
Are you sure you want to change the base?
Conversation
…and earlier processing of full blocks.
…rom previous test)
@@ -10,6 +10,11 @@ import ( | |||
"io" | |||
) | |||
|
|||
const ( | |||
AVX2Size = 512 |
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
s/XOR-ed/added
See individual commits for detailed changes.