Skip to content

Commit

Permalink
fix:vendor files
Browse files Browse the repository at this point in the history
  • Loading branch information
mertakman committed Jan 7, 2025
1 parent 04ef050 commit f979797
Show file tree
Hide file tree
Showing 2 changed files with 401 additions and 886 deletions.
4 changes: 2 additions & 2 deletions patches/0004-Add-OpenSSL-crypto-backend.patch
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ index 00000000000000..118efa3a492a7d
+}
diff --git a/src/crypto/internal/backend/openssl_linux.go b/src/crypto/internal/backend/openssl_linux.go
new file mode 100644
index 00000000000000..a05ca0b0a0b7ab
index 00000000000000..e53a7c6de508ce
--- /dev/null
+++ b/src/crypto/internal/backend/openssl_linux.go
@@ -0,0 +1,335 @@
Expand Down Expand Up @@ -249,7 +249,7 @@ index 00000000000000..a05ca0b0a0b7ab
+func SHA384(p []byte) (sum [48]byte) { return openssl.SHA384(p) }
+func SHA512(p []byte) (sum [64]byte) { return openssl.SHA512(p) }
+func SHA512_224(p []byte) (sum [28]byte) { return openssl.SHA512_224(p) }
+func SHA512_256(p []byte) (sum [32]byte) { return openssl.SHA512_224(p) }
+func SHA512_256(p []byte) (sum [32]byte) { return openssl.SHA512_256(p) }
+
+func NewHMAC(h func() hash.Hash, key []byte) hash.Hash { return openssl.NewHMAC(h, key) }
+
Expand Down
Loading

0 comments on commit f979797

Please sign in to comment.