Home
last modified time | relevance | path

Searched refs:K2 (Results 1 – 10 of 10) sorted by relevance

/linux-2.6.39/lib/
Dhalfmd4.c19 #define K2 013240474631UL macro
40 ROUND(G, a, b, c, d, in[1] + K2, 3); in half_md4_transform()
41 ROUND(G, d, a, b, c, in[3] + K2, 5); in half_md4_transform()
42 ROUND(G, c, d, a, b, in[5] + K2, 9); in half_md4_transform()
43 ROUND(G, b, c, d, a, in[7] + K2, 13); in half_md4_transform()
44 ROUND(G, a, b, c, d, in[0] + K2, 3); in half_md4_transform()
45 ROUND(G, d, a, b, c, in[2] + K2, 5); in half_md4_transform()
46 ROUND(G, c, d, a, b, in[4] + K2, 9); in half_md4_transform()
47 ROUND(G, b, c, d, a, in[6] + K2, 13); in half_md4_transform()
Dsha1.c19 #define K2 0x6ED9EBA1L /* Rounds 20-39: sqrt(3) * 2^30 */ macro
61 t = f2(b, c, d) + K2 + rol32(a, 5) + e + W[i]; in sha_transform()
/linux-2.6.39/crypto/
Danubis.c493 u32 K0, K1, K2, K3; in anubis_setkey() local
499 K2 = T4[(kappa[N - 1] >> 8) & 0xff]; in anubis_setkey()
512 K2 = T4[(kappa[i] >> 8) & 0xff] ^ in anubis_setkey()
513 (T5[(K2 >> 24) ] & 0xff000000U) ^ in anubis_setkey()
514 (T5[(K2 >> 16) & 0xff] & 0x00ff0000U) ^ in anubis_setkey()
515 (T5[(K2 >> 8) & 0xff] & 0x0000ff00U) ^ in anubis_setkey()
516 (T5[(K2 ) & 0xff] & 0x000000ffU); in anubis_setkey()
526 ctx->E[r][2] = K2; in anubis_setkey()
Drmd128.c32 #define K2 RMD_K2 macro
85 ROUND(aa, bb, cc, dd, F2, K2, in[7], 7); in rmd128_transform()
86 ROUND(dd, aa, bb, cc, F2, K2, in[4], 6); in rmd128_transform()
87 ROUND(cc, dd, aa, bb, F2, K2, in[13], 8); in rmd128_transform()
88 ROUND(bb, cc, dd, aa, F2, K2, in[1], 13); in rmd128_transform()
89 ROUND(aa, bb, cc, dd, F2, K2, in[10], 11); in rmd128_transform()
90 ROUND(dd, aa, bb, cc, F2, K2, in[6], 9); in rmd128_transform()
91 ROUND(cc, dd, aa, bb, F2, K2, in[15], 7); in rmd128_transform()
92 ROUND(bb, cc, dd, aa, F2, K2, in[3], 15); in rmd128_transform()
93 ROUND(aa, bb, cc, dd, F2, K2, in[12], 7); in rmd128_transform()
[all …]
Drmd256.c32 #define K2 RMD_K2 macro
106 ROUND(aa, bb, cc, dd, F2, K2, in[7], 7); in rmd256_transform()
107 ROUND(dd, aa, bb, cc, F2, K2, in[4], 6); in rmd256_transform()
108 ROUND(cc, dd, aa, bb, F2, K2, in[13], 8); in rmd256_transform()
109 ROUND(bb, cc, dd, aa, F2, K2, in[1], 13); in rmd256_transform()
110 ROUND(aa, bb, cc, dd, F2, K2, in[10], 11); in rmd256_transform()
111 ROUND(dd, aa, bb, cc, F2, K2, in[6], 9); in rmd256_transform()
112 ROUND(cc, dd, aa, bb, F2, K2, in[15], 7); in rmd256_transform()
113 ROUND(bb, cc, dd, aa, F2, K2, in[3], 15); in rmd256_transform()
114 ROUND(aa, bb, cc, dd, F2, K2, in[12], 7); in rmd256_transform()
[all …]
Drmd160.c32 #define K2 RMD_K2 macro
91 ROUND(ee, aa, bb, cc, dd, F2, K2, in[7], 7); in rmd160_transform()
92 ROUND(dd, ee, aa, bb, cc, F2, K2, in[4], 6); in rmd160_transform()
93 ROUND(cc, dd, ee, aa, bb, F2, K2, in[13], 8); in rmd160_transform()
94 ROUND(bb, cc, dd, ee, aa, F2, K2, in[1], 13); in rmd160_transform()
95 ROUND(aa, bb, cc, dd, ee, F2, K2, in[10], 11); in rmd160_transform()
96 ROUND(ee, aa, bb, cc, dd, F2, K2, in[6], 9); in rmd160_transform()
97 ROUND(dd, ee, aa, bb, cc, F2, K2, in[15], 7); in rmd160_transform()
98 ROUND(cc, dd, ee, aa, bb, F2, K2, in[3], 15); in rmd160_transform()
99 ROUND(bb, cc, dd, ee, aa, F2, K2, in[12], 7); in rmd160_transform()
[all …]
Drmd320.c32 #define K2 RMD_K2 macro
112 ROUND(ee, aa, bb, cc, dd, F2, K2, in[7], 7); in rmd320_transform()
113 ROUND(dd, ee, aa, bb, cc, F2, K2, in[4], 6); in rmd320_transform()
114 ROUND(cc, dd, ee, aa, bb, F2, K2, in[13], 8); in rmd320_transform()
115 ROUND(bb, cc, dd, ee, aa, F2, K2, in[1], 13); in rmd320_transform()
116 ROUND(aa, bb, cc, dd, ee, F2, K2, in[10], 11); in rmd320_transform()
117 ROUND(ee, aa, bb, cc, dd, F2, K2, in[6], 9); in rmd320_transform()
118 ROUND(dd, ee, aa, bb, cc, F2, K2, in[15], 7); in rmd320_transform()
119 ROUND(cc, dd, ee, aa, bb, F2, K2, in[3], 15); in rmd320_transform()
120 ROUND(bb, cc, dd, ee, aa, F2, K2, in[12], 7); in rmd320_transform()
[all …]
Dkhazad.c763 u64 K2, K1; in khazad_setkey() local
766 K2 = ((u64)be32_to_cpu(key[0]) << 32) | be32_to_cpu(key[1]); in khazad_setkey()
779 c[r] ^ K2; in khazad_setkey()
780 K2 = K1; in khazad_setkey()
/linux-2.6.39/drivers/char/
Drandom.c1336 #define K2 013240474631UL macro
1360 ROUND(G, a, b, c, d, in[ 1] + K2, 3); in twothirdsMD4Transform()
1361 ROUND(G, d, a, b, c, in[ 3] + K2, 5); in twothirdsMD4Transform()
1362 ROUND(G, c, d, a, b, in[ 5] + K2, 9); in twothirdsMD4Transform()
1363 ROUND(G, b, c, d, a, in[ 7] + K2, 13); in twothirdsMD4Transform()
1364 ROUND(G, a, b, c, d, in[ 9] + K2, 3); in twothirdsMD4Transform()
1365 ROUND(G, d, a, b, c, in[11] + K2, 5); in twothirdsMD4Transform()
1366 ROUND(G, c, d, a, b, in[ 0] + K2, 9); in twothirdsMD4Transform()
1367 ROUND(G, b, c, d, a, in[ 2] + K2, 13); in twothirdsMD4Transform()
1368 ROUND(G, a, b, c, d, in[ 4] + K2, 3); in twothirdsMD4Transform()
[all …]
/linux-2.6.39/drivers/ata/
DKconfig262 tristate "ServerWorks Frodo / Apple K2 SATA support"
265 This option enables support for Broadcom/Serverworks/Apple K2