I am doing AES encryption using the C language EVP OpenSSL interface in 128/192/256 cbc modes. I found a good example in stackoverflow that I started programming with.
What I would like to know:
- What is the default padding used for encryption?
- What happens if I have big data. Do I have to code to split it into 128-bit data blocks? or will the EVP interface take care of this?
- What should be the size IV for 128-bit, 192-bit and 256-bit cbc modes (where only the key length is 128, 192, 256, respectively, and the block size is 128).
thanks
source share