Lines Matching refs:l
382 uint32_t l, r, t, u; in DES_encrypt1() local
385 l = data[1]; in DES_encrypt1()
387 IP(r, l); in DES_encrypt1()
396 l = ROTATE(l, 29) & 0xffffffffL; in DES_encrypt1()
401 D_ENCRYPT(ks, l, r, 0); in DES_encrypt1()
402 D_ENCRYPT(ks, r, l, 1); in DES_encrypt1()
403 D_ENCRYPT(ks, l, r, 2); in DES_encrypt1()
404 D_ENCRYPT(ks, r, l, 3); in DES_encrypt1()
405 D_ENCRYPT(ks, l, r, 4); in DES_encrypt1()
406 D_ENCRYPT(ks, r, l, 5); in DES_encrypt1()
407 D_ENCRYPT(ks, l, r, 6); in DES_encrypt1()
408 D_ENCRYPT(ks, r, l, 7); in DES_encrypt1()
409 D_ENCRYPT(ks, l, r, 8); in DES_encrypt1()
410 D_ENCRYPT(ks, r, l, 9); in DES_encrypt1()
411 D_ENCRYPT(ks, l, r, 10); in DES_encrypt1()
412 D_ENCRYPT(ks, r, l, 11); in DES_encrypt1()
413 D_ENCRYPT(ks, l, r, 12); in DES_encrypt1()
414 D_ENCRYPT(ks, r, l, 13); in DES_encrypt1()
415 D_ENCRYPT(ks, l, r, 14); in DES_encrypt1()
416 D_ENCRYPT(ks, r, l, 15); in DES_encrypt1()
418 D_ENCRYPT(ks, l, r, 15); in DES_encrypt1()
419 D_ENCRYPT(ks, r, l, 14); in DES_encrypt1()
420 D_ENCRYPT(ks, l, r, 13); in DES_encrypt1()
421 D_ENCRYPT(ks, r, l, 12); in DES_encrypt1()
422 D_ENCRYPT(ks, l, r, 11); in DES_encrypt1()
423 D_ENCRYPT(ks, r, l, 10); in DES_encrypt1()
424 D_ENCRYPT(ks, l, r, 9); in DES_encrypt1()
425 D_ENCRYPT(ks, r, l, 8); in DES_encrypt1()
426 D_ENCRYPT(ks, l, r, 7); in DES_encrypt1()
427 D_ENCRYPT(ks, r, l, 6); in DES_encrypt1()
428 D_ENCRYPT(ks, l, r, 5); in DES_encrypt1()
429 D_ENCRYPT(ks, r, l, 4); in DES_encrypt1()
430 D_ENCRYPT(ks, l, r, 3); in DES_encrypt1()
431 D_ENCRYPT(ks, r, l, 2); in DES_encrypt1()
432 D_ENCRYPT(ks, l, r, 1); in DES_encrypt1()
433 D_ENCRYPT(ks, r, l, 0); in DES_encrypt1()
437 l = ROTATE(l, 3) & 0xffffffffL; in DES_encrypt1()
440 FP(r, l); in DES_encrypt1()
441 data[0] = l; in DES_encrypt1()
446 uint32_t l, r, t, u; in DES_encrypt2() local
449 l = data[1]; in DES_encrypt2()
458 l = ROTATE(l, 29) & 0xffffffffL; in DES_encrypt2()
463 D_ENCRYPT(ks, l, r, 0); in DES_encrypt2()
464 D_ENCRYPT(ks, r, l, 1); in DES_encrypt2()
465 D_ENCRYPT(ks, l, r, 2); in DES_encrypt2()
466 D_ENCRYPT(ks, r, l, 3); in DES_encrypt2()
467 D_ENCRYPT(ks, l, r, 4); in DES_encrypt2()
468 D_ENCRYPT(ks, r, l, 5); in DES_encrypt2()
469 D_ENCRYPT(ks, l, r, 6); in DES_encrypt2()
470 D_ENCRYPT(ks, r, l, 7); in DES_encrypt2()
471 D_ENCRYPT(ks, l, r, 8); in DES_encrypt2()
472 D_ENCRYPT(ks, r, l, 9); in DES_encrypt2()
473 D_ENCRYPT(ks, l, r, 10); in DES_encrypt2()
474 D_ENCRYPT(ks, r, l, 11); in DES_encrypt2()
475 D_ENCRYPT(ks, l, r, 12); in DES_encrypt2()
476 D_ENCRYPT(ks, r, l, 13); in DES_encrypt2()
477 D_ENCRYPT(ks, l, r, 14); in DES_encrypt2()
478 D_ENCRYPT(ks, r, l, 15); in DES_encrypt2()
480 D_ENCRYPT(ks, l, r, 15); in DES_encrypt2()
481 D_ENCRYPT(ks, r, l, 14); in DES_encrypt2()
482 D_ENCRYPT(ks, l, r, 13); in DES_encrypt2()
483 D_ENCRYPT(ks, r, l, 12); in DES_encrypt2()
484 D_ENCRYPT(ks, l, r, 11); in DES_encrypt2()
485 D_ENCRYPT(ks, r, l, 10); in DES_encrypt2()
486 D_ENCRYPT(ks, l, r, 9); in DES_encrypt2()
487 D_ENCRYPT(ks, r, l, 8); in DES_encrypt2()
488 D_ENCRYPT(ks, l, r, 7); in DES_encrypt2()
489 D_ENCRYPT(ks, r, l, 6); in DES_encrypt2()
490 D_ENCRYPT(ks, l, r, 5); in DES_encrypt2()
491 D_ENCRYPT(ks, r, l, 4); in DES_encrypt2()
492 D_ENCRYPT(ks, l, r, 3); in DES_encrypt2()
493 D_ENCRYPT(ks, r, l, 2); in DES_encrypt2()
494 D_ENCRYPT(ks, l, r, 1); in DES_encrypt2()
495 D_ENCRYPT(ks, r, l, 0); in DES_encrypt2()
498 data[0] = ROTATE(l, 3) & 0xffffffffL; in DES_encrypt2()
504 uint32_t l, r; in DES_encrypt3() local
506 l = data[0]; in DES_encrypt3()
508 IP(l, r); in DES_encrypt3()
509 data[0] = l; in DES_encrypt3()
514 l = data[0]; in DES_encrypt3()
516 FP(r, l); in DES_encrypt3()
517 data[0] = l; in DES_encrypt3()
523 uint32_t l, r; in DES_decrypt3() local
525 l = data[0]; in DES_decrypt3()
527 IP(l, r); in DES_decrypt3()
528 data[0] = l; in DES_decrypt3()
533 l = data[0]; in DES_decrypt3()
535 FP(r, l); in DES_decrypt3()
536 data[0] = l; in DES_decrypt3()
542 uint32_t l; in DES_ecb_encrypt() local
547 c2l(in, l); in DES_ecb_encrypt()
548 ll[0] = l; in DES_ecb_encrypt()
549 c2l(in, l); in DES_ecb_encrypt()
550 ll[1] = l; in DES_ecb_encrypt()
552 l = ll[0]; in DES_ecb_encrypt()
553 l2c(l, out); in DES_ecb_encrypt()
554 l = ll[1]; in DES_ecb_encrypt()
555 l2c(l, out); in DES_ecb_encrypt()