| /optee_os/core/drivers/crypto/caam/include/ |
| H A D | caam_desc_helper.h | 84 #define JUMP_LOCAL(cla, test, cond, offset) \ argument 86 JUMP_TST_TYPE(test) | (cond) | JMP_LOCAL_OFFSET(offset)) 92 #define JUMP_CNO_LOCAL(test, cond, offset) \ argument 93 JUMP_LOCAL(CLASS_NO, test, cond, offset) 99 #define JUMP_C1_LOCAL(test, cond, offset) \ argument 100 JUMP_LOCAL(CLASS_1, test, cond, offset) 107 #define JUMP_CNO_LOCAL_DEC(test, src, cond, offset) \ argument 109 JUMP_TST_TYPE(test) | JMP_SRC(src) | (cond) | \ 115 #define WAIT_COND(test, cond) \ argument 116 (JUMP_LOCAL(CLASS_NO, test, JMP_COND(cond), 1) | JMP_JSL) [all …]
|
| H A D | caam_desc_defines.h | 495 #define JMP_COND(cond) SHIFT_U32((JMP_COND_##cond) & 0xFF, 8) argument 496 #define JMP_COND_MATH(cond) SHIFT_U32((JMP_COND_MATH_##cond) & 0xF, 8) argument
|
| /optee_os/core/lib/zlib/ |
| H A D | zutil.h | 245 # define Assert(cond,msg) {if(!(cond)) z_error(msg);} argument 252 # define Assert(cond,msg) argument
|
| /optee_os/lib/libmbedtls/mbedtls/library/ |
| H A D | bignum_core.c | 136 mbedtls_ct_condition_t ret = MBEDTLS_CT_FALSE, cond = MBEDTLS_CT_FALSE, done = MBEDTLS_CT_FALSE; in mbedtls_mpi_core_lt_ct() local 146 cond = mbedtls_ct_uint_lt(B[i - 1], A[i - 1]); in mbedtls_mpi_core_lt_ct() 147 done = mbedtls_ct_bool_or(done, cond); in mbedtls_mpi_core_lt_ct() 155 cond = mbedtls_ct_uint_lt(A[i - 1], B[i - 1]); in mbedtls_mpi_core_lt_ct() 156 ret = mbedtls_ct_bool_or(ret, mbedtls_ct_bool_and(cond, mbedtls_ct_bool_not(done))); in mbedtls_mpi_core_lt_ct() 157 done = mbedtls_ct_bool_or(done, cond); in mbedtls_mpi_core_lt_ct() 426 unsigned cond) in mbedtls_mpi_core_add_if() argument 430 mbedtls_ct_condition_t do_add = mbedtls_ct_bool(cond); in mbedtls_mpi_core_add_if()
|
| H A D | chacha20.c | 447 #define ASSERT(cond, args) \ argument 450 if (!(cond)) \
|
| H A D | chachapoly.c | 414 #define ASSERT(cond, args) \ argument 417 if (!(cond)) \
|
| H A D | constant_time_impl.h | 360 mbedtls_ct_condition_t cond = mbedtls_ct_bool((xo ^ yo) >> (MBEDTLS_CT_SIZE - 1)); in mbedtls_ct_uint_lt() 372 mbedtls_ct_uint_t ret = mbedtls_ct_if(cond, yo, (mbedtls_ct_uint_t) (xo - yo)); in mbedtls_ct_uint_lt()
|
| H A D | poly1305.c | 446 #define ASSERT(cond, args) \ argument 449 if (!(cond)) \
|
| H A D | bignum_core.h | 393 unsigned cond);
|
| H A D | aria.c | 796 #define ARIA_SELF_TEST_ASSERT(cond) \ argument 798 if (cond) { \
|
| H A D | ecp.c | 1203 #define MPI_ECP_COND_NEG(X, cond) \ argument 1209 nonzero & cond)); \ 1217 #define MPI_ECP_COND_ASSIGN(X, Y, cond) \ argument 1218 MBEDTLS_MPI_CHK(mbedtls_mpi_safe_cond_assign((X), (Y), (cond))) 1220 #define MPI_ECP_COND_SWAP(X, Y, cond) \ argument 1221 MBEDTLS_MPI_CHK(mbedtls_mpi_safe_cond_swap((X), (Y), (cond)))
|
| H A D | bignum.c | 51 static inline signed short mbedtls_ct_mpi_sign_if(mbedtls_ct_condition_t cond, in mbedtls_ct_mpi_sign_if() argument 54 return (signed short) mbedtls_ct_uint_if(cond, sign1 + 1, sign2 + 1) - 1; in mbedtls_ct_mpi_sign_if()
|
| /optee_os/core/lib/libtomcrypt/src/headers/ |
| H A D | tomcrypt_private.h | 10 #define LTC_STATIC_ASSERT(msg, cond) typedef char ltc_static_assert_##msg[(cond) ? 1 : -1]; argument
|