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

Init SoftHSMv2 support #7797

Merged
merged 1 commit into from
Oct 22, 2024
Merged

Init SoftHSMv2 support #7797

merged 1 commit into from
Oct 22, 2024

Conversation

julek-wolfssl
Copy link
Member

@julek-wolfssl julek-wolfssl commented Jul 26, 2024

Depends on #7781

  • wolfSSL_EVP_PKEY_set1_DH: If both private and public present, output private key
  • ToTraditionalInline_ex2: Add DH checking
  • wc_ecc_get_curve_id: check index is not negative
  • Fix i2d_PKCS8_PRIV_KEY_INFO to actually output pkcs8 instead of just der
  • wolfSSL_EVP_PKEY2PKCS8: Create duplicate to avoid double free
  • wolfSSL_DH_generate_key: Fix case where not enough buffer was allocated for 128 bit case
  • pkcs8_encode: Add DSA and DH support
  • wolfSSL_d2i_PKCS8_PKEY: Correctly advance buffer
  • Define
    • OPENSSL_DH_MAX_MODULUS_BITS
    • OPENSSL_DSA_MAX_MODULUS_BITS
    • OPENSSL_RSA_MAX_MODULUS_BITS
  • Implement
    • BN_mul_word
    • i2d_ECPKParameters
    • PEM_write_bio_PKCS8_PRIV_KEY_INFO
    • PEM_read_bio_PKCS8_PRIV_KEY_INFO
    • i2d_PKCS8_PRIV_KEY_INFO
    • RSA_padding_add_PKCS1_PSS_mgf1
    • RSA_verify_PKCS1_PSS_mgf1

@julek-wolfssl julek-wolfssl self-assigned this Jul 26, 2024
julek-wolfssl added a commit to julek-wolfssl/osp that referenced this pull request Jul 26, 2024
julek-wolfssl added a commit to julek-wolfssl/osp that referenced this pull request Jul 31, 2024
@julek-wolfssl julek-wolfssl force-pushed the softhsm branch 2 times, most recently from 35ed416 to 3bde52b Compare August 21, 2024 08:37
julek-wolfssl added a commit to julek-wolfssl/osp that referenced this pull request Aug 21, 2024
julek-wolfssl added a commit to julek-wolfssl/osp that referenced this pull request Aug 23, 2024
@julek-wolfssl julek-wolfssl force-pushed the softhsm branch 15 times, most recently from 750593b to 1e2daaf Compare September 2, 2024 08:03
@julek-wolfssl julek-wolfssl force-pushed the softhsm branch 3 times, most recently from 3b237e5 to 589062d Compare October 21, 2024 11:49
- wolfSSL_EVP_PKEY_set1_DH: If both private and public present, output private key
- ToTraditionalInline_ex2: Add DH checking
- wc_ecc_get_curve_id: check index is not negative
- Fix i2d_PKCS8_PRIV_KEY_INFO to actually output pkcs8 instead of just der
- wolfSSL_EVP_PKEY2PKCS8: Create duplicate to avoid double free
- wolfSSL_DH_generate_key: Fix case where not enough buffer was allocated for 128 bit case
- pkcs8_encode: Add DSA and DH support
- wolfSSL_d2i_PKCS8_PKEY: Correctly advance buffer
- RSA_LOW_MEM: export all integers in compat layer
- Add softhsm action
- Define
  - OPENSSL_DH_MAX_MODULUS_BITS
  - OPENSSL_DSA_MAX_MODULUS_BITS
  - OPENSSL_RSA_MAX_MODULUS_BITS
- Implement
  - BN_mul_word
  - i2d_ECPKParameters
  - PEM_write_bio_PKCS8_PRIV_KEY_INFO
  - PEM_read_bio_PKCS8_PRIV_KEY_INFO
  - i2d_PKCS8_PRIV_KEY_INFO
  - RSA_padding_add_PKCS1_PSS_mgf1
  - RSA_verify_PKCS1_PSS_mgf1
@julek-wolfssl julek-wolfssl marked this pull request as ready for review October 21, 2024 15:54
@douzzer douzzer merged commit 805eaa9 into wolfSSL:master Oct 22, 2024
141 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.

3 participants