crypto/tls: only store a single nonce for AES-GCM.
crypto/tls: only store a single nonce for AES-GCM.

Although an AEAD, in general, can be used concurrently in both the seal
and open directions, TLS is easier. Since the transport keys are
different for different directions in TLS, an AEAD will only ever be
used in one direction. Thus we don't need separate buffers for seal and
open because they can never happen concurrently.

Also, fix the nonce size to twelve bytes since the fixed-prefix
construction for AEADs is superseded and will never be used for anything
else now.

Change-Id: Ibbf6c6b1da0e639f4ee0e3604410945dc7dcbb46
Reviewed-on: https://go-review.googlesource.com/30959
Run-TryBot: Adam Langley <db68fba232b2c49ed3e9d3081df349dde7b61dfd@golang.org>
Reviewed-by: Brad Fitzpatrick <ae9783c0b0efc69cd85ab025ddd17aa44cdc4aa5@golang.org>

polyverse-security/go,josharian/go,codestation/go,vsekhar/elastic-go,golang/go,akutz/go,cloudflare/go,cloudflare/go,suncycheng/go,momchil-velikov/go,akutz/go,josharian/go,goodlang/good,ImJasonH/go,akutz/go,Cofyc/go,codestation/go,nawawi/go,derekmarcotte/go,golang/go,derekmarcotte/go,ImJasonH/go,momchil-velikov/go,Cofyc/go,momchil-velikov/go,Cofyc/go,codestation/go,cloudflare/go,goodlang/good,golang/go,akutz/go,derekmarcotte/go,linux-on-ibm-z/go,momchil-velikov/go,goodlang/good,josharian/go,CAFxX/go,polyverse-security/go,momchil-velikov/go,suncycheng/go,josharian/go,ImJasonH/go,codestation/go,akutz/go,polyverse-security/go,linux-on-ibm-z/go,linux-on-ibm-z/go,codestation/go,CAFxX/go,Cofyc/go,ImJasonH/go,goodlang/good,derekmarcotte/go,golang/go,codestation/go,CAFxX/go,derekmarcotte/go,golang/go,linux-on-ibm-z/go,vsekhar/elastic-go,cloudflare/go,nawawi/go,Cofyc/go,nawawi/go,nawawi/go,ImJasonH/go,linux-on-ibm-z/go,CAFxX/go,Cofyc/go,cloudflare/go,polyverse-security/go,josharian/go,suncycheng/go,golang/go,CAFxX/go,codestation/go,nawawi/go,nawawi/go,goodlang/good,cloudflare/go,nawawi/go,momchil-velikov/go,derekmarcotte/go,goodlang/good,akutz/go,CAFxX/go,derekmarcotte/go,codestation/go,josharian/go,christopher-henderson/Go,josharian/go,polyverse-security/go,momchil-velikov/go,suncycheng/go,goodlang/good,Cofyc/go,golang/go,polyverse-security/go,Cofyc/go,polyverse-security/go,ImJasonH/go,vsekhar/elastic-go,vsekhar/elastic-go,suncycheng/go,CAFxX/go,vsekhar/elastic-go,akutz/go,vsekhar/elastic-go,derekmarcotte/go,nawawi/go,josharian/go,akutz/go,linux-on-ibm-z/go,suncycheng/go,ImJasonH/go,linux-on-ibm-z/go,vsekhar/elastic-go,golang/go,cloudflare/go,goodlang/good,linux-on-ibm-z/go,CAFxX/go,polyverse-security/go,suncycheng/go,momchil-velikov/go,ImJasonH/go,suncycheng/go,cloudflare/go,vsekhar/elastic-go