Searched refs:yr (Results 1 - 18 of 18) sorted by relevance

/linux-4.4.14/crypto/
H A Dblowfish_generic.c49 u32 yr = be32_to_cpu(in_blk[1]); bf_encrypt() local
51 ROUND(yr, yl, 0); bf_encrypt()
52 ROUND(yl, yr, 1); bf_encrypt()
53 ROUND(yr, yl, 2); bf_encrypt()
54 ROUND(yl, yr, 3); bf_encrypt()
55 ROUND(yr, yl, 4); bf_encrypt()
56 ROUND(yl, yr, 5); bf_encrypt()
57 ROUND(yr, yl, 6); bf_encrypt()
58 ROUND(yl, yr, 7); bf_encrypt()
59 ROUND(yr, yl, 8); bf_encrypt()
60 ROUND(yl, yr, 9); bf_encrypt()
61 ROUND(yr, yl, 10); bf_encrypt()
62 ROUND(yl, yr, 11); bf_encrypt()
63 ROUND(yr, yl, 12); bf_encrypt()
64 ROUND(yl, yr, 13); bf_encrypt()
65 ROUND(yr, yl, 14); bf_encrypt()
66 ROUND(yl, yr, 15); bf_encrypt()
69 yr ^= P[17]; bf_encrypt()
71 out_blk[0] = cpu_to_be32(yr); bf_encrypt()
83 u32 yr = be32_to_cpu(in_blk[1]); bf_decrypt() local
85 ROUND(yr, yl, 17); bf_decrypt()
86 ROUND(yl, yr, 16); bf_decrypt()
87 ROUND(yr, yl, 15); bf_decrypt()
88 ROUND(yl, yr, 14); bf_decrypt()
89 ROUND(yr, yl, 13); bf_decrypt()
90 ROUND(yl, yr, 12); bf_decrypt()
91 ROUND(yr, yl, 11); bf_decrypt()
92 ROUND(yl, yr, 10); bf_decrypt()
93 ROUND(yr, yl, 9); bf_decrypt()
94 ROUND(yl, yr, 8); bf_decrypt()
95 ROUND(yr, yl, 7); bf_decrypt()
96 ROUND(yl, yr, 6); bf_decrypt()
97 ROUND(yr, yl, 5); bf_decrypt()
98 ROUND(yl, yr, 4); bf_decrypt()
99 ROUND(yr, yl, 3); bf_decrypt()
100 ROUND(yl, yr, 2); bf_decrypt()
103 yr ^= P[0]; bf_decrypt()
105 out_blk[0] = cpu_to_be32(yr); bf_decrypt()
H A Dblowfish_common.c320 u32 yr = src[1]; encrypt_block() local
322 ROUND(yr, yl, 0); encrypt_block()
323 ROUND(yl, yr, 1); encrypt_block()
324 ROUND(yr, yl, 2); encrypt_block()
325 ROUND(yl, yr, 3); encrypt_block()
326 ROUND(yr, yl, 4); encrypt_block()
327 ROUND(yl, yr, 5); encrypt_block()
328 ROUND(yr, yl, 6); encrypt_block()
329 ROUND(yl, yr, 7); encrypt_block()
330 ROUND(yr, yl, 8); encrypt_block()
331 ROUND(yl, yr, 9); encrypt_block()
332 ROUND(yr, yl, 10); encrypt_block()
333 ROUND(yl, yr, 11); encrypt_block()
334 ROUND(yr, yl, 12); encrypt_block()
335 ROUND(yl, yr, 13); encrypt_block()
336 ROUND(yr, yl, 14); encrypt_block()
337 ROUND(yl, yr, 15); encrypt_block()
340 yr ^= P[17]; encrypt_block()
342 dst[0] = yr; encrypt_block()
H A Dcamellia_generic.c357 #define CAMELLIA_F(xl, xr, kl, kr, yl, yr, il, ir, t0, t1) ({ \
366 yr = camellia_sp1110[(u8)(t0 >> 8)] \
370 yl ^= yr; \
371 yr = ror32(yr, 8); \
372 yr ^= yl; \
847 #define CAMELLIA_ROUNDSM(xl, xr, kl, kr, yl, yr, il, ir) ({ \
849 yr ^= kr; \
860 yr ^= ror32(il, 8) ^ ir; \
/linux-4.4.14/drivers/isdn/mISDN/
H A Ddsp_blowfish.c376 u32 yl, yr; dsp_bf_encrypt() local
395 yr = nibble; dsp_bf_encrypt()
397 yr = (yr << 7) | dsp_audio_law2seven[bf_data_in[5]]; dsp_bf_encrypt()
398 yr = (yr << 7) | dsp_audio_law2seven[bf_data_in[6]]; dsp_bf_encrypt()
399 yr = (yr << 7) | dsp_audio_law2seven[bf_data_in[7]]; dsp_bf_encrypt()
400 yr = (yr << 7) | dsp_audio_law2seven[bf_data_in[8]]; dsp_bf_encrypt()
401 yr = (yr << 1) | (bf_data_in[0] & 1); dsp_bf_encrypt()
406 EROUND(yr, yl, 0); dsp_bf_encrypt()
407 EROUND(yl, yr, 1); dsp_bf_encrypt()
408 EROUND(yr, yl, 2); dsp_bf_encrypt()
409 EROUND(yl, yr, 3); dsp_bf_encrypt()
410 EROUND(yr, yl, 4); dsp_bf_encrypt()
411 EROUND(yl, yr, 5); dsp_bf_encrypt()
412 EROUND(yr, yl, 6); dsp_bf_encrypt()
413 EROUND(yl, yr, 7); dsp_bf_encrypt()
414 EROUND(yr, yl, 8); dsp_bf_encrypt()
415 EROUND(yl, yr, 9); dsp_bf_encrypt()
416 EROUND(yr, yl, 10); dsp_bf_encrypt()
417 EROUND(yl, yr, 11); dsp_bf_encrypt()
418 EROUND(yr, yl, 12); dsp_bf_encrypt()
419 EROUND(yl, yr, 13); dsp_bf_encrypt()
420 EROUND(yr, yl, 14); dsp_bf_encrypt()
421 EROUND(yl, yr, 15); dsp_bf_encrypt()
423 yr ^= P[17]; dsp_bf_encrypt()
428 ^ (yr << 2) ^ (yr >> 1) ^ (yr >> 4) ^ (yr >> 7) ^ (yr >> 10) dsp_bf_encrypt()
429 ^ (yr >> 13) ^ (yr >> 16) ^ (yr >> 19) ^ (yr >> 22) ^ (yr >> 25) dsp_bf_encrypt()
430 ^ (yr >> 28) ^ (yr >> 31); dsp_bf_encrypt()
440 bf_crypt_out[4] = ((yl << 3) & 0x78) | ((yr >> 29) & 0x07); dsp_bf_encrypt()
441 bf_crypt_out[5] = ((yr >> 22) & 0x7f) | ((cs << 5) & 0x80); dsp_bf_encrypt()
442 bf_crypt_out[6] = ((yr >> 15) & 0x7f) | ((cs << 6) & 0x80); dsp_bf_encrypt()
443 bf_crypt_out[7] = ((yr >> 8) & 0x7f) | (cs << 7); dsp_bf_encrypt()
444 bf_crypt_out[8] = yr; dsp_bf_encrypt()
468 u32 yl, yr; dsp_bf_decrypt() local
493 yr = nibble; dsp_bf_decrypt()
496 yr = (yr << 7) | (cs2 & 0x7f); dsp_bf_decrypt()
498 yr = (yr << 7) | (cs1 & 0x7f); dsp_bf_decrypt()
500 yr = (yr << 7) | (cs0 & 0x7f); dsp_bf_decrypt()
501 yr = (yr << 8) | bf_crypt_inring[j++ & 15]; dsp_bf_decrypt()
506 ^ (yr << 2) ^ (yr >> 1) ^ (yr >> 4) ^ (yr >> 7) ^ (yr >> 10) dsp_bf_decrypt()
507 ^ (yr >> 13) ^ (yr >> 16) ^ (yr >> 19) ^ (yr >> 22) ^ (yr >> 25) dsp_bf_decrypt()
508 ^ (yr >> 28) ^ (yr >> 31); dsp_bf_decrypt()
520 yr ^= P[17]; dsp_bf_decrypt()
522 DROUND(yl, yr, 15); dsp_bf_decrypt()
523 DROUND(yr, yl, 14); dsp_bf_decrypt()
524 DROUND(yl, yr, 13); dsp_bf_decrypt()
525 DROUND(yr, yl, 12); dsp_bf_decrypt()
526 DROUND(yl, yr, 11); dsp_bf_decrypt()
527 DROUND(yr, yl, 10); dsp_bf_decrypt()
528 DROUND(yl, yr, 9); dsp_bf_decrypt()
529 DROUND(yr, yl, 8); dsp_bf_decrypt()
530 DROUND(yl, yr, 7); dsp_bf_decrypt()
531 DROUND(yr, yl, 6); dsp_bf_decrypt()
532 DROUND(yl, yr, 5); dsp_bf_decrypt()
533 DROUND(yr, yl, 4); dsp_bf_decrypt()
534 DROUND(yl, yr, 3); dsp_bf_decrypt()
535 DROUND(yr, yl, 2); dsp_bf_decrypt()
536 DROUND(yl, yr, 1); dsp_bf_decrypt()
537 DROUND(yr, yl, 0); dsp_bf_decrypt()
545 ((yr >> 29) & 0x07)]; dsp_bf_decrypt()
547 bf_data_out[5] = dsp_audio_seven2law[(yr >> 22) & 0x7f]; dsp_bf_decrypt()
548 bf_data_out[6] = dsp_audio_seven2law[(yr >> 15) & 0x7f]; dsp_bf_decrypt()
549 bf_data_out[7] = dsp_audio_seven2law[(yr >> 8) & 0x7f]; dsp_bf_decrypt()
550 bf_data_out[8] = dsp_audio_seven2law[(yr >> 1) & 0x7f]; dsp_bf_decrypt()
566 u32 yr = src[1]; encrypt_block() local
568 EROUND(yr, yl, 0); encrypt_block()
569 EROUND(yl, yr, 1); encrypt_block()
570 EROUND(yr, yl, 2); encrypt_block()
571 EROUND(yl, yr, 3); encrypt_block()
572 EROUND(yr, yl, 4); encrypt_block()
573 EROUND(yl, yr, 5); encrypt_block()
574 EROUND(yr, yl, 6); encrypt_block()
575 EROUND(yl, yr, 7); encrypt_block()
576 EROUND(yr, yl, 8); encrypt_block()
577 EROUND(yl, yr, 9); encrypt_block()
578 EROUND(yr, yl, 10); encrypt_block()
579 EROUND(yl, yr, 11); encrypt_block()
580 EROUND(yr, yl, 12); encrypt_block()
581 EROUND(yl, yr, 13); encrypt_block()
582 EROUND(yr, yl, 14); encrypt_block()
583 EROUND(yl, yr, 15); encrypt_block()
586 yr ^= P[17]; encrypt_block()
588 dst[0] = yr; encrypt_block()
/linux-4.4.14/arch/m68k/include/uapi/asm/
H A Dbootinfo-vme.h49 __u8 rev, mth, day, yr; member in struct:__anon1822
/linux-4.4.14/drivers/rtc/
H A Drtc-isl1208.c325 int icr, yr, sr = isl1208_i2c_get_sr(client); isl1208_i2c_read_alarm() local
350 yr = i2c_smbus_read_byte_data(client, ISL1208_REG_YR); isl1208_i2c_read_alarm()
351 if (yr < 0) { isl1208_i2c_read_alarm()
353 return yr; isl1208_i2c_read_alarm()
355 tm->tm_year = bcd2bin(yr) + 100; isl1208_i2c_read_alarm()
H A Drtc-sh.c357 unsigned int sec128, sec2, yr, yr100, cf_bit; sh_rtc_read_time() local
379 yr = readw(rtc->regbase + RYRCNT); sh_rtc_read_time()
380 yr100 = bcd2bin(yr >> 8); sh_rtc_read_time()
381 yr &= 0xff; sh_rtc_read_time()
383 yr = readb(rtc->regbase + RYRCNT); sh_rtc_read_time()
384 yr100 = bcd2bin((yr == 0x99) ? 0x19 : 0x20); sh_rtc_read_time()
387 tm->tm_year = (yr100 * 100 + bcd2bin(yr)) - 1900; sh_rtc_read_time()
H A Drtc-ds1672.c30 * rtc_time -- month 0-11, hour 0-23, yr = calendar year-epoch
H A Drtc-pcf85063.c44 * rtc_time -- month 0-11, hour 0-23, yr = calendar year-epoch.
H A Drtc-isl12022.c107 * rtc_time -- month 0-11, hour 0-23, yr = calendar year-epoch.
H A Drtc-pcf2127.c47 * rtc_time -- month 0-11, hour 0-23, yr = calendar year-epoch.
H A Drtc-rx4581.c100 * rtc_time -- month 0-11, hour 0-23, yr = calendar year-epoch.
H A Drtc-rx8581.c96 * rtc_time -- month 0-11, hour 0-23, yr = calendar year-epoch.
H A Drtc-pcf8563.c202 * rtc_time -- month 0-11, hour 0-23, yr = calendar year-epoch.
H A Drtc-x1205.c90 * rtc_time -- month 0-11, hour 0-23, yr = calendar year-epoch
/linux-4.4.14/arch/m68k/mvme16x/
H A Dconfig.c303 p->rev&0xf, p->yr, p->mth, p->day); config_mvme16x()
/linux-4.4.14/arch/mips/include/asm/
H A Dsgiarcs.h134 unsigned short yr; member in struct:linux_tinfo
/linux-4.4.14/drivers/s390/char/
H A Draw3270.c450 int yr; member in struct:raw3270_ua::__anon8942

Completed in 456 milliseconds