BN_cmp macro