Home
last modified time | relevance | path

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

12

/crypto/
Dsm4_generic.c69 static u32 sm4_t_non_lin_sub(u32 x) in sm4_t_non_lin_sub()
80 static u32 sm4_key_lin_sub(u32 x) in sm4_key_lin_sub()
86 static u32 sm4_enc_lin_sub(u32 x) in sm4_enc_lin_sub()
91 static u32 sm4_key_sub(u32 x) in sm4_key_sub()
96 static u32 sm4_enc_sub(u32 x) in sm4_enc_sub()
101 static u32 sm4_round(const u32 *x, const u32 rk) in sm4_round()
174 u32 x[4], i, t; in sm4_do_crypt() local
Dblowfish_common.c296 #define GET32_3(x) (((x) & 0xff)) argument
297 #define GET32_2(x) (((x) >> (8)) & (0xff)) argument
298 #define GET32_1(x) (((x) >> (16)) & (0xff)) argument
299 #define GET32_0(x) (((x) >> (24)) & (0xff)) argument
301 #define bf_F(x) (((S[GET32_0(x)] + S[256 + GET32_1(x)]) ^ \ argument
Dblowfish_generic.c26 #define GET32_3(x) (((x) & 0xff)) argument
27 #define GET32_2(x) (((x) >> (8)) & (0xff)) argument
28 #define GET32_1(x) (((x) >> (16)) & (0xff)) argument
29 #define GET32_0(x) (((x) >> (24)) & (0xff)) argument
31 #define bf_F(x) (((S[GET32_0(x)] + S[256 + GET32_1(x)]) ^ \ argument
Dsha512_generic.c43 static inline u64 Ch(u64 x, u64 y, u64 z) in Ch()
48 static inline u64 Maj(u64 x, u64 y, u64 z) in Maj()
83 #define e0(x) (ror64(x,28) ^ ror64(x,34) ^ ror64(x,39)) argument
84 #define e1(x) (ror64(x,14) ^ ror64(x,18) ^ ror64(x,41)) argument
85 #define s0(x) (ror64(x, 1) ^ ror64(x, 8) ^ (x >> 7)) argument
86 #define s1(x) (ror64(x,19) ^ ror64(x,61) ^ (x >> 6)) argument
Dmd5.c35 #define F1(x, y, z) (z ^ (x & (y ^ z))) argument
36 #define F2(x, y, z) F1(z, x, y) argument
37 #define F3(x, y, z) (x ^ y ^ z) argument
38 #define F4(x, y, z) (y ^ (x | ~z)) argument
40 #define MD5STEP(f, w, x, y, z, in, s) \ argument
Drmd160.c37 #define F1(x, y, z) (x ^ y ^ z) /* XOR */ argument
38 #define F2(x, y, z) (z ^ (x & (y ^ z))) /* x ? y : z */ argument
39 #define F3(x, y, z) ((x | ~y) ^ z) argument
40 #define F4(x, y, z) (y ^ (z & (x ^ y))) /* z ? x : y */ argument
41 #define F5(x, y, z) (x ^ (y | ~z)) argument
43 #define ROUND(a, b, c, d, e, f, k, x, s) { \ argument
Drmd320.c37 #define F1(x, y, z) (x ^ y ^ z) /* XOR */ argument
38 #define F2(x, y, z) (z ^ (x & (y ^ z))) /* x ? y : z */ argument
39 #define F3(x, y, z) ((x | ~y) ^ z) argument
40 #define F4(x, y, z) (y ^ (z & (x ^ y))) /* z ? x : y */ argument
41 #define F5(x, y, z) (x ^ (y | ~z)) argument
43 #define ROUND(a, b, c, d, e, f, k, x, s) { \ argument
Drmd256.c35 #define F1(x, y, z) (x ^ y ^ z) /* XOR */ argument
36 #define F2(x, y, z) (z ^ (x & (y ^ z))) /* x ? y : z */ argument
37 #define F3(x, y, z) ((x | ~y) ^ z) argument
38 #define F4(x, y, z) (y ^ (z & (x ^ y))) /* z ? x : y */ argument
40 #define ROUND(a, b, c, d, f, k, x, s) { \ argument
Drmd128.c35 #define F1(x, y, z) (x ^ y ^ z) /* XOR */ argument
36 #define F2(x, y, z) (z ^ (x & (y ^ z))) /* x ? y : z */ argument
37 #define F3(x, y, z) ((x | ~y) ^ z) argument
38 #define F4(x, y, z) (y ^ (z & (x ^ y))) /* z ? x : y */ argument
40 #define ROUND(a, b, c, d, f, k, x, s) { \ argument
Dtwofish_generic.c85 #define INPACK(n, x, m) \ argument
88 #define OUTUNPACK(n, x, m) \ argument
105 u32 x, y; in twofish_encrypt() local
142 u32 x, y; in twofish_decrypt() local
Dfcrypt.c76 #define Z(x) cpu_to_be32(x << 3) argument
113 #define Z(x) cpu_to_be32(((x & 0x1f) << 27) | (x >> 5)) argument
150 #define Z(x) cpu_to_be32(x << 11) argument
187 #define Z(x) cpu_to_be32(x << 19) argument
Dmd4.c42 static inline u32 lshift(u32 x, unsigned int s) in lshift()
48 static inline u32 F(u32 x, u32 y, u32 z) in F()
53 static inline u32 G(u32 x, u32 y, u32 z) in G()
58 static inline u32 H(u32 x, u32 y, u32 z) in H()
Dtgr192.c397 static void tgr192_round(u64 * ra, u64 * rb, u64 * rc, u64 x, int mul) in tgr192_round()
416 static void tgr192_pass(u64 * ra, u64 * rb, u64 * rc, u64 * x, int mul) in tgr192_pass()
437 static void tgr192_key_schedule(u64 * x) in tgr192_key_schedule()
465 u64 x[8]; in tgr192_transform() local
Decc.h44 u64 *x; member
49 #define ECC_POINT_INIT(x, y, ndigits) (struct ecc_point) { x, y, ndigits } argument
Dstreebog_generic.c851 static void streebog_xor(const struct streebog_uint512 *x, in streebog_xor()
865 static void streebog_xlps(const struct streebog_uint512 *x, in streebog_xlps()
933 static void streebog_add512(const struct streebog_uint512 *x, in streebog_add512()
Dgf128mul.c139 static void gf128mul_x8_lle(be128 *x) in gf128mul_x8_lle()
149 static void gf128mul_x8_bbe(be128 *x) in gf128mul_x8_bbe()
159 void gf128mul_x8_ble(le128 *r, const le128 *x) in gf128mul_x8_ble()
Dsm3_generic.c29 static inline u32 p0(u32 x) in p0()
34 static inline u32 p1(u32 x) in p1()
Dcast5_generic.c404 static void key_schedule(u32 *x, u32 *z, u32 *k) in key_schedule()
483 u32 x[4]; in cast5_setkey() local
Dtwofish_common.c468 #define CALC_S(a, b, c, d, i, w, x, y, z) \ argument
575 u32 x, y; in __twofish_setkey() local
Dxor.c20 #define XOR_SELECT_TEMPLATE(x) (x) argument
Dsalsa20_generic.c37 u32 x[16]; in salsa20_block() local
Dadiantum.c196 u64 x = le64_to_cpu(v1->b); in le128_add() local
207 u64 x = le64_to_cpu(v1->b); in le128_sub() local
Dcrypto_user_stat.c22 #define null_terminated(x) (strnlen(x, sizeof(x)) < sizeof(x)) argument
Dseed.c27 byte(const u32 x, const unsigned n) in byte()
/crypto/asymmetric_keys/
Dverify_pefile.c36 #define chkaddr(base, x, s) \ in pefile_parse_binary() argument

12