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

Enable ARM-specific crypto modules #430

Closed
jplitza opened this issue Nov 11, 2013 · 3 comments
Closed

Enable ARM-specific crypto modules #430

jplitza opened this issue Nov 11, 2013 · 3 comments

Comments

@jplitza
Copy link

jplitza commented Nov 11, 2013

Please set the kernel options

CONFIG_CRYPTO_AES_ARM=m
CONFIG_CRYPTO_SHA1_ARM=m

These enable implementations of the algorithms that use ARM assembler and are quite a bit faster than the stock C versions. They accelerated encryption-heavy tasks by factor 1.5 in my short tests.

popcornmix pushed a commit to raspberrypi/firmware that referenced this issue Nov 11, 2013
See: raspberrypi/linux#415 (comment)

kernel: enable MROUTE options and CONFIG_CRYPTO_AES_ARM
See: raspberrypi/linux#430
See: raspberrypi/linux#358

firmware: audio_render: check for output space more frequently to avoid underrun
See: http://forum.stmlabs.com/showthread.php?tid=10118
popcornmix pushed a commit to raspberrypi/firmware that referenced this issue Nov 11, 2013
See: raspberrypi/linux#415 (comment)

kernel: enable MROUTE options and CONFIG_CRYPTO_AES_ARM
See: raspberrypi/linux#430
See: raspberrypi/linux#358

firmware: audio_render: check for output space more frequently to avoid underrun
See: http://forum.stmlabs.com/showthread.php?tid=10118
popcornmix pushed a commit to Hexxeh/rpi-firmware that referenced this issue Nov 11, 2013
See: raspberrypi/linux#415 (comment)

kernel: enable MROUTE options and CONFIG_CRYPTO_AES_ARM
See: raspberrypi/linux#430
See: raspberrypi/linux#358

firmware: audio_render: check for output space more frequently to avoid underrun
See: http://forum.stmlabs.com/showthread.php?tid=10118
@popcornmix
Copy link
Collaborator

SHA1_ARM was already in. I've added AES_ARM too.
Should be in latest rpi-update kernel.

@jplitza
Copy link
Author

jplitza commented Nov 12, 2013

That was fast, thanks! Just ran rpi-update and got it, works as expected.

SHA1_ARM wasn't in a week ago (when I last updated), but was added 5 days ago in raspberrypi/firmware@452637c3 - should have updated right before posting the issue, sorry.

Anyway, issue can be closed in my opinion.

@jplitza jplitza closed this as completed Nov 12, 2013
@popcornmix
Copy link
Collaborator

Thanks for the suggestion!

neuschaefer pushed a commit to neuschaefer/raspi-binary-firmware that referenced this issue Feb 27, 2017
See: raspberrypi/linux#415 (comment)

kernel: enable MROUTE options and CONFIG_CRYPTO_AES_ARM
See: raspberrypi/linux#430
See: raspberrypi/linux#358

firmware: audio_render: check for output space more frequently to avoid underrun
See: http://forum.stmlabs.com/showthread.php?tid=10118
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

2 participants