Lines Matching refs:ks
381 static void DES_encrypt1(uint32_t *data, const DES_key_schedule *ks, int enc) { in DES_encrypt1() argument
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()
445 static void DES_encrypt2(uint32_t *data, const DES_key_schedule *ks, int enc) { in DES_encrypt2() argument
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()