This is a follow-on to #25882.
That issue is about documenting which cipher.Block implementations are safe for concurrent use.
Similarly, the cipher.AEAD created by NewGCM and friends ought to be documented as safe for concurrent use if the underlying cipher.Block is. In particular, AES-GCM should be safe.
/cc @FiloSottile
This is a follow-on to #25882.
That issue is about documenting which cipher.Block implementations are safe for concurrent use.
Similarly, the cipher.AEAD created by NewGCM and friends ought to be documented as safe for concurrent use if the underlying cipher.Block is. In particular, AES-GCM should be safe.
/cc @FiloSottile