I'm testing out the OpenCL sample programs, and I can't get the AESEncryptDecrypt code to decrypt the sample .bmp file (lena512.bmp). It seems to encrypt it (at least the bmp looks like random 1-bit noise), but when I try to decrypt it, using the command line:
$ ./AESEncryptDecrypt -d -i output.bmp -o unencryptedOutput.bmp
I get another 1-bit random noise .bmp back. What am I missing? Thanks!