Searched refs:DES_DECRYPT (Results 1 - 11 of 11) sorted by relevance

/illumos-gate/usr/src/lib/libbc/inc/include/des/
H A Ddes_crypt.h44 #define DES_DECRYPT (1*DES_DIRMASK) /* Decrypt */ macro
/illumos-gate/usr/src/lib/libnsl/des/
H A Ddes_crypt.c172 unsigned int m = mode & (DES_ENCRYPT | DES_DECRYPT);
173 unsigned int flags = mode & ~(DES_ENCRYPT | DES_DECRYPT);
182 j = (mode & DES_DECRYPT) ? keynum - 1 - i : i;
184 if (mode & DES_DECRYPT && i == 0)
190 m = (m == DES_ENCRYPT ? DES_DECRYPT : DES_ENCRYPT);
192 if ((mode & DES_DECRYPT) || i != keynum - 1 || i%2)
198 if (mode & DES_DECRYPT)
/illumos-gate/usr/src/uts/common/rpc/
H A Ddes_crypt.h52 #define DES_DECRYPT (1 * DES_DIRMASK) /* Decrypt */ macro
/illumos-gate/usr/src/lib/gss_mechs/mech_dh/backend/mech/
H A Dcrypto.c104 unsigned int m = mode & (DES_ENCRYPT | DES_DECRYPT);
106 unsigned int flags = mode & ~(DES_ENCRYPT | DES_DECRYPT);
119 j = (mode & DES_DECRYPT) ? keynum - 1 - i : i;
121 if (mode & DES_DECRYPT && i == 0)
127 m = (m == DES_ENCRYPT ? DES_DECRYPT : DES_ENCRYPT);
129 if ((mode & DES_DECRYPT) || i != keynum - 1 || i%2)
141 if (mode & DES_DECRYPT)
156 unsigned mode = (encrypt_flag ? DES_ENCRYPT : DES_DECRYPT) | DES_HW;
190 unsigned mode = (encrypt_flag ? DES_ENCRYPT : DES_DECRYPT) | DES_HW;
/illumos-gate/usr/src/lib/libnsl/key/
H A Dxcrypt.c133 err = cbc_crypt(key, buf, len, DES_DECRYPT | DES_HW, ivec);
381 err = cbc_crypt(key.c, buf, len, DES_DECRYPT | DES_HW, ivec);
/illumos-gate/usr/src/lib/libnsl/rpc/
H A Dsvcauth_des.c273 2 * (int)sizeof (des_block), DES_DECRYPT | DES_HW,
277 (int)sizeof (des_block), DES_DECRYPT | DES_HW);
H A Dauth_des.c363 sizeof (des_block), DES_DECRYPT | DES_HW);
/illumos-gate/usr/src/uts/common/rpc/sec/
H A Dsvcauthdes.c235 2 * sizeof (des_block), DES_DECRYPT, (char *)&ivec);
238 sizeof (des_block), DES_DECRYPT);
H A Dauth_des.c338 sizeof (des_block), DES_DECRYPT);
/illumos-gate/usr/src/cmd/keyserv/
H A Dsetkey.c737 return (pk_crypt(uid, remote_name, remote_key, key, DES_DECRYPT));
751 return (pk_crypt3(uid, arg, key, DES_DECRYPT));
H A Dkeyserv_cache.c947 DES_DECRYPT|DES_HW, ivec.c);

Completed in 74 milliseconds