Skip to main content

temp_prk

Function temp_prk 

Source
pub fn temp_prk(
    shared_secret: &[u8; 32],
    pub_a: &[u8; 32],
    pub_b: &[u8; 32],
) -> [u8; 16]
Expand description

CKDF-TempExtract: the pseudo random key from the ECDH shared secret.

pub_a is the including node’s (controller’s) public key and pub_b the joining node’s.