Security, Symmetric Encryption, Cryptography, Encryption.
if p1 is known p2 can be calculated. GCM is also known as a stream cipher because it generates a keystream independent of the plaintext blocks before running the xor. The second interesting part of AES is the calculation of a (G)MAC. AES GCM with GMAC. Ek is the GCM Function. H is the GHASH