>| respectively. BN_is_odd() tests if <i>a</i> is odd.</p>

<p>BN_are_coprime() determines if <b>a</b> and <b>b</b> are coprime. <b>ctx</b> is used internally for storing temporary variables. The values of <b>a</b> and <b>b</b> and <b>ctx</b> must not be NULL.</p>

<h1 id="RETURN-VALUES">RETURN VALUES</h1>

<p>BN_cmp() returns -1 if <i>a</i> &lt; <i>b</i>, 0 if <i>a</i> == <i>b</i> and 1 if <i>a</i> &gt; <i>b</i>. BN_ucmp() is the same using the absolute values of <i>a</i> and <i>b</i>.</p>

<p>BN_is_zero()