libsodium_sys

Function crypto_aead_chacha20poly1305_ietf_encrypt

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