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

API change in OpenSSL 3.x #29

Open
3 of 14 tasks
fffonion opened this issue Aug 27, 2021 · 0 comments
Open
3 of 14 tasks

API change in OpenSSL 3.x #29

fffonion opened this issue Aug 27, 2021 · 0 comments

Comments

@fffonion
Copy link
Owner

fffonion commented Aug 27, 2021

https://www.openssl.org/docs/manmaster/man7/migration_guide.html

  • Library context (for non-global provider)

  • EVP_PKEY_get_x_params to replace TYPE_get0_PRARM, EVP_PKEY_fromdata to replace TYPE_set0_x (pkey:get_parameters/pkey:set_parameters)

    • RSA_get0_x, RSA_set0_x
    • DH_get0_x
    • EC_KEY_get0_x, EC_KEY_set0_x
  • EVP_PKEY_new to replace TYPE_new (load_jwk)

    • RSA_new
    • EC_KEY_new
    • DH_new_by_id
  • EVP_PKEY_from_data to replace EVP_PKEY_assign (load_jwk)

  • BN_check_prime to replace BN_is_prime_ex

  • EC_POINT_bn2point, EC_POINT_point2bn were not particularly useful, since EC point serialization formats are not individual big-endian integers. (load_jwk)

  • EC_POINT_get_affine_coordinates to replace EC_POINT_get_affine_coordinates_x (dump_jwk)

  • ERR_get_error_line, ERR_peek_last_error_line?

fffonion added a commit that referenced this issue Jan 24, 2022
Part of API change in OpenSSL 3.0 #29
fffonion added a commit that referenced this issue Jan 24, 2022
Part of API change in OpenSSL 3.0 #29
fffonion added a commit that referenced this issue Jan 24, 2022
Part of API change in OpenSSL 3.0 #29
fffonion added a commit that referenced this issue Jan 24, 2022
Part of API change in OpenSSL 3.0 #29
@fffonion fffonion changed the title API change in OpenSSL 3.0 API change in OpenSSL 3.x Dec 13, 2023
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

No branches or pull requests

1 participant