Searched defs:desp (Results 1 - 4 of 4) sorted by relevance
/osnet-11/usr/src/lib/libcrypt/common/ |
H A D | des.c | 139 unsigned mode, struct desparams *desp) 148 desp->des_dir = 152 COPY8(key, desp->des_key); 164 desp->des_len = len; 166 DESCOPY(buf, desp->des_data, len); 167 res = ioctl(g_desfd, (int)DESIOCQUICK, (char *)desp); 168 DESCOPY(desp->des_data, buf, len); 170 desp->des_buf = (uchar_t *)buf; 171 res = ioctl(g_desfd, (int)DESIOCBLOCK, (char *)desp); 180 if (!__des_crypt(buf, len, desp)) { 138 common_crypt(char *key, char *buf, unsigned len, unsigned mode, struct desparams *desp) argument [all...] |
H A D | des_soft.c | 127 __des_crypt(char *buf, unsigned int len, struct desparams *desp) argument 136 mode = (unsigned)desp->des_mode; 137 dir = (unsigned)desp->des_dir; 138 des_setkey(desp->des_key, &softkey, dir); 145 buf[i] ^= desp->des_ivec[i]; 148 desp->des_ivec[i] = buf[i]; 155 buf[i] ^= desp->des_ivec[i]; 156 desp->des_ivec[i] = nextiv[i];
|
/osnet-11/usr/src/lib/libnsl/des/ |
H A D | des_crypt.c | 145 struct desparams *desp) 152 desp->des_dir = 156 COPY8(key, desp->des_key); 168 desp->des_len = len; 170 DESCOPY(buf, desp->des_data, len); 171 res = ioctl(g_desfd, DESIOCQUICK, (char *)desp); 172 DESCOPY(desp->des_data, buf, len); 174 desp->des_buf = (uchar_t *)buf; 175 res = ioctl(g_desfd, DESIOCBLOCK, (char *)desp); 184 if (!__des_crypt(buf, len, desp)) 144 common_crypt(char *key, char *buf, unsigned len, unsigned mode, struct desparams *desp) argument [all...] |
H A D | des_soft.c | 163 __des_crypt(char *buf, unsigned len, struct desparams *desp) argument 172 mode = (unsigned)desp->des_mode; 173 dir = (unsigned)desp->des_dir; 174 (void) __des_setkey(desp->des_key, &softkey, dir); 181 buf[i] ^= desp->des_ivec[i]; 184 desp->des_ivec[i] = buf[i]; 191 buf[i] ^= desp->des_ivec[i]; 192 desp->des_ivec[i] = nextiv[i];
|
Completed in 35 milliseconds