You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: aead.go
    path of file: ./repos/teller/vendor/github.com/ProtonMail/go-crypto/openpgp/internal/algorithm
    
    the code of the file until where you have to start completion: // Copyright (C) 2019 ProtonTech AG

package algorithm

import (
	"crypto/cipher"
	"g
    
func (mode AEADMode) TagLength() int {
	switch mode {
	case AEADModeEAX:
		return 16
	case AEADModeOCB:
		return 16
	case AEADModeGCM:
		return 16
	default:
		return 0
	}
}