aes-cbc-invalid-length-expected.txt 519 Bytes
Newer Older
ap@apple.com's avatar
ap@apple.com committed
1 2 3 4 5 6 7 8
Test an unsupported AES key length.

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


Importing a raw AES key from string literal...
PASS key.type is 'secret'
PASS key.extractable is true
9
PASS key.algorithm.name is 'AES-CBC'
ap@apple.com's avatar
ap@apple.com committed
10
PASS key.algorithm.length is 176
11
PASS key.usages is ['decrypt', 'encrypt']
ap@apple.com's avatar
ap@apple.com committed
12 13 14
Using the key to encrypt plaintext...
Failed, as expected. Note that the spec doesn't appear to clearly define which step should fail.
PASS successfullyParsed is true
ap@apple.com's avatar
ap@apple.com committed
15 16 17

TEST COMPLETE