Lines Matching refs:perm
488 static void init_perm(C_block perm[64/CHUNKBITS][1<<CHUNKBITS], in init_perm()
500 perm[i][j].b[k>>3] |= 1<<(k&07); in init_perm()
513 static unsigned char perm[64], tmp32[32]; /* "static" for speed */ in init_des() local
525 perm[i] = 0; in init_des()
537 perm[i] = (unsigned char) k; in init_des()
540 prtab("pc1tab", perm, 8); in init_des()
542 init_perm(PC1ROT, perm, 8, 8); in init_des()
550 perm[i] = pc2inv[i] = 0; in init_des()
561 perm[i] = pc2inv[k]; in init_des()
564 prtab("pc2tab", perm, 8); in init_des()
566 init_perm(PC2ROT[j], perm, 8, 8); in init_des()
584 perm[i*8+j] = (unsigned char) k; in init_des()
588 prtab("ietab", perm, 8); in init_des()
590 init_perm(IE3264, perm, 4, 8); in init_des()
602 perm[k-1] = i+1; in init_des()
605 prtab("cftab", perm, 8); in init_des()
607 init_perm(CF6464, perm, 8, 8); in init_des()
613 perm[i] = P32Tr[ExpandTr[i]-1]; in init_des()
633 k = (k<<1) | tmp32[perm[i]-1]; in init_des()
637 k = (k<<1) | tmp32[perm[i+24]-1]; in init_des()