prfplus

package
v0.0.0-...-faedeaf Latest Latest
Warning

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

Go to latest
Published: Dec 29, 2021 License: GPL-3.0, GPL-3.0 Imports: 4 Imported by: 0

Documentation

Overview

PRF_IPSEC_PRFPLUS_GOSTR3411_2012_{256,512} as defined in R 50.1.113-2016.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PRFPlus

func PRFPlus(prf PRFForPlus, dst, salt []byte)

prf+ function as defined in RFC 7296 (IKEv2)

Types

type PRFForPlus

type PRFForPlus interface {
	BlockSize() int
	Derive(salt []byte) []byte
}

func NewPRFIPsecPRFPlusGOSTR34112012256

func NewPRFIPsecPRFPlusGOSTR34112012256(key []byte) PRFForPlus

func NewPRFIPsecPRFPlusGOSTR34112012512

func NewPRFIPsecPRFPlusGOSTR34112012512(key []byte) PRFForPlus

type PRFIPsecPRFPlusGOSTR34112012

type PRFIPsecPRFPlusGOSTR34112012 struct {
	// contains filtered or unexported fields
}

func (PRFIPsecPRFPlusGOSTR34112012) BlockSize

func (prf PRFIPsecPRFPlusGOSTR34112012) BlockSize() int

func (PRFIPsecPRFPlusGOSTR34112012) Derive

func (prf PRFIPsecPRFPlusGOSTR34112012) Derive(salt []byte) []byte

Jump to

Keyboard shortcuts

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