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

Use EVP for AES-GCM #880

Closed
wants to merge 1 commit into from
Closed

Use EVP for AES-GCM #880

wants to merge 1 commit into from

Conversation

mururu
Copy link
Contributor

@mururu mururu commented Oct 30, 2015

This enables the use of hardware acceleration on newer Intel CPUs (AES-NI).
With AES-NI, I've seen a ~4x reduction in CPU time used by encryption and decryption just like #501.

return atom_error;
if (key.size == 16)
cipher = EVP_aes_128_gcm();
if (key.size == 24)
Copy link
Contributor

Choose a reason for hiding this comment

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

I think you forgot an else here

@OTP-Maintainer
Copy link

Patch has passed first testings and has been assigned to be reviewed


I am a script, I am not human


This enables the use of hardware acceleration on newer Intel CPUs (AES-NI).
@OTP-Maintainer
Copy link

Patch has passed first testings and has been assigned to be reviewed


I am a script, I am not human


@sverker
Copy link
Contributor

sverker commented Dec 17, 2015

Thank you for the contribution.
Rebased and merged to master at 0eb8ad3.

@sverker sverker closed this Dec 17, 2015
@mururu
Copy link
Contributor Author

mururu commented Dec 18, 2015

Thank you!

@mururu mururu deleted the evp-aes-gcm branch December 18, 2015 06:53
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.

None yet

4 participants