RFR: 8298127: HSS/LMS Signature Verification [v9]

Xue-Lei Andrew Fan xuelei at openjdk.org
Thu May 11 06:38:55 UTC 2023


On Thu, 11 May 2023 06:27:39 GMT, Ferenc Rakoczi <duke at openjdk.org> wrote:

> I had considered that and decided not to use it. In my opinion, Java Enum is much more complicated than it should be for this case. 

OK.

> Efficiency is not a concern here

OK.

> but I also don't see how enum could be more efficient.

enum switch is O(1), while if-else not.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/13691#discussion_r1190697557



More information about the security-dev mailing list