Lines Matching refs:j
157 int i, j, k; in des_setkey_nolock() local
181 for (j = 0; j < 28-1; j++) in des_setkey_nolock()
182 C[j] = C[j+1]; in des_setkey_nolock()
185 for (j = 0; j < 28-1; j++) in des_setkey_nolock()
186 D[j] = D[j+1]; in des_setkey_nolock()
192 for (j = 0; j < 24; j++) { in des_setkey_nolock()
193 KS[i][j] = C[PC2_C[j]-1]; in des_setkey_nolock()
194 KS[i][j+24] = D[PC2_D[j]-28-1]; in des_setkey_nolock()
332 int i, j; in des_crypt() local
342 for (j = 0; j < 7; j++, i++) in des_crypt()
343 block[i] = (c>>(6-j)) & 01; in des_crypt()
360 for (j = 0; j < 6; j++) { in des_crypt()
361 if ((c>>j) & 01) { in des_crypt()
362 temp = E[6*i+j]; in des_crypt()
363 E[6*i+j] = E[6*i+j+24]; in des_crypt()
364 E[6*i+j+24] = (char)temp; in des_crypt()
374 for (j = 0; j < 6; j++) { in des_crypt()
376 c |= block[6*i+j]; in des_crypt()