From 513239544a30a35edb5f908eec71ce3c7f248019 Mon Sep 17 00:00:00 2001 From: "zandobersek@gmail.com" Date: Thu, 30 Mar 2017 16:29:36 +0000 Subject: [PATCH] [GCrypt] Register missing algorithms in CryptoAlgorithmRegistry::platformRegisterAlgoritmhs() https://bugs.webkit.org/show_bug.cgi?id=170273 Reviewed by Michael Catanzaro. * crypto/gcrypt/CryptoAlgorithmRegistryGCrypt.cpp: (WebCore::CryptoAlgorithmRegistry::platformRegisterAlgorithms): Add registerAlgorithm<> calls for AES_CFB, AES_GCM, ECDH and PBKDF2 algorithms. git-svn-id: https://svn.webkit.org/repository/webkit/trunk@214610 268f45cc-cd09-0410-ab3c-d52691b4dbfc --- Source/WebCore/ChangeLog | 12 ++++++++++++ .../WebCore/crypto/gcrypt/CryptoAlgorithmRegistryGCrypt.cpp | 8 ++++++++ 2 files changed, 20 insertions(+) diff --git a/Source/WebCore/ChangeLog b/Source/WebCore/ChangeLog index c7f36dc..5219d0d 100644 --- a/Source/WebCore/ChangeLog +++ b/Source/WebCore/ChangeLog @@ -1,3 +1,15 @@ +2017-03-30 Zan Dobersek + + [GCrypt] Register missing algorithms in CryptoAlgorithmRegistry::platformRegisterAlgoritmhs() + https://bugs.webkit.org/show_bug.cgi?id=170273 + + Reviewed by Michael Catanzaro. + + * crypto/gcrypt/CryptoAlgorithmRegistryGCrypt.cpp: + (WebCore::CryptoAlgorithmRegistry::platformRegisterAlgorithms): + Add registerAlgorithm<> calls for AES_CFB, AES_GCM, ECDH and + PBKDF2 algorithms. + 2017-03-30 Brent Fulgham Remove unused MediaControlsApple implementation diff --git a/Source/WebCore/crypto/gcrypt/CryptoAlgorithmRegistryGCrypt.cpp b/Source/WebCore/crypto/gcrypt/CryptoAlgorithmRegistryGCrypt.cpp index 34cbf9d..754e9da 100644 --- a/Source/WebCore/crypto/gcrypt/CryptoAlgorithmRegistryGCrypt.cpp +++ b/Source/WebCore/crypto/gcrypt/CryptoAlgorithmRegistryGCrypt.cpp @@ -29,8 +29,12 @@ #if ENABLE(SUBTLE_CRYPTO) #include "CryptoAlgorithmAES_CBC.h" +#include "CryptoAlgorithmAES_CFB.h" +#include "CryptoAlgorithmAES_GCM.h" #include "CryptoAlgorithmAES_KW.h" +#include "CryptoAlgorithmECDH.h" #include "CryptoAlgorithmHMAC.h" +#include "CryptoAlgorithmPBKDF2.h" #include "CryptoAlgorithmRSAES_PKCS1_v1_5.h" #include "CryptoAlgorithmRSASSA_PKCS1_v1_5.h" #include "CryptoAlgorithmRSA_OAEP.h" @@ -45,8 +49,12 @@ namespace WebCore { void CryptoAlgorithmRegistry::platformRegisterAlgorithms() { registerAlgorithm(); + registerAlgorithm(); + registerAlgorithm(); registerAlgorithm(); + registerAlgorithm(); registerAlgorithm(); + registerAlgorithm(); registerAlgorithm(); registerAlgorithm(); registerAlgorithm(); -- 1.8.3.1