Presently, I'm working with AES Encryption using CBC mode. I found that the example code allows 16-byte encryption. If I have to plain text more than 16-byte, how it will be encrypted?
Please help me with the below queries:
1. Whether I have to XOR the first ciphertext output with second plain text or will the AES engine do this operation automatically?
2. I was performing AES encryption in CBC mode using example project, I got the output ciphertext as follows :
AESEncode(unsigned char* block, unsigned char* masterKey)
when I give plain text as string or character array the output ciphertext doesn't match when I do the same procedure using an online tool.