RFR: 4936767: Parameters for MessageDigest [v6]

Weijun Wang weijun at openjdk.org
Mon Nov 20 17:10:37 UTC 2023


On Mon, 20 Nov 2023 17:07:12 GMT, Weijun Wang <weijun at openjdk.org> wrote:

>> Add parameters to `MessageDigest` and introduce `SHAKE256-LEN` with an integer parameter.
>
> Weijun Wang has updated the pull request incrementally with two additional commits since the last revision:
> 
>  - more spec change, restruct SHAKE256.java
>  - Revert "throw iape"
>    
>    This reverts commit d01bf93999d85081734f131873a94009d55ae364.

The IAPE change is reverted, only NSAE is thrown. This is consistent with `SecureRandom`, which is the only primitive in JCA that contains `getInstance` calls with and without parameters.

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

PR Comment: https://git.openjdk.org/jdk/pull/16660#issuecomment-1819476052



More information about the security-dev mailing list