EVP_PKEY_cmp
int EVP_PKEY_cmp(const EVP_PKEY *a, const EVP_PKEY *b);
LCRYPTO_ALIAS(EVP_PKEY_cmp);
LCRYPTO_USED(EVP_PKEY_cmp);
ret = EVP_PKEY_cmp(xk, k);
if ((ret = EVP_PKEY_cmp(req_pubkey, pkey)) == 1)
if (EVP_PKEY_cmp(pkey_a, pkey_b)) {
if (!EVP_PKEY_cmp(pkey_a, pkey_b)) {
if (EVP_PKEY_cmp(certkey, localpub) != 1) {
if (peerkey && EVP_PKEY_cmp(peerkey, localkey) != 1) {
if (EVP_PKEY_cmp(subject_key, issuer_key) == 1)
return EVP_PKEY_cmp(a->pkey, b->pkey) == 1;
return EVP_PKEY_cmp(a->pkey, b->pkey) == 1;
if (EVP_PKEY_cmp(cert_pkey, tal_pkey) != 1) {
if (EVP_PKEY_cmp(cert_pkey, tal_pkey) == 1) {