Lines Matching refs:block
446 static void round(desInst dinst, int num, unsigned long int *block) {
454 block[1] ^= f(block[0],dinst->kn[num]);
456 block[0] ^= f(block[1],dinst->kn[num]);
465 register char *ib, *ob; /* ptr to input or output block */
474 /* Clear output block */
488 /* In-place encryption of 64-bit block */
489 void endes(desInst dinst, char *block) {
494 permute(block,iperm,(char *)work); /* Initial Permutation */
513 permute((char *)work,fperm,block); /* Inverse initial permutation */
515 /* In-place decryption of 64-bit block */
516 void dedes(desInst dinst, char *block) {
521 permute(block,iperm,(char *)work); /* Initial permutation */
542 permute((char *)work,fperm,block); /* Inverse initial permutation */