Searched refs:newKey (Results 1 - 25 of 42) sorted by relevance

12

/macosx-10.10.1/Security-57031.1.35/securityd/src/
H A Dtempdatabase.h51 RefPointer<Key> makeKey(const CssmKey &newKey, uint32 moreAttributes,
57 uint32 attrs, RefPointer<Key> &newKey);
63 uint32 attrs, RefPointer<Key> &newKey);
H A Dtempdatabase.cpp45 TempKey(Database &db, const CssmKey &newKey, uint32 moreAttributes,
58 TempKey::TempKey(Database &db, const CssmKey &newKey, uint32 moreAttributes, argument
60 : LocalKey(db, newKey, moreAttributes)
124 RefPointer<Key> &newKey)
145 newKey = makeKey(cspKey, attrs & TempKey::managedAttributes, owner);
156 RefPointer<Key> &newKey)
161 makeSecurePassphraseKey(context, cred, owner, usage, attrs, newKey);
164 LocalDatabase::generateKey(context, cred, owner, usage, attrs, newKey);
173 RefPointer<Key> TempDatabase::makeKey(const CssmKey &newKey, argument
176 assert(!newKey
120 makeSecurePassphraseKey(const Context &context, const AccessCredentials *cred, const AclEntryPrototype *owner, uint32 usage, uint32 attrs, RefPointer<Key> &newKey) argument
152 generateKey(const Context &context, const AccessCredentials *cred, const AclEntryPrototype *owner, uint32 usage, uint32 attrs, RefPointer<Key> &newKey) argument
[all...]
H A Dlocalkey.cpp37 LocalKey::LocalKey(Database &db, const CssmKey &newKey, CSSM_KEYATTR_FLAGS moreAttributes) argument
41 setup(newKey, moreAttributes);
56 void LocalKey::setup(const CssmKey &newKey, CSSM_KEYATTR_FLAGS moreAttributes) argument
58 mKey = CssmClient::Key(Server::csp(), newKey, false);
62 header = newKey.header();
H A Dlocalkey.h61 LocalKey(Database &db, const CssmKey &newKey, uint32 moreAttributes);
98 void setup(const CssmKey &newKey, CSSM_KEYATTR_FLAGS attrs);
H A Dkckey.h54 KeychainKey(Database &db, const CssmKey &newKey, uint32 moreAttributes,
H A Dlocaldatabase.h78 CSSM_KEYUSE usage, CSSM_KEYATTR_FLAGS attrs, RefPointer<Key> &newKey);
99 virtual RefPointer<Key> makeKey(const CssmKey &newKey, uint32 moreAttributes,
H A Dkckey.cpp68 KeychainKey::KeychainKey(Database &db, const CssmKey &newKey, uint32 moreAttributes, argument
70 : LocalKey(db, newKey, moreAttributes)
H A Dkcdatabase.h234 RefPointer<Key> makeKey(const CssmKey &newKey, uint32 moreAttributes, const AclEntryPrototype *owner);
235 RefPointer<Key> makeKey(Database &db, const CssmKey &newKey, uint32 moreAttributes, const AclEntryPrototype *owner);
/macosx-10.10.1/Security-57031.1.35/SecurityTests/cspxutils/utilLib/
H A DnssAppUtils.cpp71 CSSM_DATA newKey = {0, NULL}; local
73 &newKey)) {
78 /* copy - newKey is in coder space */
80 appCopyCssmData(&newKey, &pubKeyPartial->KeyData);
/macosx-10.10.1/Security-57031.1.35/Security/sec/SOSCircle/SecureObjectSync/
H A DSOSAccountCloudParameters.c75 bool SOSAccountRetrieveCloudParameters(SOSAccountRef account, SecKeyRef *newKey, argument
79 newKey, newParameters, error,
H A DSOSAccountUpdate.c170 SecKeyRef newKey = NULL; local
174 if(SOSAccountRetrieveCloudParameters(account, &newKey, parameters, &newParameters, error)) {
175 if (CFEqualSafe(account->user_public, newKey)) {
178 } else if (CFEqualSafe(account->previous_public, newKey)) {
188 account->user_public = newKey;
189 newKey = NULL;
203 CFReleaseNull(newKey);
/macosx-10.10.1/ICU-531.30/icuSources/i18n/
H A Dtznames.cpp153 char *newKey = NULL; local
160 newKey = (char *)uprv_malloc(uprv_strlen(key) + 1);
161 if (newKey == NULL) {
164 uprv_strcpy(newKey, key);
176 uhash_put(gTimeZoneNamesCache, newKey, cacheEntry, &status);
183 if (newKey != NULL) {
184 uprv_free(newKey);
H A Duspoof_conf.cpp547 int32_t newKey = keyChar | tableFlag;
549 newKey |= USPOOF_KEY_MULTIPLE_VALUES;
555 newKey |= adjustedMappingLength << USPOOF_KEY_LENGTH_SHIFT;
559 fKeyVec->addElement(newKey, status);
H A Dtznames_impl.cpp1167 const UChar* newKey = ZoneMeta::findMetaZoneID(mzID); local
1168 if (newKey != NULL) {
1169 uhash_put(fMZNamesMap, (void *)newKey, cacheVal, &status);
1183 nameinfo->mzID = newKey;
1244 const UChar* newKey = ZoneMeta::findTimeZoneID(tzID); local
1245 if (newKey != NULL) {
1246 uhash_put(fTZNamesMap, (void *)newKey, cacheVal, &status);
1259 nameinfo->tzID = newKey;
/macosx-10.10.1/Security-57031.1.35/Security/include/securityd_client/
H A Dssclient.h239 CssmData &data, KeyHandle &newKey, CssmKey::Header &newKeyHeader, Allocator &alloc);
243 KeyHandle &newKey, CssmKey::Header &newKeyHeader)
245 cred, owner, data, newKey, newKeyHeader, returnAllocator); }
250 KeyHandle &newKey, CssmKey::Header &newHeader);
260 KeyHandle &newKey, CssmKey::Header &newHeader, Allocator &alloc);
264 KeyHandle &newKey, CssmKey::Header &newHeader)
265 { return deriveKey(db, context, baseKey, keyUsage, keyAttr, param, cred, owner, newKey, newHeader, returnAllocator); }
332 KeyHandle &newKey, CssmKey::Header &newHeader, Allocator &alloc);
336 KeyHandle &newKey, CssmKey::Header &newHeader)
338 newKey, newHeade
240 unwrapKey(DbHandle db, const Security::Context &context, KeyHandle key, KeyHandle publicKey, const CssmWrappedKey &wrappedKey, uint32 keyUsage, uint32 keyAttr, const AccessCredentials *cred, const AclEntryInput *owner, CssmData &data, KeyHandle &newKey, CssmKey::Header &newKeyHeader) argument
261 deriveKey(DbHandle db, const Security::Context &context, KeyHandle baseKey, uint32 keyUsage, uint32 keyAttr, CssmData &param, const AccessCredentials *cred, const AclEntryInput *owner, KeyHandle &newKey, CssmKey::Header &newHeader) argument
333 extractMasterKey(DbHandle db, const Context &context, DbHandle sourceDb, uint32 keyUsage, uint32 keyAttr, const AccessCredentials *cred, const AclEntryInput *owner, KeyHandle &newKey, CssmKey::Header &newHeader) argument
[all...]
H A Dtransition.cpp543 KeyHandle &newKey, CssmKey::Header &newHeader)
553 keyUsage, keyAttr, &newKey, &keyHeaderData, &keyHeaderDataLength));
600 KeyHandle &newKey, CssmKey::Header &newHeader, Allocator &allocator)
617 usage, attrs, &newKey, &keyHeaderData, &keyHeaderDataLength),
676 KeyHandle &newKey, CssmKey::Header &newHeader, Allocator &alloc)
689 &newKey, &keyHeaderData, &keyHeaderDataLength),
790 KeyHandle &newKey, CssmKey::Header &newHeader, Allocator &alloc)
800 keyUsage, keyAttr, &newKey, &keyHeaderData, &keyHeaderDataLength));
541 generateKey(DbHandle db, const Context &context, uint32 keyUsage, uint32 keyAttr, const AccessCredentials *cred, const AclEntryInput *owner, KeyHandle &newKey, CssmKey::Header &newHeader) argument
597 deriveKey(DbHandle db, const Context &context, KeyHandle baseKey, CSSM_KEYUSE usage, CSSM_KEYATTR_FLAGS attrs, CssmData &param, const AccessCredentials *cred, const AclEntryInput *owner, KeyHandle &newKey, CssmKey::Header &newHeader, Allocator &allocator) argument
671 unwrapKey(DbHandle db, const Context &context, KeyHandle key, KeyHandle publicKey, const CssmWrappedKey &wrappedKey, uint32 usage, uint32 attr, const AccessCredentials *cred, const AclEntryInput *acl, CssmData &descriptiveData, KeyHandle &newKey, CssmKey::Header &newHeader, Allocator &alloc) argument
787 extractMasterKey(DbHandle db, const Context &context, DbHandle sourceDb, uint32 keyUsage, uint32 keyAttr, const AccessCredentials *cred, const AclEntryInput *owner, KeyHandle &newKey, CssmKey::Header &newHeader, Allocator &alloc) argument
/macosx-10.10.1/Security-57031.1.35/Security/libsecurityd/lib/
H A Dssclient.h239 CssmData &data, KeyHandle &newKey, CssmKey::Header &newKeyHeader, Allocator &alloc);
243 KeyHandle &newKey, CssmKey::Header &newKeyHeader)
245 cred, owner, data, newKey, newKeyHeader, returnAllocator); }
250 KeyHandle &newKey, CssmKey::Header &newHeader);
260 KeyHandle &newKey, CssmKey::Header &newHeader, Allocator &alloc);
264 KeyHandle &newKey, CssmKey::Header &newHeader)
265 { return deriveKey(db, context, baseKey, keyUsage, keyAttr, param, cred, owner, newKey, newHeader, returnAllocator); }
332 KeyHandle &newKey, CssmKey::Header &newHeader, Allocator &alloc);
336 KeyHandle &newKey, CssmKey::Header &newHeader)
338 newKey, newHeade
240 unwrapKey(DbHandle db, const Security::Context &context, KeyHandle key, KeyHandle publicKey, const CssmWrappedKey &wrappedKey, uint32 keyUsage, uint32 keyAttr, const AccessCredentials *cred, const AclEntryInput *owner, CssmData &data, KeyHandle &newKey, CssmKey::Header &newKeyHeader) argument
261 deriveKey(DbHandle db, const Security::Context &context, KeyHandle baseKey, uint32 keyUsage, uint32 keyAttr, CssmData &param, const AccessCredentials *cred, const AclEntryInput *owner, KeyHandle &newKey, CssmKey::Header &newHeader) argument
333 extractMasterKey(DbHandle db, const Context &context, DbHandle sourceDb, uint32 keyUsage, uint32 keyAttr, const AccessCredentials *cred, const AclEntryInput *owner, KeyHandle &newKey, CssmKey::Header &newHeader) argument
[all...]
/macosx-10.10.1/Security-57031.1.35/Security/include/security_pkcs12/
H A Dpkcs12Keychain.cpp104 CSSM_KEY_PTR newKey; local
111 newKey = NULL;
118 newKey);
133 assert(newKey != NULL);
134 keyBag->setKey(newKey);
/macosx-10.10.1/Security-57031.1.35/Security/libsecurity_pkcs12/lib/
H A Dpkcs12Keychain.cpp104 CSSM_KEY_PTR newKey; local
111 newKey = NULL;
118 newKey);
133 assert(newKey != NULL);
134 keyBag->setKey(newKey);
/macosx-10.10.1/configd-699.1.5/configd.tproj/
H A D_notifyadd.c220 CFStringRef newKey = (CFStringRef)value; local
230 newKey)) {
233 newKey,
/macosx-10.10.1/Security-57031.1.35/Security/sec/Security/
H A DSecTrustSettings.c218 CFDataRef newKey = NULL; local
224 require(newKey = SecCopyDataFromHexString(digest), errOut);
273 CFDictionaryAddValue(tlc->dict, newKey, newDict);
274 CFRelease(newKey);
279 CFReleaseSafe(newKey);
/macosx-10.10.1/objc4-646/runtime/
H A Dobjc-cache.mm243 void bucket_t::set(cache_key_t newKey, IMP newImp)
245 assert(_key == 0 || _key == newKey);
248 // either key/imp or newKey/newImp
249 stp(newKey, newImp, this);
272 void bucket_t::set(cache_key_t newKey, IMP newImp)
274 assert(_key == 0 || _key == newKey);
284 if (_key != newKey) {
286 _key = newKey;
/macosx-10.10.1/tcl-105/tcl84/tcl/win/
H A DtclWinThrd.c602 DWORD newKey;
607 newKey = TlsAlloc();
608 if (newKey != TLS_OUT_OF_INDEXES) {
609 *indexPtr = newKey;
587 DWORD newKey; local
/macosx-10.10.1/Security-57031.1.35/SecurityTests/clxutils/cgVerify/
H A DcgVerify.cpp592 CSSM_KEY newKey; local
596 CSSM_RETURN crtn = extractDsaPartial(cspHand, &pubKeys[dex], &newKey);
602 pubKeys[dex] = newKey;
/macosx-10.10.1/Security-57031.1.35/SecurityTests/clxutils/cgVerifyParsed/
H A DcgVerifyParsed.cpp567 CSSM_KEY newKey; local
571 CSSM_RETURN crtn = extractDsaPartial(cspHand, &pubKeys[dex], &newKey);
577 pubKeys[dex] = newKey;

Completed in 273 milliseconds

12