Skip to content

Conversation

@slontis
Copy link
Member

This is a breaking change that affects using SHAKE with EVP_DigestFinal().

This should be resolved BEFORE we add support for signing with SHAKE, See (PR #23114) which is currently dependant on PR #22684 (Support for fixed output length SHAKE algorithms). This was going to be used by LMS also.

Leaving the code as it was may allow backwards compatability, but it would not interop nicely with signatures coming from another toolkit, and would be inconsistent with the Fixed output length SHAKE algorithms. Note that the algorithms will also map back to OIDS (so having 2 names for SHAKE-256, (one that mays back to a bad output size and one that is the correct size) does not allow a nice mapping back to a single OID.

Checklist
  • documentation is added or updated
  • tests are added or updated

This is a breaking change that affects using SHAKE with EVP_DigestFinal(). This should be resolved BEFORE we add support for signing with SHAKE, See (PR openssl#23114) which is currently dependant on PR openssl#22684 (Support for fixed output length SHAKE algorithms). This was going to be used by LMS also. Leaving the code as it was may allow backwards compatability, but it would not interop nicely with signatures coming from another toolkit, and would be inconsistent with the Fixed output length SHAKE algorithms. Note that the algorithms will also map back to OIDS (so having 2 names for SHAKE-256, (one that mays back to a bad output size and one that is the correct size) does not allow a nice mapping back to a single OID.
@slontisslontis added branch: master Applies to master branch hold: discussion The community needs to establish a consensus how to move forward with the issue or PR labels Mar 18, 2024
@github-actionsgithub-actionsbot added the severity: fips change The pull request changes FIPS provider sources label Mar 18, 2024
@t8mt8m added the triaged: feature The issue/pr requests/adds a feature label Mar 18, 2024
@openssl-machine
Copy link
Collaborator

This PR is in a state where it requires action by @openssl/otc but the last update was 30 days ago

@slontis
Copy link
MemberAuthor

Dropping this PR in favor of #24105 (Assuming that the changes discussed will be added to that PR).

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

branch: masterApplies to master branchhold: discussionThe community needs to establish a consensus how to move forward with the issue or PRseverity: fips changeThe pull request changes FIPS provider sourcestriaged: featureThe issue/pr requests/adds a feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@slontis@openssl-machine@t8m