Skip to main content

bootstrap_keys

Function bootstrap_keys 

Source
pub fn bootstrap_keys(
    shared_secret: &[u8; 32],
    controller_public: &[u8; 32],
    node_public: &[u8; 32],
) -> DerivedKeys
Expand description

The temporary keys both ends derive once public keys are exchanged.

controller_public is the including node’s key, node_public the joining node’s (with its DSK PIN bytes restored).