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

Use ucrypto_free_context for clean operation in Solaris Ucrypto/pkcs11

XMLWordPrintable

    • b01
    • solaris_11

        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.

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

                Created:
                Updated:
                Resolved: