Tests generateKey() with bad HMAC parameters.

On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".


error is: SyntaxError: HmacKeyGenParams: length: Outside of numeric range
error is: NotSupportedError: HmacKeyGenParams: hash: Algorithm: Unrecognized name
error is: SyntaxError: HmacKeyGenParams: length: Outside of numeric range
error is: SyntaxError: HmacKeyGenParams: length: Is not a number
error is: SyntaxError: HmacKeyGenParams: length: Outside of numeric range
error is: SyntaxError: HmacKeyGenParams: length: Outside of numeric range
error is: SyntaxError: HmacKeyGenParams: length: Is not a number
error is: SyntaxError: HmacKeyGenParams: length: Is not a number
error is: DataError: Invalid key length: it is either zero or not a multiple of 8 bits
PASS successfullyParsed is true

TEST COMPLETE


Tests generateKey() with bad HMAC parameters.

On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".


error is: SyntaxError: HmacKeyGenParams: length: Outside of numeric range
error is: NotSupportedError: HmacKeyGenParams: hash: Algorithm: Unrecognized name
error is: SyntaxError: HmacKeyGenParams: length: Outside of numeric range
error is: SyntaxError: HmacKeyGenParams: length: Is not a number
error is: SyntaxError: HmacKeyGenParams: length: Outside of numeric range
error is: SyntaxError: HmacKeyGenParams: length: Outside of numeric range
error is: SyntaxError: HmacKeyGenParams: length: Is not a number
error is: SyntaxError: HmacKeyGenParams: length: Is not a number
PASS successfullyParsed is true

TEST COMPLETE


Add changed test expectations for HMAC following key generation change.
Add changed test expectations for HMAC following key generation change.

TBR=rsleevi@chromium.org
NOTRY=true
BUG=438469

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

git-svn-id: bf5cd6ccde378db821296732a091cfbcf5285fbd@186872 bbb929c8-8fbe-4397-9dbb-9b2b20218538
