Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8271745 Correct block size for KW,KWP mode and use fixed IV for KWP mode for SunJCE
  3. JDK-8273255

Release Note: Fix Issues With the KW and KWP Modes of SunJCE Provider

XMLWordPrintable

    • b26
    • 17
    • generic
    • generic
    • Verified

      Support for AES/KW/NoPadding, AES/KW/PKCS5Padding and AES/KWP/NoPadding ciphers is added to SunJCE provider since jdk 17. The cipher block size for these transformations should be 8 instead of 16. In addition, for KWP mode, only the default IV, i.e. 0xA65959A6, is allowed to ensure maximum interoperability with other implementations. Other IV values will be rejected with exception during Cipher.init(...) calls.

            valeriep Valerie Peng
            valeriep Valerie Peng
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: