Home
last modified time | relevance | path

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

12

/mbedtls-3.5.0/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-3.5.0/library/
Dalignment.h70 inline void mbedtls_put_unaligned_uint16(void *p, uint16_t x) in mbedtls_put_unaligned_uint16()
96 inline void mbedtls_put_unaligned_uint32(void *p, uint32_t x) in mbedtls_put_unaligned_uint32()
122 inline void mbedtls_put_unaligned_uint64(void *p, uint64_t x) in mbedtls_put_unaligned_uint64()
132 #define MBEDTLS_BYTE_0(x) ((uint8_t) ((x) & 0xff)) argument
133 #define MBEDTLS_BYTE_1(x) ((uint8_t) (((x) >> 8) & 0xff)) argument
134 #define MBEDTLS_BYTE_2(x) ((uint8_t) (((x) >> 16) & 0xff)) argument
135 #define MBEDTLS_BYTE_3(x) ((uint8_t) (((x) >> 24) & 0xff)) argument
136 #define MBEDTLS_BYTE_4(x) ((uint8_t) (((x) >> 32) & 0xff)) argument
137 #define MBEDTLS_BYTE_5(x) ((uint8_t) (((x) >> 40) & 0xff)) argument
138 #define MBEDTLS_BYTE_6(x) ((uint8_t) (((x) >> 48) & 0xff)) argument
[all …]
Dsha512.c50 #define UL64(x) x##ui64 argument
52 #define UL64(x) x##ULL argument
357 static inline uint64x2_t vsha512su0q_u64(uint64x2_t x, uint64x2_t y) in vsha512su0q_u64()
362 static inline uint64x2_t vsha512su1q_u64(uint64x2_t x, uint64x2_t y, uint64x2_t z) in vsha512su1q_u64()
367 static inline uint64x2_t vsha512hq_u64(uint64x2_t x, uint64x2_t y, uint64x2_t z) in vsha512hq_u64()
372 static inline uint64x2_t vsha512h2q_u64(uint64x2_t x, uint64x2_t y, uint64x2_t z) in vsha512h2q_u64()
608 #define SHR(x, n) ((x) >> (n)) in mbedtls_internal_sha512_process_c() argument
609 #define ROTR(x, n) (SHR((x), (n)) | ((x) << (64 - (n)))) in mbedtls_internal_sha512_process_c() argument
611 #define S0(x) (ROTR(x, 1) ^ ROTR(x, 8) ^ SHR(x, 7)) in mbedtls_internal_sha512_process_c() argument
612 #define S1(x) (ROTR(x, 19) ^ ROTR(x, 61) ^ SHR(x, 6)) in mbedtls_internal_sha512_process_c() argument
[all …]
Dsha1.c101 #define S(x, n) (((x) << (n)) | (((x) & 0xFFFFFFFF) >> (32 - (n)))) in mbedtls_internal_sha1_process() argument
112 #define P(a, b, c, d, e, x) \ in mbedtls_internal_sha1_process() argument
125 #define F(x, y, z) ((z) ^ ((x) & ((y) ^ (z)))) in mbedtls_internal_sha1_process() argument
152 #define F(x, y, z) ((x) ^ (y) ^ (z)) in mbedtls_internal_sha1_process() argument
179 #define F(x, y, z) (((x) & (y)) | ((z) & ((x) | (y)))) in mbedtls_internal_sha1_process() argument
206 #define F(x, y, z) ((x) ^ (y) ^ (z)) in mbedtls_internal_sha1_process() argument
Dsha256.c422 #define SHR(x, n) (((x) & 0xFFFFFFFF) >> (n)) argument
423 #define ROTR(x, n) (SHR(x, n) | ((x) << (32 - (n)))) argument
425 #define S0(x) (ROTR(x, 7) ^ ROTR(x, 18) ^ SHR(x, 3)) argument
426 #define S1(x) (ROTR(x, 17) ^ ROTR(x, 19) ^ SHR(x, 10)) argument
428 #define S2(x) (ROTR(x, 2) ^ ROTR(x, 13) ^ ROTR(x, 22)) argument
429 #define S3(x) (ROTR(x, 6) ^ ROTR(x, 11) ^ ROTR(x, 25)) argument
431 #define F0(x, y, z) (((x) & (y)) | ((z) & ((x) | (y)))) argument
432 #define F1(x, y, z) ((z) ^ ((x) & ((y) ^ (z)))) argument
440 #define P(a, b, c, d, e, f, g, h, x, K) \ argument
Dmd5.c100 #define S(x, n) \ in mbedtls_internal_md5_process() argument
115 #define F(x, y, z) ((z) ^ ((x) & ((y) ^ (z)))) in mbedtls_internal_md5_process() argument
136 #define F(x, y, z) ((y) ^ ((z) & ((x) ^ (y)))) in mbedtls_internal_md5_process() argument
157 #define F(x, y, z) ((x) ^ (y) ^ (z)) in mbedtls_internal_md5_process() argument
178 #define F(x, y, z) ((y) ^ ((x) | ~(z))) in mbedtls_internal_md5_process() argument
Dripemd160.c111 #define F1(x, y, z) ((x) ^ (y) ^ (z)) in mbedtls_internal_ripemd160_process() argument
112 #define F2(x, y, z) (((x) & (y)) | (~(x) & (z))) in mbedtls_internal_ripemd160_process() argument
113 #define F3(x, y, z) (((x) | ~(y)) ^ (z)) in mbedtls_internal_ripemd160_process() argument
114 #define F4(x, y, z) (((x) & (z)) | ((y) & ~(z))) in mbedtls_internal_ripemd160_process() argument
115 #define F5(x, y, z) ((x) ^ ((y) | ~(z))) in mbedtls_internal_ripemd160_process() argument
117 #define S(x, n) (((x) << (n)) | ((x) >> (32 - (n)))) in mbedtls_internal_ripemd160_process() argument
Daria.c60 static inline uint32_t aria_p1(uint32_t x) in aria_p1()
69 static inline uint32_t aria_p1(uint32_t x) in aria_p1()
81 #define ARIA_P1(x) ARIA_P2(ARIA_P3(x)) argument
85 #define ARIA_P1(x) ((((x) >> 8) & 0x00FF00FF) ^ (((x) & 0x00FF00FF) << 8)) argument
95 #define ARIA_P2(x) (((x) >> 16) ^ ((x) << 16)) argument
102 #define ARIA_P3(x) MBEDTLS_BSWAP32(x) argument
Dconstant_time.c105 uint32_t x = mbedtls_get_unaligned_volatile_uint32(A + i); in mbedtls_ct_memcmp() local
115 unsigned char x = A[i], y = B[i]; in mbedtls_ct_memcmp() local
186 static size_t mbedtls_ct_size_mask_lt(size_t x, in mbedtls_ct_size_mask_lt()
201 size_t mbedtls_ct_size_mask_ge(size_t x, in mbedtls_ct_size_mask_ge()
229 unsigned mbedtls_ct_size_bool_eq(size_t x, in mbedtls_ct_size_bool_eq()
268 static unsigned mbedtls_ct_size_gt(size_t x, in mbedtls_ct_size_gt()
279 unsigned mbedtls_ct_mpi_uint_lt(const mbedtls_mpi_uint x, in mbedtls_ct_mpi_uint_lt()
Dpadlock.h56 #define MBEDTLS_PADLOCK_ALIGN16(x) (uint32_t *) (16 + ((int32_t) (x) & ~15)) argument
Daes.c359 #define ROTL8(x) (((x) << 8) & 0xFFFFFFFF) | ((x) >> 24) argument
360 #define XTIME(x) (((x) << 1) ^ (((x) & 0x80) ? 0x1B : 0x00)) argument
361 #define MUL(x, y) (((x) && (y)) ? pow[(log[(x)]+log[(y)]) % 255] : 0) argument
367 int i, x, y, z; in aes_gen_tables() local
447 #define ROTL8(x) ((uint32_t) ((x) << 8) + (uint32_t) ((x) >> 24)) argument
448 #define ROTL16(x) ((uint32_t) ((x) << 16) + (uint32_t) ((x) >> 16)) argument
449 #define ROTL24(x) ((uint32_t) ((x) << 24) + (uint32_t) ((x) >> 8)) argument
Dcommon.h129 uint32_t x = mbedtls_get_unaligned_uint32(a + i) ^ mbedtls_get_unaligned_uint32(b + i); in mbedtls_xor() local
Dbase64.c111 uint32_t x; /* value accumulator */ in mbedtls_base64_decode() local
Decjpake.c360 const mbedtls_mpi *x, in ecjpake_zkp_write()
458 mbedtls_mpi *x, in ecjpake_kkp_write()
1068 static uint32_t x = 42; in ecjpake_lgc() local
1082 #define TEST_ASSERT(x) \ argument
Decp.c677 const char *x, const char *y) in mbedtls_ecp_point_read_string()
1792 static void ecp_comb_recode_core(unsigned char x[], size_t d, in ecp_comb_recode_core()
2053 const unsigned char x[], size_t d, in ecp_mul_comb_core()
2921 #define ECP_MPI_INIT_ARRAY(x) \ argument
/mbedtls-3.5.0/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-3.5.0/3rdparty/everest/include/everest/kremlin/internal/
Dcompat.h22 #define RETURN_OR(x) \ argument
/mbedtls-3.5.0/tests/include/test/
Dhelpers.h51 uint8_t *x; member
Dssl_helpers.h452 #define CHK(x) \ argument
/mbedtls-3.5.0/tests/include/spe/
Dcrypto_spe.h34 #define PSA_FUNCTION_NAME(x) mbedcrypto__ ## x argument
/mbedtls-3.5.0/3rdparty/everest/library/
DHacl_Curve25519.c381 uint64_t x = swap1 & (ai ^ bi); in Hacl_EC_Point_swap_conditional_step() local
560 uint64_t *x = point; in Hacl_EC_Format_scalar_of_point() local
584 uint64_t *x = p; in Hacl_EC_AddAndDouble_fmonty() local
753 uint64_t *x = nq; in Hacl_Curve25519_crypto_scalarmult() local
/mbedtls-3.5.0/3rdparty/everest/library/legacy/
DHacl_Curve25519.c426 uint64_t x = swap1 & (ai ^ bi); in Hacl_EC_Point_swap_conditional_step() local
605 uint64_t *x = point; in Hacl_EC_Format_scalar_of_point() local
629 uint64_t *x = p; in Hacl_EC_AddAndDouble_fmonty() local
798 uint64_t *x = nq; in Hacl_Curve25519_crypto_scalarmult() local
/mbedtls-3.5.0/include/mbedtls/
Dasn1.h126 #define MBEDTLS_OID_SIZE(x) (sizeof(x) - 1) argument
/mbedtls-3.5.0/programs/x509/
Dcert_write.c53 #define SET_OID(x, oid) \ argument

12