Searched refs:wrapKey (Results 1 - 25 of 26) sorted by relevance

12

/macosx-10.9.5/Security-55471.14.18/include/security_keychain/
H A DSecRecoveryPassword.c258 encryptString(SecKeyRef wrapKey, CFDataRef iv, CFStringRef str) argument
264 SecTransformRef encryptTrans = SecEncryptTransformCreate(wrapKey, &error);
285 decryptString(SecKeyRef wrapKey, CFDataRef iv, CFDataRef wrappedPassword) argument
291 SecTransformRef decryptTrans = SecDecryptTransformCreate(wrapKey, &error);
373 SecKeyRef wrapKey = secDeriveKeyFromAnswers(answers, theLocale); local
375 if((wrappedPassword = encryptString(wrapKey, iv, password)) != NULL) {
386 CFRelease(wrapKey);
414 SecKeyRef wrapKey = secDeriveKeyFromAnswers(answers, theLocale); local
420 CFStringRef recoveryPassword = decryptString(wrapKey, iv, wrappedPassword);
421 CFRelease(wrapKey);
[all...]
/macosx-10.9.5/Security-55471.14.18/libsecurity_keychain/Security/
H A DSecRecoveryPassword.c258 encryptString(SecKeyRef wrapKey, CFDataRef iv, CFStringRef str) argument
264 SecTransformRef encryptTrans = SecEncryptTransformCreate(wrapKey, &error);
285 decryptString(SecKeyRef wrapKey, CFDataRef iv, CFDataRef wrappedPassword) argument
291 SecTransformRef decryptTrans = SecDecryptTransformCreate(wrapKey, &error);
373 SecKeyRef wrapKey = secDeriveKeyFromAnswers(answers, theLocale); local
375 if((wrappedPassword = encryptString(wrapKey, iv, password)) != NULL) {
386 CFRelease(wrapKey);
414 SecKeyRef wrapKey = secDeriveKeyFromAnswers(answers, theLocale); local
420 CFStringRef recoveryPassword = decryptString(wrapKey, iv, wrappedPassword);
421 CFRelease(wrapKey);
[all...]
/macosx-10.9.5/Security-55471.14.18/libsecurity_keychain/lib/
H A DSecRecoveryPassword.c258 encryptString(SecKeyRef wrapKey, CFDataRef iv, CFStringRef str) argument
264 SecTransformRef encryptTrans = SecEncryptTransformCreate(wrapKey, &error);
285 decryptString(SecKeyRef wrapKey, CFDataRef iv, CFDataRef wrappedPassword) argument
291 SecTransformRef decryptTrans = SecDecryptTransformCreate(wrapKey, &error);
373 SecKeyRef wrapKey = secDeriveKeyFromAnswers(answers, theLocale); local
375 if((wrappedPassword = encryptString(wrapKey, iv, password)) != NULL) {
386 CFRelease(wrapKey);
414 SecKeyRef wrapKey = secDeriveKeyFromAnswers(answers, theLocale); local
420 CFStringRef recoveryPassword = decryptString(wrapKey, iv, wrappedPassword);
421 CFRelease(wrapKey);
[all...]
/macosx-10.9.5/securityd-55199.3/tests/
H A Dtestcrypto.cpp67 ss.wrapKey(wrapContext, noKey, publicKey, &nullCred, NULL, cpk);
74 ss.wrapKey(wrapContext, noKey, privateKey, NULL/*cred*/, NULL, clearPrivateKey);
H A Dtestutils.cpp156 session.wrapKey(wrapContext, noKey, keyRef,
/macosx-10.9.5/securityd-55199.3/src/
H A Dlocaldatabase.h88 void wrapKey(const Context &context, const AccessCredentials *cred,
H A Ddatabase.h139 virtual void wrapKey(const Context &context, const AccessCredentials *cred,
H A Dtokendatabase.h181 void wrapKey(const Context &context, const AccessCredentials *cred,
H A Dlocaldatabase.cpp198 void LocalDatabase::wrapKey(const Context &context, const AccessCredentials *cred, function in class:LocalDatabase
H A Dtokendatabase.cpp485 void TokenDatabase::wrapKey(const Context &context, const AccessCredentials *cred, function in class:TokenDatabase
500 access().wrapKey(context, cred,
H A Dtransition.cpp969 BEGIN_IPC(wrapKey)
978 pickDb(subjectKey, wrappingKey)->wrapKey(*ctx, creds, wrappingKey, *subjectKey, DATA(descriptiveData), wrappedKey);
/macosx-10.9.5/Security-55471.14.18/include/securityd_client/
H A Dssclient.h227 void wrapKey(const Security::Context &context, KeyHandle key, KeyHandle keyToBeWrapped,
230 void wrapKey(const Security::Context &context, KeyHandle key, KeyHandle keyToBeWrapped, function in class:Security::SecurityServer::ClientSession
233 { return wrapKey(context, key, keyToBeWrapped, cred,
H A Dtransition.cpp647 void ClientSession::wrapKey(const Context &context, KeyHandle wrappingKey, function in class:Security::SecurityServer::ClientSession
/macosx-10.9.5/Security-55471.14.18/libsecurityd/lib/
H A Dssclient.h227 void wrapKey(const Security::Context &context, KeyHandle key, KeyHandle keyToBeWrapped,
230 void wrapKey(const Security::Context &context, KeyHandle key, KeyHandle keyToBeWrapped, function in class:Security::SecurityServer::ClientSession
233 { return wrapKey(context, key, keyToBeWrapped, cred,
/macosx-10.9.5/SecurityTokend-55107/lib/
H A DSecTokend.h148 CSSM_RETURN (*wrapKey)(const CSSM_CONTEXT *context, member in struct:__anon5150
H A Dtdclient.h142 void wrapKey(const Security::Context &context, const AccessCredentials *cred,
H A Dtdtransit.cpp388 void ClientSession::wrapKey(const Context &context, const AccessCredentials *cred, function in class:Security::Tokend::ClientSession
H A Dtransition.cpp371 CALL(wrapKey, (&context, hWrappingKey, wrappingKey, cred,
/macosx-10.9.5/SecurityTokend-55107/security_tokend_client/
H A DSecTokend.h148 CSSM_RETURN (*wrapKey)(const CSSM_CONTEXT *context, member in struct:__anon5156
H A Dtdclient.h142 void wrapKey(const Security::Context &context, const AccessCredentials *cred,
H A Dtdtransit.cpp388 void ClientSession::wrapKey(const Context &context, const AccessCredentials *cred, function in class:Security::Tokend::ClientSession
H A Dtransition.cpp371 CALL(wrapKey, (&context, hWrappingKey, wrappingKey, cred,
/macosx-10.9.5/Security-55471.14.18/libsecurity_apple_cspdl/lib/
H A DSSCSPSession.cpp153 clientSession().wrapKey(context, contextKeyHandle,
/macosx-10.9.5/Security-55471.14.18/libsecurity_sd_cspdl/lib/
H A DSDCSPSession.cpp157 clientSession().wrapKey(context, contextKeyHandle,
/macosx-10.9.5/SecurityTokend-55107/mig/
H A Dtokend.defs135 routine wrapKey(TOKEND_PORTS; IN_CONTEXT; in hWrappingKey: KeyHandle; IN_BLOB(wrappingKey, CssmKey);

Completed in 147 milliseconds

12