On Wed, 30 Apr 2025 15:50:31 GMT, Anthony Scarpino <[email protected]>
wrote:
>> src/java.base/share/classes/sun/security/ec/ECPrivateKeyImpl.java line 157:
>>
>>> 155: }
>>> 156:
>>> 157: public byte[] getArrayS() {
>>
>> Why remove `getArrayS0`? Not worth saving those bytes?
>
> I just couldn't figure out why it needed to be S0 and not just S. There is no
> S1 and it uses the existing arrayS. Is there some spec that calls it S0?
`getArrayS0` does not clone. It's only safe to use it internally.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/17543#discussion_r2070765384