aboutsummaryrefslogtreecommitdiff
path: root/src/bun.js/bindings/webcrypto/CryptoAlgorithmRegistryOpenSSL.cpp
diff options
context:
space:
mode:
authorGravatar Jarred Sumner <jarred@jarredsumner.com> 2023-02-15 00:11:48 -0800
committerGravatar GitHub <noreply@github.com> 2023-02-15 02:11:48 -0600
commit4320108add7aa43e6e9ff88fff45b620d1292354 (patch)
tree1069c11a308fe32b15e6ef288353d553e2a537c3 /src/bun.js/bindings/webcrypto/CryptoAlgorithmRegistryOpenSSL.cpp
parentd91052516e876d9938a4dd2d9bdd25a0739f8eba (diff)
downloadbun-4320108add7aa43e6e9ff88fff45b620d1292354.tar.gz
bun-4320108add7aa43e6e9ff88fff45b620d1292354.tar.zst
bun-4320108add7aa43e6e9ff88fff45b620d1292354.zip
ED25519 WebCrypto (#1971)
* ed25519 * Register the algorithm * try this? * fix(webcrypto): fix ed25519 keypair gen (#1985) * fix: import and export ed25519 (#2004) * fix(webcrypto): allow import and export ed25519 * fix(webcrypto): copy exportkey * fix(webcrypto): fix use after stack free --------- Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> Co-authored-by: Derrick Farris <mr.dcfarris@gmail.com>
Diffstat (limited to 'src/bun.js/bindings/webcrypto/CryptoAlgorithmRegistryOpenSSL.cpp')
-rw-r--r--src/bun.js/bindings/webcrypto/CryptoAlgorithmRegistryOpenSSL.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/bun.js/bindings/webcrypto/CryptoAlgorithmRegistryOpenSSL.cpp b/src/bun.js/bindings/webcrypto/CryptoAlgorithmRegistryOpenSSL.cpp
index 1976a01a8..8e588d8bf 100644
--- a/src/bun.js/bindings/webcrypto/CryptoAlgorithmRegistryOpenSSL.cpp
+++ b/src/bun.js/bindings/webcrypto/CryptoAlgorithmRegistryOpenSSL.cpp
@@ -35,6 +35,7 @@
#include "CryptoAlgorithmAES_KW.h"
#include "CryptoAlgorithmECDH.h"
#include "CryptoAlgorithmECDSA.h"
+#include "CryptoAlgorithmEd25519.h"
#include "CryptoAlgorithmHKDF.h"
#include "CryptoAlgorithmHMAC.h"
#include "CryptoAlgorithmPBKDF2.h"
@@ -71,6 +72,7 @@ void CryptoAlgorithmRegistry::platformRegisterAlgorithms()
registerAlgorithm<CryptoAlgorithmSHA256>();
registerAlgorithm<CryptoAlgorithmSHA384>();
registerAlgorithm<CryptoAlgorithmSHA512>();
+ registerAlgorithm<CryptoAlgorithmEd25519>();
}
} // namespace WebCore