[EMAIL PROTECTED]:

>  I've attached a test program that spits them out to you.

>   a=0;
>   b=0;
>   do {
>     do {
>       idea_mul1(r1,a,b,ul);
>       r2=idea_mul3(a,b);
>       if(r1!=r2)
>      fprintf(stderr," ?? r1!=r2 (a=0x%04x,b=0x%04x) (r1=0x%04x,r2=0x%04x)}
> \n",a,b,r1,r2);
>     } while(++a != 0xFFFF);
>   } while(++b != 0xFFFF);

Note that valid input values to the idea_mul macros are 16 bit
unsigned integers.  In this test program,  a  will grow beyond 16 bits
(for most compilers and architectures).
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to