Skip to main content

wc_ChaCha20Poly1305_Decrypt

Function wc_ChaCha20Poly1305_Decrypt 

Source
pub unsafe extern "C" fn wc_ChaCha20Poly1305_Decrypt(
    inKey: *const byte,
    inIV: *const byte,
    inAAD: *const byte,
    inAADLen: word32,
    inCiphertext: *const byte,
    inCiphertextLen: word32,
    inAuthTag: *const byte,
    outPlaintext: *mut byte,
) -> c_int