mac

package
Version: v0.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 22, 2020 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AesBlockSize = 16
)

Variables

This section is empty.

Functions

func AesCmac128

func AesCmac128(key []byte, inData []byte) []byte

compute AES 128 CMAC using key and message M (in_data)

func GenerateMacX919

func GenerateMacX919(inMacData []byte, keyData []byte) ([]byte, error)

func GenerateMacX99

func GenerateMacX99(inMacData []byte, keyData []byte) ([]byte, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL