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

/osnet-11/usr/src/lib/gss_mechs/mech_dh/dh_common/
H A Ddh_nsl_tmpl.c51 des_block keys[], int keynum)
54 MODULUS, keys, keynum);
50 __dl_gen_common_dhkeys(char *xpublic, char *xsecret, des_block keys[], int keynum) argument
H A Ddh_common.h49 char *xmodulus, des_block keys[], int keynum);
H A Dgeneric_key.c180 * Given a key extract keynum des keys
183 extractdeskeys(MINT *ck, int keylen, des_block keys[], int keynum) argument
190 /* len is the total number of bits we need for keynum des keys */
191 int len = 8 * sizeof (des_block) * keynum;
211 for (i = 0; i < sizeof (des_block) * keynum; i++) {
220 for (i = 0; i < keynum; i++)
245 int keynum /* The number of DES keys to create */)
258 extractdeskeys(ck, keylen, keys, keynum);
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/support/
H A Dthreads.c222 void *k5_getspecific (k5_key_t keynum) argument
231 assert(keynum >= 0 && keynum < K5_KEY_MAX);
232 assert(destructors_set[keynum] == 1);
253 return t->values[keynum];
256 int k5_setspecific (k5_key_t keynum, void *value) argument
265 assert(keynum >= 0 && keynum < K5_KEY_MAX);
266 assert(destructors_set[keynum] == 1);
316 t->values[keynum]
320 k5_key_register(k5_key_t keynum, void (*destructor)(void *)) argument
361 k5_key_delete(k5_key_t keynum) argument
[all...]
/osnet-11/usr/src/lib/libnisdb/
H A Ddb_scheme.cc132 int keynum = 0; local
137 clear_columns(keynum);
142 scols[keynum].key_name = new item(zcols[i].tc_name,
144 if (scols[keynum].key_name == NULL) {
145 clear_columns(keynum);
150 scols[keynum].key_flags = zcols[i].tc_flags;
151 scols[keynum].column_number = i;
152 scols[keynum].where.max_len = NIS_MAXATTRVAL;
153 scols[keynum].where.start_column = 0;
155 ++keynum; /* advanc
[all...]
/osnet-11/usr/src/lib/libnsl/des/
H A Ddes_crypt.c192 desN_crypt(des_block keys[], int keynum, char *buf, unsigned int len, argument
200 if (keynum < 1)
204 for (i = 0; i < keynum; i++) {
205 j = (mode & DES_DECRYPT) ? keynum - 1 - i : i;
215 if ((mode & DES_DECRYPT) || i != keynum - 1 || i%2)
218 if (keynum % 2 == 0)
/osnet-11/usr/src/lib/libnsl/rpc/
H A Dkey_call.c316 keynum_t keynum
328 for (i = 0; i < keynum; i++) {
339 arg.deskey.deskeyarray_len = keynum;
351 if (res.cryptkeyres3_u.deskey.deskeyarray_len != keynum) {
386 keynum_t keynum
398 for (i = 0; i < keynum; i++) {
408 arg.deskey.deskeyarray_len = keynum;
422 if (res.cryptkeyres3_u.deskey.deskeyarray_len != keynum) {
454 keynum_t keynum
465 arg.deskey.deskeyarray_len = keynum;
[all...]
/osnet-11/usr/src/lib/gss_mechs/mech_dh/backend/mech/
H A Dcrypto.c92 * decrypt(buf, k[4]) ... encrypt(buf, k[keynum - 1])
104 __desN_crypt(des_block keys[], int keynum, char *buf, unsigned int len, argument
115 if (keynum < 1)
122 for (i = 0; i < keynum; i++) {
123 j = (mode & DES_DECRYPT) ? keynum - 1 - i : i;
133 if ((mode & DES_DECRYPT) || i != keynum - 1 || i%2)
141 if (keynum % 2 == 0)
/osnet-11/usr/src/lib/libnsl/key/
H A Dgen_dhkeys.c250 * Arg 'keynum' is the size of the 'deskeys' array. It should be a 1
261 keynum_t keynum) /* in */
288 (*dlfp)(xpublic, xsecret, deskeys, keynum);
256 __gen_common_dhkeys_g(char *xpublic, char *xsecret, keylen_t keylen, algtype_t algtype, des_block deskeys[], keynum_t keynum) argument
/osnet-11/usr/src/lib/fm/libdiagcode/common/
H A Ddiagcode.c657 int keynum = 0; local
665 ptr = key[keynum];
690 keynum++;

Completed in 72 milliseconds