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

Use ucrypto_free_context for clean operation in Solaris Ucrypto/pkcs11

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b01
    • OS:
      solaris_11

      Backports

        Description

        Currently OracleUcrypto Provider calls NativeCipher.nativeFinal(id, encrypt, null, 0); to free up context memory at native level. That leads to a ucryptoEncryptFinal type solaris call with NULL/0 passed for output Len.

        Solaris team have advised that ucrypto_free_context function be used instead. We'd have to investigate when this call became available on solaris.

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                pkumaraswamy Prajwal Kumaraswamy
                Reporter:
                pkumaraswamy Prajwal Kumaraswamy
                Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: