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

Add API support for SHA3-384 and friends #87

Closed
xnox opened this issue Jun 27, 2023 · 0 comments
Closed

Add API support for SHA3-384 and friends #87

xnox opened this issue Jun 27, 2023 · 0 comments

Comments

@xnox
Copy link
Contributor

xnox commented Jun 27, 2023

I was redirected here from microsoft/go-crypto-openssl#57

In essence, I need golang toolchain that is FIPS compatible, and also is able to use crypto.SHA3_384 for which one normally needs import of _ golang.org/x/crypto/sha3 that registers such a hash, given only sha3 stub without an implementation is part of toolchain's crypto module.

Given this is the easiest way to access and expose openssl APIs, will work on porting microsoft/go-crypto-openssl#58 to this repo.

This would then open up easy access to FIPS-compliant sha3.

xnox added a commit to xnox/golang-fips-openssl that referenced this issue Jun 28, 2023
This adds OpenSSL SHA-3 family of hashes in the openssl
package.

Separately sha3 package is added as a drop-in replacement for
golang.org/x/crypto/sha3 package.

Together with FIPS-compliant Go toolchain one can thus attempt
building FIPS-compliant applications that use "crypto" package and
also need FIPS-compliant SHA-3.

Marshaling is not cross-platform compatible (32/64 & be/le issues).

Fixes: golang-fips#87
xnox added a commit to xnox/golang-fips-openssl that referenced this issue Jun 28, 2023
This adds OpenSSL SHA-3 family of hashes in the openssl
package.

Separately sha3 package is added as a drop-in replacement for
golang.org/x/crypto/sha3 package.

Together with FIPS-compliant Go toolchain one can thus attempt
building FIPS-compliant applications that use "crypto" package and
also need FIPS-compliant SHA-3.

Marshaling is not cross-platform compatible (32/64 & be/le issues).

Fixes: golang-fips#87
xnox added a commit to xnox/golang-fips-openssl that referenced this issue Jun 28, 2023
This adds OpenSSL SHA-3 family of hashes in the openssl
package.

Separately sha3 package is added as a drop-in replacement for
golang.org/x/crypto/sha3 package.

Together with FIPS-compliant Go toolchain one can thus attempt
building FIPS-compliant applications that use "crypto" package and
also need FIPS-compliant SHA-3.

Marshaling is not cross-platform compatible (32/64 & be/le issues).

Fixes: golang-fips#87
xnox added a commit to xnox/golang-fips-openssl that referenced this issue Jun 28, 2023
This adds OpenSSL SHA-3 family of hashes in the openssl
package.

Separately sha3 package is added as a drop-in replacement for
golang.org/x/crypto/sha3 package.

Together with FIPS-compliant Go toolchain one can thus attempt
building FIPS-compliant applications that use "crypto" package and
also need FIPS-compliant SHA-3.

Marshaling is not cross-platform compatible (32/64 & be/le issues).

Fixes: golang-fips#87
xnox added a commit to xnox/golang-fips-openssl that referenced this issue Jun 28, 2023
This adds OpenSSL SHA-3 family of hashes in the openssl
package.

Separately sha3 package is added as a drop-in replacement for
golang.org/x/crypto/sha3 package.

Together with FIPS-compliant Go toolchain one can thus attempt
building FIPS-compliant applications that use "crypto" package and
also need FIPS-compliant SHA-3.

Marshaling is not cross-platform compatible (32/64 & be/le issues).

Fixes: golang-fips#87
xnox added a commit to xnox/golang-fips-openssl that referenced this issue Jun 28, 2023
This adds OpenSSL SHA-3 family of hashes in the openssl
package.

Separately sha3 package is added as a drop-in replacement for
golang.org/x/crypto/sha3 package.

Together with FIPS-compliant Go toolchain one can thus attempt
building FIPS-compliant applications that use "crypto" package and
also need FIPS-compliant SHA-3.

Marshaling is not cross-platform compatible (32/64 & be/le issues).

Fixes: golang-fips#87
xnox added a commit to xnox/golang-fips-openssl that referenced this issue Jun 28, 2023
This adds OpenSSL SHA-3 family of hashes in the openssl
package.

Separately sha3 package is added as a drop-in replacement for
golang.org/x/crypto/sha3 package.

Together with FIPS-compliant Go toolchain one can thus attempt
building FIPS-compliant applications that use "crypto" package and
also need FIPS-compliant SHA-3.

Marshaling is not cross-platform compatible (32/64 & be/le issues).

Fixes: golang-fips#87
xnox added a commit to xnox/golang-fips-openssl that referenced this issue Jun 29, 2023
This adds OpenSSL SHA-3 family of hashes in the openssl
package.

Separately sha3 package is added as a drop-in replacement for
golang.org/x/crypto/sha3 package.

Together with FIPS-compliant Go toolchain one can thus attempt
building FIPS-compliant applications that use "crypto" package and
also need FIPS-compliant SHA-3.

Fixes: golang-fips#87
@xnox xnox closed this as completed Jul 1, 2023
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

1 participant