Documentation ¶
Overview ¶
Package tag provides the static tag strings to OPAQUE.
Index ¶
Constants ¶
View Source
const ( // OPRFVersionPrefix is a string explicitly stating the version name. OPRFVersionPrefix = "OPRFV1-\x00-" // DeriveKeyPairInternal is the internal DeriveKeyPair tag as defined in VOPRF. DeriveKeyPairInternal = "DeriveKeyPair" // OPRFPointPrefix is the DST prefix to use for HashToGroup operations. OPRFPointPrefix = "HashToGroup-" // OPRFFinalize is the DST suffix used in the client transcript. OPRFFinalize = "Finalize" // AuthKey is the envelope's MAC key's KDF dst. AuthKey = "AuthKey" // ExportKey is the export key's KDF dst. ExportKey = "ExportKey" // MaskingKey is the masking key's creation KDF dst. MaskingKey = "MaskingKey" // DerivePrivateKey is the client's private key hash-to-scalar dst. DerivePrivateKey = "OPAQUE-DeriveAuthKeyPair" // ExpandPrivateKey is the client's private key seed KDF dst. ExpandPrivateKey = "PrivateKey" // VersionTag indicates the protocol RFC identifier for the AKE transcript prefix. VersionTag = "RFCXXXX" // LabelPrefix is the 3DH secret KDF dst prefix. LabelPrefix = "OPAQUE-" // Handshake is the 3DH HandshakeSecret dst. Handshake = "HandshakeSecret" // SessionKey is the 3DH session secret dst. SessionKey = "SessionKey" // MacServer is 3DH server's MAC key KDF dst. MacServer = "ServerMAC" // MacClient is 3DH server's MAC key KDF dst. MacClient = "ClientMAC" // CredentialResponsePad is the masking keys KDF dst to expand to the input. CredentialResponsePad = "CredentialResponsePad" // ExpandOPRF is the server's OPRF key seed KDF dst. ExpandOPRF = "OprfKey" // DeriveKeyPair is the server's OPRF hash-to-scalar dst. DeriveKeyPair = "OPAQUE-DeriveKeyPair" // DeriveKeyPair is the server's OPRF hash-to-scalar dst. GenSeed = "OPAQUE-GenSeed" )
These strings are the static tags and labels used throughout the protocol.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.