Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(12)

Side by Side Diff: components/webcrypto/fuzzer_support.h

Issue 1743763003: Add fuzzers for import of WebCrypto DER-encoded keys. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698