RFR: 8297878: KEM: Implementation [v12]
Anthony Scarpino
ascarpino at openjdk.org
Thu Apr 27 23:05:57 UTC 2023
On Thu, 27 Apr 2023 15:40:53 GMT, Weijun Wang <weijun at openjdk.org> wrote:
>> The KEM API and DHKEM impl. Note that this PR uses new methods in https://github.com/openjdk/jdk/pull/13250.
>
> Weijun Wang has updated the pull request incrementally with one additional commit since the last revision:
>
> more @since and about nulls
I feel the use of `from` and `to` is error prone. I know I never remember if Arrays.copyOfRange() includes or excludes the `to` index. I think less mistakes would be made if it used `index` and `length` instead.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/13256#issuecomment-1526680954
More information about the security-dev
mailing list