From 4320108add7aa43e6e9ff88fff45b620d1292354 Mon Sep 17 00:00:00 2001 From: Jarred Sumner Date: Wed, 15 Feb 2023 00:11:48 -0800 Subject: 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 --- src/bun.js/bindings/webcrypto/CryptoAlgorithmRegistryOpenSSL.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/bun.js/bindings/webcrypto/CryptoAlgorithmRegistryOpenSSL.cpp') 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(); registerAlgorithm(); registerAlgorithm(); + registerAlgorithm(); } } // namespace WebCore -- cgit v1.2.3