/crypto/ |
D | anubis.c | 493 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()
|
D | rmd256.c | 27 #define K2 RMD_K2 macro 101 ROUND(aa, bb, cc, dd, F2, K2, in[7], 7); in rmd256_transform() 102 ROUND(dd, aa, bb, cc, F2, K2, in[4], 6); in rmd256_transform() 103 ROUND(cc, dd, aa, bb, F2, K2, in[13], 8); in rmd256_transform() 104 ROUND(bb, cc, dd, aa, F2, K2, in[1], 13); in rmd256_transform() 105 ROUND(aa, bb, cc, dd, F2, K2, in[10], 11); in rmd256_transform() 106 ROUND(dd, aa, bb, cc, F2, K2, in[6], 9); in rmd256_transform() 107 ROUND(cc, dd, aa, bb, F2, K2, in[15], 7); in rmd256_transform() 108 ROUND(bb, cc, dd, aa, F2, K2, in[3], 15); in rmd256_transform() 109 ROUND(aa, bb, cc, dd, F2, K2, in[12], 7); in rmd256_transform() [all …]
|
D | rmd128.c | 27 #define K2 RMD_K2 macro 80 ROUND(aa, bb, cc, dd, F2, K2, in[7], 7); in rmd128_transform() 81 ROUND(dd, aa, bb, cc, F2, K2, in[4], 6); in rmd128_transform() 82 ROUND(cc, dd, aa, bb, F2, K2, in[13], 8); in rmd128_transform() 83 ROUND(bb, cc, dd, aa, F2, K2, in[1], 13); in rmd128_transform() 84 ROUND(aa, bb, cc, dd, F2, K2, in[10], 11); in rmd128_transform() 85 ROUND(dd, aa, bb, cc, F2, K2, in[6], 9); in rmd128_transform() 86 ROUND(cc, dd, aa, bb, F2, K2, in[15], 7); in rmd128_transform() 87 ROUND(bb, cc, dd, aa, F2, K2, in[3], 15); in rmd128_transform() 88 ROUND(aa, bb, cc, dd, F2, K2, in[12], 7); in rmd128_transform() [all …]
|
D | rmd160.c | 27 #define K2 RMD_K2 macro 86 ROUND(ee, aa, bb, cc, dd, F2, K2, in[7], 7); in rmd160_transform() 87 ROUND(dd, ee, aa, bb, cc, F2, K2, in[4], 6); in rmd160_transform() 88 ROUND(cc, dd, ee, aa, bb, F2, K2, in[13], 8); in rmd160_transform() 89 ROUND(bb, cc, dd, ee, aa, F2, K2, in[1], 13); in rmd160_transform() 90 ROUND(aa, bb, cc, dd, ee, F2, K2, in[10], 11); in rmd160_transform() 91 ROUND(ee, aa, bb, cc, dd, F2, K2, in[6], 9); in rmd160_transform() 92 ROUND(dd, ee, aa, bb, cc, F2, K2, in[15], 7); in rmd160_transform() 93 ROUND(cc, dd, ee, aa, bb, F2, K2, in[3], 15); in rmd160_transform() 94 ROUND(bb, cc, dd, ee, aa, F2, K2, in[12], 7); in rmd160_transform() [all …]
|
D | rmd320.c | 27 #define K2 RMD_K2 macro 107 ROUND(ee, aa, bb, cc, dd, F2, K2, in[7], 7); in rmd320_transform() 108 ROUND(dd, ee, aa, bb, cc, F2, K2, in[4], 6); in rmd320_transform() 109 ROUND(cc, dd, ee, aa, bb, F2, K2, in[13], 8); in rmd320_transform() 110 ROUND(bb, cc, dd, ee, aa, F2, K2, in[1], 13); in rmd320_transform() 111 ROUND(aa, bb, cc, dd, ee, F2, K2, in[10], 11); in rmd320_transform() 112 ROUND(ee, aa, bb, cc, dd, F2, K2, in[6], 9); in rmd320_transform() 113 ROUND(dd, ee, aa, bb, cc, F2, K2, in[15], 7); in rmd320_transform() 114 ROUND(cc, dd, ee, aa, bb, F2, K2, in[3], 15); in rmd320_transform() 115 ROUND(bb, cc, dd, ee, aa, F2, K2, in[12], 7); in rmd320_transform() [all …]
|
D | khazad.c | 763 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()
|