Compare two keys for equality including parameters when present (deprecated; use EVP_PKEY_eq).

Synopsis

Declared in <openssl/evp.h>

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

Deprecated. Use of this entity is allowed but discouraged.

Return Value

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

Parameters

Name

Description

a

First key.

b

Second key.

Created with MrDocs