/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/mech/ |
H A D | util_validate.c | 86 DBT key; local 105 key.data = &vk; 106 key.size = sizeof(vk); 108 ret = ((*((*vdb)->put))(*vdb, &key, &dbtone, 0) == 0); 147 DBT key, value; local 162 key.data = &vk; 163 key.size = sizeof(vk); 165 if ((*((*vdb)->get))(*vdb, &key, &value, 0)) { 206 DBT key; local 221 key [all...] |
/illumos-gate/usr/src/uts/common/crypto/io/ |
H A D | ecc.c | 84 crypto_key_t *key; member in struct:ecc_ctx 94 crypto_key_t *key; member in struct:digest_ecc_ctx 344 check_mech_and_key(ecc_mech_type_t mech_type, crypto_key_t *key, ulong_t class) argument 355 if (key->ck_format != CRYPTO_KEY_ATTR_LIST) { 361 if ((rv = crypto_get_key_attr(key, CKA_EC_POINT, &foo, 371 if ((rv = crypto_get_key_attr(key, CKA_VALUE, &foo, 450 bzero(ctxp->key, ctxp->keychunk_size); 451 kmem_free(ctxp->key, ctxp->keychunk_size); 467 crypto_key_t *key, crypto_spi_ctx_template_t ctx_template, 480 if (crypto_get_key_attr(key, CKA_EC_PARAM 466 ecc_sign_verify_common_init(crypto_ctx_t *ctx, crypto_mechanism_t *mechanism, crypto_key_t *key, crypto_spi_ctx_template_t ctx_template, crypto_req_handle_t req) argument 546 ecc_sign_init(crypto_ctx_t *ctx, crypto_mechanism_t *mechanism, crypto_key_t *key, crypto_spi_ctx_template_t ctx_template, crypto_req_handle_t req) argument 566 ecc_verify_init(crypto_ctx_t *ctx, crypto_mechanism_t *mechanism, crypto_key_t *key, crypto_spi_ctx_template_t ctx_template, crypto_req_handle_t req) argument 652 crypto_key_t *key = ctx->key; local 780 ecc_sign_atomic(crypto_provider_handle_t provider, crypto_session_id_t session_id, crypto_mechanism_t *mechanism, crypto_key_t *key, crypto_data_t *data, crypto_data_t *signature, crypto_spi_ctx_template_t ctx_template, crypto_req_handle_t req) argument 854 crypto_key_t *key = ctx->key; local 977 ecc_verify_atomic(crypto_provider_handle_t provider, crypto_session_id_t session_id, crypto_mechanism_t *mechanism, crypto_key_t *key, crypto_data_t *data, crypto_data_t *signature, crypto_spi_ctx_template_t ctx_template, crypto_req_handle_t req) argument 1313 free_ecprivkey(ECPrivateKey *key) argument [all...] |
/illumos-gate/usr/src/lib/udapl/libdat/include/ |
H A D | dat_dictionary.h | 93 IN const DAT_PROVIDER_INFO *key, 99 IN const DAT_PROVIDER_INFO *key, 113 IN const DAT_PROVIDER_INFO *key,
|
/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/libdb2/btree/ |
H A D | bt_get.c | 57 * key: key to find 62 * RET_ERROR, RET_SUCCESS and RET_SPECIAL if the key not found. 65 __bt_get(dbp, key, data, flags) 67 const DBT *key; 89 if ((e = __bt_search(t, key, &exact)) == NULL) 100 * key/data, toss the page.
|
/illumos-gate/usr/src/uts/common/crypto/api/ |
H A D | kcf_mac.c | 59 * CRYPTO_INVALID_KEY: bogus 'key' argument. 72 * key: pointer to a crypto_key_t structure. 76 * MAC with the 'mech' using 'key'. 'tmpl' is created by 83 * 'mech', using * the key 'key', on the specified provider with 96 crypto_mechanism_t *mech, crypto_data_t *data, crypto_key_t *key, 107 rv = kcf_get_hardware_provider(mech->cm_type, key, 115 KCF_WRAP_MAC_OPS_PARAMS(¶ms, KCF_OP_ATOMIC, sid, mech, key, 130 crypto_key_t *key, crypto_ctx_template_t tmpl, crypto_data_t *mac, 143 if ((pd = kcf_get_mech_provider(mech->cm_type, key, 95 crypto_mac_prov(crypto_provider_t provider, crypto_session_id_t sid, crypto_mechanism_t *mech, crypto_data_t *data, crypto_key_t *key, crypto_ctx_template_t tmpl, crypto_data_t *mac, crypto_call_req_t *crq) argument 129 crypto_mac(crypto_mechanism_t *mech, crypto_data_t *data, crypto_key_t *key, crypto_ctx_template_t tmpl, crypto_data_t *mac, crypto_call_req_t *crq) argument 219 crypto_mac_verify_prov(crypto_provider_t provider, crypto_session_id_t sid, crypto_mechanism_t *mech, crypto_data_t *data, crypto_key_t *key, crypto_ctx_template_t tmpl, crypto_data_t *mac, crypto_call_req_t *crq) argument 253 crypto_mac_verify(crypto_mechanism_t *mech, crypto_data_t *data, crypto_key_t *key, crypto_ctx_template_t tmpl, crypto_data_t *mac, crypto_call_req_t *crq) argument 371 crypto_mac_init_prov(crypto_provider_t provider, crypto_session_id_t sid, crypto_mechanism_t *mech, crypto_key_t *key, crypto_spi_ctx_template_t tmpl, crypto_context_t *ctxp, crypto_call_req_t *crq) argument 434 crypto_mac_init(crypto_mechanism_t *mech, crypto_key_t *key, crypto_ctx_template_t tmpl, crypto_context_t *ctxp, crypto_call_req_t *crq) argument [all...] |
/illumos-gate/usr/src/uts/common/io/ |
H A D | kbd.c | 118 uchar_t key_station; /* Physical key station associated with event */ 145 * Table of key stations currently down 152 ushort_t compose_key; /* first compose key */ 751 * Since this only affects any subsequent key presses, 773 * Since this only affects any subsequent key presses, 989 if (kbd_input_debug) printf("KBD USE key=%d\n", keycode); 1128 kbdsetkey(register struct kbddata *kbdd, struct kiockey *key, cred_t *cr) argument 1135 if (key->kio_station >= KEYMAP_SIZE) 1139 tablemask = key->kio_tablemask; 1143 kbdd->kbdd_state.k_curkeyboard->k_abort1 = key 1198 kbdgetkey(register struct kbddata *kbdd, struct kiockey *key) argument 1242 kbdskey(register struct kbddata *kbdd, struct kiockeymap *key, cred_t *cr) argument 1280 kbdgkey(register struct kbddata *kbdd, struct kiockeymap *key) argument 1420 kbdinput(register struct kbddata *kbdd, register unsigned key) argument 1734 register uchar_t key; local [all...] |
/illumos-gate/usr/src/lib/pkcs11/pkcs11_kernel/common/ |
H A D | kernelUtil.c | 255 * 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/cmd/isns/isnsd/ |
H A D | func.c | 127 * get the key attributes of the packet. 142 isns_tlv_t *key; local 145 key = pdu_get_key(pdu, &key_len); 147 conn->in_packet.key = key; 306 * which the key attributes identify. 309 * key - the key attributes. 310 * key_len - the length of the key attributes. 319 isns_tlv_t *key, 317 setup_key_lcp( lookup_ctrl_t *lcp, isns_tlv_t *key, uint16_t key_len ) argument 478 isns_tlv_t *key = conn->in_packet.key; local 622 isns_tlv_t *key = conn->in_packet.key; local 839 isns_tlv_t *key = conn->in_packet.key; local 1010 isns_tlv_t *key = conn->in_packet.key; local 1268 isns_tlv_t *key = conn->in_packet.key; local 1326 isns_tlv_t *key = conn->in_packet.key; local 1436 isns_tlv_t *key = conn->in_packet.key; local 1674 isns_tlv_t *key = conn->in_packet.key; local 1875 isns_tlv_t *key = conn->in_packet.key; local 1994 isns_tlv_t *key = conn->in_packet.key; local [all...] |
/illumos-gate/usr/src/uts/sun4u/starcat/io/ |
H A D | mboxsc.c | 173 * entries so they can be rapidly accessed by their key values. 176 #define HASH_KEY(key) ((((key) >> 24) ^ ((key) >> 16) ^ ((key) >> 9) ^\ 177 (key)) & (HASHTBL_SIZE - 1)); 221 static mboxsc_mbox_t *mboxsc_hashfind_mailbox_by_key(uint32_t key); 222 static mboxsc_mbox_t *mboxsc_hashremove_mailbox_by_key(uint32_t key); 227 static int mboxsc_timed_read(clock_t deadline, uint32_t key, 229 static int mboxsc_timed_write(clock_t deadline, uint32_t key, 391 mboxsc_init(uint32_t key, int direction, void (*event_handler)(void)) argument 448 mboxsc_fini(uint32_t key) argument 483 mboxsc_putmsg(uint32_t key, uint32_t type, uint32_t cmd, uint64_t *transidp, uint32_t length, void *datap, clock_t timeout) argument 795 mboxsc_getmsg(uint32_t key, uint32_t *typep, uint32_t *cmdp, uint64_t *transidp, uint32_t *lengthp, void *datap, clock_t timeout) argument 1207 mboxsc_ctrl(uint32_t key, uint32_t cmd, void *arg) argument 1338 uint32_t key = (uint32_t)(uintptr_t)arg; local 1464 uint32_t key = mailboxp->mbox_key; local 1534 uint32_t key = mailboxp->mbox_key; local 1606 mboxsc_hashfind_mailbox_by_key(uint32_t key) argument 1643 mboxsc_hashremove_mailbox_by_key(uint32_t key) argument 1914 mboxsc_timed_read(clock_t deadline, uint32_t key, uint32_t off, uint32_t len, caddr_t dptr) argument 1946 mboxsc_timed_write(clock_t deadline, uint32_t key, uint32_t off, uint32_t len, caddr_t dptr) argument 1978 mboxsc_timed_get_flag(clock_t deadline, uint32_t key, uint8_t *data_validp, uint8_t *int_pendingp) argument 2011 mboxsc_timed_set_flag(clock_t deadline, uint32_t key, uint8_t data_valid, uint8_t int_pending) argument 2074 mboxsc_expire_message(uint32_t key, int *resultp) argument 2399 print_mailbox_by_key(uint32_t key) argument [all...] |
/illumos-gate/usr/src/cmd/oamuser/user/ |
H A D | funcs.c | 48 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/sendmail/db/xa/ |
H A D | xa_db.c | 186 __xa_del(dbp, txn, key, flags) 189 DBT *key; 197 return (real_dbp->del(real_dbp, txn, key, flags)); 201 __xa_get(dbp, txn, key, data, flags) 204 DBT *key; 213 return (real_dbp->get(real_dbp, txn, key, data, flags)); 217 __xa_put(dbp, txn, key, data, flags) 220 DBT *key; 229 return (real_dbp->put(real_dbp, txn, key, data, flags)); 285 __xa_c_get(dbc, key, dat [all...] |
/illumos-gate/usr/src/lib/nsswitch/mdns/common/ |
H A D | gethostent6.c | 46 int af = argp->key.ipnode.af_family; 47 char *hname = (char *)argp->key.ipnode.name; 76 if ((argp->key.hostaddr.type != AF_INET6) || 77 (argp->key.hostaddr.len != sizeof (*addr))) 81 addr = (struct in6_addr *)(argp->key.hostaddr.addr);
|
/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/ |
H A D | cram_md5.c | 17 /* text is the challenge, key is the password, digest is an allocated 19 void hmac_md5(unsigned char *text, int text_len, unsigned char *key, argument 32 (void) MD5Update(&tctx, key, key_len); 34 key = tk; 40 bcopy(key, k_ipad, key_len); 41 bcopy(key, k_opad, key_len);
|
/illumos-gate/usr/src/common/crypto/arcfour/amd64/ |
H A D | arcfour-x86_64.pl | 86 # 5. Set a new field in the key structure, key->flag to 0 for AMD AMD64 107 # void RC4(RC4_KEY *key, unsigned long len, const unsigned char *indata, 115 # void arcfour_crypt_asm(ARCFour_key *key, uchar_t *in, uchar_t *out, 125 # $XX[0] is key->i (aka key->x), $XX[1] is a temporary. 127 # $YY is key->j (aka key->y). 142 arcfour_crypt_asm(ARCFour_key *key, uchar_t *in, uchar_t *out, size_t len) 147 arcfour_key_init(ARCFour_key *key, uchar_ [all...] |
/illumos-gate/usr/src/cmd/nscd/ |
H A D | getexec.c | 85 _priv_execattr *ep1 = (_priv_execattr *)e1->key.attrp; 86 _priv_execattr *ep2 = (_priv_execattr *)e2->key.attrp; 107 execattr_gethash(nss_XbyY_key_t *key, int htsize) { argument 108 _priv_execattr *ep = key->attrp; 122 _priv_execattr *ep = argp->key.attrp;
|
/illumos-gate/usr/src/cmd/sendmail/libsmdb/ |
H A D | smdb1.c | 187 smdb1_del(database, key, flags) 189 SMDB_DBENT *key; 196 dbkey.data = key->data; 197 dbkey.size = key->size; 226 smdb1_get(database, key, data, flags) 228 SMDB_DBENT *key; 238 dbkey.data = key->data; 239 dbkey.size = key->size; 254 smdb1_put(database, key, data, flags) 256 SMDB_DBENT *key; [all...] |
/illumos-gate/usr/src/cmd/fs.d/nfs/statd/ |
H A D | sm_statd.h | 162 #define SMHASH(name, key) { \ 164 key = *name; \ 166 key |= ((*(name+(l-1)) << 24) | (*(name+1) << 16) | \ 168 key = key % MAX_HASHSIZE; \
|
/illumos-gate/usr/src/cmd/hal/tools/ |
H A D | hal_find_by_property.c | 49 "usage : hal-find-by-property --key <key> --string <value>\n" 56 " --key Key of the property to check\n" 81 char *key = NULL; local 98 {"key", 1, NULL, 0}, 122 } else if (strcmp (opt, "key") == 0) { 123 key = strdup (optarg); 141 if (key == NULL || value == NULL) { 167 udis = libhal_manager_find_device_string_match (hal_ctx, key, value, &num_udis, &error); 176 printf ("Found %d device objects with string property %s = '%s'\n", num_udis, key, valu [all...] |
/illumos-gate/usr/src/cmd/ldap/ns_ldap/ |
H A D | mapping.c | 142 * A key can be of the form: attribute=value or value. 150 set_keys(char **key, char *attrtype) argument 158 if (!key || !key[0]) /* should never contain NULL string */ 161 if (key[1]) { 170 karray = key; 201 if (key[1]) { 212 * If the key starts with a digiti, view it as a user id. 214 * It returns: -1 no keys defined, 0 key defined but none for type 218 set_keys_publickey(char **key, cha argument 293 set_filter_publickey(char **key, char *database, int type, char **udata) argument 377 set_filter(char **key, char *database, char **udata) argument [all...] |
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/crypto/old/ |
H A D | old_decrypt.c | 41 const krb5_keyblock *key, 94 if ((key->enctype == ENCTYPE_DES_CBC_CRC) && (ivec == 0)) { 95 crcivec.length = key->length; 96 crcivec.data = (char *) key->contents; 100 if ((ret = ((*(enc->decrypt))(context, key, ivec, input, &output)))) 38 krb5_old_decrypt(krb5_context context, const struct krb5_enc_provider *enc, const struct krb5_hash_provider *hash, const krb5_keyblock *key, krb5_keyusage usage, const krb5_data *ivec, const krb5_data *input, krb5_data *arg_output) argument
|
/illumos-gate/usr/src/lib/libast/common/cdt/ |
H A D | dtmethod.c | 97 { reg Void_t* key = _DTOBJ(list,disc->link); local 98 key = _DTKEY(key,disc->key,disc->size); 99 list->hash = _DTHSH(dt,key,disc,disc->size);
|
/illumos-gate/usr/src/cmd/look/ |
H A D | look.c | 30 char key[WORDSIZE]; variable 85 canon(wstring,key); 99 switch(compare(key,word)) { 119 switch(compare(key,word)) { 134 switch(compare(key,word)) {
|
/illumos-gate/usr/src/uts/common/io/sfxge/ |
H A D | sfxge_hash.c | 85 * - Regard a Toeplitz key and an input as bit strings, with the 87 * - Let's have a 32-bit window sliding over the Toeplitz key bit by bit 120 toeplitz_cache_init(const uint8_t *key) argument 126 for (i = 0; i < SFXGE_TOEPLITZ_IN_MAX; i++, key++) { 133 key_bits[0] = BE_IN32(key); 135 key_bits[0] = BE_32(*(uint32_t *)key); 139 if ((key[sizeof (uint32_t)] & mask) != 0)
|
/illumos-gate/usr/src/cmd/keyserv/ |
H A D | keyserv.c | 43 * performs public key encryption and decryption operations; and it generates 343 "common key disk caching disabled\n"); 435 * randomize the master key the best we can 454 master->key.low = random(); 455 master->key.high = random(); 460 master->key.low = rand(); 461 master->key.high = rand(); 517 char key[MAXROOTKEY_LEN]; local 527 if (sscanf(line, "%s %d", key, &algtype) < 2) { 534 if (!strlen(key)) 1102 des_block key; member in union:__anon693 [all...] |
/illumos-gate/usr/src/lib/libnsl/yp/ |
H A D | yp_enum.c | 59 * first key/value pair from the map data base. The returned key should be 67 char **key, /* return: key array */ 68 int *keylen, /* return: bytes in key */ 96 key, keylen, val, vallen); 120 char **key, /* return: key array */ 121 int *keylen, /* return: bytes in key */ 126 return (__yp_first_cflookup(domain, map, key, keyle 64 __yp_first_cflookup( char *domain, char *map, char **key, int *keylen, char **val, int *vallen, int hardlookup) argument 117 yp_first( char *domain, char *map, char **key, int *keylen, char **val, int *vallen) argument [all...] |