-
Notifications
You must be signed in to change notification settings - Fork 27
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
Switch openssl backend to golang-fips/openssl #943
Conversation
Is this going to be merged? It looks like it needs a rebase first. I also would want to update this to a newer snapshot of golang-fips/openssl to gain SHA3. |
I'm waiting for this to happen: golang-fips/openssl#83. I've stopped rebasing this PR till then, else I would have to rebase and fix conflicts constantly. |
36e9386
to
ce942fc
Compare
Waiting for golang-fips/openssl#92 |
860edc3
to
e46d895
Compare
Co-authored-by: Davis Goodin <dagood@users.noreply.github.com>
e46d895
to
b365422
Compare
github.com/golang-fips/openssl
is almost API-compatible withgithub.com/microsoft/go-crypto-openssl
, so there are only a handful changes:openssl.DecryptRSAOAEPWithMGF1Hash
andopenssl.EncryptRSAOAEPWithMGF1Hash
are not defined, butopenssl.DecryptRSAOAEP
andopenssl.EncryptRSAOAEP
supports the purpose of the former by adding an additional parameter.openssl.Init
no longer supports OpenSSL version auto-selection, as it has too fork-specific. We have to implement the algorithm in our side instead.!android
build tag.