bitwarden_crypto::util

Function hkdf_expand

Source
pub(crate) fn hkdf_expand<T: ArrayLength<u8>>(
    prk: &[u8],
    info: Option<&str>,
) -> Result<Pin<Box<GenericArray<u8, T>>>, CryptoError>
Expand description

RFC5869 HKDF-Expand operation