Hi Guys,
I developed a sample encryption application using Microsoft Cryptography Next Generation (CNG) in C++ using bcrypt.h header file. I tried using AES 128bit CFB mode. The cipher text generated by my application is different from cipher text generated by OpenSSL CFB API. The plain text, key and IV are all same between CNG and OpenSSL.
Is there any extra property to be set in CNG to produce exact output as per OpenSSL?
I followed the example given below https://msdn.microsoft.com/en-us/library/aa376234(v=vs.85).aspx and just changed CBC to CFB.
Will the example support CFB mode?