/linux-4.1.27/arch/x86/crypto/ |
H A D | camellia_glue.c | 798 #define CAMELLIA_F(x, kl, kr, y) ({ \ 799 u64 ii = x ^ (((u64)kl << 32) | kr); \ 1000 u64 kl, kr, ww; camellia_setup128() local 1004 * k == kl || kr (|| is concatenation) camellia_setup128() 1006 kl = get_unaligned_be64(key); camellia_setup128() 1011 subRL[0] = kl; camellia_setup128() 1016 ROLDQ(kl, kr, 15); camellia_setup128() 1019 subRL[4] = kl; camellia_setup128() 1024 ROLDQ(kl, kr, 30); camellia_setup128() 1027 subRL[10] = kl; camellia_setup128() 1032 ROLDQ(kl, kr, 15); camellia_setup128() 1037 ROLDQ(kl, kr, 17); camellia_setup128() 1040 subRL[16] = kl; camellia_setup128() 1045 ROLDQ(kl, kr, 17); camellia_setup128() 1048 subRL[18] = kl; camellia_setup128() 1053 ROLDQ(kl, kr, 17); camellia_setup128() 1056 subRL[22] = kl; camellia_setup128() 1061 kl = subRL[0]; camellia_setup128() 1063 CAMELLIA_F(kl, CAMELLIA_SIGMA1L, CAMELLIA_SIGMA1R, ww); camellia_setup128() 1065 CAMELLIA_F(kr, CAMELLIA_SIGMA2L, CAMELLIA_SIGMA2R, kl); camellia_setup128() 1068 CAMELLIA_F(kl, CAMELLIA_SIGMA3L, CAMELLIA_SIGMA3R, kr); camellia_setup128() 1071 kl ^= ww; camellia_setup128() 1075 subRL[2] = kl; camellia_setup128() 1077 ROLDQ(kl, kr, 15); camellia_setup128() 1079 subRL[6] = kl; camellia_setup128() 1081 ROLDQ(kl, kr, 15); camellia_setup128() 1083 subRL[8] = kl; camellia_setup128() 1085 ROLDQ(kl, kr, 15); camellia_setup128() 1087 subRL[12] = kl; camellia_setup128() 1088 ROLDQ(kl, kr, 15); camellia_setup128() 1090 subRL[14] = kl; camellia_setup128() 1092 ROLDQ(kl, kr, 34); camellia_setup128() 1094 subRL[20] = kl; camellia_setup128() 1096 ROLDQ(kl, kr, 17); camellia_setup128() 1098 subRL[24] = kl; camellia_setup128() 1106 u64 kl, kr; /* left half of key */ camellia_setup256() local 1112 * key = (kl || kr || krl || krr) (|| is concatenation) camellia_setup256() 1114 kl = get_unaligned_be64(key); camellia_setup256() 1121 subRL[0] = kl; camellia_setup256() 1124 ROLDQ(kl, kr, 45); camellia_setup256() 1126 subRL[12] = kl; camellia_setup256() 1129 ROLDQ(kl, kr, 15); camellia_setup256() 1131 subRL[16] = kl; camellia_setup256() 1134 ROLDQ(kl, kr, 17); camellia_setup256() 1136 subRL[22] = kl; camellia_setup256() 1139 ROLDQ(kl, kr, 34); camellia_setup256() 1141 subRL[30] = kl; camellia_setup256() 1169 kl = subRL[0] ^ krl; camellia_setup256() 1172 CAMELLIA_F(kl, CAMELLIA_SIGMA1L, CAMELLIA_SIGMA1R, ww); camellia_setup256() 1174 CAMELLIA_F(kr, CAMELLIA_SIGMA2L, CAMELLIA_SIGMA2R, kl); camellia_setup256() 1175 kl ^= krl; camellia_setup256() 1176 CAMELLIA_F(kl, CAMELLIA_SIGMA3L, CAMELLIA_SIGMA3R, kr); camellia_setup256() 1179 kl ^= ww; camellia_setup256() 1182 krl ^= kl; camellia_setup256() 1190 ROLDQ(kl, kr, 15); camellia_setup256() 1192 subRL[6] = kl; camellia_setup256() 1195 ROLDQ(kl, kr, 30); camellia_setup256() 1197 subRL[14] = kl; camellia_setup256() 1201 ROLDQ(kl, kr, 32); camellia_setup256() 1203 subRL[24] = kl; camellia_setup256() 1207 ROLDQ(kl, kr, 17); camellia_setup256() 1209 subRL[28] = kl; camellia_setup256()
|
H A D | camellia-x86_64-asm_64.S | 114 #define fls(l, r, kl, kr) \ 115 movl (key_table + ((kl) * 2) * 4)(CTX), RT0d; \ 125 movq (key_table + ((kl) * 2) * 4)(CTX), RT2; \ 296 #define fls2(l, r, kl, kr) \ 297 movl (key_table + ((kl) * 2) * 4)(CTX), RT0d; \ 307 movl (key_table + ((kl) * 2) * 4)(CTX), RT2d; \ 317 movq (key_table + ((kl) * 2) * 4)(CTX), RT1; \ 327 movq (key_table + ((kl) * 2) * 4)(CTX), RT0; \
|
/linux-4.1.27/drivers/media/usb/pvrusb2/ |
H A D | pvrusb2-debugifc.c | 122 unsigned int kl; debugifc_match_keyword() local 124 kl = strlen(keyword); debugifc_match_keyword() 125 if (kl != count) return 0; debugifc_match_keyword() 126 return !memcmp(buf,keyword,kl); debugifc_match_keyword()
|
/linux-4.1.27/crypto/ |
H A D | vmac.c | 190 #define poly_step(ah, al, kh, kl, mh, ml) \ 195 PMUL64(t2h, t2l, ah, kl); \ 197 PMUL64(ah, al, al, kl); \ 237 const u64 *kh, const u64 *kl, poly_step_func() 244 #define k0 (*(((u32 *)kl)+INDEX_LOW)) poly_step_func() 245 #define k1 (*(((u32 *)kl)+INDEX_HIGH)) poly_step_func() 296 #define poly_step(ah, al, kh, kl, mh, ml) \ 297 poly_step_func(&(ah), &(al), &(kh), &(kl), &(mh), &(ml)) 236 poly_step_func(u64 *ahi, u64 *alo, const u64 *kh, const u64 *kl, const u64 *mh, const u64 *ml) poly_step_func() argument
|
H A D | camellia_generic.c | 357 #define CAMELLIA_F(xl, xr, kl, kr, yl, yr, il, ir, t0, t1) ({ \ 358 il = xl ^ kl; \ 847 #define CAMELLIA_ROUNDSM(xl, xr, kl, kr, yl, yr, il, ir) ({ \ 848 yl ^= kl; \
|
/linux-4.1.27/drivers/s390/block/ |
H A D | dasd_eckd.c | 171 unsigned int kl, unsigned int dl) recs_per_track() 177 if (kl) recs_per_track() 178 return 1499 / (15 + 7 + ceil_quot(kl + 12, 32) + recs_per_track() 184 if (kl) { recs_per_track() 185 kn = ceil_quot(kl + 6, 232) + 1; recs_per_track() 186 return 1729 / (10 + 9 + ceil_quot(kl + 6 * kn, 34) + recs_per_track() 192 if (kl) { recs_per_track() 193 kn = ceil_quot(kl + 6, 232) + 1; recs_per_track() 194 return 1420 / (18 + 7 + ceil_quot(kl + 6 * kn, 34) + recs_per_track() 1982 if (private->count_area[i].kl != 4 || dasd_eckd_end_analysis() 1996 if ((private->count_area[i].kl != 0) || dasd_eckd_end_analysis() 2012 if (count_area != NULL && count_area->kl == 0) { dasd_eckd_end_analysis() 2278 ect->kl = 0; dasd_eckd_build_format() 2293 ect->kl = 0; dasd_eckd_build_format() 2307 ect->kl = 0; dasd_eckd_build_format() 2316 ect->kl = 4; dasd_eckd_build_format() 2322 ect->kl = 44; dasd_eckd_build_format() 170 recs_per_track(struct dasd_eckd_characteristics * rdc, unsigned int kl, unsigned int dl) recs_per_track() argument
|
H A D | dasd_eckd.h | 102 __u8 kl; member in struct:eckd_count
|
/linux-4.1.27/arch/mips/include/asm/sn/ |
H A D | klconfig.h | 764 * NOTE: THis is the max sized kl* structure and is used in klmalloc.c
|