I think you've got it backwards.

PKCS 11 and PKCS 1 always have input and output in big-endian order,
most significant byte of most signficant word first, least significant
byte of least significant word last.  That's the order generated and 
expected by mozilla/NSS.

The data you showed before was clearly in the opposite order, least 
significant byte of least significant word first, most significant byte
of most significant word last.  I'd call that little endian.

--
Nelson Bolyard               
Disclaimer:                  I speak for myself, not for Netscape

Reply via email to