libsodium_sys

Function crypto_aead_xchacha20poly1305_ietf_encrypt

Source
pub unsafe extern "C" fn crypto_aead_xchacha20poly1305_ietf_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