Home
last modified time | relevance | path

Searched refs:preS (Results 1 – 7 of 7) sorted by relevance

/titanic_41/usr/src/lib/libcrypt/common/
H A Ddes_decrypt.c36 _des_decrypt1(char *block, char *L, char *IP, char *R, char *preS, char *E, char KS[][48], char S[]… in _des_decrypt1() argument
63 preS[j] = R[E[j]-1] ^ KS[i][j]; in _des_decrypt1()
77 k = S[j][(preS[t+0]<<5)+ in _des_decrypt1()
78 (preS[t+1]<<3)+ in _des_decrypt1()
79 (preS[t+2]<<2)+ in _des_decrypt1()
80 (preS[t+3]<<1)+ in _des_decrypt1()
81 (preS[t+4]<<0)+ in _des_decrypt1()
82 (preS[t+5]<<4)]; in _des_decrypt1()
H A Ddes_encrypt.c35 des_encrypt1(char *block, char *L, char *IP, char *R, char *preS, char *E, in des_encrypt1() argument
62 preS[j] = R[E[j]-1] ^ KS[i][j]; in des_encrypt1()
76 k = S[j][(preS[t+0]<<5)+ in des_encrypt1()
77 (preS[t+1]<<3)+ in des_encrypt1()
78 (preS[t+2]<<2)+ in des_encrypt1()
79 (preS[t+3]<<1)+ in des_encrypt1()
80 (preS[t+4]<<0)+ in des_encrypt1()
81 (preS[t+5]<<4)]; in des_encrypt1()
H A Ddes_crypt.c282 static char preS[48]; variable
293 preS, E, KS, S, f, tempL, P, FP); in des_encrypt_nolock()
296 preS, E, KS, S, f, tempL, P, FP); in des_encrypt_nolock()
H A Dllib-lcrypt69 void _des_decrypt1(char *block, char *L, char *IP, char *R, char *preS,
74 void des_encrypt1(char *block, char *L, char *IP, char *R, char *preS,
77 void _des_encrypt1(char *block, char *L, char *IP, char *R, char *preS,
/titanic_41/usr/src/lib/libbc/libc/gen/common/
H A D_crypt.c151 #define preS (_c->_preS) macro
335 preS[j] = R[E[j]-1] ^ KS[i][j]; in encrypt()
349 k = S[j][(preS[t+0]<<5)+ in encrypt()
350 (preS[t+1]<<3)+ in encrypt()
351 (preS[t+2]<<2)+ in encrypt()
352 (preS[t+3]<<1)+ in encrypt()
353 (preS[t+4]<<0)+ in encrypt()
354 (preS[t+5]<<4)]; in encrypt()
/titanic_41/usr/src/lib/gss_mechs/mech_krb5/crypto/des/
H A Dafsstring2key.c510 char preS[48]; in krb5_afs_encrypt() local
543 preS[j] = R[E[j]-1] ^ KS[i][j]; in krb5_afs_encrypt()
557 k = S[j][(preS[t+0]<<5)+ in krb5_afs_encrypt()
558 (preS[t+1]<<3)+ in krb5_afs_encrypt()
559 (preS[t+2]<<2)+ in krb5_afs_encrypt()
560 (preS[t+3]<<1)+ in krb5_afs_encrypt()
561 (preS[t+4]<<0)+ in krb5_afs_encrypt()
562 (preS[t+5]<<4)]; in krb5_afs_encrypt()
/titanic_41/usr/src/lib/libc/port/gen/
H A Dcrypt.c1017 static char preS[48]; variable
1035 preS[j] = R[E[j]-1] ^ *(KS+index+j); in unlocked_encrypt()
1038 k = S[j][(preS[t+0]<<5) + in unlocked_encrypt()
1039 (preS[t+1]<<3) + in unlocked_encrypt()
1040 (preS[t+2]<<2) + in unlocked_encrypt()
1041 (preS[t+3]<<1) + in unlocked_encrypt()
1042 (preS[t+4]<<0) + in unlocked_encrypt()
1043 (preS[t+5]<<4)]; in unlocked_encrypt()