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

internal/testutil: Update import for KBKDF #364

Merged
merged 1 commit into from
Jan 21, 2025

Conversation

chrisccoulson
Copy link
Collaborator

The previous import was github.com/canonical/go-sp800.108-kdf. I've since moved it to github.com/canonical/go-kbkdf and renamed the module accordingly, following the naming convention for this KDF on openssl.

The package is largely the same, just with the HMAC implementation of the PRF split into its own sub-package. This package has global variables for pre-defined PRFs for each supported SHA2 algorithm.

The previous import was github.com/canonical/go-sp800.108-kdf. I've
since moved it to github.com/canonical/go-kbkdf and renamed the module
accordingly, following the naming convention for this KDF on openssl.

The package is largely the same, just with the HMAC implementation of
the PRF split into its own sub-package. This package has global variables
for pre-defined PRFs for each supported SHA2 algorithm.
Copy link
Collaborator

@pedronis pedronis left a comment

Choose a reason for hiding this comment

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

+1

@chrisccoulson chrisccoulson merged commit 1bfd65a into canonical:master Jan 21, 2025
2 checks passed
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.

2 participants