Home
last modified time | relevance | path

Searched refs:DEFINE_BN_COMPARISONS (Results 1 – 1 of 1) sorted by relevance

/freebsd/crypto/openssl/test/testutil/
H A Dtests.c360 #define DEFINE_BN_COMPARISONS(opname, op, zero_cond) \ macro
381 DEFINE_BN_COMPARISONS(eq, ==, BN_is_zero(a))
382 DEFINE_BN_COMPARISONS(ne, !=, !BN_is_zero(a))
383 DEFINE_BN_COMPARISONS(gt, >, !BN_is_negative(a) && !BN_is_zero(a))
384 DEFINE_BN_COMPARISONS(ge, >=, !BN_is_negative(a) || BN_is_zero(a))
385 DEFINE_BN_COMPARISONS(lt, <, BN_is_negative(a) && !BN_is_zero(a))
386 DEFINE_BN_COMPARISONS(le, <=, BN_is_negative(a) || BN_is_zero(a))