commit | f6f6620ccbad41df84c2be96a9f6c61a0ac3dd53 | [log] [tgz] |
---|---|---|
author | Kenny Root <kroot@google.com> | Fri May 08 14:01:56 2015 -0700 |
committer | Kenny Root <kroot@google.com> | Tue May 12 14:58:38 2015 -0700 |
tree | 98e9c408b7c793ba439b790f7af3439577263761 | |
parent | 110054e9931e167e32ec0f31bf00b58a8ad3882c [diff] |
OpenSSLCipher: add AEAD cipher This allows us to provide an implementation of AES-GCM using the new EVP_AEAD interface in BoringSSL. It simply buffers up the input until doFinal(...) is called which makes it much safer than any streaming interfaces, because the caller can't use the plaintext until it's authenticated by the GHASH (or whatever other AEAD you happen to use). Bug: 20636336 Change-Id: I6e4b063a8137a16102b1f6ac15687a38ddfe1691