/macosx-10.10/Security-57031.1.35/Security/libsecurity_keychain/Security/ |
H A D | SecImportExportPkcs8.cpp | 913 CSSM_KEY wrappingKey; local 914 memset(&wrappingKey, 0, sizeof(CSSM_KEY)); 920 &wrappingKey); 949 crtn = impExpExportKeyCommon(cspdlHand, secKey, &wrappingKey, &wrappedKey, 971 if(wrappingKey.KeyData.Data) { 972 CSSM_FreeKey(cspdlHand, NULL, &wrappingKey, CSSM_FALSE);
|
H A D | SecImportExportCrypto.cpp | 625 CSSM_KEY_PTR wrappingKey, 674 wrappingKey, 734 if((attr & CSSM_KEYATTR_SENSITIVE) && (wrappingKey == NULL)) { 622 impExpExportKeyCommon( CSSM_CSP_HANDLE cspHand, SecKeyRef secKey, CSSM_KEY_PTR wrappingKey, CSSM_KEY_PTR wrappedKey, CSSM_ALGORITHMS wrapAlg, CSSM_ENCRYPT_MODE wrapMode, CSSM_PADDING wrapPad, CSSM_KEYBLOB_FORMAT wrapFormat, CSSM_ATTRIBUTE_TYPE blobAttrType, CSSM_KEYBLOB_FORMAT blobForm, const CSSM_DATA *descData, const CSSM_DATA *iv) argument
|
H A D | KeyItem.cpp | 154 CssmClient::Key wrappingKey(genKey(KeySpec(CSSM_KEYUSE_WRAP | CSSM_KEYUSE_UNWRAP, 164 wrap.key(wrappingKey); 173 unwrap.key(wrappingKey); 269 CssmClient::Key wrappingKey(genKey(KeySpec(CSSM_KEYUSE_WRAP | CSSM_KEYUSE_UNWRAP, 279 wrap.key(wrappingKey); 288 unwrap.key(wrappingKey);
|
/macosx-10.10/Security-57031.1.35/Security/libsecurity_keychain/lib/ |
H A D | SecImportExportPkcs8.cpp | 913 CSSM_KEY wrappingKey; local 914 memset(&wrappingKey, 0, sizeof(CSSM_KEY)); 920 &wrappingKey); 949 crtn = impExpExportKeyCommon(cspdlHand, secKey, &wrappingKey, &wrappedKey, 971 if(wrappingKey.KeyData.Data) { 972 CSSM_FreeKey(cspdlHand, NULL, &wrappingKey, CSSM_FALSE);
|
H A D | SecImportExportCrypto.cpp | 625 CSSM_KEY_PTR wrappingKey, 674 wrappingKey, 734 if((attr & CSSM_KEYATTR_SENSITIVE) && (wrappingKey == NULL)) { 622 impExpExportKeyCommon( CSSM_CSP_HANDLE cspHand, SecKeyRef secKey, CSSM_KEY_PTR wrappingKey, CSSM_KEY_PTR wrappedKey, CSSM_ALGORITHMS wrapAlg, CSSM_ENCRYPT_MODE wrapMode, CSSM_PADDING wrapPad, CSSM_KEYBLOB_FORMAT wrapFormat, CSSM_ATTRIBUTE_TYPE blobAttrType, CSSM_KEYBLOB_FORMAT blobForm, const CSSM_DATA *descData, const CSSM_DATA *iv) argument
|
H A D | KeyItem.cpp | 154 CssmClient::Key wrappingKey(genKey(KeySpec(CSSM_KEYUSE_WRAP | CSSM_KEYUSE_UNWRAP, 164 wrap.key(wrappingKey); 173 unwrap.key(wrappingKey); 269 CssmClient::Key wrappingKey(genKey(KeySpec(CSSM_KEYUSE_WRAP | CSSM_KEYUSE_UNWRAP, 279 wrap.key(wrappingKey); 288 unwrap.key(wrappingKey);
|
/macosx-10.10/SecurityTokend-55108/lib/ |
H A D | transition.cpp | 358 KeyHandle hWrappingKey, COPY_IN(CssmKey, wrappingKey), 366 relocate(wrappingKey, wrappingKeyBase); 371 CALL(wrapKey, (&context, hWrappingKey, wrappingKey, cred, 377 KeyHandle hWrappingKey, COPY_IN(CssmKey, wrappingKey), 388 relocate(wrappingKey, wrappingKeyBase); 396 CALL(unwrapKey, (&context, wrapKeyHandle, wrappingKey, cred, owner,
|
H A D | tdclient.h | 143 KeyHandle hWrappingKey, const CssmKey *wrappingKey,
|
/macosx-10.10/SecurityTokend-55108/security_tokend_client/ |
H A D | transition.cpp | 358 KeyHandle hWrappingKey, COPY_IN(CssmKey, wrappingKey), 366 relocate(wrappingKey, wrappingKeyBase); 371 CALL(wrapKey, (&context, hWrappingKey, wrappingKey, cred, 377 KeyHandle hWrappingKey, COPY_IN(CssmKey, wrappingKey), 388 relocate(wrappingKey, wrappingKeyBase); 396 CALL(unwrapKey, (&context, wrapKeyHandle, wrappingKey, cred, owner,
|
H A D | tdclient.h | 143 KeyHandle hWrappingKey, const CssmKey *wrappingKey,
|
/macosx-10.10/Security-57031.1.35/Security/include/security_keychain/ |
H A D | SecImportExportCrypto.cpp | 625 CSSM_KEY_PTR wrappingKey, 674 wrappingKey, 734 if((attr & CSSM_KEYATTR_SENSITIVE) && (wrappingKey == NULL)) { 622 impExpExportKeyCommon( CSSM_CSP_HANDLE cspHand, SecKeyRef secKey, CSSM_KEY_PTR wrappingKey, CSSM_KEY_PTR wrappedKey, CSSM_ALGORITHMS wrapAlg, CSSM_ENCRYPT_MODE wrapMode, CSSM_PADDING wrapPad, CSSM_KEYBLOB_FORMAT wrapFormat, CSSM_ATTRIBUTE_TYPE blobAttrType, CSSM_KEYBLOB_FORMAT blobForm, const CSSM_DATA *descData, const CSSM_DATA *iv) argument
|
H A D | KeyItem.cpp | 154 CssmClient::Key wrappingKey(genKey(KeySpec(CSSM_KEYUSE_WRAP | CSSM_KEYUSE_UNWRAP, 164 wrap.key(wrappingKey); 173 unwrap.key(wrappingKey); 269 CssmClient::Key wrappingKey(genKey(KeySpec(CSSM_KEYUSE_WRAP | CSSM_KEYUSE_UNWRAP, 279 wrap.key(wrappingKey); 288 unwrap.key(wrappingKey);
|
H A D | SecKey.cpp | 1450 SecKeyWrapSymmetric(SecKeyRef keyToWrap, SecKeyRef wrappingKey, CFDictionaryRef parameters, CFErrorRef *error) argument
|
/macosx-10.10/Security-57031.1.35/Security/libsecurity_apple_csp/lib/ |
H A D | opensshWrap.cpp | 453 uint8 *wrappingKey = NULL; local 457 wrappingKey, wrappingKeyLen); 476 CSSM_RETURN crtn = encodeOpenSSHv1PrivKey(rsa, comment, commentLen, wrappingKey, &cfOut);
|
/macosx-10.10/Security-57031.1.35/SecurityTests/cspxutils/badattr/ |
H A D | badattr.c | 253 NULL, // wrappingKey, 300 CSSM_KEY wrappingKey; local 304 if(genSymKey(cspHand, &wrappingKey, CSSM_ALGID_DES, "DES", 320 &wrappingKey, 346 cspFreeKey(cspHand, &wrappingKey); 822 * vfy you can't wrap unwrappedKey with wrappingKey; 860 * vfy you can't wrap unwrappedKey with wrappingKey;
|
/macosx-10.10/Security-57031.1.35/securityd/src/ |
H A D | tokendatabase.h | 186 Key *wrappingKey, Key *publicKey, CSSM_KEYUSE usage, CSSM_KEYATTR_FLAGS attrs,
|
H A D | transition.cpp | 974 RefPointer<Key> wrappingKey = Server::optionalKey(hWrappingKey); local 978 pickDb(subjectKey, wrappingKey)->wrapKey(*ctx, creds, wrappingKey, *subjectKey, DATA(descriptiveData), wrappedKey); 1000 RefPointer<Key> wrappingKey = Server::optionalKey(hWrappingKey); local 1002 pickDb(Server::optionalDatabase(db), wrappingKey)->unwrapKey(*ctx, creds, owneracl, 1003 wrappingKey, Server::optionalKey(hPublicKey),
|
/macosx-10.10/SecurityTokend-55108/mig/ |
H A D | tokend.defs | 135 routine wrapKey(TOKEND_PORTS; IN_CONTEXT; in hWrappingKey: KeyHandle; IN_BLOB(wrappingKey, CssmKey); 139 routine unwrapKey(TOKEND_PORTS; IN_CONTEXT; in hWrappingKey: KeyHandle; IN_BLOB(wrappingKey, CssmKey);
|
/macosx-10.10/WebCore-7600.1.25/bindings/js/ |
H A D | JSSubtleCryptoCustom.cpp | 637 RefPtr<CryptoKey> wrappingKey = toCryptoKey(exec->uncheckedArgument(2)); 641 if (!wrappingKey->allows(CryptoKeyUsageWrapKey)) { 664 auto exportSuccessCallback = [keyFormat, algorithmPtr, parametersPtr, wrappingKey, wrapper](const Vector<uint8_t>& exportedKeyData) mutable { 676 algorithmPtr->encryptForWrapKey(*parametersPtr, *wrappingKey, std::make_pair(exportedKeyData.data(), exportedKeyData.size()), WTF::move(encryptSuccessCallback), WTF::move(encryptFailureCallback), ec);
|
/macosx-10.10/Security-57031.1.35/SecurityTests/xdr_rpc/Reference/ |
H A D | transition.cpp | 704 RefPointer<Key> wrappingKey = Server::optionalKey(hWrappingKey); local 708 pickDb(subjectKey, wrappingKey)->wrapKey(context, cred, wrappingKey, *subjectKey, DATA(descriptiveData), *wrappedKey); 730 RefPointer<Key> wrappingKey = Server::optionalKey(hWrappingKey); local 732 pickDb(Server::optionalDatabase(db), wrappingKey)->unwrapKey(context, cred, owner, 733 wrappingKey, Server::optionalKey(hPublicKey),
|
/macosx-10.10/Security-57031.1.35/SecurityTests/cspxutils/wrapTest/ |
H A D | wrapTest.c | 190 CSSM_KEY_PTR wrappingKey, // ...using this key 248 NULL, // wrappingKey 313 /* wrap decrKey using wrappingKey ==> wrappedDecrKey */ 323 wrappingKey, 186 doTest(CSSM_CSP_HANDLE cspHand, CSSM_KEY_PTR encrKey, CSSM_BOOL wrapEncrKey, CSSM_KEY_PTR decrKey, CSSM_KEY_PTR wrappingKey, CSSM_KEY_PTR unwrappingKey, CSSM_ALGORITHMS wrapAlg, CSSM_ENCRYPT_MODE wrapMode, CSSM_KEYBLOB_FORMAT wrapFormat, CSSM_KEYBLOB_FORMAT expectFormat, CSSM_PADDING wrapPad, uint32 wrapIvSize, CSSM_ALGORITHMS encrAlg, CSSM_ENCRYPT_MODE encrMode, CSSM_PADDING encrPad, uint32 encrIvSize, uint32 effectiveKeySizeInBits, CSSM_DATA_PTR ptext, CSSM_DATA_PTR descData, CSSM_BOOL quiet, CSSM_BOOL bareCsp) argument
|
/macosx-10.10/Security-57031.1.35/SecurityTests/cspxutils/utilLib/ |
H A D | cspwrap.h | 324 const CSSM_KEY *wrappingKey,
|
H A D | cspwrap.c | 2557 const CSSM_KEY *wrappingKey, 2574 if((wrappingKey == NULL) || 2575 (wrappingKey->KeyHeader.KeyClass == CSSM_KEYCLASS_SESSION_KEY)) { 2580 wrappingKey, 2590 wrappingKey, 2555 cspWrapKey(CSSM_CSP_HANDLE cspHand, const CSSM_KEY *unwrappedKey, const CSSM_KEY *wrappingKey, CSSM_ALGORITHMS wrapAlg, CSSM_ENCRYPT_MODE wrapMode, CSSM_KEYBLOB_FORMAT wrapFormat, CSSM_PADDING wrapPad, CSSM_DATA_PTR initVector, CSSM_DATA_PTR descrData, CSSM_KEY_PTR wrappedKey) argument
|
/macosx-10.10/Security-57031.1.35/Security/include/securityd_client/ |
H A D | transition.cpp | 647 void ClientSession::wrapKey(const Context &context, KeyHandle wrappingKey, argument 656 IPCKEY(ucsp_client_wrapKey(UCSP_ARGS, ctxcopy.data(), ctxcopy.length(), wrappingKey,
|
/macosx-10.10/Security-57031.1.35/Security/libsecurityd/lib/ |
H A D | transition.cpp | 647 void ClientSession::wrapKey(const Context &context, KeyHandle wrappingKey, argument 656 IPCKEY(ucsp_client_wrapKey(UCSP_ARGS, ctxcopy.data(), ctxcopy.length(), wrappingKey,
|