libsodium_sys

Function crypto_aead_chacha20poly1305_encrypt

Source
pub unsafe extern "C" fn crypto_aead_chacha20poly1305_encrypt(
    c: *mut c_uchar,
    clen_p: *mut c_ulonglong,
    m: *const c_uchar,
    mlen: c_ulonglong,
    ad: *const c_uchar,
    adlen: c_ulonglong,
    nsec: *const c_uchar,
    npub: *const c_uchar,
    k: *const c_uchar,
) -> c_int