Home
last modified time | relevance | path

Searched refs:key1 (Results 1 – 25 of 36) 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()
102 if (krb5_enctypes_list[i].etype == key1->enctype) in krb5int_c_combine_keys()
155 if ((ret = dr(context, enc, key1, r1, &input))) in krb5int_c_combine_keys()
168 input.length = key1->length; in krb5int_c_combine_keys()
169 input.data = (char *) key1->contents; in krb5int_c_combine_keys()
254 outkey->enctype = key1->enctype; in krb5int_c_combine_keys()
/titanic_51/usr/src/lib/pkcs11/libpkcs11/common/
H A DmetaKeys.c91 meta_object_t *key1 = NULL, *key2 = NULL; in meta_GenerateKeyPair() local
101 rv = meta_object_alloc(session, &key1); in meta_GenerateKeyPair()
110 pPublicKeyTemplate, ulPublicKeyAttributeCount, key1, in meta_GenerateKeyPair()
115 meta_object_activate(key1); in meta_GenerateKeyPair()
118 *phPublicKey = (CK_OBJECT_HANDLE) key1; in meta_GenerateKeyPair()
123 if (key1) in meta_GenerateKeyPair()
124 (void) meta_object_dealloc(session, key1, B_TRUE); in meta_GenerateKeyPair()
H A DmetaUtil.c920 CK_ATTRIBUTE *k1Template, CK_ULONG k1AttrCount, meta_object_t *key1, in meta_generate_keys() argument
938 &(key1->isToken)); in meta_generate_keys()
940 &(key1->isSensitive)); in meta_generate_keys()
942 &(key1->isPrivate)); in meta_generate_keys()
945 &(key1->isExtractable))) in meta_generate_keys()
946 key1->isExtractable = B_TRUE; in meta_generate_keys()
948 if (key1->isToken) in meta_generate_keys()
975 ((key1->isToken) || ((key2) && (key2->isToken)))) { in meta_generate_keys()
979 if (meta_freeobject_check(session, key1, pMechanism, k1Template, in meta_generate_keys()
982 if ((key1 in meta_generate_keys()
[all...]
/titanic_51/usr/src/common/net/wanboot/crypt/
H A Ddes3_test.c93 char key1[DES_KEY_SIZE * 2]; member
177 getxdata(key, gk[i].key1, DES_KEY_SIZE); in des3_keytest()
192 getxdata(key, bk[i].key1, 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
282 uintptr_t k1 = (uintptr_t)key1; 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/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
423 HMAC_Key *hkey1 = (HMAC_Key *) key1->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/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/libsqlite/src/
H A Dos.c301 struct lockKey key1; in findLockInfo() local
308 memset(&key1, 0, sizeof(key1)); in findLockInfo()
309 key1.dev = statbuf.st_dev; in findLockInfo()
310 key1.ino = statbuf.st_ino; in findLockInfo()
311 key1.pid = getpid(); in findLockInfo()
315 pLock = (struct lockInfo*)sqliteHashFind(&lockHash, &key1, sizeof(key1)); in findLockInfo()
320 pLock->key = key1; in findLockInfo()
323 pOld = sqliteHashInsert(&lockHash, &pLock->key, sizeof(key1), pLoc in findLockInfo()
[all...]
/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
89 struct apcommon *apc1 = (struct apcommon *)key1; 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
64 const unsigned char *s1=(unsigned const char*)key1; 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
64 const unsigned char *s1=(unsigned const char*)key1; in compare()
/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.c223 kcf_get_hardware_provider(crypto_mech_type_t mech_type_1, crypto_key_t *key1, in kcf_get_hardware_provider() argument
282 if ((key1 != NULL) && in kcf_get_hardware_provider()
284 key1)) { in kcf_get_hardware_provider()
359 if ((key1 != NULL) && in kcf_get_hardware_provider()
360 !kcf_check_prov_mech_keylen(old, mech_type_1, key1)) { in kcf_get_hardware_provider()
658 kcf_get_dual_provider(crypto_mechanism_t *mech1, crypto_key_t *key1, in kcf_get_dual_provider() argument
718 if ((key1 != NULL) && !kcf_check_prov_mech_keylen(pd, in kcf_get_dual_provider()
719 mech1->cm_type, key1)) { in kcf_get_dual_provider()
/titanic_51/usr/src/cmd/cmd-inet/usr.bin/pppd/
H A Dasppp2pppd1367 foreach $key1 (keys (%$addsecrets)) {
1368 foreach $key2 (keys (%{$$addsecrets{$key1}})) {
1369 $cstr .= requote($key1) . " " . requote($key2) . " " .
1370 $ {$$addsecrets{$key1}}{$key2} . "\n";
/titanic_51/usr/src/uts/common/io/hxge/
H A Dhpi_pfc.c100 WRITE_TCAM_REG_KEY1(handle, tcam_ptr->key1); in hpi_pfc_tcam_entry_read()
625 WRITE_TCAM_REG_KEY1(handle, tcam_ptr->key1); in hpi_pfc_tcam_entry_write()
629 location, tcam_ptr->key0, tcam_ptr->key1, in hpi_pfc_tcam_entry_write()
H A Dhxge_pfc.h231 #define key1 key.regs.reg1 macro
/titanic_51/usr/src/uts/common/inet/ilb/
H A Dilb_nat.c48 /* key1/2 are assumed to be uint32_t. */
49 #define ILB_NAT_SRC_HASH(hash, key1, key2, hash_size) \ argument
51 CRC32((hash), (key1), sizeof (uint32_t), -1U, crc32_table); \
/titanic_51/usr/src/uts/common/io/ib/clients/rdsv3/
H A Drdsv3_impl.c1044 uint32_t key1 = *(uint32_t *)mr1; 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/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
285 struct rtsa_s *rp1 = (struct rtsa_s *)key1; in gcdb_hash_cmp()
322 gcgrp_hash_cmp(mod_hash_key_t key1, mod_hash_key_t key2) in gcgrp_hash_cmp() argument
324 tsol_gcgrp_addr_t *ga1 = (tsol_gcgrp_addr_t *)key1; in gcgrp_hash_cmp()
/titanic_51/usr/src/uts/common/io/nxge/npi/
H A Dnpi_fflp.c356 WRITE_TCAM_REG_KEY1(handle, tcam_ptr->key1); in npi_fflp_tcam_entry_match()
425 READ_TCAM_REG_KEY1(handle, &tcam_ptr->key1); in npi_fflp_tcam_entry_read()
463 WRITE_TCAM_REG_KEY1(handle, tcam_ptr->key1); in npi_fflp_tcam_entry_write()
471 location, tcam_ptr->key0, tcam_ptr->key1, in npi_fflp_tcam_entry_write()

12