webcrypto: Add ECDSA algorithm using BoringSSL (chromium-side)
commitb2ead6df9ea247e5e9a2f97199d2a25b52804f36
authoreroman <eroman@chromium.org>
Fri, 14 Nov 2014 02:26:14 +0000 (13 18:26 -0800)
committerCommit bot <commit-bot@chromium.org>
Fri, 14 Nov 2014 02:27:18 +0000 (14 02:27 +0000)
tree21b2d319dba6529a6b09493562745e943b00ad97
parent28a970da2bcb8bde8ca105d15d19b254b5c0a97f
webcrypto: Add ECDSA algorithm using BoringSSL (chromium-side)

Adds:
 * EC key generation
 * EC key import from SPKI/PKCS8
 * EC key import from JWK
 * ECDSA signing
 * ECDSA verification
 * Tests

BUG=399094

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

Cr-Commit-Position: refs/heads/master@{#304152}
17 files changed:
content/child/webcrypto/algorithm_registry.cc
content/child/webcrypto/jwk.cc
content/child/webcrypto/jwk.h
content/child/webcrypto/nss/util_nss.cc
content/child/webcrypto/openssl/ec_key_openssl.cc [new file with mode: 0644]
content/child/webcrypto/openssl/ec_key_openssl.h [new file with mode: 0644]
content/child/webcrypto/openssl/ecdsa_openssl.cc [new file with mode: 0644]
content/child/webcrypto/platform_crypto.h
content/child/webcrypto/status.cc
content/child/webcrypto/status.h
content/child/webcrypto/test/ecdsa_unittest.cc [new file with mode: 0644]
content/child/webcrypto/webcrypto_util.cc
content/child/webcrypto/webcrypto_util.h
content/content_child.gypi
content/content_tests.gypi
content/test/data/webcrypto/ec_private_keys.json [new file with mode: 0644]
content/test/data/webcrypto/ecdsa.json [new file with mode: 0644]