OLD | NEW |
(Empty) | |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef COMPONENTS_WEBCRYPTO_FUZZER_SUPPORT_H_ |
| 6 #define COMPONENTS_WEBCRYPTO_FUZZER_SUPPORT_H_ |
| 7 |
| 8 #include <stddef.h> |
| 9 #include <stdint.h> |
| 10 |
| 11 #include "third_party/WebKit/public/platform/WebCryptoKey.h" |
| 12 |
| 13 namespace webcrypto { |
| 14 |
| 15 void ImportEcKeyFromDerFuzzData(const uint8_t* data, |
| 16 size_t size, |
| 17 blink::WebCryptoKeyFormat format); |
| 18 |
| 19 void ImportRsaKeyFromDerFuzzData(const uint8_t* data, |
| 20 size_t size, |
| 21 blink::WebCryptoKeyFormat format); |
| 22 |
| 23 } // namespace webcrypto |
| 24 |
| 25 #endif // COMPONENTS_WEBCRYPTO_FUZZER_SUPPORT_H_ |
OLD | NEW |