Home
last modified time | relevance | path

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

12345678910>>...13

/optee_os/core/lib/libtomcrypt/src/hashes/whirl/
A Dwhirltab.c87 #define SB0(x) sbox0[x] argument
88 #define SB1(x) ROR64c(sbox0[x], 8) argument
89 #define SB2(x) ROR64c(sbox0[x], 16) argument
98 #define SB0(x) sbox0[x] argument
99 #define SB1(x) sbox1[x] argument
100 #define SB2(x) sbox2[x] argument
101 #define SB3(x) sbox3[x] argument
102 #define SB4(x) sbox4[x] argument
103 #define SB5(x) sbox5[x] argument
104 #define SB6(x) sbox6[x] argument
[all …]
/optee_os/core/lib/libtomcrypt/src/headers/
A Dtomcrypt_argchk.h20 #define LTC_ARGCHK(x) do { if (!(x)) { crypt_argchk(#x, __FILE__, __LINE__); } }while(0) argument
21 #define LTC_ARGCHKVD(x) do { if (!(x)) { crypt_argchk(#x, __FILE__, __LINE__); } }while(0) argument
26 #define LTC_ARGCHK(x) assert((x)) argument
27 #define LTC_ARGCHKVD(x) LTC_ARGCHK(x) argument
31 #define LTC_ARGCHK(x) if (!(x)) { fprintf(stderr, "\nwarning: ARGCHK failed at %s:%d\n", __FILE__, … argument
32 #define LTC_ARGCHKVD(x) LTC_ARGCHK(x) argument
36 #define LTC_ARGCHK(x) LTC_UNUSED_PARAM(x) argument
37 #define LTC_ARGCHKVD(x) LTC_ARGCHK(x) argument
41 #define LTC_ARGCHK(x) if (!(x)) return CRYPT_INVALID_ARG; argument
42 #define LTC_ARGCHKVD(x) if (!(x)) return; argument
A Dtomcrypt_macros.h80 #define LOAD32H(x, y) \ argument
144 #define STORE32L(x, y) \ argument
147 #define LOAD32L(x, y) \ argument
250 #define ROR(x,n) _lrotr(x,n) argument
251 #define ROL(x,n) _lrotl(x,n) argument
252 #define RORc(x,n) _lrotr(x,n) argument
253 #define ROLc(x,n) _lrotl(x,n) argument
403 #define ROL64(x, y) \ argument
407 #define ROR64(x, y) \ argument
411 #define ROL64c(x, y) \ argument
[all …]
/optee_os/core/lib/libtomcrypt/src/ciphers/aes/
A Daes_tab.c307 #define Te0(x) TE0[x] argument
308 #define Te1(x) RORc(TE0[x], 8) argument
312 #define Td0(x) TD0[x] argument
324 #define Te0(x) TE0[x] argument
325 #define Te1(x) TE1[x] argument
326 #define Te2(x) TE2[x] argument
327 #define Te3(x) TE3[x] argument
329 #define Td0(x) TD0[x] argument
330 #define Td1(x) TD1[x] argument
331 #define Td2(x) TD2[x] argument
[all …]
/optee_os/core/lib/libfdt/include/
A Dlibfdt_env.h29 #define EXTRACT_BYTE(x, n) ((unsigned long long)((uint8_t *)&x)[n]) argument
30 #define CPU_TO_FDT16(x) ((EXTRACT_BYTE(x, 0) << 8) | EXTRACT_BYTE(x, 1)) argument
31 #define CPU_TO_FDT32(x) ((EXTRACT_BYTE(x, 0) << 24) | (EXTRACT_BYTE(x, 1) << 16) | \ argument
33 #define CPU_TO_FDT64(x) ((EXTRACT_BYTE(x, 0) << 56) | (EXTRACT_BYTE(x, 1) << 48) | \ argument
38 static inline uint16_t fdt16_to_cpu(fdt16_t x) in fdt16_to_cpu()
42 static inline fdt16_t cpu_to_fdt16(uint16_t x) in cpu_to_fdt16()
47 static inline uint32_t fdt32_to_cpu(fdt32_t x) in fdt32_to_cpu()
51 static inline fdt32_t cpu_to_fdt32(uint32_t x) in cpu_to_fdt32()
56 static inline uint64_t fdt64_to_cpu(fdt64_t x) in fdt64_to_cpu()
60 static inline fdt64_t cpu_to_fdt64(uint64_t x) in cpu_to_fdt64()
/optee_os/core/include/drivers/
A Dls_dspi.h16 #define DSPI_CTAR_FMSZ(x) (((x) & 0x0F) << 27) /* Frame Size [1-4] */ argument
20 #define DSPI_CTAR_PCS_SCK(x) (((x) & 0x03) << 22) /* PCSSCK [8-9] */ argument
21 #define DSPI_CTAR_PA_SCK(x) (((x) & 0x03) << 20) /* PASC [10-11] */ argument
22 #define DSPI_CTAR_P_DT(x) (((x) & 0x03) << 18) /* PDT [12-13] */ argument
23 #define DSPI_CTAR_BRP(x) \ argument
25 #define DSPI_CTAR_CS_SCK(x) (((x) & 0x0F) << 12) /* CSSCK [16-19] */ argument
26 #define DSPI_CTAR_A_SCK(x) (((x) & 0x0F) << 8) /* ASC [20-23] */ argument
27 #define DSPI_CTAR_A_DT(x) (((x) & 0x0F) << 4) /* DT [24-27] */ argument
28 #define DSPI_CTAR_BR(x) ((x) & 0x0F) /* Baud Rate Scaler [28-31] */ argument
A Datmel_shdwc.h27 #define AT91_SHDW_WKUPDBC(x) (SHIFT_U32((x), AT91_SHDW_WKUPDBC_SHIFT) & \ argument
35 #define AT91_SHDW_WKUPIS(x) (BIT32((x) + AT91_SHDW_WKUPIS_SHIFT)) argument
40 #define AT91_SHDW_WKUPEN(x) (BIT32(x) & AT91_SHDW_WKUPEN_MASK) argument
43 #define AT91_SHDW_WKUPT(x) (BIT32((x) + AT91_SHDW_WKUPT_SHIFT)) argument
/optee_os/core/lib/libtomcrypt/src/hashes/sha2/
A Dsha512.c82 #define Ch(x,y,z) (z ^ (x & (y ^ z))) argument
83 #define Maj(x,y,z) (((x | y) & z) | (x & y)) argument
84 #define S(x, n) ROR64c(x, n) argument
85 #define R(x, n) (((x)&CONST64(0xFFFFFFFFFFFFFFFF))>>((ulong64)n)) argument
86 #define Sigma0(x) (S(x, 28) ^ S(x, 34) ^ S(x, 39)) argument
87 #define Sigma1(x) (S(x, 14) ^ S(x, 18) ^ S(x, 41)) argument
88 #define Gamma0(x) (S(x, 1) ^ S(x, 8) ^ R(x, 7)) argument
89 #define Gamma1(x) (S(x, 19) ^ S(x, 61) ^ R(x, 6)) argument
A Dsha256.c57 #define Ch(x,y,z) (z ^ (x & (y ^ z))) argument
58 #define Maj(x,y,z) (((x | y) & z) | (x & y)) argument
59 #define S(x, n) RORc((x),(n)) argument
60 #define R(x, n) (((x)&0xFFFFFFFFUL)>>(n)) argument
61 #define Sigma0(x) (S(x, 2) ^ S(x, 13) ^ S(x, 22)) argument
62 #define Sigma1(x) (S(x, 6) ^ S(x, 11) ^ S(x, 25)) argument
63 #define Gamma0(x) (S(x, 7) ^ S(x, 18) ^ R(x, 3)) argument
64 #define Gamma1(x) (S(x, 17) ^ S(x, 19) ^ R(x, 10)) argument
/optee_os/core/lib/libtomcrypt/src/hashes/
A Drmd128.c44 #define F(x, y, z) ((x) ^ (y) ^ (z)) argument
45 #define G(x, y, z) (((x) & (y)) | (~(x) & (z))) argument
46 #define H(x, y, z) (((x) | ~(y)) ^ (z)) argument
50 #define FF(a, b, c, d, x, s) \ argument
54 #define GG(a, b, c, d, x, s) \ argument
58 #define HH(a, b, c, d, x, s) \ argument
62 #define II(a, b, c, d, x, s) \ argument
66 #define FFF(a, b, c, d, x, s) \ argument
70 #define GGG(a, b, c, d, x, s) \ argument
74 #define HHH(a, b, c, d, x, s) \ argument
[all …]
A Drmd256.c38 #define F(x, y, z) ((x) ^ (y) ^ (z)) argument
39 #define G(x, y, z) (((x) & (y)) | (~(x) & (z))) argument
40 #define H(x, y, z) (((x) | ~(y)) ^ (z)) argument
44 #define FF(a, b, c, d, x, s) \ argument
48 #define GG(a, b, c, d, x, s) \ argument
52 #define HH(a, b, c, d, x, s) \ argument
56 #define II(a, b, c, d, x, s) \ argument
60 #define FFF(a, b, c, d, x, s) \ argument
64 #define GGG(a, b, c, d, x, s) \ argument
68 #define HHH(a, b, c, d, x, s) \ argument
[all …]
A Drmd160.c44 #define F(x, y, z) ((x) ^ (y) ^ (z)) argument
51 #define FF(a, b, c, d, e, x, s) \ argument
56 #define GG(a, b, c, d, e, x, s) \ argument
61 #define HH(a, b, c, d, e, x, s) \ argument
66 #define II(a, b, c, d, e, x, s) \ argument
71 #define JJ(a, b, c, d, e, x, s) \ argument
76 #define FFF(a, b, c, d, e, x, s) \ argument
81 #define GGG(a, b, c, d, e, x, s) \ argument
86 #define HHH(a, b, c, d, e, x, s) \ argument
91 #define III(a, b, c, d, e, x, s) \ argument
[all …]
A Drmd320.c39 #define F(x, y, z) ((x) ^ (y) ^ (z)) argument
46 #define FF(a, b, c, d, e, x, s) \ argument
51 #define GG(a, b, c, d, e, x, s) \ argument
56 #define HH(a, b, c, d, e, x, s) \ argument
61 #define II(a, b, c, d, e, x, s) \ argument
66 #define JJ(a, b, c, d, e, x, s) \ argument
71 #define FFF(a, b, c, d, e, x, s) \ argument
76 #define GGG(a, b, c, d, e, x, s) \ argument
81 #define HHH(a, b, c, d, e, x, s) \ argument
86 #define III(a, b, c, d, e, x, s) \ argument
[all …]
A Dmd4.c51 #define F(x, y, z) (z ^ (x & (y ^ z))) argument
52 #define G(x, y, z) ((x & y) | (z & (x | y))) argument
53 #define H(x, y, z) ((x) ^ (y) ^ (z)) argument
56 #define ROTATE_LEFT(x, n) ROLc(x, n) argument
61 #define FF(a, b, c, d, x, s) { \ argument
65 #define GG(a, b, c, d, x, s) { \ argument
69 #define HH(a, b, c, d, x, s) { \ argument
80 ulong32 x[16], a, b, c, d; in _md4_compress() local
/optee_os/lib/libutils/isoc/arch/arm/
A Dsetjmp_a32.S44 #define SYM(x) CONCAT (__USER_LABEL_PREFIX__, x) argument
47 #define TYPE(x) .type SYM(x),function argument
48 #define SIZE(x) .size SYM(x), . - SYM(x) argument
50 #define TYPE(x) argument
51 #define SIZE(x) argument
/optee_os/out/arm/export-ta_arm32/host_include/
A Dutil.h44 #define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0])) argument
68 #define ROUNDUP_DIV(x, y) (__extension__({ \ argument
82 #define DIV_ROUND_UP(x, y) (((x) + (y) - 1) / (y)) argument
85 #define UDIV_ROUND_NEAREST(x, y) \ argument
91 #define ROUNDDOWN(x, y) (((x) / (y)) * (y)) argument
98 #define IS_ALIGNED(x, a) (((x) & ((a) - 1)) == 0) argument
99 #define IS_ALIGNED_WITH_TYPE(x, type) \ argument
105 #define TO_STR(x) _TO_STR(x) argument
106 #define _TO_STR(x) #x argument
108 #define CONCAT(x, y) _CONCAT(x, y) argument
[all …]
/optee_os/out/arm/export-ta_arm64/include/
A Dutil.h44 #define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0])) argument
68 #define ROUNDUP_DIV(x, y) (__extension__({ \ argument
82 #define DIV_ROUND_UP(x, y) (((x) + (y) - 1) / (y)) argument
85 #define UDIV_ROUND_NEAREST(x, y) \ argument
91 #define ROUNDDOWN(x, y) (((x) / (y)) * (y)) argument
98 #define IS_ALIGNED(x, a) (((x) & ((a) - 1)) == 0) argument
99 #define IS_ALIGNED_WITH_TYPE(x, type) \ argument
105 #define TO_STR(x) _TO_STR(x) argument
106 #define _TO_STR(x) #x argument
108 #define CONCAT(x, y) _CONCAT(x, y) argument
[all …]
/optee_os/out/arm/export-ta_arm64/host_include/
A Dutil.h44 #define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0])) argument
68 #define ROUNDUP_DIV(x, y) (__extension__({ \ argument
82 #define DIV_ROUND_UP(x, y) (((x) + (y) - 1) / (y)) argument
85 #define UDIV_ROUND_NEAREST(x, y) \ argument
91 #define ROUNDDOWN(x, y) (((x) / (y)) * (y)) argument
98 #define IS_ALIGNED(x, a) (((x) & ((a) - 1)) == 0) argument
99 #define IS_ALIGNED_WITH_TYPE(x, type) \ argument
105 #define TO_STR(x) _TO_STR(x) argument
106 #define _TO_STR(x) #x argument
108 #define CONCAT(x, y) _CONCAT(x, y) argument
[all …]
/optee_os/lib/libutils/ext/include/
A Dutil.h44 #define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0])) argument
68 #define ROUNDUP_DIV(x, y) (__extension__({ \ argument
82 #define DIV_ROUND_UP(x, y) (((x) + (y) - 1) / (y)) argument
85 #define UDIV_ROUND_NEAREST(x, y) \ argument
91 #define ROUNDDOWN(x, y) (((x) / (y)) * (y)) argument
98 #define IS_ALIGNED(x, a) (((x) & ((a) - 1)) == 0) argument
99 #define IS_ALIGNED_WITH_TYPE(x, type) \ argument
105 #define TO_STR(x) _TO_STR(x) argument
106 #define _TO_STR(x) #x argument
108 #define CONCAT(x, y) _CONCAT(x, y) argument
[all …]
/optee_os/out/arm/export-ta_arm32/include/
A Dutil.h44 #define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0])) argument
68 #define ROUNDUP_DIV(x, y) (__extension__({ \ argument
82 #define DIV_ROUND_UP(x, y) (((x) + (y) - 1) / (y)) argument
85 #define UDIV_ROUND_NEAREST(x, y) \ argument
91 #define ROUNDDOWN(x, y) (((x) / (y)) * (y)) argument
98 #define IS_ALIGNED(x, a) (((x) & ((a) - 1)) == 0) argument
99 #define IS_ALIGNED_WITH_TYPE(x, type) \ argument
105 #define TO_STR(x) _TO_STR(x) argument
106 #define _TO_STR(x) #x argument
108 #define CONCAT(x, y) _CONCAT(x, y) argument
[all …]
/optee_os/core/include/kernel/
A Dtee_misc.h14 #define TEE_B2HS_HSBUF_SIZE(x) ((x) * 2 + 1) argument
15 #define TEE_HS2B_BBUF_SIZE(x) ((x + 1) >> 1) argument
/optee_os/lib/libutils/isoc/
A Dbget.h23 #define _(x) x /* If compiler knows prototypes */ argument
25 #define _(x) () /* It it doesn't */ argument
/optee_os/core/lib/libtomcrypt/src/pk/asn1/der/printable_string/
A Dder_length_printable_string.c100 int x; in der_printable_char_encode() local
111 int x; in der_printable_value_decode() local
129 unsigned long x; in der_length_printable_string() local
/optee_os/core/lib/libtomcrypt/src/pk/asn1/der/teletex_string/
A Dder_length_teletex_string.c144 int x; in der_teletex_char_encode() local
155 int x; in der_teletex_value_decode() local
173 unsigned long x; in der_length_teletex_string() local
/optee_os/core/lib/libtomcrypt/src/pk/asn1/der/ia5/
A Dder_length_ia5_string.c128 int x; in der_ia5_char_encode() local
139 int x; in der_ia5_value_decode() local
157 unsigned long x; in der_length_ia5_string() local

Completed in 29 milliseconds

12345678910>>...13