// Copyright 2014 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef COMPONENTS_WEBCRYPTO_ALGORITHM_IMPLEMENTATIONS_H_ #define COMPONENTS_WEBCRYPTO_ALGORITHM_IMPLEMENTATIONS_H_ #include #include "third_party/blink/public/platform/web_crypto.h" // The definitions for these functions live in the algorithms/ directory. namespace webcrypto { class AlgorithmImplementation; std::unique_ptr CreateShaImplementation(); std::unique_ptr CreateAesCbcImplementation(); std::unique_ptr CreateAesCtrImplementation(); std::unique_ptr CreateAesGcmImplementation(); std::unique_ptr CreateAesKwImplementation(); std::unique_ptr CreateHmacImplementation(); std::unique_ptr CreateRsaOaepImplementation(); std::unique_ptr CreateRsaSsaImplementation(); std::unique_ptr CreateRsaPssImplementation(); std::unique_ptr CreateEcdsaImplementation(); std::unique_ptr CreateEcdhImplementation(); std::unique_ptr CreateHkdfImplementation(); std::unique_ptr CreatePbkdf2Implementation(); } // namespace webcrypto #endif // COMPONENTS_WEBCRYPTO_ALGORITHM_IMPLEMENTATIONS_H_