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

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft

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 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
- 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
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