Searched refs:desp (Results 1 - 10 of 10) sorted by relevance

/illumos-gate/usr/src/lib/libcrypt/common/
H A Ddes.c130 unsigned mode, struct desparams *desp)
139 desp->des_dir =
143 COPY8(key, desp->des_key);
155 desp->des_len = len;
157 DESCOPY(buf, desp->des_data, len);
158 res = ioctl(g_desfd, (int)DESIOCQUICK, (char *)desp);
159 DESCOPY(desp->des_data, buf, len);
161 desp->des_buf = (uchar_t *)buf;
162 res = ioctl(g_desfd, (int)DESIOCBLOCK, (char *)desp);
171 if (!__des_crypt(buf, len, desp)) {
129 common_crypt(char *key, char *buf, unsigned len, unsigned mode, struct desparams *desp) argument
[all...]
H A Ddes_soft.c125 __des_crypt(char *buf, unsigned int len, struct desparams *desp) argument
133 mode = (unsigned)desp->des_mode;
134 dir = (unsigned)desp->des_dir;
135 des_setkey(desp->des_key, &softkey, dir);
142 buf[i] ^= desp->des_ivec[i];
145 desp->des_ivec[i] = buf[i];
152 buf[i] ^= desp->des_ivec[i];
153 desp->des_ivec[i] = nextiv[i];
H A Dllib-lcrypt83 int __des_crypt(char *buf, unsigned len, struct desparams *desp);
/illumos-gate/usr/src/lib/libnsl/des/
H A Ddes_crypt.c124 struct desparams *desp)
131 desp->des_dir =
135 COPY8(key, desp->des_key);
147 desp->des_len = len;
149 DESCOPY(buf, desp->des_data, len);
150 res = ioctl(g_desfd, DESIOCQUICK, (char *)desp);
151 DESCOPY(desp->des_data, buf, len);
153 desp->des_buf = (uchar_t *)buf;
154 res = ioctl(g_desfd, DESIOCBLOCK, (char *)desp);
163 if (!__des_crypt(buf, len, desp))
123 common_crypt(char *key, char *buf, unsigned len, unsigned mode, struct desparams *desp) argument
[all...]
H A Ddes_soft.c161 __des_crypt(char *buf, unsigned len, struct desparams *desp) argument
169 mode = (unsigned)desp->des_mode;
170 dir = (unsigned)desp->des_dir;
171 (void) __des_setkey(desp->des_key, &softkey, dir);
178 buf[i] ^= desp->des_ivec[i];
181 desp->des_ivec[i] = buf[i];
188 buf[i] ^= desp->des_ivec[i];
189 desp->des_ivec[i] = nextiv[i];
/illumos-gate/usr/src/uts/common/io/hxge/
H A Dhpi_txdma.c406 tx_desc_t desc, *desp; local
417 desp = ((desc_p != NULL) ? desc_p : (p_tx_desc_t)&desc);
418 HXGE_MEM_PIO_READ64(handle, &desp->value);
420 sad = desp->bits.sad;
421 sad = (sad << 32) | desp->bits.sad_l;
422 xfer_len = desp->bits.tr_len;
426 desp->value, sad, desp->bits.tr_len, xfer_len,
427 desp->bits.num_ptr, desp
[all...]
/illumos-gate/usr/src/uts/common/des/
H A Ddes_soft.c70 _des_crypt(char *buf, size_t len, struct desparams *desp) argument
78 mode = desp->des_mode;
79 dir = desp->des_dir;
80 des_setkey(desp->des_key, &softkey, dir);
87 buf[i] ^= desp->des_ivec[i];
90 desp->des_ivec[i] = buf[i];
97 buf[i] ^= desp->des_ivec[i];
98 desp->des_ivec[i] = nextiv[i];
H A Ddes_crypt.c71 unsigned int mode, struct desparams *desp);
73 extern int _des_crypt(char *buf, size_t len, struct desparams *desp);
339 struct desparams *desp)
346 desp->des_dir =
350 COPY8(key, desp->des_key);
363 desp->des_len = len;
365 DESCOPY(buf, desp->des_data, len);
366 res = ioctl(g_desfd, DESIOCQUICK, (char *)desp);
367 DESCOPY(desp->des_data, buf, len);
369 desp
338 common_crypt(char *key, char *buf, size_t len, unsigned int mode, struct desparams *desp) argument
[all...]
/illumos-gate/usr/src/uts/common/io/nxge/npi/
H A Dnpi_txdma.c1918 tx_desc_t desc, *desp; local
1929 desp = ((desc_p != NULL) ? desc_p : (p_tx_desc_t)&desc);
1930 desp->value = NXGE_MEM_PIO_READ64(handle);
1932 sad = (desp->value & TX_PKT_DESC_SAD_MASK);
1933 xfer_len = ((desp->value & TX_PKT_DESC_TR_LEN_MASK) >>
1938 desp->value,
1940 desp->bits.hdw.tr_len,
1942 desp->bits.hdw.num_ptr,
1943 desp->bits.hdw.mark,
1944 desp
[all...]
/illumos-gate/usr/src/lib/libnsl/common/
H A Dllib-lnsl90 int __des_crypt(char *buf, unsigned len, struct desparams *desp);
95 int _des_crypt(char *buf, unsigned len, struct desparams *desp);

Completed in 94 milliseconds