I might have found a reason for SunMSCAPI crash

  http://cr.openjdk.java.net/~weijun/8023546/webrev.00

Before this fix, the native function convertToLittleEndian() fails if you want to convert a 63 byte array to a 64 byte one. However, I observed that when a 1024 bit RSA private key is generated, its prime exponent p can be only 63 bytes long. Function is updated to accept this case.

I'm not a cryptographer so if you believe the p must be of 64 bytes long please tell me.

Thanks
Max

Reply via email to