Home
last modified time | relevance | path

Searched refs:key2 (Results 1 – 25 of 34) sorted by relevance

12

/titanic_51/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) in krb5int_c_combine_keys() argument
90 if (!(enctype_ok(key1->enctype)&&enctype_ok(key2->enctype))) in krb5int_c_combine_keys()
94 if (key1->length != key2->length || key1->enctype != key2->enctype) in krb5int_c_combine_keys()
152 input.length = key2->length; in krb5int_c_combine_keys()
153 input.data = (char *) key2->contents; in krb5int_c_combine_keys()
171 if ((ret = dr(context, enc, key2, r2, &input))) in krb5int_c_combine_keys()
/titanic_51/usr/src/lib/pkcs11/libpkcs11/common/
H A DmetaUtil.c921 CK_ATTRIBUTE *k2Template, CK_ULONG k2AttrCount, meta_object_t *key2) in meta_generate_keys() argument
953 if (key2) { in meta_generate_keys()
955 &(key2->isToken)); in meta_generate_keys()
957 k2AttrCount, &(key2->isSensitive)); in meta_generate_keys()
959 k2AttrCount, &(key2->isPrivate)); in meta_generate_keys()
962 k2AttrCount, &(key2->isExtractable))) in meta_generate_keys()
963 key2->isExtractable = B_TRUE; in meta_generate_keys()
965 if (key2->isToken) in meta_generate_keys()
975 ((key1->isToken) || ((key2) && (key2 in meta_generate_keys()
[all...]
H A DmetaKeys.c91 meta_object_t *key1 = NULL, *key2 = NULL; in meta_GenerateKeyPair() local
105 rv = meta_object_alloc(session, &key2); in meta_GenerateKeyPair()
111 pPrivateKeyTemplate, ulPrivateKeyAttributeCount, key2); in meta_GenerateKeyPair()
116 meta_object_activate(key2); in meta_GenerateKeyPair()
119 *phPrivateKey = (CK_OBJECT_HANDLE) key2; in meta_GenerateKeyPair()
125 if (key2) in meta_GenerateKeyPair()
126 (void) meta_object_dealloc(session, key2, B_TRUE); in meta_GenerateKeyPair()
H A DmetaGlobal.h598 CK_ATTRIBUTE *k2Template, CK_ULONG k2AttrCount, meta_object_t *key2);
/titanic_51/usr/src/common/net/wanboot/crypt/
H A Ddes3_test.c94 char key2[DES_KEY_SIZE * 2]; member
178 getxdata(&key[8], gk[i].key2, DES_KEY_SIZE); in des3_keytest()
193 getxdata(&key[8], bk[i].key2, DES_KEY_SIZE); in des3_keytest()
/titanic_51/usr/src/uts/common/os/
H A Dmodhash.c163 #define MH_KEYCMP(hash, key1, key2) ((hash->mh_keycmp)(key1, key2)) argument
223 mod_hash_strkey_cmp(mod_hash_key_t key1, mod_hash_key_t key2) in mod_hash_strkey_cmp() argument
225 return (strcmp((char *)key1, (char *)key2)); in mod_hash_strkey_cmp()
280 mod_hash_ptrkey_cmp(mod_hash_key_t key1, mod_hash_key_t key2) in mod_hash_ptrkey_cmp() argument
283 uintptr_t k2 = (uintptr_t)key2; in mod_hash_ptrkey_cmp()
347 mod_hash_idkey_cmp(mod_hash_key_t key1, mod_hash_key_t key2) in mod_hash_idkey_cmp() argument
349 return ((uint_t)(uintptr_t)key1 - (uint_t)(uintptr_t)key2); in mod_hash_idkey_cmp()
H A Dproject.c146 project_hash_key_cmp(mod_hash_key_t key1, mod_hash_key_t key2) in project_hash_key_cmp() argument
148 struct project_zone *pz1 = key1, *pz2 = key2; in project_hash_key_cmp()
/titanic_51/usr/src/cmd/prstat/
H A Dprsort.c152 compare_keys(list_t *list, ulong_t key1, ulong_t key2) in compare_keys() argument
154 if (key1 == key2) in compare_keys()
156 if (key1 < key2) in compare_keys()
/titanic_51/usr/src/lib/libresolv2/common/dst/
H A Ddst_api.c190 * key1, key2 Two keys to be compared.
197 dst_compare_keys(const DST_KEY *key1, const DST_KEY *key2) in dst_compare_keys() argument
199 if (key1 == key2) in dst_compare_keys()
201 if (key1 == NULL || key2 == NULL) in dst_compare_keys()
203 if (key1->dk_alg != key2->dk_alg) in dst_compare_keys()
205 if (key1->dk_key_size != key2->dk_key_size) in dst_compare_keys()
207 if (key1->dk_id != key2->dk_id) in dst_compare_keys()
209 return (key1->dk_func->compare(key1, key2)); in dst_compare_keys()
H A Dhmac_link.c421 dst_hmac_md5_compare_keys(const DST_KEY *key1, const DST_KEY *key2) in dst_hmac_md5_compare_keys() argument
424 HMAC_Key *hkey2 = (HMAC_Key *) key2->dk_KEY_struct; in dst_hmac_md5_compare_keys()
H A Ddst_internal.h86 int (*compare)(const DST_KEY *key1, const DST_KEY *key2);
/titanic_51/usr/src/lib/libsqlite/src/
H A Dos.c302 struct openKey key2; in findLockInfo() local
312 memset(&key2, 0, sizeof(key2)); in findLockInfo()
313 key2.dev = statbuf.st_dev; in findLockInfo()
314 key2.ino = statbuf.st_ino; in findLockInfo()
333 pOpen = (struct openCnt*)sqliteHashFind(&openHash, &key2, sizeof(key2)); in findLockInfo()
341 pOpen->key = key2; in findLockInfo()
346 pOld = sqliteHashInsert(&openHash, &pOpen->key, sizeof(key2), pOpen); in findLockInfo()
/titanic_51/usr/src/uts/common/io/
H A Dsad_conf.c87 sad_hash_keycmp(mod_hash_key_t key1, mod_hash_key_t key2) in sad_hash_keycmp() argument
90 struct apcommon *apc2 = (struct apcommon *)key2; in sad_hash_keycmp()
/titanic_51/usr/src/tools/ctf/cvt/
H A Dhash.c127 hash_remove_cb(void *key1, void *key2, hash_t *hash) in hash_remove_cb() argument
129 return (hash->h_cmp(key1, key2)); in hash_remove_cb()
/titanic_51/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) in compare() argument
65 const unsigned char *s2=(unsigned const char*)key2; in compare()
/titanic_51/usr/src/contrib/ast/src/cmd/ksh93/sh/
H A Denv.c61 static int compare(Dt_t *dt, Void_t* key1, Void_t* key2, Dtdisc_t* disc) in compare() argument
65 const unsigned char *s2=(unsigned const char*)key2; in compare()
/titanic_51/usr/src/lib/crypt_modules/bsdbf/
H A Dblowfish.c675 char key2[] = "abcdefghijklmnopqrstuvwxyz";
695 blf_key(&c, (uint8_t *) key2, strlen(key2));
/titanic_51/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) in smb_netbios_match() argument
806 res = bcmp(key1, key2, NETBIOS_NAME_SZ); in smb_netbios_match()
809 res = strcmp(key1 + NETBIOS_NAME_SZ, key2 + NETBIOS_NAME_SZ); in smb_netbios_match()
/titanic_51/usr/src/uts/common/smbsrv/
H A Dhash_table.h121 int (*ht_cmp)(const char *key1, const char *key2, size_t n);
/titanic_51/usr/src/uts/common/crypto/core/
H A Dkcf_callprov.c224 crypto_mech_type_t mech_type_2, crypto_key_t *key2, in kcf_get_hardware_provider() argument
301 if ((key2 != NULL) && in kcf_get_hardware_provider()
303 mech_type_2, key2)) { in kcf_get_hardware_provider()
659 crypto_mechanism_t *mech2, crypto_key_t *key2, in kcf_get_dual_provider() argument
749 if ((key2 != NULL) && in kcf_get_dual_provider()
751 mech2->cm_type, key2)) { in kcf_get_dual_provider()
/titanic_51/usr/src/uts/common/inet/ilb/
H A Dilb_nat.c49 #define ILB_NAT_SRC_HASH(hash, key1, key2, hash_size) \ argument
52 CRC32((hash), (key2), sizeof (uint32_t), (hash), crc32_table); \
/titanic_51/usr/src/uts/common/io/ib/clients/rdsv3/
H A Drdsv3_impl.c1045 uint32_t key2 = ((struct rdsv3_mr *)mr2)->r_key; in rdsv3_mr_compare() local
1047 if (key1 < key2) in rdsv3_mr_compare()
1049 if (key1 > key2) in rdsv3_mr_compare()
/titanic_51/usr/src/cmd/cmd-inet/usr.bin/pppd/
H A Dasppp2pppd1368 foreach $key2 (keys (%{$$addsecrets{$key1}})) {
1369 $cstr .= requote($key1) . " " . requote($key2) . " " .
1370 $ {$$addsecrets{$key1}}{$key2} . "\n";
/titanic_51/usr/src/uts/common/inet/ip/
H A Dtnet.c283 gcdb_hash_cmp(mod_hash_key_t key1, mod_hash_key_t key2) in gcdb_hash_cmp() argument
286 struct rtsa_s *rp2 = (struct rtsa_s *)key2; in gcdb_hash_cmp()
322 gcgrp_hash_cmp(mod_hash_key_t key1, mod_hash_key_t key2) in gcgrp_hash_cmp() argument
325 tsol_gcgrp_addr_t *ga2 = (tsol_gcgrp_addr_t *)key2; in gcgrp_hash_cmp()
/titanic_51/usr/src/uts/common/io/nxge/npi/
H A Dnpi_fflp.c357 WRITE_TCAM_REG_KEY2(handle, tcam_ptr->key2); in npi_fflp_tcam_entry_match()
426 READ_TCAM_REG_KEY2(handle, &tcam_ptr->key2); in npi_fflp_tcam_entry_read()
464 WRITE_TCAM_REG_KEY2(handle, tcam_ptr->key2); in npi_fflp_tcam_entry_write()
472 tcam_ptr->key2, tcam_ptr->key3, in npi_fflp_tcam_entry_write()

12