[8u] RFR 8147502: Digest is incorrectly truncated for ECDSA signatures when the bit length of n is less than the field size

Martin Balao mbalao at redhat.com
Fri Aug 9 14:40:50 UTC 2019


Hi Aleksey,

Thanks for having a look at this.

On 8/9/19 7:08 AM, Aleksey Shipilev wrote:
> On 8/8/19 9:40 PM, Martin Balao wrote:
> 
> We don't have SHA384withECDSAinP1363Format in 8u, that's why it was changed?
> 

That's right. I verified that the signature is still truncated with the
new algorithm (otherwise the test would render useless) and obtained the
new expected result from the BouncyCastle crypto provider.

Regards,
Martin.-


More information about the jdk8u-dev mailing list