Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8305091 Change ChaCha20 cipher init behavior to match AES-GCM
  3. JDK-8308476

Release Note: Allow Key/Nonce Reuse for DECRYPT_MODE ChaCha20 and ChaCha20-Poly1305 Cipher Objects

    XMLWordPrintable

Details

    Description

      The SunJCE implementation for `Cipher` objects using the ChaCha20 and ChaCha20-Poly1305 algorithms will now allow key/nonce reuse when in `DECRYPT_MODE`. This change aligns these algorithms with the current SunJCE AES-GCM decrypt mode behavior as it pertains to key/nonce reuse. All `ENCRYPT_MODE` key/nonce reuse prohibitions remain unchanged from their current behavior.

      Attachments

        Activity

          People

            jnimeh Jamil Nimeh
            jnimeh Jamil Nimeh
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: