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

crypto/rsa: RSA256 signing operations 4 times slower than openssl #6924

Closed
gopherbot opened this issue Dec 10, 2013 · 2 comments
Closed

crypto/rsa: RSA256 signing operations 4 times slower than openssl #6924

gopherbot opened this issue Dec 10, 2013 · 2 comments

Comments

@gopherbot
Copy link

by atbaig2002:

I am planning to use go for a high performance application.
One of the main reason why we chose go over other languages is performance. As a
cryptographer and security professional, the very first I tend to do compare the speed
of RSA signing operations. I was disappointed to see that RSA256 signing operation was 4
times slower than C implementation in openssl. I hope the fix would come soon.   

What steps will reproduce the problem?
If possible, include a link to a program on play.golang.org.
1. Perform the signing operation http://golang.org/pkg/crypto/rsa/#SignPKCS1v15 
2.openssl speed rsa2048
3.you will notice a significant difference.

What is the expected output?

comparable speed

What do you see instead?

slower

Which compiler are you using (5g, 6g, 8g, gccgo)?

go

Which operating system are you using?

Linux

Which version are you using?  (run 'go version')

1.2

Please provide any additional information below.
@minux
Copy link
Member

minux commented Dec 13, 2013

Comment 2:

Labels changed: added release-none, repo-main.

Status changed to Accepted.

@rsc rsc added this to the Unplanned milestone Apr 10, 2015
@bradfitz
Copy link
Contributor

Many optimizations have happened in this space since late 2013. Closing as I assume this is fixed and there is concrete benchmark code in this bug.

@golang golang locked and limited conversation to collaborators Feb 28, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants