ASN1_INTEGER_cmp

Compare two ASN.1 INTEGER values numerically (including sign).

Synopsis

Declared in <openssl/asn1.h>

int
ASN1_INTEGER_cmp(
    ASN1_INTEGER const* x,
    ASN1_INTEGER const* y);

Return Value

Negative, zero, or positive if x is less than, equal to, or greater than y.

Parameters

NameDescription
xFirst INTEGER.
ySecond INTEGER.