[−][src]Function grammers_crypto::generate_key_data_from_nonce
pub fn generate_key_data_from_nonce(
server_nonce: &[u8; 16],
new_nonce: &[u8; 32]
) -> ([u8; 32], [u8; 32])
Generate the AES key and initialization vector from the server nonce and the new client nonce. This is done after the DH exchange.