Adds GCM encryption mode functionality and corresponding tests