On Fri, 11 Nov 2022 01:25:07 GMT, Vladimir Ivanov <vliva...@openjdk.org> wrote:

>> Volodymyr Paprotski has updated the pull request incrementally with one 
>> additional commit since the last revision:
>> 
>>   jcheck
>
> src/java.base/share/classes/com/sun/crypto/provider/Poly1305.java line 252:
> 
>> 250:     private void processMultipleBlocks(byte[] input, int offset, int 
>> length, long[] aLimbs, long[] rLimbs) {
>> 251:         while (length >= BLOCK_LENGTH) {
>> 252:             n.setValue(input, offset, BLOCK_LENGTH, (byte)0x01);
> 
> You could call `processBlock(input, offset, BLOCK_LENGTH);` here.

done (duh.. thanks, neater code)

-------------

PR: https://git.openjdk.org/jdk/pull/10582

Reply via email to