/crypto/ |
D | sm4_generic.c | 69 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
|
D | blowfish_common.c | 296 #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
|
D | blowfish_generic.c | 26 #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
|
D | sha512_generic.c | 43 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
|
D | md5.c | 35 #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
|
D | rmd160.c | 37 #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
|
D | rmd320.c | 37 #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
|
D | rmd256.c | 35 #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
|
D | rmd128.c | 35 #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
|
D | twofish_generic.c | 85 #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
|
D | fcrypt.c | 76 #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
|
D | md4.c | 42 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()
|
D | tgr192.c | 397 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
|
D | ecc.h | 44 u64 *x; member 49 #define ECC_POINT_INIT(x, y, ndigits) (struct ecc_point) { x, y, ndigits } argument
|
D | streebog_generic.c | 851 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()
|
D | gf128mul.c | 139 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()
|
D | sm3_generic.c | 29 static inline u32 p0(u32 x) in p0() 34 static inline u32 p1(u32 x) in p1()
|
D | cast5_generic.c | 404 static void key_schedule(u32 *x, u32 *z, u32 *k) in key_schedule() 483 u32 x[4]; in cast5_setkey() local
|
D | twofish_common.c | 468 #define CALC_S(a, b, c, d, i, w, x, y, z) \ argument 575 u32 x, y; in __twofish_setkey() local
|
D | xor.c | 20 #define XOR_SELECT_TEMPLATE(x) (x) argument
|
D | salsa20_generic.c | 37 u32 x[16]; in salsa20_block() local
|
D | adiantum.c | 196 u64 x = le64_to_cpu(v1->b); in le128_add() local 207 u64 x = le64_to_cpu(v1->b); in le128_sub() local
|
D | crypto_user_stat.c | 22 #define null_terminated(x) (strnlen(x, sizeof(x)) < sizeof(x)) argument
|
D | seed.c | 27 byte(const u32 x, const unsigned n) in byte()
|
/crypto/asymmetric_keys/ |
D | verify_pefile.c | 36 #define chkaddr(base, x, s) \ in pefile_parse_binary() argument
|