Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8041787

Need new regressions tests for buffer handling for PBE algorithms

    Details

      Backports

        Description

        Following scenarios are missing in regression test so new tests should be added to -

        - same buffer can be used for encrypt and decrypt with PBE
        - Mac update works correctly with different size of ByteBuffer
        - doFinal and update operation result in same PBMac
        - for PBEWithMD5AndDES cipher, only CBC mode and PKCS#5Padding is allowed

          Activity

          Hide
          rhalade Rajan Halade added a comment -
          Following new tests will be added -

          test/com/sun/crypto/provider/Cipher/PBE/PBESameBuffer/PBESameBuffer.java
          test/com/sun/crypto/provider/Cipher/PBE/PBMacBuffer.java
          test/com/sun/crypto/provider/Cipher/PBE/PBMacDoFinalVsUpdate.java
          test/com/sun/crypto/provider/Cipher/PBE/TestCipherPBECons.java
          Show
          rhalade Rajan Halade added a comment - Following new tests will be added - test/com/sun/crypto/provider/Cipher/PBE/PBESameBuffer/PBESameBuffer.java test/com/sun/crypto/provider/Cipher/PBE/PBMacBuffer.java test/com/sun/crypto/provider/Cipher/PBE/PBMacDoFinalVsUpdate.java test/com/sun/crypto/provider/Cipher/PBE/TestCipherPBECons.java
          Hide
          hgupdate HG Updates added a comment -
          URL: http://hg.openjdk.java.net/jdk9/dev/jdk/rev/a773deb92ef7
          User: vinnie
          Date: 2015-07-15 17:14:55 +0000
          Show
          hgupdate HG Updates added a comment - URL: http://hg.openjdk.java.net/jdk9/dev/jdk/rev/a773deb92ef7 User: vinnie Date: 2015-07-15 17:14:55 +0000
          Hide
          hgupdate HG Updates added a comment -
          URL: http://hg.openjdk.java.net/jdk9/jdk9/jdk/rev/a773deb92ef7
          User: lana
          Date: 2015-07-22 21:33:50 +0000
          Show
          hgupdate HG Updates added a comment - URL: http://hg.openjdk.java.net/jdk9/jdk9/jdk/rev/a773deb92ef7 User: lana Date: 2015-07-22 21:33:50 +0000

            People

            • Assignee:
              rhalade Rajan Halade
              Reporter:
              rhalade Rajan Halade
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: