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

pss: expose a get_default_pss_signature_algo_id helper #393

Merged

Conversation

baloo
Copy link
Member

@baloo baloo commented Nov 28, 2023

This returns the AlgorithmIdentifierOwned assuming the default situation where the salt_len is the output_size of the Digest.

This is meant to be used by HSM where the private key is hidden behind an abstraction but to still expose a DynSignatureAlgorithmIdentifier trait.

This returns the `AlgorithmIdentifierOwned` assuming the default
situation where the salt_len is the `output_size` of the `Digest`.

This is meant to be used by HSM where the private key is hidden behind
an abstraction but to still expose a `DynSignatureAlgorithmIdentifier`
trait.
@tarcieri tarcieri merged commit 7341cd0 into RustCrypto:master Nov 29, 2023
9 checks passed
@baloo baloo deleted the baloo/pss/expose-get_pss_signature_algo_id branch November 29, 2023 21:59
baloo added a commit to baloo/RSA that referenced this pull request Dec 1, 2023
Added
 - expose a `pss::get_default_pss_signature_algo_id` helper ([RustCrypto#393])
 - expose `pkcs1v15::RsaSignatureAssociatedOid` ([RustCrypto#392])
@baloo baloo mentioned this pull request Dec 1, 2023
tarcieri pushed a commit that referenced this pull request Dec 1, 2023
Added
 - expose a `pss::get_default_pss_signature_algo_id` helper ([#393])
 - expose `pkcs1v15::RsaSignatureAssociatedOid` ([#392])
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