boring_sys

Function TRUST_TOKEN_derive_key_from_secret

Source
pub unsafe extern "C" fn TRUST_TOKEN_derive_key_from_secret(
    method: *const TRUST_TOKEN_METHOD,
    out_priv_key: *mut u8,
    out_priv_key_len: *mut usize,
    max_priv_key_len: usize,
    out_pub_key: *mut u8,
    out_pub_key_len: *mut usize,
    max_pub_key_len: usize,
    id: u32,
    secret: *const u8,
    secret_len: usize,
) -> c_int