Searched refs:SHOULD_HAVE (Results 1 – 5 of 5) sorted by relevance
/freebsd/crypto/libecc/src/fp/ |
H A D | fp_add.c | 36 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 D | nn_add.c | 347 …SHOULD_HAVE((!nn_cmp(in1, p, &cmp)) && (cmp < 0), ret, err); /* a SHOULD_HAVE as documented above … in _nn_mod_add() 348 …SHOULD_HAVE((!nn_cmp(in2, p, &cmp)) && (cmp < 0), ret, err); /* a SHOULD_HAVE as documented above … in _nn_mod_add() 414 …SHOULD_HAVE((!nn_cmp(in1, p, &cmp)) && (cmp < 0), ret, err); /* a SHOULD_HAVE as documented above … in _nn_mod_inc() 473 …SHOULD_HAVE((!nn_cmp(in1, p, &cmp)) && (cmp < 0), ret, err); /* a SHOULD_HAVE as documented above … in _nn_mod_sub() 474 …SHOULD_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 D | nn_mul_redc1.c | 140 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 D | nn.c | 71 SHOULD_HAVE(__nn_is_wlen_consistent(A), ret, err); in nn_check_initialized()
|
/freebsd/crypto/libecc/include/libecc/utils/ |
H A D | utils.h | 104 #define SHOULD_HAVE(cond, ret, lbl) do {\ macro 145 #define SHOULD_HAVE(cond, ret, lbl) do { \ macro
|