// 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 "base/memory/scoped_ptr.h" #include "third_party/WebKit/public/platform/WebCrypto.h" // The definitions for these functions live in the algorithms/ directory. namespace webcrypto { class AlgorithmImplementation; scoped_ptr CreateDigestorImplementation( blink::WebCryptoAlgorithmId algorithm); scoped_ptr CreateShaImplementation(); scoped_ptr CreateAesCbcImplementation(); scoped_ptr CreateAesCtrImplementation(); scoped_ptr CreateAesGcmImplementation(); scoped_ptr CreateAesKwImplementation(); scoped_ptr CreateHmacImplementation(); scoped_ptr CreateRsaOaepImplementation(); scoped_ptr CreateRsaSsaImplementation(); scoped_ptr CreateRsaPssImplementation(); scoped_ptr CreateEcdsaImplementation(); scoped_ptr CreateEcdhImplementation(); scoped_ptr CreateHkdfImplementation(); scoped_ptr CreatePbkdf2Implementation(); } // namespace webcrypto #endif // COMPONENTS_WEBCRYPTO_ALGORITHM_IMPLEMENTATIONS_H_