Skip to content

API change in OpenSSL 3.x #29

@fffonion

Description

@fffonion

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions