boringssl/crypto/pkcs8
Adam Langley 5e3c8a61ab Bound two other cases of PKCS#12 iteration counts.
The fuzzer found another place where it could cause a timeout by
providing a huge PBKDF2 iteration count. This change bounds another two
places where we parse out iteration counts and that's hopefully all of
them.

BUG=oss-fuzz:9853

Change-Id: I037fa09d2bee79e7435a9d40cbd89c07b4a9d443
Reviewed-on: https://boringssl-review.googlesource.com/30944
Commit-Queue: Adam Langley <agl@google.com>
Commit-Queue: David Benjamin <davidben@google.com>
Reviewed-by: David Benjamin <davidben@google.com>
CQ-Verified: CQ bot account: commit-bot@chromium.org <commit-bot@chromium.org>
2018-08-13 21:42:06 +00:00
..
CMakeLists.txt Convert remaining pkcs8 tests to gtest 2017-06-07 17:30:27 +00:00
internal.h Bound two other cases of PKCS#12 iteration counts. 2018-08-13 21:42:06 +00:00
p5_pbev2.c Bound two other cases of PKCS#12 iteration counts. 2018-08-13 21:42:06 +00:00
pkcs8_test.cc Don't crash if asked to treat PBES2 as a PBES1 scheme. 2018-05-11 22:00:04 +00:00
pkcs8_x509.c Bound two other cases of PKCS#12 iteration counts. 2018-08-13 21:42:06 +00:00
pkcs8.c Bound two other cases of PKCS#12 iteration counts. 2018-08-13 21:42:06 +00:00
pkcs12_test.cc Add a PKCS#12 fuzzer. 2018-05-15 23:58:32 +00:00