Since my knowledge in C and debug and all this is not good enough, I just stoped messing around with all this and read a bit of docs. I discovered that:
RSA-v1.5 works for AES192 and 3DES RSA-OAEP works for AES128 and AES256 (http://www.aleksey.com/xmlsec/xmlenc.html) encrypt3.c (http://www.aleksey.com/xmlsec/api/xmlsec-encrypt-with-session-key.html) uses RSA-OAEP and 3DES (which is no good). So I tried different scenarii and got the following: RSA-v1.5 RSA-OAEP 3DES OK Not-OK AES128 OK OK AES192 OK Not-OK AES256 OK Not-OK Does that sound good to you? Decryption works fine then. _____________________________________________________________________ Un mot doux � envoyer? Une sortie cin� � organiser? Faites le en temps r�el avec MSN Messenger! C'est gratuit! http://ifrance.com/_reloc/m _____________________________________________________________________ Envie de discuter en "live" avec vos amis ? T�l�charger MSN Messenger http://www.ifrance.com/_reloc/m la 1�re messagerie instantan�e de France _______________________________________________ xmlsec mailing list [EMAIL PROTECTED] http://www.aleksey.com/mailman/listinfo/xmlsec
