RE: BIGNUM representation: MSB and LSB

2001-01-31 Thread Marco Donati
> I would recommend operating with the output of BN_bn2bin, and > where you need to go back the other way, converting back to a BIGNUM using > BN_bin2bn. The output of BN_bn2bin (and input to BN_bin2bn) is a byte-array > (rather than variable-length words) and is always MS byte first. This also

BIGNUM representation: MSB and LSB

2001-01-26 Thread Marco Donati
Given the BIGNUM representation: typedef struct bignum_st { BN_ULONG *d; int top; int dmax; int neg; int flags; } BIGNUM; which is the most significant BN_ULONG? Is it the first or the last one in the list addressed by d? Thanks in advance ___