Searched defs:key2 (Results 1 - 24 of 24) sorted by relevance

/illumos-gate/usr/src/common/net/wanboot/crypt/
H A Ddes3_test.c94 char key2[DES_KEY_SIZE * 2]; member in struct:test_keys
178 getxdata(&key[8], gk[i].key2, DES_KEY_SIZE);
193 getxdata(&key[8], bk[i].key2, DES_KEY_SIZE);
/illumos-gate/usr/src/cmd/prstat/
H A Dprsort.c152 compare_keys(list_t *list, ulong_t key1, ulong_t key2) argument
154 if (key1 == key2)
156 if (key1 < key2)
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/crypto/
H A Dcombine_keys.c81 (krb5_context context, krb5_keyblock *key1, krb5_keyblock *key2, krb5_keyblock *outkey)
90 if (!(enctype_ok(key1->enctype)&&enctype_ok(key2->enctype)))
94 if (key1->length != key2->length || key1->enctype != key2->enctype)
152 input.length = key2->length;
153 input.data = (char *) key2->contents;
171 if ((ret = dr(context, enc, key2, r2, &input)))
80 krb5int_c_combine_keys(krb5_context context, krb5_keyblock *key1, krb5_keyblock *key2, krb5_keyblock *outkey) argument
/illumos-gate/usr/src/uts/common/io/
H A Dsad_conf.c87 sad_hash_keycmp(mod_hash_key_t key1, mod_hash_key_t key2) argument
90 struct apcommon *apc2 = (struct apcommon *)key2;
H A Ddevinfo.c1275 di_key_cmp(mod_hash_key_t key1, mod_hash_key_t key2) argument
1280 dik2 = key2;
H A Dtl.c1364 tl_hash_cmp_addr(mod_hash_key_t key1, mod_hash_key_t key2) argument
1368 tl_addr_t *ap2 = (tl_addr_t *)key2;
1371 ASSERT(key2 != NULL);
1379 return (! tl_eqaddr((tl_addr_t *)key1, (tl_addr_t *)key2));
/illumos-gate/usr/src/lib/pkcs11/libpkcs11/common/
H A DmetaKeys.c91 meta_object_t *key1 = NULL, *key2 = NULL; local
105 rv = meta_object_alloc(session, &key2);
111 pPrivateKeyTemplate, ulPrivateKeyAttributeCount, key2);
116 meta_object_activate(key2);
119 *phPrivateKey = (CK_OBJECT_HANDLE) key2;
125 if (key2)
126 (void) meta_object_dealloc(session, key2, B_TRUE);
H A DmetaUtil.c921 CK_ATTRIBUTE *k2Template, CK_ULONG k2AttrCount, meta_object_t *key2)
953 if (key2) {
955 &(key2->isToken));
957 k2AttrCount, &(key2->isSensitive));
959 k2AttrCount, &(key2->isPrivate));
962 k2AttrCount, &(key2->isExtractable)))
963 key2->isExtractable = B_TRUE;
965 if (key2->isToken)
975 ((key1->isToken) || ((key2) && (key2
919 meta_generate_keys(meta_session_t *session, CK_MECHANISM *pMechanism, CK_ATTRIBUTE *k1Template, CK_ULONG k1AttrCount, meta_object_t *key1, CK_ATTRIBUTE *k2Template, CK_ULONG k2AttrCount, meta_object_t *key2) argument
[all...]
/illumos-gate/usr/src/lib/libshell/common/sh/
H A Denv.c61 static int compare(Dt_t *dt, Void_t* key1, Void_t* key2, Dtdisc_t* disc) argument
65 const unsigned char *s2=(unsigned const char*)key2;
/illumos-gate/usr/src/lib/libresolv2/common/dst/
H A Dhmac_link.c421 dst_hmac_md5_compare_keys(const DST_KEY *key1, const DST_KEY *key2) argument
424 HMAC_Key *hkey2 = (HMAC_Key *) key2->dk_KEY_struct;
H A Ddst_api.c190 * key1, key2 Two keys to be compared.
197 dst_compare_keys(const DST_KEY *key1, const DST_KEY *key2) argument
199 if (key1 == key2)
201 if (key1 == NULL || key2 == NULL)
203 if (key1->dk_alg != key2->dk_alg)
205 if (key1->dk_key_size != key2->dk_key_size)
207 if (key1->dk_id != key2->dk_id)
209 return (key1->dk_func->compare(key1, key2));
/illumos-gate/usr/src/tools/ctf/cvt/
H A Dhash.c127 hash_remove_cb(void *key1, void *key2, hash_t *hash) argument
129 return (hash->h_cmp(key1, key2));
/illumos-gate/usr/src/lib/smbsrv/libsmbns/common/
H A Dsmbns_netbios_cache.c48 static int smb_netbios_match(const char *key1, const char *key2, size_t n);
802 smb_netbios_match(const char *key1, const char *key2, size_t n) argument
806 res = bcmp(key1, key2, NETBIOS_NAME_SZ);
809 res = strcmp(key1 + NETBIOS_NAME_SZ, key2 + NETBIOS_NAME_SZ);
/illumos-gate/usr/src/uts/common/crypto/core/
H A Dkcf_callprov.c224 crypto_mech_type_t mech_type_2, crypto_key_t *key2,
301 if ((key2 != NULL) &&
303 mech_type_2, key2)) {
659 crypto_mechanism_t *mech2, crypto_key_t *key2,
749 if ((key2 != NULL) &&
751 mech2->cm_type, key2)) {
223 kcf_get_hardware_provider(crypto_mech_type_t mech_type_1, crypto_key_t *key1, crypto_mech_type_t mech_type_2, crypto_key_t *key2, kcf_provider_desc_t *old, kcf_provider_desc_t **new, crypto_func_group_t fg) argument
658 kcf_get_dual_provider(crypto_mechanism_t *mech1, crypto_key_t *key1, crypto_mechanism_t *mech2, crypto_key_t *key2, kcf_mech_entry_t **mepp, crypto_mech_type_t *prov_mt1, crypto_mech_type_t *prov_mt2, int *error, kcf_prov_tried_t *triedl, crypto_func_group_t fg1, crypto_func_group_t fg2, size_t data_size) argument
/illumos-gate/usr/src/uts/common/os/
H A Dmodhash.c163 #define MH_KEYCMP(hash, key1, key2) ((hash->mh_keycmp)(key1, key2))
223 mod_hash_strkey_cmp(mod_hash_key_t key1, mod_hash_key_t key2) argument
225 return (strcmp((char *)key1, (char *)key2));
280 mod_hash_ptrkey_cmp(mod_hash_key_t key1, mod_hash_key_t key2) argument
283 uintptr_t k2 = (uintptr_t)key2;
347 mod_hash_idkey_cmp(mod_hash_key_t key1, mod_hash_key_t key2) argument
349 return ((uint_t)(uintptr_t)key1 - (uint_t)(uintptr_t)key2);
H A Dproject.c147 project_hash_key_cmp(mod_hash_key_t key1, mod_hash_key_t key2) argument
149 struct project_zone *pz1 = key1, *pz2 = key2;
H A Drctl.c272 rctl_dict_id_cmp(mod_hash_key_t key1, mod_hash_key_t key2) argument
275 uint_t u2 = (uint_t)(uintptr_t)key2;
H A Dzone.c2165 hash_labelkey_cmp(mod_hash_key_t key1, mod_hash_key_t key2) argument
2168 ts_label_t *lab2 = (ts_label_t *)key2;
/illumos-gate/usr/src/lib/libsqlite/src/
H A Dos.c302 struct openKey key2; local
312 memset(&key2, 0, sizeof(key2));
313 key2.dev = statbuf.st_dev;
314 key2.ino = statbuf.st_ino;
333 pOpen = (struct openCnt*)sqliteHashFind(&openHash, &key2, sizeof(key2));
341 pOpen->key = key2;
346 pOld = sqliteHashInsert(&openHash, &pOpen->key, sizeof(key2), pOpen);
/illumos-gate/usr/src/uts/common/inet/ip/
H A Dtnet.c283 gcdb_hash_cmp(mod_hash_key_t key1, mod_hash_key_t key2) argument
286 struct rtsa_s *rp2 = (struct rtsa_s *)key2;
322 gcgrp_hash_cmp(mod_hash_key_t key1, mod_hash_key_t key2) argument
325 tsol_gcgrp_addr_t *ga2 = (tsol_gcgrp_addr_t *)key2;
/illumos-gate/usr/src/uts/common/io/ib/clients/rdsv3/
H A Drdsv3_impl.c1043 uint32_t key2 = ((struct rdsv3_mr *)mr2)->r_key; local
1045 if (key1 < key2)
1047 if (key1 > key2)
/illumos-gate/usr/src/uts/common/io/arn/
H A Darn_hw.c2693 uint32_t key0, key1, key2, key3, key4; local
2756 key2 = ARN_LE_READ_32(k->kv_val + 6) ^ xorMask;
2768 REG_WRITE(ah, AR_KEYTABLE_KEY2(entry), key2);
2808 REG_WRITE(ah, AR_KEYTABLE_KEY2(entry), key2);
/illumos-gate/usr/src/uts/common/io/ib/clients/ibd/
H A Dibd.c1370 ibd_hash_key_cmp(mod_hash_key_t key1, mod_hash_key_t key2) argument
1372 if (bcmp((char *)key1, (char *)key2, IPOIB_ADDRL) == 0)
/illumos-gate/usr/src/uts/common/sys/nxge/
H A Dnxge_fflp_hw.h1265 #define key2 key.regs_e.reg2 macro

Completed in 160 milliseconds