boringssl/crypto/cipher
Adam Langley 8de7aef05e 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
2015-06-18 17:35:59 -07:00
..
test Add a GCM test with non-standard nonce length. 2015-06-18 17:35:59 -07:00
aead_test.cc AEAD: allow _cleanup after failed _init. 2015-05-11 23:18:43 +00:00
aead.c AEAD: allow _cleanup after failed _init. 2015-05-11 23:18:43 +00:00
cipher_test.cc Port cipher_test to file_test. 2015-05-13 17:00:55 +00:00
cipher.c Fix some malloc test crashs. 2015-05-21 18:00:10 +00:00
CMakeLists.txt Port cipher_test to file_test. 2015-05-13 17:00:55 +00:00
derive_key.c Inital import. 2014-06-20 13:17:32 -07:00
e_aes.c Match the ifdef check in bsaes-armv7.S 2015-06-02 18:14:41 +00:00
e_chacha20poly1305.c Add SSL_get_rc4_state. 2015-03-18 19:54:34 +00:00
e_des.c Remove EVP_MAXCHUNK from DES EVP code. 2015-03-13 19:46:49 +00:00
e_null.c Remove string.h from base.h. 2015-02-02 19:14:15 +00:00
e_rc2.c Enable more warnings & treat warnings as errors on Windows. 2015-01-31 00:18:55 +00:00
e_rc4.c Check max_out against in_len, not plaintext_len in RC4/MD5 AEAD. 2015-05-11 19:15:38 +00:00
e_ssl3.c AEAD: allow _cleanup after failed _init. 2015-05-11 23:18:43 +00:00
e_tls.c AEAD: allow _cleanup after failed _init. 2015-05-11 23:18:43 +00:00
internal.h Use EVP_AEAD_CTX in crypto/cipher/internal.h. 2015-05-11 23:37:21 +00:00
tls_cbc.c Remove string.h from base.h. 2015-02-02 19:14:15 +00:00