Skip to main content

generator_string

Function generator_string 

Source
pub fn generator_string<C: CpaceCiphersuite>(
    password: &[u8],
    ci: &[u8],
    sid: &[u8],
) -> Vec<u8> 
Expand description

Build the generator string per the CPace specification.

Returns the concatenation lv_cat(DSI, PRS, zero_bytes(len_zpad), CI, sid).