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

Use constants and not strings for signaling algorithms

    XMLWordPrintable

    Details

    • Type: Story
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.0a1
    • Fix Version/s: 2.0.0a2
    • Component/s: Crypto
    • Labels:
      None

      Description

      SoftHSM currently use strings when signaling what algorithm to use. This is ineffective and require a lot of transformations and comparisons when doing a single crypto operation.

      Suggesting to change this into constants. Should it use the ones defined in PKCS#11 (e.g. CKM_SHA256) or define our own internal values?

      The crypto code is currently independent of the PKCS#11 definitions.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              rickard Rickard Bellgrim
              Reporter:
              rickard Rickard Bellgrim
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: