Expand description
Server setup and client verification (paper Algorithm 4, spec §6.1 FR-S1..S8).
h, f are derived from aux = setup_id ‖ u32be(len(server_id)) ‖ server_id; the server
draws setup_id at random. sid = SHA-256(canonical SetupData bytes) is the value the
application pins (FR-S8).
Structs§
- Server
Setup Secret - Secret output of the server setup. Zeroized on drop (the key zeroizes itself).
- Setup
Data - Public setup of the server (spec §6.1).
- Verified
Setup - Setup that passed FR-S7.
Constants§
- DF_
TABLE_ WINDOW - Window of the fixed-base tables for
t, s₁, s₂. - FORMAT_
VERSION - Canonical format version (first byte of the encoding).
- MAX_
SERVER_ ID_ LEN - Maximal length of the server identifier.
- RHO_
TABLE_ WINDOW - Window of the fixed-base table for
ρ.
Functions§
- server_
setup - Server setup with the standard Π_fac group.
- server_
setup_ with - Server setup with an explicit Π_fac group (tests).