gmac

package
v1.0.2031 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Pakcage gmac implements a Galois/Counter Mode (GCM) based MAC, as defined in KS X ISO/IEC 9797-3, NIST SP 800-38D.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewGMAC

func NewGMAC(b cipher.Block, iv []byte) (hash.Hash, error)

new MAC using GMAC by only passing additional data(aad data).

func SliceForAppend

func SliceForAppend(in []byte, n int) (head, tail []byte)

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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