Lines Matching refs:password
106 SecKeychainCreate(const char *pathName, UInt32 passwordLength, const void *password,
120 KCThrowParamErrIf_(!password);
121 keychain->create(passwordLength, password);
183 SecKeychainUnlock(SecKeychainRef keychainRef, UInt32 passwordLength, const void *password, Boolean usePassword)
190 keychain->unlock(CssmData(const_cast<void *>(password), passwordLength));
221 OSStatus SecKeychainResetLogin(UInt32 passwordLength, const void* password, Boolean resetSearchList)
241 SecurityServer::ClientSession().resetKeyStorePassphrase(password ? CssmData(const_cast<void *>(password), passwordLength) : CssmData());
243 if (password)
249 globals().storageManager.login((UInt32)userName.length(), userName.c_str(), passwordLength, password);
257 // Create the login keychain, prompting for password
829 SecKeychainLogin(UInt32 nameLength, const void* name, UInt32 passwordLength, const void* password)
835 if (password) {
836 globals().storageManager.login(nameLength, name, passwordLength, password);
897 Note this version doesn't take an accessRef or password.
1158 static OSStatus SecKeychainGetMasterKey(SecKeychainRef userKeychainRef, CFDataRef *masterKey, CFStringRef password)
1172 CFStringGetCString(password, passphrase, sizeof(passphrase), kCFStringEncodingUTF8);
1200 OSStatus SecKeychainStoreUnlockKey(SecKeychainRef userKeychainRef, SecKeychainRef systemKeychainRef, CFStringRef username, CFStringRef password) {
1207 result = SecKeychainGetMasterKey(userKeychainRef, &masterKey, password);