Skip to main content

ntor_derive

Function ntor_derive 

Source
fn ntor_derive(
    xy: &SharedSecret,
    xb: &SharedSecret,
    server_pk: &NtorPublicKey,
    x: &PublicKey,
    y: &PublicKey,
) -> EncodeResult<(NtorHkdfKeyGenerator, CtOutput<Hmac<Sha256>>)>
Expand description

helper: compute a key generator and an authentication code from a set of ntor parameters.

These parameter names are as described in tor-spec.txt