Home
last modified time | relevance | path

Searched refs:K1 (Results 1 – 6 of 6) sorted by relevance

/crypto/
Dkhazad.c763 u64 K2, K1; in khazad_setkey() local
767 K1 = ((u64)be32_to_cpu(key[2]) << 32) | be32_to_cpu(key[3]); in khazad_setkey()
771 ctx->E[r] = T0[(int)(K1 >> 56) ] ^ in khazad_setkey()
772 T1[(int)(K1 >> 48) & 0xff] ^ in khazad_setkey()
773 T2[(int)(K1 >> 40) & 0xff] ^ in khazad_setkey()
774 T3[(int)(K1 >> 32) & 0xff] ^ in khazad_setkey()
775 T4[(int)(K1 >> 24) & 0xff] ^ in khazad_setkey()
776 T5[(int)(K1 >> 16) & 0xff] ^ in khazad_setkey()
777 T6[(int)(K1 >> 8) & 0xff] ^ in khazad_setkey()
778 T7[(int)(K1 ) & 0xff] ^ in khazad_setkey()
[all …]
Danubis.c493 u32 K0, K1, K2, K3; in anubis_setkey() local
498 K1 = T4[(kappa[N - 1] >> 16) & 0xff]; in anubis_setkey()
507 K1 = T4[(kappa[i] >> 16) & 0xff] ^ in anubis_setkey()
508 (T5[(K1 >> 24) ] & 0xff000000U) ^ in anubis_setkey()
509 (T5[(K1 >> 16) & 0xff] & 0x00ff0000U) ^ in anubis_setkey()
510 (T5[(K1 >> 8) & 0xff] & 0x0000ff00U) ^ in anubis_setkey()
511 (T5[(K1 ) & 0xff] & 0x000000ffU); in anubis_setkey()
525 ctx->E[r][1] = K1; in anubis_setkey()
Drmd256.c26 #define K1 RMD_K1 macro
62 ROUND(aa, bb, cc, dd, F1, K1, in[0], 11); in rmd256_transform()
63 ROUND(dd, aa, bb, cc, F1, K1, in[1], 14); in rmd256_transform()
64 ROUND(cc, dd, aa, bb, F1, K1, in[2], 15); in rmd256_transform()
65 ROUND(bb, cc, dd, aa, F1, K1, in[3], 12); in rmd256_transform()
66 ROUND(aa, bb, cc, dd, F1, K1, in[4], 5); in rmd256_transform()
67 ROUND(dd, aa, bb, cc, F1, K1, in[5], 8); in rmd256_transform()
68 ROUND(cc, dd, aa, bb, F1, K1, in[6], 7); in rmd256_transform()
69 ROUND(bb, cc, dd, aa, F1, K1, in[7], 9); in rmd256_transform()
70 ROUND(aa, bb, cc, dd, F1, K1, in[8], 11); in rmd256_transform()
[all …]
Drmd128.c26 #define K1 RMD_K1 macro
62 ROUND(aa, bb, cc, dd, F1, K1, in[0], 11); in rmd128_transform()
63 ROUND(dd, aa, bb, cc, F1, K1, in[1], 14); in rmd128_transform()
64 ROUND(cc, dd, aa, bb, F1, K1, in[2], 15); in rmd128_transform()
65 ROUND(bb, cc, dd, aa, F1, K1, in[3], 12); in rmd128_transform()
66 ROUND(aa, bb, cc, dd, F1, K1, in[4], 5); in rmd128_transform()
67 ROUND(dd, aa, bb, cc, F1, K1, in[5], 8); in rmd128_transform()
68 ROUND(cc, dd, aa, bb, F1, K1, in[6], 7); in rmd128_transform()
69 ROUND(bb, cc, dd, aa, F1, K1, in[7], 9); in rmd128_transform()
70 ROUND(aa, bb, cc, dd, F1, K1, in[8], 11); in rmd128_transform()
[all …]
Drmd160.c26 #define K1 RMD_K1 macro
68 ROUND(aa, bb, cc, dd, ee, F1, K1, in[0], 11); in rmd160_transform()
69 ROUND(ee, aa, bb, cc, dd, F1, K1, in[1], 14); in rmd160_transform()
70 ROUND(dd, ee, aa, bb, cc, F1, K1, in[2], 15); in rmd160_transform()
71 ROUND(cc, dd, ee, aa, bb, F1, K1, in[3], 12); in rmd160_transform()
72 ROUND(bb, cc, dd, ee, aa, F1, K1, in[4], 5); in rmd160_transform()
73 ROUND(aa, bb, cc, dd, ee, F1, K1, in[5], 8); in rmd160_transform()
74 ROUND(ee, aa, bb, cc, dd, F1, K1, in[6], 7); in rmd160_transform()
75 ROUND(dd, ee, aa, bb, cc, F1, K1, in[7], 9); in rmd160_transform()
76 ROUND(cc, dd, ee, aa, bb, F1, K1, in[8], 11); in rmd160_transform()
[all …]
Drmd320.c26 #define K1 RMD_K1 macro
68 ROUND(aa, bb, cc, dd, ee, F1, K1, in[0], 11); in rmd320_transform()
69 ROUND(ee, aa, bb, cc, dd, F1, K1, in[1], 14); in rmd320_transform()
70 ROUND(dd, ee, aa, bb, cc, F1, K1, in[2], 15); in rmd320_transform()
71 ROUND(cc, dd, ee, aa, bb, F1, K1, in[3], 12); in rmd320_transform()
72 ROUND(bb, cc, dd, ee, aa, F1, K1, in[4], 5); in rmd320_transform()
73 ROUND(aa, bb, cc, dd, ee, F1, K1, in[5], 8); in rmd320_transform()
74 ROUND(ee, aa, bb, cc, dd, F1, K1, in[6], 7); in rmd320_transform()
75 ROUND(dd, ee, aa, bb, cc, F1, K1, in[7], 9); in rmd320_transform()
76 ROUND(cc, dd, ee, aa, bb, F1, K1, in[8], 11); in rmd320_transform()
[all …]