Hello all, I have written the following code in java using the IAIK library:
===========================================================
byte[] byte_key = ....;
SecretKey aes_key = new SecretKey(byte_key, "Rijndael/ECB/PKCS5Padding");
Cipher rijndael = Cipher.getInstance("Rijndael/ECB/PKCS5Padding", "IAIK");
rijndael.init(Cipher.DECRYPT_MODE, aes_key);
byte[] decrypted = rijndael.doFinal(encrypted, 0, 288);
===========================================================


does anybody know how to write the equivalent C code with openssl?

Thanks in advance.

--
=======================================================
Manuel Sanchez Cuenca
Dept. Ingenieria de la Informacion y las Comunicaciones
Universidad de Murcia - España
Tlf: +34 968364644 - Fax: 968364151
email: [EMAIL PROTECTED]
www: http://livia.dif.um.es/~lolo
www: http://livia.dif.um.es/~irisgrid


______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager [EMAIL PROTECTED]

Reply via email to