libsodium_sys

Function crypto_aead_chacha20poly1305_ietf_decrypt

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