• caglararli@hotmail.com
  • 05386281520

Assembly routine for AES CBC encrypt

Çağlar Arlı      -    17 Views

Assembly routine for AES CBC encrypt

I'm assuming that OpenSSL is just using these functions here. page 66 is CBC

https://www.intel.com/content/dam/develop/external/us/en/documents/aes-wp-2012-09-22-v01-165683.pdf

Can I just generate a key/iv randomly and pass data off with these functions to encrypt/decrypt data? If so, how come the decrypt function is larger or even different than the encrypt? Shouldn't they be the same? I have a C program that does symmetric encryption with the EVP functions and works normally but I want to write an embedded program without OpenSSL or any other libraries. I've done this for key derivation (traditional method is MD5) and that took me a long time. This is for data specifically AES 256. Does it encrypt in 256 bytes or is it 16? Im highly confused about that.