Skip to content

EVP_PKEY_private_check does not seem to work when no private key params are set #114

Description

********* STEPS ***********

  • Create OSSL_PARAM_BLD_new() and push exponent and modulus BN params ONLY.
  • Create an EVP_PKEY using EVP_PKEY_fromdata(...) and pass it params created using OSSL_PARAM_BLD_to_param(...).
  • Call EVP_PKEY_private_check()

Expected behavior: EVP_PKEY_private_check should return an error.
Actual: EVP_PKEY_private_check returns 1 (success).

OpenSSL version: 3.5.0
SymCrypt provider version: default from AzureLinux3.0.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions