libsodium_sys

Function crypto_aead_chacha20poly1305_encrypt_detached

Source
pub unsafe extern "C" fn crypto_aead_chacha20poly1305_encrypt_detached(
    c: *mut u8,
    mac: *mut u8,
    maclen_p: *mut c_ulonglong,
    m: *const u8,
    mlen: c_ulonglong,
    ad: *const u8,
    adlen: c_ulonglong,
    nsec: *const [u8; 0],
    npub: *const [u8; 8],
    k: *const [u8; 32],
) -> c_int