Skip to content

fix: allows developers to provide a block pool to argon2#1647

Closed
shawkins wants to merge 2 commits intobcgit:mainfrom
shawkins:iss1646
Closed

fix: allows developers to provide a block pool to argon2#1647
shawkins wants to merge 2 commits intobcgit:mainfrom
shawkins:iss1646

Conversation

@shawkins
Copy link
Copy Markdown

@shawkins shawkins commented May 2, 2024

closes: #1646

Provides a way for developers to reuse memory for argon2. Assumes that the implementation will call allocate / deallocate in pairs - no checking is done for multiple deallocation.

If you are open to this approach, what kind of tests would you like to see for this?

cc @ahus1 @vmuzikar

@jill-kleiber jill-kleiber self-assigned this May 23, 2024
closes: bcgit#1646

Signed-off-by: Steve Hawkins <shawkins@redhat.com>
@shawkins
Copy link
Copy Markdown
Author

@jill-kleiber @dghgit Rebased this. Please let me know if there is any interest in this, or if it should just be abandoned.

@jill-kleiber
Copy link
Copy Markdown
Collaborator

We're currently in the process of publishing our PQC work. One that's wrapped up I'll have a look at this.

@dghgit dghgit self-assigned this May 2, 2026
@dghgit
Copy link
Copy Markdown
Contributor

dghgit commented May 2, 2026

Thanks for the patch, this has been added with a minor revision and some tests (moved the block pool definitions). Now in https://www.bouncycastle.org/betas

Apologies for the delay.

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.

Better memory management with argon2

3 participants