title: Implementing ciphertext stealing with OpenSSL
body: <p>I'm using OpenSSL's EVP_* API to implement AES encryption in CBC mode.</p>
  
  <p>I'm trying to implement ciphertext stealing to keep the encrypted text the same length as the plain text. I found a method to switch off padding (EVP_CIPHER_CTX_set_padding()), but that doesn't seem to switch on ciphertext stealing instead of padding.</p>
  
  <p>Does anyone have an example howto do ciphertext stealing ?</p>