Home
last modified time | relevance | path

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

/freebsd/crypto/libecc/src/fp/
H A Dfp_add.c36 SHOULD_HAVE(!nn_cmp(&in1->fp_val, &(in1->ctx->p), &cmp) && (cmp < 0), ret, err); in fp_add()
37 SHOULD_HAVE(!nn_cmp(&in2->fp_val, &(in2->ctx->p), &cmp) && (cmp < 0), ret, err); in fp_add()
61 SHOULD_HAVE(!nn_cmp(&in->fp_val, &(in->ctx->p), &cmp) && (cmp < 0), ret, err); in fp_inc()
86 SHOULD_HAVE(!nn_cmp(&in1->fp_val, &(in1->ctx->p), &cmp) && (cmp < 0), ret, err); in fp_sub()
87 SHOULD_HAVE(!nn_cmp(&in2->fp_val, &(in2->ctx->p), &cmp) && (cmp < 0), ret, err); in fp_sub()
111 SHOULD_HAVE(!nn_cmp(&in->fp_val, &(in->ctx->p), &cmp) && (cmp < 0), ret, err); in fp_dec()
134 SHOULD_HAVE(!nn_cmp(&in->fp_val, &(in->ctx->p), &cmp) && (cmp < 0), ret, err); in fp_neg()
/freebsd/crypto/libecc/src/nn/
H A Dnn_add.c347SHOULD_HAVE((!nn_cmp(in1, p, &cmp)) && (cmp < 0), ret, err); /* a SHOULD_HAVE as documented above … in _nn_mod_add()
348SHOULD_HAVE((!nn_cmp(in2, p, &cmp)) && (cmp < 0), ret, err); /* a SHOULD_HAVE as documented above … in _nn_mod_add()
414SHOULD_HAVE((!nn_cmp(in1, p, &cmp)) && (cmp < 0), ret, err); /* a SHOULD_HAVE as documented above … in _nn_mod_inc()
473SHOULD_HAVE((!nn_cmp(in1, p, &cmp)) && (cmp < 0), ret, err); /* a SHOULD_HAVE as documented above … in _nn_mod_sub()
474SHOULD_HAVE((!nn_cmp(in2, p, &cmp)) && (cmp < 0), ret, err); /* a SHOULD_HAVE as documented above … in _nn_mod_sub()
541 SHOULD_HAVE((!nn_cmp(in1, p, &cmp)) && (cmp < 0), ret, err); /* a SHOULD_HAVE; Documented above */ in _nn_mod_dec()
601 SHOULD_HAVE((!nn_cmp(in, p, &cmp)) && (cmp < 0), ret, err); /* a SHOULD_HAVE; Documented above */ in nn_mod_neg()
H A Dnn_mul_redc1.c140 SHOULD_HAVE((!nn_cmp(in1, p, &cmp)) && (cmp < 0), ret, err); in _nn_mul_redc1()
141 SHOULD_HAVE((!nn_cmp(in2, p, &cmp)) && (cmp < 0), ret, err); in _nn_mul_redc1()
H A Dnn.c71 SHOULD_HAVE(__nn_is_wlen_consistent(A), ret, err); in nn_check_initialized()
/freebsd/crypto/libecc/include/libecc/utils/
H A Dutils.h104 #define SHOULD_HAVE(cond, ret, lbl) do {\ macro
145 #define SHOULD_HAVE(cond, ret, lbl) do { \ macro