Searched defs:key1 (Results 1 - 25 of 25) sorted by relevance

/illumos-gate/usr/src/common/net/wanboot/crypt/
H A Ddes3_test.c93 char key1[DES_KEY_SIZE * 2]; member in struct:test_keys
177 getxdata(key, gk[i].key1, DES_KEY_SIZE);
192 getxdata(key, bk[i].key1, 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)
102 if (krb5_enctypes_list[i].etype == key1->enctype)
155 if ((ret = dr(context, enc, key1, r1, &input)))
168 input.length = key1->length;
169 input.data = (char *) key1->contents;
254 outkey->enctype = key1->enctype;
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
89 struct apcommon *apc1 = (struct apcommon *)key1;
H A Ddevinfo.c1275 di_key_cmp(mod_hash_key_t key1, mod_hash_key_t key2) argument
1279 dik1 = key1;
H A Dtl.c1364 tl_hash_cmp_addr(mod_hash_key_t key1, mod_hash_key_t key2) argument
1367 tl_addr_t *ap1 = (tl_addr_t *)key1;
1370 ASSERT(key1 != 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
101 rv = meta_object_alloc(session, &key1);
110 pPublicKeyTemplate, ulPublicKeyAttributeCount, key1,
115 meta_object_activate(key1);
118 *phPublicKey = (CK_OBJECT_HANDLE) key1;
123 if (key1)
124 (void) meta_object_dealloc(session, key1, B_TRUE);
H A DmetaUtil.c920 CK_ATTRIBUTE *k1Template, CK_ULONG k1AttrCount, meta_object_t *key1,
938 &(key1->isToken));
940 &(key1->isSensitive));
942 &(key1->isPrivate));
945 &(key1->isExtractable)))
946 key1->isExtractable = B_TRUE;
948 if (key1->isToken)
975 ((key1->isToken) || ((key2) && (key2->isToken)))) {
979 if (meta_freeobject_check(session, key1, pMechanism, k1Template,
982 if ((key1
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
64 const unsigned char *s1=(unsigned const char*)key1;
/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
423 HMAC_Key *hkey1 = (HMAC_Key *) key1->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.c223 kcf_get_hardware_provider(crypto_mech_type_t mech_type_1, crypto_key_t *key1, argument
282 if ((key1 != NULL) &&
284 key1)) {
359 if ((key1 != NULL) &&
360 !kcf_check_prov_mech_keylen(old, mech_type_1, key1)) {
658 kcf_get_dual_provider(crypto_mechanism_t *mech1, crypto_key_t *key1, argument
718 if ((key1 != NULL) && !kcf_check_prov_mech_keylen(pd,
719 mech1->cm_type, key1)) {
/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
282 uintptr_t k1 = (uintptr_t)key1;
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
274 uint_t u1 = (uint_t)(uintptr_t)key1;
H A Dzone.c2165 hash_labelkey_cmp(mod_hash_key_t key1, mod_hash_key_t key2) argument
2167 ts_label_t *lab1 = (ts_label_t *)key1;
/illumos-gate/usr/src/lib/libsqlite/src/
H A Dos.c301 struct lockKey key1; local
308 memset(&key1, 0, sizeof(key1));
309 key1.dev = statbuf.st_dev;
310 key1.ino = statbuf.st_ino;
311 key1.pid = getpid();
315 pLock = (struct lockInfo*)sqliteHashFind(&lockHash, &key1, sizeof(key1));
320 pLock->key = key1;
323 pOld = sqliteHashInsert(&lockHash, &pLock->key, sizeof(key1), pLoc
[all...]
/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
285 struct rtsa_s *rp1 = (struct rtsa_s *)key1;
322 gcgrp_hash_cmp(mod_hash_key_t key1, mod_hash_key_t key2) argument
324 tsol_gcgrp_addr_t *ga1 = (tsol_gcgrp_addr_t *)key1;
/illumos-gate/usr/src/uts/common/io/ib/clients/rdsv3/
H A Drdsv3_impl.c1042 uint32_t key1 = *(uint32_t *)mr1; local
1045 if (key1 < key2)
1047 if (key1 > key2)
/illumos-gate/usr/src/uts/common/io/hxge/
H A Dhxge_pfc.h231 #define key1 key.regs.reg1 macro
/illumos-gate/usr/src/uts/common/io/arn/
H A Darn_hw.c2693 uint32_t key0, key1, key2, key3, key4; local
2755 key1 = (ARN_LE_READ_16(k->kv_val + 4) ^ xorMask) & 0xffff;
2767 REG_WRITE(ah, AR_KEYTABLE_KEY1(entry), ~key1);
2804 REG_WRITE(ah, AR_KEYTABLE_KEY1(entry), key1);
2807 REG_WRITE(ah, AR_KEYTABLE_KEY1(entry), key1);
/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.h1264 #define key1 key.regs_e.reg1 macro

Completed in 175 milliseconds