Skip to content

Conversation

@reaperhulk
Copy link
Member

No description provided.

@alex
Copy link
Member

alex commented Oct 14, 2025

Should this be a method on HKDF, or a seperate type like HKDFExpand is?


.. note::
Extract is a component of the complete HKDF algorithm.
Unless required, users should ignore this method and just
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"Unless required" is kind of vague, I think you want "Unless needed for implementing an existing protocol" or something.

Comment on lines 94 to 95
let data = self.get_mut_ctx()?.finish()?;
self.ctx = None;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this should call finalie_bytes

@alex alex enabled auto-merge (squash) October 14, 2025 11:38
@alex alex merged commit 8f1b42f into pyca:main Oct 14, 2025
68 checks passed
@reaperhulk reaperhulk deleted the hkdf-extract branch October 14, 2025 12:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants