diff options
author | David Benjamin <davidben@google.com> | 2016-04-22 00:43:20 -0400 |
---|---|---|
committer | Adam Langley <agl@google.com> | 2016-04-25 21:57:28 +0000 |
commit | 1fc7564ba7dd985f311d5fccd1de4b01ee368b43 (patch) | |
tree | 7d851217a5a602049f55b7b1aef047f649339a3f /FUZZING.md | |
parent | af18cdd733a05a088518e5adb01704c1980fff3b (diff) | |
download | boringssl-1fc7564ba7dd985f311d5fccd1de4b01ee368b43.zip boringssl-1fc7564ba7dd985f311d5fccd1de4b01ee368b43.tar.gz boringssl-1fc7564ba7dd985f311d5fccd1de4b01ee368b43.tar.bz2 |
Add standalone PKCS#8 and SPKI fuzzers.
We already had coverage for our new EVP_PKEY parsers, but it's good to have
some that cover them directly. The initial corpus was generated manually with
der-ascii and should cover most of the insanity around EC key serialization.
BUG=15
Change-Id: I7aaf56876680bfd5a89f5e365c5052eee03ba862
Reviewed-on: https://boringssl-review.googlesource.com/7728
Reviewed-by: Adam Langley <agl@google.com>
Diffstat (limited to 'FUZZING.md')
-rw-r--r-- | FUZZING.md | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -32,10 +32,12 @@ The recommended values of `max_len` for each test are: | Test | `max_len` value | |-----------|-----------------| -| `privkey` | 2048 | | `cert` | 3072 | -| `server` | 4096 | | `client` | 20000 | +| `pkcs8` | 2048 | +| `privkey` | 2048 | +| `server` | 4096 | +| `spki` | 1024 | These were determined by rounding up the length of the largest case in the corpus. |