Uploaded image for project: 'Support'
  1. Support
  2. SUPPORT-81

Can't get CKA_VALUE_LEN from a generated AES key

    XMLWordPrintable

    Details

    • Type: Support
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: SoftHSM 2.x develop
    • Fix Version/s: None
    • Component/s: PKCS#11 Interface
    • Labels:
      None

      Description

      After having generated an AES key, an error occurs when trying to retrieve (C_GetAttributeValue) its CKA_VALUE_LEN attribute.
      This can resolved by adding size=sizeof(CK_ULONG) in P11AttributeValueLen constructor (src/lib/P11Attributes.h)

        Attachments

          Activity

            People

            Assignee:
            rickard Rickard Bellgrim
            Reporter:
            adahan Audrey Dahan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: