Searched defs:key (Results 451 - 475 of 889) sorted by relevance

<<11121314151617181920>>

/illumos-gate/usr/src/cmd/priocntl/
H A Dsubr.c300 verifyupri(idtype_t idtype, id_t id, char *clname, int key, argument
316 if (priocntl(P_PID, id, PC_GETXPARMS, clname, key,
441 clname, key, &uprilim, 0) == -1)
/illumos-gate/usr/src/lib/pkcs11/pkcs11_kernel/common/
H A DkernelUtil.c255 * Return the value of a secret key object.
283 * Convert a RSA private key object into a crypto_key structure.
289 get_rsa_private_key(kernel_object_t *object_p, crypto_key_t *key) argument
310 key->ck_format = CRYPTO_KEY_ATTR_LIST;
311 key->ck_attrs = attrs;
315 * Allocate memory for each key attribute and set up the value
318 key->ck_count = 0;
331 key->ck_count++;
346 key->ck_count++;
357 key
423 get_rsa_public_key(kernel_object_t *object_p, crypto_key_t *key) argument
476 free_key_attributes(crypto_key_t *key) argument
501 get_dsa_private_key(kernel_object_t *object_p, crypto_key_t *key) argument
563 get_dsa_public_key(kernel_object_t *object_p, crypto_key_t *key) argument
625 get_ec_private_key(kernel_object_t *object_p, crypto_key_t *key) argument
697 get_ec_public_key(kernel_object_t *object_p, crypto_key_t *key) argument
[all...]
/illumos-gate/usr/src/lib/print/libprint/common/
H A Dns.h86 char *key; /* key */ member in struct:ns_kvp
149 ns_kvp_t **attributes; /* key/value pairs. */
174 /* functions to manipulate key/value pairs */
/illumos-gate/usr/src/lib/pyzfs/common/
H A Dioctl.c133 PyObject *key, *value; local
144 while (PyDict_Next(d, &pos, &key, &value)) {
145 char *keystr = PyString_AsString(key);
147 PyErr_SetObject(PyExc_KeyError, key);
/illumos-gate/usr/src/lib/fm/libfmd_snmp/common/
H A Dresource.c77 static sunFmResource_data_t key; local
79 key.d_index = index;
81 (void) strlcpy(key.d_ari_fmri, fmri, sizeof (key.d_ari_fmri));
83 key.d_ari_fmri[0] = '\0';
85 return (&key);
97 sunFmResource_data_t *key; local
99 key = key_build(fmri, 0);
100 return (uu_avl_find(rsrc_fmri_avl, key, NULL, NULL));
112 sunFmResource_data_t *key; local
128 sunFmResource_data_t *key, *data; local
[all...]
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/os/
H A Dan_to_ln.c66 #define KDBM_FETCH(db, key) dbm_fetch(db, key)
113 datum key, contents; local
118 key.dptr = princ_name;
119 key.dsize = strlen(princ_name)+1; /* need to store the NULL for
128 contents = KDBM_FETCH(db, key);
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/profile/
H A Dprof_solaris.c36 __profile_iter_name_value(profile_t profile, char *section, char *key, argument
57 if ((key == NULL) || (strcmp(value, key) == 0)) {
/illumos-gate/usr/src/lib/libsmbfs/smb/
H A Dntlm.c168 * Calculate an NTLMv1 session key (16 bytes).
230 * Compute the session key
300 * Compute the session key
310 * it truncates the input key to 64 bytes rather than hashing it down
317 const uchar_t *key, size_t key_len,
321 uchar_t k_ipad[64]; /* inner padding - key XORd with ipad */
322 uchar_t k_opad[64]; /* outer padding - key XORd with opad */
325 /* if key is longer than 64 bytes use only the first 64 bytes */
334 * where K is an n byte key
340 /* start out by storing key i
316 HMACT64(uchar_t *digest, const uchar_t *key, size_t key_len, const uchar_t *data, size_t data_len) argument
[all...]
H A Drcfile.c68 static struct rckey *rc_sect_findkey(struct rcsection *rsp, const char *key);
430 /* side effect: 'key name=' */
496 rc_getstringptr(struct rcfile *rcp, const char *section, const char *key, argument
511 rkp = rc_sect_findkey(rsp, key);
525 rc_getstring(struct rcfile *rcp, const char *section, const char *key, argument
531 error = rc_getstringptr(rcp, section, key, &value);
536 "line too long for key '%s' in section '%s', max = %d\n"),
537 key, section, maxlen);
545 rc_getint(struct rcfile *rcp, const char *section, const char *key, int *value) argument
558 rkp = rc_sect_findkey(rsp, key);
581 rc_getbool(struct rcfile *rcp, const char *section, const char *key, int *value) argument
[all...]
/illumos-gate/usr/src/lib/libtnfctl/
H A Dcomb.c192 decode_key_t key; local
201 key.addr = addr;
202 find_pp = (decode_key_t **) tfind(&key, &hndl->decoderoot,
483 comb_key_t key; local
486 key.op = op;
487 key.down = down;
488 key.next = next;
489 key.comb = NULL;
491 find_pp = (comb_key_t **) tfind(&key, &hndl->buildroot, comb_compare);
/illumos-gate/usr/src/lib/libwrap/
H A Doptions.c143 char *key; local
170 key = curr_opt;
175 if (*key == 0)
183 for (op = option_table; op->name && STR_NE(op->name, key); op++)
186 tcpd_jump("bad option name: \"%s\"", key);
188 tcpd_jump("option \"%s\" requires value", key);
190 tcpd_jump("option \"%s\" requires no value", key);
192 tcpd_jump("option \"%s\" must be at end", key);
196 syslog(LOG_DEBUG, "option: %s %s", key, value ? value : "");
/illumos-gate/usr/src/lib/libnsl/rpc/
H A Dsvcauth_des.c74 des_block key; /* conversation key */ member in struct:cache_entry
172 cred->adc_fullname.key.key.high = (uint32_t)*ixdr++;
173 cred->adc_fullname.key.key.low = (uint32_t)*ixdr++;
191 verf.adv_xtimestamp.key.high = (uint32_t)*ixdr++;
192 verf.adv_xtimestamp.key.low = (uint32_t)*ixdr++;
198 * Get the conversation key
205 init_sessionkey = cred->adc_fullname.key;
567 cache_spot(des_block *key, char *name, struct timeval *timestamp) argument
[all...]
/illumos-gate/usr/src/lib/libbc/libc/gen/common/
H A Dhsearch.c114 POINTER key; member in struct:entry
175 new->key = malloc((unsigned) strlen(line) + 1);
176 if(new->key == NULL) {
180 strcpy(new->key, line);
194 printf("Key = %s, Value = %d\n", res->key, *res->data);
257 i = HASH(item.key); /* Primary hash on key */
264 if(table[i].key == NULL) /* Empty slot? */
266 else if(COMPARE(table[i].key, item.key)
440 hashd(POINTER key) argument
459 hashm(POINTER key) argument
486 hash2m(POINTER key) argument
495 crunch(POINTER key) argument
[all...]
H A Dndbm.c172 dbm_forder(DBM *db, datum key) argument
176 hash = dcalchash(key);
187 dbm_fetch(DBM *db, datum key) argument
194 dbm_access(db, dcalchash(key));
195 if ((i = finddatum(db->dbm_pagbuf, key)) >= 0) {
207 dbm_delete(DBM *db, datum key) argument
217 dbm_access(db, dcalchash(key));
218 if ((i = finddatum(db->dbm_pagbuf, key)) < 0)
238 dbm_store(DBM *db, datum key, datum dat, int replace) argument
251 dbm_access(db, dcalchash(key));
447 datum key; local
[all...]
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dhsearch.c175 new->key = malloc((unsigned)strlen(line) + 1);
176 if (new->key == NULL) {
180 (void) strcpy(new->key, line);
194 printf("Key = %s, Value = %d\n", res->key, *res->data);
293 i = HASH(item.key); /* Primary hash on key */
300 if (table[i].key == NULL) /* Empty slot? */
302 else if (COMPARE(table[i].key, item.key) == 0) /* Match? */
306 c = HASH2(item.key); /* N
493 hashm(POINTER key) argument
505 hash2m(POINTER key) argument
515 crunch(POINTER key) argument
[all...]
H A Dnsparse.c814 * followed by "key" surrounded by zero or more spaces and
816 * *cur pointer is advanced to the first non {space, key} char
817 * followed by the key. Otherwise, return NULL and keep
821 skip(char **cur, char key) argument
829 found = (*p == key);
831 *p++ = '\0'; /* overwrite the key */
835 tmpfound = (*++p == key);
840 p++; /* skip the key */
/illumos-gate/usr/src/lib/libcommputil/common/
H A Dsdp_parse.c739 * key-field (k=)
740 * [%x6b "=" key-type CRLF]
741 * key-type = %x70 %x72 %x6f %x6d %x70 %x74 / ; "prompt"
747 sdp_parse_key(sdp_key_t **key, const char *begin, const char *end, argument
757 /* There can be only one key field */
758 if (*key != NULL)
778 /* Get key, if exists. */
790 *key = new_key;
/illumos-gate/usr/src/lib/libldap5/sources/ldap/ssldap/
H A Dclientinit.c43 #include <key.h>
97 /* key: key3.db */
100 splitpath(char *string, char *dir, char *prefix, char *key) { argument
122 /* indicating cert or key */
137 PL_strcpy(key, k);
142 PL_strcpy(key, k);
149 /* neither *key[0-9].db nor *cert[0=9].db found */
377 * If needkeydb == 0, no key database is opened and SSL server authentication
393 * If "keydbpath" is NULL or "", the default key db is used (typically
397 * it is assumed to be a full path to the key d
[all...]
/illumos-gate/usr/src/common/crypto/aes/
H A Daes_impl.c853 /* Rcon is Round Constant; used for encryption key expansion */
864 * Expand the cipher key into the encryption key schedule.
866 * Return the number of rounds for the given cipher key size.
867 * The size of the key schedule depends on the number of rounds
868 * (which can be computed from the size of the key), i.e. 4*(Nr + 1).
871 * rk AES key schedule 32-bit array to be initialized
872 * cipherKey User key
873 * keyBits AES key size (128, 192, or 256 bits)
974 * Expand the cipher key int
1119 aes_setupkeys(aes_key_t *key, const uint32_t *keyarr32, int keybits) argument
1141 aes_setupkeys(aes_key_t *key, const uint32_t *keyarr32, int keybits) argument
1293 aes_setupkeys(aes_key_t *key, const uint32_t *keyarr32, int keybits) argument
[all...]
/illumos-gate/usr/src/common/crypto/ecc/
H A Dec.c241 /* Generates a new EC key pair. The private key is a supplied
242 * value and the public key is the result of performing a scalar
251 ECPrivateKey *key; local
266 /* Initialize an arena for the EC key. */
270 key = (ECPrivateKey *)PORT_ArenaZAlloc(arena, sizeof(ECPrivateKey),
272 if (!key) {
278 SECITEM_AllocItem(arena, &key->version, 1, kmflag);
279 key->version.data[0] = 1;
282 * ECParams structure within the private key
631 ECDSA_SignDigestWithSeed(ECPrivateKey *key, SECItem *signature, const SECItem *digest, const unsigned char *kb, const int kblen, int kmflag) argument
830 ECDSA_SignDigest(ECPrivateKey *key, SECItem *signature, const SECItem *digest, int kmflag) argument
868 ECDSA_VerifyDigest(ECPublicKey *key, const SECItem *signature, const SECItem *digest, int kmflag) argument
[all...]
/illumos-gate/usr/src/common/fs/
H A Dufsops.c789 int key; member in struct:cache
794 set_cache(int key, void *data, uint_t size) argument
797 entry->key = key;
810 get_cache(int key) argument
814 if (entry->key == key)
/illumos-gate/usr/src/cmd/oamuser/user/
H A Dfuncs.c48 const char *key; member in struct:ua_key
102 * Change a key, there are three different call sequences:
104 * key, value - key with option letter, value.
105 * NULL, value - -K key=value option.
109 change_key(const char *key, char *value) argument
114 if (key == NULL) {
115 key = value;
126 if (strcmp(key, keys[i].key)
156 const char *key = keys[i].key; local
179 getsetdefval(const char *key, char *dflt) argument
[all...]
/illumos-gate/usr/src/cmd/picl/plugins/sun4v/lib/snmp/
H A Ddebug.c98 int key; member in struct:__anon1252
367 snmp_log_asn(int key, uchar_t *pkt, size_t pktsz) argument
383 if ((asnstr = snmp_asnencoding_lookup(key)) == NULL) {
385 SNMP_DASN_INDENT, ' ', SNMP_DTEXT_PREFIX, key);
527 if (snmp_cmds[i].key == cmd)
541 if (snmp_vartypes[i].key == vtype)
555 if (snmp_asnencodings[i].key == asnkey)
/illumos-gate/usr/src/cmd/powertop/common/
H A Dpowertop.h145 char key; member in struct:suggestion
/illumos-gate/usr/src/cmd/print/printmgr/com/sun/admin/pm/server/
H A DNS.c218 char *key; /* key */ member in struct:ns_kvp
257 ns_kvp_t **attributes; /* key/value pairs. */

Completed in 127 milliseconds

<<11121314151617181920>>