aead_xof

package
v0.0.0-...-cb92b4e Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2023 License: MPL-2.0 Imports: 4 Imported by: 0

Documentation

Overview

package aead_xof implements an AEAD (aead.Scheme256) in terms of an XOF (xof.Scheme)

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Scheme256

type Scheme256[S any] struct {
	XOF xof.Scheme[S]
}

func (Scheme256[S]) OpenK256N192

func (s Scheme256[S]) OpenK256N192(dst []byte, k *[32]byte, nonce *[24]byte, src []byte, ad []byte) error

func (Scheme256[S]) OpenK256N64

func (s Scheme256[S]) OpenK256N64(dst []byte, k *[32]byte, nonce [8]byte, src []byte, ad []byte) error

func (Scheme256[S]) OpenSUV256

func (s Scheme256[S]) OpenSUV256(dst []byte, suv *[32]byte, src []byte, ad []byte) error

func (Scheme256[S]) Overhead

func (s Scheme256[S]) Overhead() int

func (Scheme256[S]) SealK256N192

func (s Scheme256[S]) SealK256N192(dst []byte, k *[32]byte, nonce *[24]byte, ptext, ad []byte)

func (Scheme256[S]) SealK256N64

func (s Scheme256[S]) SealK256N64(dst []byte, k *[32]byte, nonce [8]byte, ptext, ad []byte)

func (Scheme256[S]) SealSUV256

func (s Scheme256[S]) SealSUV256(dst []byte, suv *[32]byte, ptext, ad []byte)

Jump to

Keyboard shortcuts

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