Cipher input is XOR of current plaintext block with preceding ciphertext block. For (initialisation vector) and :

EncryptionDecryption

This requires the last block to be padded to a full bits if it is a partial block.