d

package
v0.0.0-...-f0c2477 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const NB_RD = 16
View Source
const PRIME = uint32(813416437)

Variables

This section is empty.

Functions

This section is empty.

Types

type AppleD

type AppleD struct {
}

func (AppleD) Compute

func (d AppleD) Compute(R2 []byte, ask []byte) ([]byte, error)

type CP_D_Function

type CP_D_Function struct {
}

func (CP_D_Function) Compute

func (d CP_D_Function) Compute(R2 []byte, ask []byte) ([]byte, error)

func (CP_D_Function) ComputeHashValue

func (d CP_D_Function) ComputeHashValue(R2 []byte) ([]byte, error)

type D

type D interface {
	// Compute computes derived application secret key(dask)
	Compute(R2 []byte, ask []byte) ([]byte, error)
}

DerivedApplicationSecretKey

Jump to

Keyboard shortcuts

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