Re: ACTION-303 Correct doc on length of r and s

Although it probably obvious, I would prefer that make it explicit that 
one needs to round up when converting length in bits to bytes. Also 
using P-521 as an example instead of P-256 will make illustrate this 
rounding up.

Pratik

Kelvin Yiu wrote:
> The text in section 6.4.3 has been updated from:
>
> Integer to octet-stream conversion must be done according to the I2OSP operation defined in the RFC 2437 [ PKCS1 ] specification with the l parameter equal to the size of the output of the digest function in bytes (e.g. 32 for SHA-256).
>
> to:
>
> Integer to octet-stream conversion must be done according to the I2OSP operation defined in the RFC 2437 [ PKCS1 ] specification with the l parameter equal to the size of the base point order of the curve in bytes (e.g. 32 for the P-256 curve).
>
> Comments?
>
> Kelvin
>
>   

Received on Monday, 8 June 2009 21:19:33 UTC