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

12

/macosx-10.10.1/Security-57031.1.35/SecurityTests/testclient/
H A Dcsptests.cpp195 WrapKey wrapKey(csp, CSSM_ALGID_RC2);
196 wrapKey.key(key);
199 wrapKey.cred(&cred);
200 wrapKey.mode(CSSM_ALGMODE_CBC_IV8);
204 wrapKey.initVector(initVec);
206 wrappedKey=wrapKey(key);
/macosx-10.10.1/Security-57031.1.35/SecurityTests/cspxutils/miniWrap/
H A DminiWrap.c90 static CSSM_RETURN wrapKey(CSSM_CSP_HANDLE cspHand, function
331 crtn = wrapKey(cspHand,
344 crtn = wrapKey(cspHand,
662 CSSM_KEY_PTR wrapKey; local
666 wrapKey = cspGenSymKey(cspHand,
676 if(wrapKey == NULL) {
691 wrapKey,
692 wrapKey,
706 cspFreeKey(cspHand, wrapKey);
707 CSSM_FREE(wrapKey); // malloc
[all...]
/macosx-10.10.1/Security-57031.1.35/Security/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.10.1/Security-57031.1.35/Security/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.10.1/Security-57031.1.35/Security/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.10.1/Security-57031.1.35/securityd/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.10.1/Security-57031.1.35/securityd/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,
/macosx-10.10.1/Security-57031.1.35/Security/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,
/macosx-10.10.1/Security-57031.1.35/Security/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.10.1/SecurityTokend-55108/lib/
H A DSecTokend.h148 CSSM_RETURN (*wrapKey)(const CSSM_CONTEXT *context, member in struct:__anon5454
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.10.1/SecurityTokend-55108/security_tokend_client/
H A DSecTokend.h148 CSSM_RETURN (*wrapKey)(const CSSM_CONTEXT *context, member in struct:__anon5460
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.10.1/Security-57031.1.35/Security/libsecurity_apple_cspdl/lib/
H A DSSCSPSession.cpp153 clientSession().wrapKey(context, contextKeyHandle,
/macosx-10.10.1/Security-57031.1.35/Security/libsecurity_sd_cspdl/lib/
H A DSDCSPSession.cpp157 clientSession().wrapKey(context, contextKeyHandle,
/macosx-10.10.1/SecurityTokend-55108/mig/
H A Dtokend.defs135 routine wrapKey(TOKEND_PORTS; IN_CONTEXT; in hWrappingKey: KeyHandle; IN_BLOB(wrappingKey, CssmKey);

Completed in 257 milliseconds

12