Skip to main content

Module derivation

Module derivation 

Source
Expand description

Contains simple key derivation functions for different purposes

Constantsยง

HASH_KEY_PACKET_TAG ๐Ÿ”’

Functionsยง

create_kdf_instance ๐Ÿ”’
derive_packet_tag
Derives the packet tag used during packet construction by expanding the given secret.
generate_key ๐Ÿ”’
Internal convenience function to generate key and IV from the given secret, that is cryptographically strong.
generate_key_iv ๐Ÿ”’
Internal convenience function to generate key and IV from the given secret, that is cryptographically strong.