Refactor: Extract some more functionality from RSA used by EC.
commite453345a81667c7c13cf7dd5716bf4d9a8c6e42c
authoreroman <eroman@chromium.org>
Thu, 6 Nov 2014 01:08:06 +0000 (5 17:08 -0800)
committerCommit bot <commit-bot@chromium.org>
Thu, 6 Nov 2014 01:08:28 +0000 (6 01:08 +0000)
treedfb3e9097e4d924d224311432e8efe091a9819ae
parentc69990972df8b5e0daea71bb6b65d637923384bf
Refactor: Extract some more functionality from RSA used by EC.

* Moves some test helper functions to a shared file, for re-use by a subsequent EC change.
* Moves some BigNumber helpers to shared location
* Renames some properties in JSON RSA test file.

BUG=399094

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

Cr-Commit-Position: refs/heads/master@{#302933}
content/child/webcrypto/openssl/rsa_key_openssl.cc
content/child/webcrypto/openssl/util_openssl.cc
content/child/webcrypto/openssl/util_openssl.h
content/child/webcrypto/test/rsa_ssa_unittest.cc
content/child/webcrypto/test/test_helpers.cc
content/child/webcrypto/test/test_helpers.h
content/test/data/webcrypto/bad_rsa_keys.json