I would like to apply AES-128 byte encryption on GCM mode. I know the logic to apply AES_GCM using 128 bit data. But I have a larger data to encrypt (Not necessarily multiple of 16 bytes). As the AES-GCM is encryption is performed by XORing that key stream with the data to encrypt.
Is it possible to merge encrypted blocks in the order to get the final encrypted data?
As XOR is performing on bit wise there is no padding is requred if total data size is not a multiple of 16 bytes?
How to generate authentication tag in AES-GCM mode?
I could not find any information regarding this. Please help me.