Documentation ¶
Overview ¶
Package mactest has testing utilities for the MAC primitive
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AlwaysFailingMAC ¶
type AlwaysFailingMAC struct {
Error error
}
AlwaysFailingMAC fails compute and verify operations.
func (*AlwaysFailingMAC) ComputeMAC ¶
func (m *AlwaysFailingMAC) ComputeMAC(data []byte) ([]byte, error)
ComputeMAC returns an error on compute.
Click to show internal directories.
Click to hide internal directories.