pub unsafe extern "C" fn Kravatte_WBC_Decipher(
    kvwInstance: *mut Kravatte_Instance,
    ciphertext: *const BitSequence,
    plaintext: *mut BitSequence,
    dataBitLen: BitLength,
    W: *const BitSequence,
    WBitLen: BitLength
) -> c_int
Expand description

Function to decipher ciphertext into plaintext. @param kvInstance Pointer to the instance initialized by Kravatte_WBC_Initialize(). @param ciphertext Pointer to ciphertext data to decipher. @param plaintext Pointer to buffer where the deciphered data will be stored. The plaintext buffer must not overlap ciphertext. @param dataBitLen The size in bits of the plaintext/ciphertext data. @param W Pointer to the tweak W. @param WBitLen The number of bits provided in the tweak. @return 0 if successful, 1 otherwise.