chrisgregg

AESEncryptDecrypt sample won't decrypt

Discussion created by chrisgregg on Nov 13, 2009
Latest reply on Nov 18, 2009 by Aland

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!

 

-Chris

 

Outcomes