commit | 8de7aef05ee2b59c186d8eab2cb8207e69339e58 | [log] [tgz] |
---|---|---|
author | Adam Langley <agl@google.com> | Thu Jun 18 17:35:59 2015 -0700 |
committer | Adam Langley <agl@google.com> | Thu Jun 18 17:35:59 2015 -0700 |
tree | 9ce697be0d2f1f0e9a129ed8aad1f00581f5261f | |
parent | 5148c67e432ee9b468875a37852de4be4a6783b0 [diff] |
Add a GCM test with non-standard nonce length. AES-GCM should have a 12-byte nonce. However, non-standard nonce sizes are defined by NIST and, although they are a bad idea, people have used them because they've confused an IV with an nonce and passed in a 16-byte nonce. This change adds a test for this. Change-Id: If1efa1aaa19f0119ad4cab9a02a6417c040f45b2