sikep434

package
v1.4.5 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2023 License: BSD-3-Clause Imports: 7 Imported by: 0

Documentation

Overview

Package sikep434 is deprecated, it implements the key encapsulation mechanism SIKEp434.

DEPRECATION NOTICE

SIDH and SIKE are deprecated as were shown vulnerable to a key recovery attack by Castryck-Decru's paper (https://eprint.iacr.org/2022/975). New systems should not rely on this package. This package is frozen.

Index

Constants

View Source
const (
	SeedSize              = 32
	EncapsulationSeedSize = 32
)

Variables

This section is empty.

Functions

func GenerateKeyPair deprecated

func GenerateKeyPair(rand io.Reader) (kem.PublicKey, kem.PrivateKey, error)

Deprecated: not cryptographically secure.

func Scheme deprecated

func Scheme() kem.Scheme

Scheme returns a KEM interface.

Deprecated: not cryptographically secure.

Types

type PrivateKey deprecated

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

Deprecated: not cryptographically secure.

func (*PrivateKey) Equal

func (sk *PrivateKey) Equal(other kem.PrivateKey) bool

func (*PrivateKey) MarshalBinary

func (sk *PrivateKey) MarshalBinary() ([]byte, error)

func (*PrivateKey) Public

func (sk *PrivateKey) Public() kem.PublicKey

func (*PrivateKey) Scheme

func (sk *PrivateKey) Scheme() kem.Scheme

type PublicKey deprecated

type PublicKey sidh.PublicKey

Deprecated: not cryptographically secure.

func (*PublicKey) Equal

func (pk *PublicKey) Equal(other kem.PublicKey) bool

func (*PublicKey) MarshalBinary

func (pk *PublicKey) MarshalBinary() ([]byte, error)

func (*PublicKey) Scheme

func (pk *PublicKey) Scheme() kem.Scheme

Jump to

Keyboard shortcuts

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