Documentation ¶
Overview ¶
Package subtle provides subtle implementations of the MAC primitive.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateCMACParams ¶
ValidateCMACParams validates the parameters for an AES-CMAC against the recommended parameters.
Types ¶
type AESCMAC ¶
type AESCMAC struct {
// contains filtered or unexported fields
}
AESCMAC represents an AES-CMAC struct that implements the MAC interface.
func NewAESCMAC ¶
NewAESCMAC creates a new AESCMAC object that implements the MAC interface.
func (AESCMAC) ComputeMAC ¶
ComputeMAC computes message authentication code (MAC) for code data.
Click to show internal directories.
Click to hide internal directories.