Godoc Reference

The CMAC/OMAC1 message authentication code

The CMAC message authentication code is specified (with AES) in RFC 4493 and RFC 4494.
CMAC is only specified with the AES.

This implementation supports block ciphers with a block size of 64, 128, 256, 512 or 1024 bit.

Installation

Install in your GOPATH: go get -u github.com/aead/cmac