Home
last modified time | relevance | path

Searched defs:x (Results 1 – 25 of 42) sorted by relevance

12

/mbedtls-latest/3rdparty/everest/include/everest/kremlin/
Dc_endianness.h21 # define htole64(x) OSSwapHostToLittleInt64(x) argument
22 # define le64toh(x) OSSwapLittleToHostInt64(x) argument
23 # define htobe64(x) OSSwapHostToBigInt64(x) argument
24 # define be64toh(x) OSSwapBigToHostInt64(x) argument
26 # define htole16(x) OSSwapHostToLittleInt16(x) argument
27 # define le16toh(x) OSSwapLittleToHostInt16(x) argument
28 # define htobe16(x) OSSwapHostToBigInt16(x) argument
29 # define be16toh(x) OSSwapBigToHostInt16(x) argument
31 # define htole32(x) OSSwapHostToLittleInt32(x) argument
32 # define le32toh(x) OSSwapLittleToHostInt32(x) argument
[all …]
/mbedtls-latest/library/
Dcommon.h199 uint8x16_t x = veorq_u8(v1, v2); in mbedtls_xor() local
214 uint64_t x = mbedtls_get_unaligned_uint64(a + i) ^ mbedtls_get_unaligned_uint64(b + i); in mbedtls_xor() local
224 uint32_t x = mbedtls_get_unaligned_uint32(a + i) ^ mbedtls_get_unaligned_uint32(b + i); in mbedtls_xor() local
278 uint64_t x = mbedtls_get_unaligned_uint64(a + i) ^ mbedtls_get_unaligned_uint64(b + i); in mbedtls_xor_no_simd() local
292 uint32_t x = mbedtls_get_unaligned_uint32(a + i) ^ mbedtls_get_unaligned_uint32(b + i); in mbedtls_xor_no_simd() local
371 #define MBEDTLS_HAS_BUILTIN(x) __has_builtin(x) argument
373 #define MBEDTLS_HAS_BUILTIN(x) 0 argument
378 #define MBEDTLS_LIKELY(x) __builtin_expect(!!(x), 1) argument
379 #define MBEDTLS_UNLIKELY(x) __builtin_expect(!!(x), 0) argument
381 #define MBEDTLS_LIKELY(x) x argument
[all …]
Dconstant_time_impl.h100 static inline mbedtls_ct_uint_t mbedtls_ct_compiler_opaque(mbedtls_ct_uint_t x) in mbedtls_ct_compiler_opaque()
135 static inline mbedtls_ct_condition_t mbedtls_ct_bool(mbedtls_ct_uint_t x) in mbedtls_ct_bool()
286 static inline mbedtls_ct_condition_t mbedtls_ct_uint_lt(mbedtls_ct_uint_t x, mbedtls_ct_uint_t y) in mbedtls_ct_uint_lt()
397 static inline mbedtls_ct_condition_t mbedtls_ct_uint_ne(mbedtls_ct_uint_t x, mbedtls_ct_uint_t y) in mbedtls_ct_uint_ne()
504 static inline mbedtls_ct_condition_t mbedtls_ct_uint_eq(mbedtls_ct_uint_t x, in mbedtls_ct_uint_eq()
510 static inline mbedtls_ct_condition_t mbedtls_ct_uint_gt(mbedtls_ct_uint_t x, in mbedtls_ct_uint_gt()
516 static inline mbedtls_ct_condition_t mbedtls_ct_uint_ge(mbedtls_ct_uint_t x, in mbedtls_ct_uint_ge()
522 static inline mbedtls_ct_condition_t mbedtls_ct_uint_le(mbedtls_ct_uint_t x, in mbedtls_ct_uint_le()
528 static inline mbedtls_ct_condition_t mbedtls_ct_bool_ne(mbedtls_ct_condition_t x, in mbedtls_ct_bool_ne()
534 static inline mbedtls_ct_condition_t mbedtls_ct_bool_and(mbedtls_ct_condition_t x, in mbedtls_ct_bool_and()
[all …]
Dalignment.h87 uint16_t x; member
90 uint32_t x; member
93 uint64_t x; member
142 static inline void mbedtls_put_unaligned_uint16(void *p, uint16_t x) in mbedtls_put_unaligned_uint16()
194 static inline void mbedtls_put_unaligned_uint32(void *p, uint32_t x) in mbedtls_put_unaligned_uint32()
246 static inline void mbedtls_put_unaligned_uint64(void *p, uint64_t x) in mbedtls_put_unaligned_uint64()
268 #define MBEDTLS_BYTE_0(x) ((uint8_t) ((x) & 0xff)) argument
269 #define MBEDTLS_BYTE_1(x) ((uint8_t) (((x) >> 8) & 0xff)) argument
270 #define MBEDTLS_BYTE_2(x) ((uint8_t) (((x) >> 16) & 0xff)) argument
271 #define MBEDTLS_BYTE_3(x) ((uint8_t) (((x) >> 24) & 0xff)) argument
[all …]
Dsha512.c38 #define UL64(x) x##ui64 argument
40 #define UL64(x) x##ULL argument
359 static inline uint64x2_t vsha512su0q_u64(uint64x2_t x, uint64x2_t y) in vsha512su0q_u64()
364 static inline uint64x2_t vsha512su1q_u64(uint64x2_t x, uint64x2_t y, uint64x2_t z) in vsha512su1q_u64()
369 static inline uint64x2_t vsha512hq_u64(uint64x2_t x, uint64x2_t y, uint64x2_t z) in vsha512hq_u64()
374 static inline uint64x2_t vsha512h2q_u64(uint64x2_t x, uint64x2_t y, uint64x2_t z) in vsha512h2q_u64()
610 #define SHR(x, n) ((x) >> (n)) in mbedtls_internal_sha512_process_c() argument
611 #define ROTR(x, n) (SHR((x), (n)) | ((x) << (64 - (n)))) in mbedtls_internal_sha512_process_c() argument
613 #define S0(x) (ROTR(x, 1) ^ ROTR(x, 8) ^ SHR(x, 7)) in mbedtls_internal_sha512_process_c() argument
614 #define S1(x) (ROTR(x, 19) ^ ROTR(x, 61) ^ SHR(x, 6)) in mbedtls_internal_sha512_process_c() argument
[all …]
Dsha1.c89 #define S(x, n) (((x) << (n)) | (((x) & 0xFFFFFFFF) >> (32 - (n)))) in mbedtls_internal_sha1_process() argument
100 #define P(a, b, c, d, e, x) \ in mbedtls_internal_sha1_process() argument
113 #define F(x, y, z) ((z) ^ ((x) & ((y) ^ (z)))) in mbedtls_internal_sha1_process() argument
140 #define F(x, y, z) ((x) ^ (y) ^ (z)) in mbedtls_internal_sha1_process() argument
167 #define F(x, y, z) (((x) & (y)) | ((z) & ((x) | (y)))) in mbedtls_internal_sha1_process() argument
194 #define F(x, y, z) ((x) ^ (y) ^ (z)) in mbedtls_internal_sha1_process() argument
Dmd5.c88 #define S(x, n) \ in mbedtls_internal_md5_process() argument
103 #define F(x, y, z) ((z) ^ ((x) & ((y) ^ (z)))) in mbedtls_internal_md5_process() argument
124 #define F(x, y, z) ((y) ^ ((z) & ((x) ^ (y)))) in mbedtls_internal_md5_process() argument
145 #define F(x, y, z) ((x) ^ (y) ^ (z)) in mbedtls_internal_md5_process() argument
166 #define F(x, y, z) ((y) ^ ((x) | ~(z))) in mbedtls_internal_md5_process() argument
Dsha256.c459 #define SHR(x, n) (((x) & 0xFFFFFFFF) >> (n)) argument
460 #define ROTR(x, n) (SHR(x, n) | ((x) << (32 - (n)))) argument
462 #define S0(x) (ROTR(x, 7) ^ ROTR(x, 18) ^ SHR(x, 3)) argument
463 #define S1(x) (ROTR(x, 17) ^ ROTR(x, 19) ^ SHR(x, 10)) argument
465 #define S2(x) (ROTR(x, 2) ^ ROTR(x, 13) ^ ROTR(x, 22)) argument
466 #define S3(x) (ROTR(x, 6) ^ ROTR(x, 11) ^ ROTR(x, 25)) argument
468 #define F0(x, y, z) (((x) & (y)) | ((z) & ((x) | (y)))) argument
469 #define F1(x, y, z) ((z) ^ ((x) & ((y) ^ (z)))) argument
477 #define P(a, b, c, d, e, f, g, h, x, K) \ argument
Dripemd160.c99 #define F1(x, y, z) ((x) ^ (y) ^ (z)) in mbedtls_internal_ripemd160_process() argument
100 #define F2(x, y, z) (((x) & (y)) | (~(x) & (z))) in mbedtls_internal_ripemd160_process() argument
101 #define F3(x, y, z) (((x) | ~(y)) ^ (z)) in mbedtls_internal_ripemd160_process() argument
102 #define F4(x, y, z) (((x) & (z)) | ((y) & ~(z))) in mbedtls_internal_ripemd160_process() argument
103 #define F5(x, y, z) ((x) ^ ((y) | ~(z))) in mbedtls_internal_ripemd160_process() argument
105 #define S(x, n) (((x) << (n)) | ((x) >> (32 - (n)))) in mbedtls_internal_ripemd160_process() argument
Dctr.h26 uint32_t x = MBEDTLS_GET_UINT32_BE(n, i << 2); in mbedtls_ctr_increment_counter() local
Daria.c42 static inline uint32_t aria_p1(uint32_t x) in aria_p1()
51 static inline uint32_t aria_p1(uint32_t x) in aria_p1()
63 #define ARIA_P1(x) ARIA_P2(ARIA_P3(x)) argument
67 #define ARIA_P1(x) ((((x) >> 8) & 0x00FF00FF) ^ (((x) & 0x00FF00FF) << 8)) argument
77 #define ARIA_P2(x) (((x) >> 16) ^ ((x) << 16)) argument
84 #define ARIA_P3(x) MBEDTLS_BSWAP32(x) argument
Dconstant_time.c85 uint32_t x = mbedtls_get_unaligned_volatile_uint32(A + i); in mbedtls_ct_memcmp() local
95 unsigned char x = A[i], y = B[i]; in mbedtls_ct_memcmp() local
135 unsigned char x = A[i], y = B[i]; in mbedtls_ct_memcmp_partial() local
Dpadlock.h47 #define MBEDTLS_PADLOCK_ALIGN16(x) (uint32_t *) (16 + ((int32_t) (x) & ~15)) argument
Daes.c369 #define ROTL8(x) (((x) << 8) & 0xFFFFFFFF) | ((x) >> 24) argument
370 #define XTIME(x) (((x) << 1) ^ (((x) & 0x80) ? 0x1B : 0x00)) argument
371 #define MUL(x, y) (((x) && (y)) ? pow[(log[(x)]+log[(y)]) % 255] : 0) argument
378 uint8_t x, y, z; in aes_gen_tables() local
464 #define ROTL8(x) ((uint32_t) ((x) << 8) + (uint32_t) ((x) >> 24)) argument
465 #define ROTL16(x) ((uint32_t) ((x) << 16) + (uint32_t) ((x) >> 16)) argument
466 #define ROTL24(x) ((uint32_t) ((x) << 24) + (uint32_t) ((x) >> 8)) argument
Dgcm.c251 static void gcm_mult_largetable(uint8_t *output, const uint8_t *x, uint64_t H[256][2]) in gcm_mult_largetable()
302 static void gcm_mult_smalltable(uint8_t *output, const uint8_t *x, uint64_t H[16][2]) in gcm_mult_smalltable()
527 uint32_t x = MBEDTLS_GET_UINT32_BE(y, 12); in gcm_incr() local
Dsha3.c94 #define ROTR64(x, y) (((x) << (64U - (y))) | ((x) >> (y))) // 64-bit rotate right argument
98 #define SWAP(x, y) do { uint64_t tmp = (x); (x) = (y); (y) = tmp; } while (0) argument
Dbase64.c133 uint32_t x; /* value accumulator */ in mbedtls_base64_decode() local
Decjpake.c317 const mbedtls_mpi *x, in ecjpake_zkp_write()
415 mbedtls_mpi *x, in ecjpake_kkp_write()
1025 static uint32_t x = 42; in ecjpake_lgc() local
1039 #define TEST_ASSERT(x) \ argument
/mbedtls-latest/3rdparty/everest/library/kremlib/
DFStar_UInt64_FStar_UInt32_FStar_UInt16_FStar_UInt8.c15 uint64_t x = a ^ b; in FStar_UInt64_eq_mask() local
24 uint64_t x = a; in FStar_UInt64_gte_mask() local
37 uint32_t x = a ^ b; in FStar_UInt32_eq_mask() local
46 uint32_t x = a; in FStar_UInt32_gte_mask() local
59 uint16_t x = a ^ b; in FStar_UInt16_eq_mask() local
68 uint16_t x = a; in FStar_UInt16_gte_mask() local
81 uint8_t x = a ^ b; in FStar_UInt8_eq_mask() local
90 uint8_t x = a; in FStar_UInt8_gte_mask() local
DFStar_UInt128_extracted.c341 FStar_UInt128_uint128 FStar_UInt128_mul32(uint64_t x, uint32_t y) in FStar_UInt128_mul32()
368 FStar_UInt128_mul_wide_impl_t_(uint64_t x, uint64_t y) in FStar_UInt128_mul_wide_impl_t_()
389 static FStar_UInt128_uint128 FStar_UInt128_mul_wide_impl(uint64_t x, uint64_t y) in FStar_UInt128_mul_wide_impl()
409 FStar_UInt128_uint128 FStar_UInt128_mul_wide(uint64_t x, uint64_t y) in FStar_UInt128_mul_wide()
/mbedtls-latest/3rdparty/p256-m/p256-m/
Dp256-m.c69 static void u256_set32(uint32_t z[8], uint32_t x) in u256_set32()
217 static uint64_t u32_muladd64(uint32_t x, uint32_t y, uint32_t z, uint32_t t) in u32_muladd64()
242 static uint64_t u32_muladd64(uint32_t x, uint32_t y, uint32_t z, uint32_t t) in u32_muladd64()
304 static uint64_t u32_muladd64(uint32_t x, uint32_t y, uint32_t z, uint32_t t) in u32_muladd64()
310 static uint64_t u32_muladd64(uint32_t x, uint32_t y, uint32_t z, uint32_t t) in u32_muladd64()
350 static uint32_t u288_muladd(uint32_t z[9], uint32_t x, const uint32_t y[8]) in u288_muladd()
665 static void m256_set32(uint32_t z[8], uint32_t x, const m256_mod *mod) in m256_set32()
1214 uint32_t s[8], x[8], y[8]; in p256_gen_keypair() local
1238 uint32_t s[8], px[8], py[8], x[8], y[8]; in p256_ecdh_shared_secret() local
1477 uint32_t x[8], y[8]; in p256_validate_pubkey() local
[all …]
/mbedtls-latest/tests/scripts/
Dgenerate_server9_bad_saltlen.py27 def auto_int(x): argument
/mbedtls-latest/3rdparty/everest/include/everest/kremlin/internal/
Dcompat.h22 #define RETURN_OR(x) \ argument
/mbedtls-latest/docs/architecture/psa-migration/
Dmd-cipher-dispatch.md326 #### Don't support PK, X.509 and TLS without `MBEDTLS_USE_PSA_CRYPTO`
334 #### Don't support for `MBEDTLS_PSA_CRYPTO_CLIENT` without `MBEDTLS_PSA_CRYPTO_C`
342 #### For cipher: prioritize constrained devices and modern TLS
/mbedtls-latest/tests/include/test/
Dhelpers.h59 uint8_t *x; member

12