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

Define RSASSA_PSS_PARAMS struct. #88

Closed
wants to merge 1 commit into from

Conversation

bryce-shang
Copy link
Contributor

@bryce-shang bryce-shang commented Jan 29, 2021

Issues:

Addresses CryptoAlg-614

Description of changes:

This PR is to define RSASSA_PSS_PARAMS struct based on 3.1. https://tools.ietf.org/html/rfc4055#page-7

RSA_PSS_PARAMS in x509.h is not used to avoid the dependency on old ASN1 stack. See below link discussion
https://bugs.chromium.org/p/boringssl/issues/detail?id=395

OpenSSL 1.1.1 Compatibility

OpenSSL 1.1.1 adds new API to get pss parameters. Additional conversion between RSASSA_PSS_PARAMS and RSA_PSS_PARAMS will be needed when awslc adds RSA_get0_pss_params.

const RSA_PSS_PARAMS *RSA_get0_pss_params(const RSA *r);

Call-outs:

  • The impl of decoding bytes to this struct will be published later.

Testing:

No test. No usage of this struct.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@bryce-shang
Copy link
Contributor Author

Closed. I will reuse RSA_PSS_PARAMS struct but use CBC/CBS in the parser code.

@bryce-shang bryce-shang deleted the rsa-pss-struct branch February 10, 2021 01:34
torben-hansen pushed a commit to torben-hansen/aws-lc that referenced this pull request Nov 15, 2023
…ck_no

Document that x25519 function does not implement zero-check
s2n-bignum original commit: awslabs/s2n-bignum@5c4b15a
dkostic pushed a commit to dkostic/aws-lc that referenced this pull request Jul 22, 2024
…ck_no

Document that x25519 function does not implement zero-check
s2n-bignum original commit: awslabs/s2n-bignum@5c4b15a
torben-hansen pushed a commit to torben-hansen/aws-lc that referenced this pull request Sep 18, 2024
…ck_no

Document that x25519 function does not implement zero-check
s2n-bignum original commit: awslabs/s2n-bignum@5c4b15a
torben-hansen pushed a commit to torben-hansen/aws-lc that referenced this pull request Sep 18, 2024
…ck_no

Document that x25519 function does not implement zero-check
s2n-bignum original commit: awslabs/s2n-bignum@5c4b15a

s2n-bignum original commit: awslabs/s2n-bignum@cc0e9f6
torben-hansen pushed a commit to torben-hansen/aws-lc that referenced this pull request Sep 19, 2024
…ck_no

Document that x25519 function does not implement zero-check
s2n-bignum original commit: awslabs/s2n-bignum@5c4b15a
dkostic pushed a commit to dkostic/aws-lc that referenced this pull request Dec 5, 2024
…ck_no

Document that x25519 function does not implement zero-check
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.

1 participant