opaque

package
v2.1.3 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2024 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Overview

Package opaque holds the functions and structures to perform OPAQUE registration and authentication https://github.com/cfrg/draft-irtf-cfrg-opaque

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ServerAuthenticateComplete

func ServerAuthenticateComplete(o opaque.Opaque, server *Server) error

ServerAuthenticateComplete consumes the Agent's authentication messages and finishes the authentication and key exchange

func ServerAuthenticateInit

func ServerAuthenticateInit(o opaque.Opaque, server *Server) (opaque.Opaque, error)

ServerAuthenticateInit is used to authenticate an agent leveraging the OPAQUE Password Authenticated Key Exchange (PAKE) protocol

func ServerRegisterComplete

func ServerRegisterComplete(AgentID uuid.UUID, o opaque.Opaque, server *Server) (opaque.Opaque, error)

ServerRegisterComplete consumes the User's response and finishes OPAQUE Registration

Types

type Server

type Server struct {
	Kex *gopaque.KeyExchangeSigma
	// contains filtered or unexported fields
}

Server is the structure that holds information for the various steps of the OPAQUE protocol as the server

func ServerRegisterInit

func ServerRegisterInit(AgentID uuid.UUID, o opaque.Opaque, key kyber.Scalar) (opaque.Opaque, *Server, error)

ServerRegisterInit is used to perform the OPAQUE Password Authenticated Key Exchange (PAKE) protocol Registration steps for the server

Jump to

Keyboard shortcuts

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