/mbedtls-development/3rdparty/everest/include/everest/kremlin/ |
A D | c_endianness.h | 65 # define htole16(x) (x) argument 67 # define le16toh(x) (x) argument 70 # define htole32(x) (x) argument 72 # define le32toh(x) (x) argument 75 # define htole64(x) (x) argument 77 # define le64toh(x) (x) argument 84 # define htole16(x) (x) argument 86 # define le16toh(x) (x) argument 160 uint16_t x; in load16() local 166 uint32_t x; in load32() local [all …]
|
/mbedtls-development/library/ |
A D | sha512.c | 34 #define UL64(x) x##ui64 argument 36 #define UL64(x) x##ULL argument 205 #define SHR(x,n) ((x) >> (n)) in mbedtls_internal_sha512_process() argument 206 #define ROTR(x,n) (SHR((x),(n)) | ((x) << (64 - (n)))) in mbedtls_internal_sha512_process() argument 208 #define S0(x) (ROTR(x, 1) ^ ROTR(x, 8) ^ SHR(x, 7)) in mbedtls_internal_sha512_process() argument 209 #define S1(x) (ROTR(x,19) ^ ROTR(x,61) ^ SHR(x, 6)) in mbedtls_internal_sha512_process() argument 211 #define S2(x) (ROTR(x,28) ^ ROTR(x,34) ^ ROTR(x,39)) in mbedtls_internal_sha512_process() argument 212 #define S3(x) (ROTR(x,14) ^ ROTR(x,18) ^ ROTR(x,41)) in mbedtls_internal_sha512_process() argument 214 #define F0(x,y,z) (((x) & (y)) | ((z) & ((x) | (y)))) in mbedtls_internal_sha512_process() argument 215 #define F1(x,y,z) ((z) ^ ((x) & ((y) ^ (z)))) in mbedtls_internal_sha512_process() argument [all …]
|
A D | common.h | 76 #define MBEDTLS_BYTE_0( x ) ( (uint8_t) ( ( x ) & 0xff ) ) argument 77 #define MBEDTLS_BYTE_1( x ) ( (uint8_t) ( ( ( x ) >> 8 ) & 0xff ) ) argument 78 #define MBEDTLS_BYTE_2( x ) ( (uint8_t) ( ( ( x ) >> 16 ) & 0xff ) ) argument 79 #define MBEDTLS_BYTE_3( x ) ( (uint8_t) ( ( ( x ) >> 24 ) & 0xff ) ) argument 80 #define MBEDTLS_BYTE_4( x ) ( (uint8_t) ( ( ( x ) >> 32 ) & 0xff ) ) argument 81 #define MBEDTLS_BYTE_5( x ) ( (uint8_t) ( ( ( x ) >> 40 ) & 0xff ) ) argument 82 #define MBEDTLS_BYTE_6( x ) ( (uint8_t) ( ( ( x ) >> 48 ) & 0xff ) ) argument 83 #define MBEDTLS_BYTE_7( x ) ( (uint8_t) ( ( ( x ) >> 56 ) & 0xff ) ) argument
|
A D | sha256.c | 146 #define SHR(x,n) (((x) & 0xFFFFFFFF) >> (n)) argument 147 #define ROTR(x,n) (SHR(x,n) | ((x) << (32 - (n)))) argument 149 #define S0(x) (ROTR(x, 7) ^ ROTR(x,18) ^ SHR(x, 3)) argument 150 #define S1(x) (ROTR(x,17) ^ ROTR(x,19) ^ SHR(x,10)) argument 152 #define S2(x) (ROTR(x, 2) ^ ROTR(x,13) ^ ROTR(x,22)) argument 153 #define S3(x) (ROTR(x, 6) ^ ROTR(x,11) ^ ROTR(x,25)) argument 155 #define F0(x,y,z) (((x) & (y)) | ((z) & ((x) | (y)))) argument 156 #define F1(x,y,z) ((z) ^ ((x) & ((y) ^ (z)))) argument 164 #define P(a,b,c,d,e,f,g,h,x,K) \ argument
|
A D | aria.c | 72 static inline uint32_t aria_p1( uint32_t x ) in aria_p1() 81 static inline uint32_t aria_p1( uint32_t x ) in aria_p1() 93 #define ARIA_P1(x) ARIA_P2( ARIA_P3( x ) ) argument 97 #define ARIA_P1(x) ((((x) >> 8) & 0x00FF00FF) ^ (((x) & 0x00FF00FF) << 8)) argument 107 #define ARIA_P2(x) (((x) >> 16) ^ ((x) << 16)) argument 123 static inline uint32_t aria_p3( uint32_t x ) in aria_p3() 132 static inline uint32_t aria_p3( uint32_t x ) in aria_p3() 143 static inline uint32_t aria_p3( uint32_t x ) in aria_p3() 152 #define ARIA_P3(x) ARIA_P2( ARIA_P1 ( x ) ) argument
|
A D | sha1.c | 123 #define S(x,n) (((x) << (n)) | (((x) & 0xFFFFFFFF) >> (32 - (n)))) in mbedtls_internal_sha1_process() argument 134 #define P(a,b,c,d,e,x) \ in mbedtls_internal_sha1_process() argument 147 #define F(x,y,z) ((z) ^ ((x) & ((y) ^ (z)))) in mbedtls_internal_sha1_process() argument 174 #define F(x,y,z) ((x) ^ (y) ^ (z)) in mbedtls_internal_sha1_process() argument 201 #define F(x,y,z) (((x) & (y)) | ((z) & ((x) | (y)))) in mbedtls_internal_sha1_process() argument 228 #define F(x,y,z) ((x) ^ (y) ^ (z)) in mbedtls_internal_sha1_process() argument
|
A D | md5.c | 107 #define S(x,n) \ in mbedtls_internal_md5_process() argument 122 #define F(x,y,z) ((z) ^ ((x) & ((y) ^ (z)))) in mbedtls_internal_md5_process() argument 143 #define F(x,y,z) ((y) ^ ((z) & ((x) ^ (y)))) in mbedtls_internal_md5_process() argument 164 #define F(x,y,z) ((x) ^ (y) ^ (z)) in mbedtls_internal_md5_process() argument 185 #define F(x,y,z) ((y) ^ ((x) | ~(z))) in mbedtls_internal_md5_process() argument
|
A D | ripemd160.c | 118 #define F1( x, y, z ) ( (x) ^ (y) ^ (z) ) in mbedtls_internal_ripemd160_process() argument 119 #define F2( x, y, z ) ( ( (x) & (y) ) | ( ~(x) & (z) ) ) in mbedtls_internal_ripemd160_process() argument 120 #define F3( x, y, z ) ( ( (x) | ~(y) ) ^ (z) ) in mbedtls_internal_ripemd160_process() argument 121 #define F4( x, y, z ) ( ( (x) & (z) ) | ( (y) & ~(z) ) ) in mbedtls_internal_ripemd160_process() argument 122 #define F5( x, y, z ) ( (x) ^ ( (y) | ~(z) ) ) in mbedtls_internal_ripemd160_process() argument 124 #define S( x, n ) ( ( (x) << (n) ) | ( (x) >> (32 - (n)) ) ) in mbedtls_internal_ripemd160_process() argument
|
A D | padlock.h | 56 #define MBEDTLS_PADLOCK_ALIGN16(x) (uint32_t *) (16 + ((int32_t) (x) & ~15)) argument
|
A D | aes.c | 370 #define ROTL8(x) ( ( (x) << 8 ) & 0xFFFFFFFF ) | ( (x) >> 24 ) argument 371 #define XTIME(x) ( ( (x) << 1 ) ^ ( ( (x) & 0x80 ) ? 0x1B : 0x00 ) ) argument 372 #define MUL(x,y) ( ( (x) && (y) ) ? pow[(log[(x)]+log[(y)]) % 255] : 0 ) argument 378 int i, x, y, z; in aes_gen_tables() local 462 #define ROTL8(x) ( (uint32_t)( ( x ) << 8 ) + (uint32_t)( ( x ) >> 24 ) ) argument 463 #define ROTL16(x) ( (uint32_t)( ( x ) << 16 ) + (uint32_t)( ( x ) >> 16 ) ) argument 464 #define ROTL24(x) ( (uint32_t)( ( x ) << 24 ) + (uint32_t)( ( x ) >> 8 ) ) argument
|
A D | base64.c | 183 uint32_t x; /* value accumulator */ in mbedtls_base64_decode() local
|
A D | ecjpake.c | 323 const mbedtls_mpi *x, in ecjpake_zkp_write() 421 mbedtls_mpi *x, in ecjpake_kkp_write() 1006 static uint32_t x = 42; in ecjpake_lgc() local 1021 #define TEST_ASSERT( x ) \ argument
|
A D | bignum.c | 511 static size_t mbedtls_clz( const mbedtls_mpi_uint x ) in mbedtls_clz() 853 static mbedtls_mpi_uint mpi_uint_bigendian_to_host_c( mbedtls_mpi_uint x ) in mpi_uint_bigendian_to_host_c() 868 static mbedtls_mpi_uint mpi_uint_bigendian_to_host( mbedtls_mpi_uint x ) in mpi_uint_bigendian_to_host() 1256 static unsigned ct_lt_mpi_uint( const mbedtls_mpi_uint x, in ct_lt_mpi_uint() 2074 mbedtls_mpi_uint x, y, z; in mbedtls_mpi_mod_int() local 2132 mbedtls_mpi_uint x, m0 = N->p[0]; in mpi_montg_init() local 2241 static size_t mbedtls_mpi_cf_bool_eq( size_t x, size_t y ) in mbedtls_mpi_cf_bool_eq()
|
A D | nist_kw.c | 68 unsigned char x = A[i], y = B[i]; in mbedtls_nist_kw_safer_memcmp() local
|
A D | ecp.c | 703 const char *x, const char *y ) in mbedtls_ecp_point_read_string() 1642 static void ecp_comb_recode_core( unsigned char x[], size_t d, in ecp_comb_recode_core() 1875 const unsigned char x[], size_t d, in ecp_mul_comb_core() 2751 #define ECP_MPI_INIT_ARRAY(x) \ argument
|
A D | ssl_msg.c | 1001 static size_t mbedtls_ssl_cf_mask_lt( size_t x, size_t y ) in mbedtls_ssl_cf_mask_lt() 1026 static size_t mbedtls_ssl_cf_mask_ge( size_t x, size_t y ) in mbedtls_ssl_cf_mask_ge() 1042 static size_t mbedtls_ssl_cf_bool_eq( size_t x, size_t y ) in mbedtls_ssl_cf_bool_eq()
|
A D | ecp_curves.c | 48 #define ECP_MPI_INIT_ARRAY(x) \ argument 51 #define ECP_POINT_INIT_XY_Z0(x, y) { \ argument 53 #define ECP_POINT_INIT_XY_Z1(x, y) { \ argument
|
/mbedtls-development/3rdparty/everest/library/kremlib/ |
A D | FStar_UInt64_FStar_UInt32_FStar_UInt16_FStar_UInt8.c | 15 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
|
A D | FStar_UInt128_extracted.c | 341 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-development/3rdparty/everest/include/everest/kremlin/internal/ |
A D | compat.h | 22 #define RETURN_OR(x) \ argument
|
/mbedtls-development/tests/include/test/ |
A D | macros.h | 232 #define MIN( x, y ) ( ( x ) < ( y ) ? ( x ) : ( y ) ) argument 241 #define MAX( x, y ) ( ( x ) > ( y ) ? ( x ) : ( y ) ) argument
|
/mbedtls-development/tests/include/spe/ |
A D | crypto_spe.h | 23 #define PSA_FUNCTION_NAME(x) mbedcrypto__ ## x argument
|
/mbedtls-development/3rdparty/everest/library/ |
A D | Hacl_Curve25519.c | 381 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-development/3rdparty/everest/library/legacy/ |
A D | Hacl_Curve25519.c | 426 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-development/include/mbedtls/ |
A D | asn1.h | 125 #define MBEDTLS_OID_SIZE(x) (sizeof(x) - 1) argument
|