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

Function to encipher plaintext into ciphertext. @param kvInstance Pointer to the instance initialized by Kravatte_WBC_Initialize(). @param plaintext Pointer to plaintext data to encipher. @param ciphertext Pointer to buffer where the enciphered data will be stored. The ciphertext buffer must not overlap plaintext. @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.