Skip to content

pss: expose a get_default_pss_signature_algo_id helper#393

Merged
tarcieri merged 1 commit intoRustCrypto:masterfrom
baloo:baloo/pss/expose-get_pss_signature_algo_id
Nov 29, 2023
Merged

pss: expose a get_default_pss_signature_algo_id helper#393
tarcieri merged 1 commit intoRustCrypto:masterfrom
baloo:baloo/pss/expose-get_pss_signature_algo_id

Conversation

@baloo
Copy link
Copy Markdown
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
@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])
takumi-earth pushed a commit to earthlings-dev/RSA that referenced this pull request Jan 27, 2026
)

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.
takumi-earth pushed a commit to earthlings-dev/RSA that referenced this pull request Jan 27, 2026
Added
 - expose a `pss::get_default_pss_signature_algo_id` helper ([RustCrypto#393])
 - expose `pkcs1v15::RsaSignatureAssociatedOid` ([RustCrypto#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