/macosx-10.10.1/Security-57031.1.35/SecurityTests/testclient/ |
H A D | csptests.cpp | 195 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 D | miniWrap.c | 90 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 D | SecRecoveryPassword.c | 258 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 D | SecRecoveryPassword.c | 258 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 D | SecRecoveryPassword.c | 258 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 D | testcrypto.cpp | 67 ss.wrapKey(wrapContext, noKey, publicKey, &nullCred, NULL, cpk); 74 ss.wrapKey(wrapContext, noKey, privateKey, NULL/*cred*/, NULL, clearPrivateKey);
|
H A D | testutils.cpp | 156 session.wrapKey(wrapContext, noKey, keyRef,
|
/macosx-10.10.1/Security-57031.1.35/securityd/src/ |
H A D | localdatabase.h | 88 void wrapKey(const Context &context, const AccessCredentials *cred,
|
H A D | database.h | 139 virtual void wrapKey(const Context &context, const AccessCredentials *cred,
|
H A D | tokendatabase.h | 181 void wrapKey(const Context &context, const AccessCredentials *cred,
|
H A D | localdatabase.cpp | 198 void LocalDatabase::wrapKey(const Context &context, const AccessCredentials *cred, function in class:LocalDatabase
|
H A D | tokendatabase.cpp | 485 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 D | ssclient.h | 227 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 D | ssclient.h | 227 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 D | SecTokend.h | 148 CSSM_RETURN (*wrapKey)(const CSSM_CONTEXT *context, member in struct:__anon5454
|
H A D | tdclient.h | 142 void wrapKey(const Security::Context &context, const AccessCredentials *cred,
|
H A D | tdtransit.cpp | 388 void ClientSession::wrapKey(const Context &context, const AccessCredentials *cred, function in class:Security::Tokend::ClientSession
|
H A D | transition.cpp | 371 CALL(wrapKey, (&context, hWrappingKey, wrappingKey, cred,
|
/macosx-10.10.1/SecurityTokend-55108/security_tokend_client/ |
H A D | SecTokend.h | 148 CSSM_RETURN (*wrapKey)(const CSSM_CONTEXT *context, member in struct:__anon5460
|
H A D | tdclient.h | 142 void wrapKey(const Security::Context &context, const AccessCredentials *cred,
|
H A D | tdtransit.cpp | 388 void ClientSession::wrapKey(const Context &context, const AccessCredentials *cred, function in class:Security::Tokend::ClientSession
|
H A D | transition.cpp | 371 CALL(wrapKey, (&context, hWrappingKey, wrappingKey, cred,
|
/macosx-10.10.1/Security-57031.1.35/Security/libsecurity_apple_cspdl/lib/ |
H A D | SSCSPSession.cpp | 153 clientSession().wrapKey(context, contextKeyHandle,
|
/macosx-10.10.1/Security-57031.1.35/Security/libsecurity_sd_cspdl/lib/ |
H A D | SDCSPSession.cpp | 157 clientSession().wrapKey(context, contextKeyHandle,
|
/macosx-10.10.1/SecurityTokend-55108/mig/ |
H A D | tokend.defs | 135 routine wrapKey(TOKEND_PORTS; IN_CONTEXT; in hWrappingKey: KeyHandle; IN_BLOB(wrappingKey, CssmKey);
|