Add more tests for bad EC keys.
commitcd99e5360ea7e09dd89d374f646ff047b9bc6d74
authoreroman <eroman@chromium.org>
Sat, 3 Jan 2015 03:25:53 +0000 (2 19:25 -0800)
committerCommit bot <commit-bot@chromium.org>
Sat, 3 Jan 2015 03:26:34 +0000 (3 03:26 +0000)
tree18a5b217431f8293a2f7206972747ddafaf1e41e
parent84844b85a3288558d7b349003d3c37b770791042
Add more tests for bad EC keys.

 (1) Splits out the bad key test data into bad_ec_keys.json
 (2) Adds some tests for bad private keys (existing tests were all for public keys)

There will be some follow-ups which add more tests.

BUG=445635

Review URL: https://codereview.chromium.org/833893002

Cr-Commit-Position: refs/heads/master@{#309871}
content/child/webcrypto/test/ecdsa_unittest.cc
content/test/data/webcrypto/bad_ec_keys.json [new file with mode: 0644]
content/test/data/webcrypto/ecdsa.json