OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CONTENT_CHILD_WEBCRYPTO_PLATFORM_CRYPTO_H_ | 5 #ifndef CONTENT_CHILD_WEBCRYPTO_PLATFORM_CRYPTO_H_ |
6 #define CONTENT_CHILD_WEBCRYPTO_PLATFORM_CRYPTO_H_ | 6 #define CONTENT_CHILD_WEBCRYPTO_PLATFORM_CRYPTO_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 13 matching lines...) Expand all Loading... |
24 blink::WebCryptoAlgorithmId algorithm); | 24 blink::WebCryptoAlgorithmId algorithm); |
25 | 25 |
26 AlgorithmImplementation* CreatePlatformShaImplementation(); | 26 AlgorithmImplementation* CreatePlatformShaImplementation(); |
27 AlgorithmImplementation* CreatePlatformAesCbcImplementation(); | 27 AlgorithmImplementation* CreatePlatformAesCbcImplementation(); |
28 AlgorithmImplementation* CreatePlatformAesCtrImplementation(); | 28 AlgorithmImplementation* CreatePlatformAesCtrImplementation(); |
29 AlgorithmImplementation* CreatePlatformAesGcmImplementation(); | 29 AlgorithmImplementation* CreatePlatformAesGcmImplementation(); |
30 AlgorithmImplementation* CreatePlatformAesKwImplementation(); | 30 AlgorithmImplementation* CreatePlatformAesKwImplementation(); |
31 AlgorithmImplementation* CreatePlatformHmacImplementation(); | 31 AlgorithmImplementation* CreatePlatformHmacImplementation(); |
32 AlgorithmImplementation* CreatePlatformRsaOaepImplementation(); | 32 AlgorithmImplementation* CreatePlatformRsaOaepImplementation(); |
33 AlgorithmImplementation* CreatePlatformRsaSsaImplementation(); | 33 AlgorithmImplementation* CreatePlatformRsaSsaImplementation(); |
| 34 AlgorithmImplementation* CreatePlatformRsaPssImplementation(); |
34 | 35 |
35 bool PlatformSerializeKeyForClone(const blink::WebCryptoKey& key, | 36 bool PlatformSerializeKeyForClone(const blink::WebCryptoKey& key, |
36 blink::WebVector<uint8_t>* key_data); | 37 blink::WebVector<uint8_t>* key_data); |
37 | 38 |
38 } // namespace webcrypto | 39 } // namespace webcrypto |
39 | 40 |
40 } // namespace content | 41 } // namespace content |
41 | 42 |
42 #endif // CONTENT_CHILD_WEBCRYPTO_PLATFORM_CRYPTO_H_ | 43 #endif // CONTENT_CHILD_WEBCRYPTO_PLATFORM_CRYPTO_H_ |
OLD | NEW |