Don't allow importing empty HMAC keys.
commit825de713b336d895396c5f9b84ed6a85f2e29f7b
authoreroman <eroman@chromium.org>
Mon, 29 Dec 2014 22:34:10 +0000 (29 14:34 -0800)
committerCommit bot <commit-bot@chromium.org>
Mon, 29 Dec 2014 22:34:50 +0000 (29 22:34 +0000)
tree0535ef429c805a230bbc5ed495209f85fbc3e7ec
parentda9d12af3c9a29fdbf41af975c5bb93fdc7b8138
Don't allow importing empty HMAC keys.

BUG=373549

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

Cr-Commit-Position: refs/heads/master@{#309721}
content/child/webcrypto/nss/hmac_nss.cc
content/child/webcrypto/openssl/hmac_openssl.cc
content/child/webcrypto/status.cc
content/child/webcrypto/status.h
content/child/webcrypto/test/hmac_unittest.cc
content/child/webcrypto/webcrypto_util.cc
content/test/data/webcrypto/hmac.json