RFR: 8342181: Update tests to use stronger Key and Salt size [v3]
Weijun Wang
weijun at openjdk.org
Mon Oct 21 13:12:20 UTC 2024
On Mon, 21 Oct 2024 12:50:53 GMT, Fernando Guallini <fguallini at openjdk.org> wrote:
>> Several tests currently use weak key and salt sizes. Since the purpose of these tests is not to evaluate weak keys, they can be updated to use stronger keys length (2048-bits) and stronger Salt (16 bytes). This PR does not intend to update the tests to use stronger algorithms.
>>
>> There is no significant increase in tests run time, those still complete consistently fast (few seconds).
>
> Fernando Guallini has updated the pull request incrementally with one additional commit since the last revision:
>
> Convert bits to bytes when necessary
Have you timed the differences? I remember we've deliberately used small key sizes for RSA and DSA in some tests because large sizes could be very slow.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/21537#issuecomment-2426631423
More information about the security-dev
mailing list