Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add simple derivation mechanisms support #120

Conversation

fuzzykat
Copy link
Contributor

@fuzzykat fuzzykat commented Aug 7, 2024

Added support of the following key derivation mechanisms (as per section 2.43 of the PKCS#11 3.0 specification):

  • CKM_CONCATENATE_BASE_AND_KEY
  • CKM_CONCATENATE_BASE_AND_DATA
  • CKM_CONCATENATE_DATA_AND_BASE
  • CKM_XOR_BASE_AND_DATA

Unfortunately, these mechanisms are currently not supported by SoftHSM (2.6.1). However CKM_CONCATENATE* mechanisms are available in develop branch of SoftHSM (tested with a SoftHSM build from the develop branch)

@coveralls
Copy link

Coverage Status

coverage: 86.942% (-1.6%) from 88.537%
when pulling eb38b1e on fuzzykat:feature/simple_derivation_mechanisms
into 46589ad on LudovicRousseau:master.

@LudovicRousseau
Copy link
Owner

Merged in 4b5cc4a
Thanks

@fuzzykat fuzzykat deleted the feature/simple_derivation_mechanisms branch August 8, 2024 16:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants