Uploaded image for project: 'SoftHSM'
  1. SoftHSM
  2. SOFTHSM-102

C_DeriveKey() uses OBJECT_OP_GENERATE (vs. DERIVE)

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0.0a2
    • Fix Version/s: 2.0.0b2
    • Component/s: Objects
    • Labels:
      None
    • Environment:

      any where DH or ECDH are available

      Description

      derive[EC]DH() called by C_DeriveKey() create objects with OBJECT_OP_GENERATE where it should be OBJECT_OP_DERIVE.
      The fix is easy but IMHO a test should be added in p11test.

        Attachments

          Activity

            People

            Assignee:
            fdupont Francis Dupont
            Reporter:
            fdupont Francis Dupont
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: