CryptoAlgorithmRegistryMac.cpp [plain text]
#include "config.h"
#include "CryptoAlgorithmRegistry.h"
#if ENABLE(SUBTLE_CRYPTO)
#include "CryptoAlgorithmAES_CBC.h"
#include "CryptoAlgorithmAES_CFB.h"
#include "CryptoAlgorithmAES_CTR.h"
#include "CryptoAlgorithmAES_GCM.h"
#include "CryptoAlgorithmAES_KW.h"
#include "CryptoAlgorithmECDH.h"
#include "CryptoAlgorithmECDSA.h"
#include "CryptoAlgorithmHKDF.h"
#include "CryptoAlgorithmHMAC.h"
#include "CryptoAlgorithmPBKDF2.h"
#include "CryptoAlgorithmRSAES_PKCS1_v1_5.h"
#include "CryptoAlgorithmRSASSA_PKCS1_v1_5.h"
#include "CryptoAlgorithmRSA_OAEP.h"
#include "CryptoAlgorithmRSA_PSS.h"
#include "CryptoAlgorithmSHA1.h"
#include "CryptoAlgorithmSHA224.h"
#include "CryptoAlgorithmSHA256.h"
#include "CryptoAlgorithmSHA384.h"
#include "CryptoAlgorithmSHA512.h"
namespace WebCore {
void CryptoAlgorithmRegistry::platformRegisterAlgorithms()
{
registerAlgorithm<CryptoAlgorithmAES_CBC>();
registerAlgorithm<CryptoAlgorithmAES_CFB>();
registerAlgorithm<CryptoAlgorithmAES_CTR>();
registerAlgorithm<CryptoAlgorithmAES_GCM>();
registerAlgorithm<CryptoAlgorithmAES_KW>();
registerAlgorithm<CryptoAlgorithmECDH>();
registerAlgorithm<CryptoAlgorithmECDSA>();
registerAlgorithm<CryptoAlgorithmHKDF>();
registerAlgorithm<CryptoAlgorithmHMAC>();
registerAlgorithm<CryptoAlgorithmPBKDF2>();
registerAlgorithm<CryptoAlgorithmRSAES_PKCS1_v1_5>();
registerAlgorithm<CryptoAlgorithmRSASSA_PKCS1_v1_5>();
registerAlgorithm<CryptoAlgorithmRSA_OAEP>();
#if HAVE(RSA_PSS)
registerAlgorithm<CryptoAlgorithmRSA_PSS>();
#endif
registerAlgorithm<CryptoAlgorithmSHA1>();
registerAlgorithm<CryptoAlgorithmSHA224>();
registerAlgorithm<CryptoAlgorithmSHA256>();
registerAlgorithm<CryptoAlgorithmSHA384>();
registerAlgorithm<CryptoAlgorithmSHA512>();
}
}
#endif // ENABLE(SUBTLE_CRYPTO)