Compare the algorithm parameters of two keys (deprecated; use EVP_PKEY_parameters_eq).

Synopsis

Declared in <openssl/evp.h>

[[deprecated]]
int
EVP_PKEY_cmp_parameters(
    EVP_PKEY const* a,
    EVP_PKEY const* b);
Warning

Deprecated. Use of this entity is allowed but discouraged.

Return Value

1 if parameters match, 0 if they differ, or ‐1/‐2 on type mismatch or error.

Parameters

Name

Description

a

First key.

b

Second key.

Created with MrDocs