Compare two keys for equality of type, parameters, and key material.

Synopsis

Declared in <openssl/evp.h>

int
EVP_PKEY_eq(
    EVP_PKEY const* a,
    EVP_PKEY const* b);

Return Value

1 if equal, 0 if not equal, or a negative value on error.

Parameters

Name

Description

a

First key.

b

Second key.

Created with MrDocs