summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2016-12-30 15:23:17 +0100
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2016-12-30 15:34:48 +0100
commit9480bf7bce3f392363837c617351aa326cd4b386 (patch)
treea2edd78bb126ed4220135e1c039e503d139c3bae /devel
parent9216b7e325fa9b452c34e1dceff3a5c775179509 (diff)
downloadgnutls-9480bf7bce3f392363837c617351aa326cd4b386.tar.gz
fuzz: added PKCS#8 keys with low iteration count
This makes sure that the fuzzer will not timeout while trying to decode keys.
Diffstat (limited to 'devel')
-rw-r--r--devel/fuzz/gnutls_pkcs8_key_parser.in/key-dsa.p8bin0 -> 301 bytes
-rw-r--r--devel/fuzz/gnutls_pkcs8_key_parser.in/key-ecc-3des.p83
-rw-r--r--devel/fuzz/gnutls_pkcs8_key_parser.in/key-ecc-arcfour.p8bin0 -> 186 bytes
-rw-r--r--devel/fuzz/gnutls_pkcs8_key_parser.in/key-ecc.p8bin0 -> 251 bytes
-rw-r--r--devel/fuzz/gnutls_pkcs8_key_parser.in/key-rsa.p8bin0 -> 444 bytes
-rw-r--r--devel/fuzz/gnutls_pkcs8_key_parser.in/key1.derbin735 -> 0 bytes
-rw-r--r--devel/fuzz/gnutls_pkcs8_key_parser.in/key2.derbin678 -> 0 bytes
-rw-r--r--devel/fuzz/gnutls_pkcs8_key_parser.in/key3.derbin724 -> 0 bytes
-rw-r--r--devel/fuzz/gnutls_pkcs8_key_parser.in/key4.derbin674 -> 0 bytes
9 files changed, 3 insertions, 0 deletions
diff --git a/devel/fuzz/gnutls_pkcs8_key_parser.in/key-dsa.p8 b/devel/fuzz/gnutls_pkcs8_key_parser.in/key-dsa.p8
new file mode 100644
index 0000000000..d5d91261ed
--- /dev/null
+++ b/devel/fuzz/gnutls_pkcs8_key_parser.in/key-dsa.p8
Binary files differ
diff --git a/devel/fuzz/gnutls_pkcs8_key_parser.in/key-ecc-3des.p8 b/devel/fuzz/gnutls_pkcs8_key_parser.in/key-ecc-3des.p8
new file mode 100644
index 0000000000..7e2aae2369
--- /dev/null
+++ b/devel/fuzz/gnutls_pkcs8_key_parser.in/key-ecc-3des.p8
@@ -0,0 +1,3 @@
+00J *H  0=0% *H  0{7"mQ*]0*H oY:|l9qn'E٨+1 155 "y%*bSBrri~9/s
+)W'mi!*_]< P
+;mX%?HU <@?ㄎ.r r&6- \ No newline at end of file
diff --git a/devel/fuzz/gnutls_pkcs8_key_parser.in/key-ecc-arcfour.p8 b/devel/fuzz/gnutls_pkcs8_key_parser.in/key-ecc-arcfour.p8
new file mode 100644
index 0000000000..b4f00e4ab8
--- /dev/null
+++ b/devel/fuzz/gnutls_pkcs8_key_parser.in/key-ecc-arcfour.p8
Binary files differ
diff --git a/devel/fuzz/gnutls_pkcs8_key_parser.in/key-ecc.p8 b/devel/fuzz/gnutls_pkcs8_key_parser.in/key-ecc.p8
new file mode 100644
index 0000000000..83e8d5e8de
--- /dev/null
+++ b/devel/fuzz/gnutls_pkcs8_key_parser.in/key-ecc.p8
Binary files differ
diff --git a/devel/fuzz/gnutls_pkcs8_key_parser.in/key-rsa.p8 b/devel/fuzz/gnutls_pkcs8_key_parser.in/key-rsa.p8
new file mode 100644
index 0000000000..e34404f656
--- /dev/null
+++ b/devel/fuzz/gnutls_pkcs8_key_parser.in/key-rsa.p8
Binary files differ
diff --git a/devel/fuzz/gnutls_pkcs8_key_parser.in/key1.der b/devel/fuzz/gnutls_pkcs8_key_parser.in/key1.der
deleted file mode 100644
index 4babed5dd4..0000000000
--- a/devel/fuzz/gnutls_pkcs8_key_parser.in/key1.der
+++ /dev/null
Binary files differ
diff --git a/devel/fuzz/gnutls_pkcs8_key_parser.in/key2.der b/devel/fuzz/gnutls_pkcs8_key_parser.in/key2.der
deleted file mode 100644
index 726ed0fdfb..0000000000
--- a/devel/fuzz/gnutls_pkcs8_key_parser.in/key2.der
+++ /dev/null
Binary files differ
diff --git a/devel/fuzz/gnutls_pkcs8_key_parser.in/key3.der b/devel/fuzz/gnutls_pkcs8_key_parser.in/key3.der
deleted file mode 100644
index 436a0cea8c..0000000000
--- a/devel/fuzz/gnutls_pkcs8_key_parser.in/key3.der
+++ /dev/null
Binary files differ
diff --git a/devel/fuzz/gnutls_pkcs8_key_parser.in/key4.der b/devel/fuzz/gnutls_pkcs8_key_parser.in/key4.der
deleted file mode 100644
index d2be2f5463..0000000000
--- a/devel/fuzz/gnutls_pkcs8_key_parser.in/key4.der
+++ /dev/null
Binary files differ