Hello,
> I try to understand RSA-OAEP with rsa_test.c and I have some questions about
> this file.
> 1. If the number is 1234567893456 in dec, that is 11F71FB11D0 in hec, how
> should I put it in the static unsigned char n[]?
> Should I put is as "\x1\x1F\x71\xFB\x11\xD0", I marked this one as order A,
> or "\xD0\x11\xFB\x71\x1F\x1", I marked it as order B?
"\x01\x1F\x71\xFB\x11\xD0"

> 3. How could I print the RSA_fail and RSA_erro strings?
>   I trace the procedure to the ERR_load_RSA_strings but I have no ideas how
> to print it out of the standard output.
If you mean OpenSSL errors: ERR_print_errors_fp(stderr);

> 4. How could I print bn number out of the standard output?
BN_print().

Best regards,
-- 
Marek Marcola <[EMAIL PROTECTED]>

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

Reply via email to