/macosx-10.10/Security-57031.1.35/Security/libsecurity_apple_csp/lib/ |
H A D | AppleCSPContext.cpp | 206 CssmData *keyData = NULL; local 215 keyData = &binKey->mKeyData; 219 keyData = &(CssmData::overlay(cssmKey.KeyData)); 220 setUpCssmData(*keyData, keySizeInBytes, 226 session.getRandomBytes(keySizeInBytes, keyData->Data);
|
H A D | AppleCSPSession.h | 157 CSSM_DATA *keyData); 163 CSSM_DATA *keyData); 169 CSSM_DATA *keyData);
|
H A D | FEEAsymmetricContext.cpp | 510 * Requested size, in keyData->Length, must be the same size as 511 * the keys' modulus. Data is returned in keyData->Data, which is 521 CSSM_DATA *keyData, // mallocd by caller 522 // we fill in keyData->Length bytes 535 if((algId == CSSM_ALGID_ECDH) & (privSize != keyData->Length)) { 571 if(outputLen != keyData->Length) { 576 memmove(keyData->Data, output, outputLen); 580 frtn = ecdhKdf(context, output, outputLen, keyData); 517 DeriveKey_ECDH( const Context &context, CSSM_ALGORITHMS algId, const CssmData &Param, CSSM_DATA *keyData, AppleCSPSession &session) argument
|
H A D | FEEAsymmetricContext.h | 128 * Requested size, in keyData->Length, must be the same size as 129 * the keys' modulus. Data is returned in keyData->Data, which is 139 CSSM_DATA *keyData,
|
H A D | ascContext.cpp | 150 uint8 *keyData = NULL; local 156 keyData, keyLen); 198 crtn = comcryptInit(mCcObj, keyData, (unsigned)keyLen, optimize);
|
/macosx-10.10/Security-57031.1.35/Security/sec/Security/ |
H A D | SecOTRPublicIdentity.c | 157 static SecKeyRef SecOTRCreatePublicKeyFrom(const uint8_t* keyData, size_t keyDataSize, ccder_tag tagContainingKey, SecOTRPublicKeyCreateFunction createFunction) argument 161 createdKey = createFunction(kCFAllocatorDefault, &keyData, &keyDataSize); 184 const uint8_t* keyData = ccder_decode_sequence_tl(&fullSequenceEnd, *bytes, fullSequenceEnd); local 188 keyData = ccder_decode_tl(CCDER_CONTEXT_SPECIFIC | kOTRPIDER_SigningID, &keyDataSize, keyData, fullSequenceEnd); 189 newID->publicSigningKey = SecOTRCreatePublicKeyFrom(keyData, keyDataSize, kOTRPIDER_SigningID, &CreateECPublicKeyFrom); 191 keyData += keyDataSize; 193 newID->wantsHashes = (NULL != ccder_decode_tl(CCDER_CONTEXT_SPECIFIC | kOTRPIDER_SupportsHashes, &keyDataSize, keyData, fullSequenceEnd));
|
H A D | SecECKey.c | 121 const uint8_t *keyData, CFIndex keyDataLength, SecKeyEncoding encoding) { 129 const SecDERKey *derKey = (const SecDERKey *)keyData; 145 err = (ccec_import_pub(cp, keyDataLength, keyData, pubkey) 152 fullKey._full = (ccec_full_ctx *) keyData; 425 const uint8_t *keyData, CFIndex keyDataLength, 427 return SecKeyCreate(allocator, &kSecECPublicKeyDescriptor, keyData, 450 const uint8_t *keyData, CFIndex keyDataLength, SecKeyEncoding encoding) { 459 //err = ecc_import(keyData, keyDataLength, fullkey); 466 require_noerr(ccec_der_import_priv_keytype(keyDataLength, keyData, &oid, &n), abort); 475 require_noerr(ccec_der_import_priv(cp, keyDataLength, keyData, fullke 120 SecECPublicKeyInit(SecKeyRef key, const uint8_t *keyData, CFIndex keyDataLength, SecKeyEncoding encoding) argument 424 SecKeyCreateECPublicKey(CFAllocatorRef allocator, const uint8_t *keyData, CFIndex keyDataLength, SecKeyEncoding encoding) argument 449 SecECPrivateKeyInit(SecKeyRef key, const uint8_t *keyData, CFIndex keyDataLength, SecKeyEncoding encoding) argument 746 SecKeyCreateECPrivateKey(CFAllocatorRef allocator, const uint8_t *keyData, CFIndex keyDataLength, SecKeyEncoding encoding) argument [all...] |
H A D | SecKeyPriv.h | 67 /* RSA public key in SecRSAPublicKeyParams format. keyData is a pointer 72 /* RSA public key in SecRSAPublicKeyParams format. keyData is a pointer 188 @param keyData The second argument to the init() function in the key_class. 194 const SecKeyDescriptor *key_class, const uint8_t *keyData, 197 /* Create a public key from an oid, params and keyData all in DER format. */ 200 const SecAsn1Item *keyData); 247 SecKeyRef SecKeyCreateFromPublicBytes(CFAllocatorRef allocator, CFIndex algorithmID, const uint8_t *keyData, CFIndex keyDataLength);
|
/macosx-10.10/WebCore-7600.1.25/crypto/algorithms/ |
H A D | CryptoAlgorithmRSASSA_PKCS1_v1_5.cpp | 108 void CryptoAlgorithmRSASSA_PKCS1_v1_5::importKey(const CryptoAlgorithmParameters& parameters, const CryptoKeyData& keyData, bool extractable, CryptoKeyUsage usage, KeyCallback callback, VoidCallback failureCallback, ExceptionCode&) argument 111 const CryptoKeyDataRSAComponents& rsaComponents = toCryptoKeyDataRSAComponents(keyData);
|
H A D | CryptoAlgorithmRSA_OAEP.cpp | 108 void CryptoAlgorithmRSA_OAEP::importKey(const CryptoAlgorithmParameters& parameters, const CryptoKeyData& keyData, bool extractable, CryptoKeyUsage usage, KeyCallback callback, VoidCallback failureCallback, ExceptionCode&) argument 111 const CryptoKeyDataRSAComponents& rsaComponents = toCryptoKeyDataRSAComponents(keyData);
|
/macosx-10.10/WebCore-7600.1.25/platform/graphics/avfoundation/cf/ |
H A D | CDMSessionAVFoundationCF.cpp | 113 RetainPtr<CFMutableDataRef> keyData = adoptCF(CFDataCreateMutable(kCFAllocatorDefault, key->byteLength())); local 114 CFDataAppendBytes(keyData.get(), reinterpret_cast<const UInt8*>(key->baseAddress()), key->byteLength()); 116 // TODO: AVCFAssetResourceLoadingDataRequestRespondWithData(m_request.get(), keyData.get());
|
/macosx-10.10/WebKit2-7600.1.25/Shared/cf/ |
H A D | ArgumentCodersCF.cpp | 658 CFDataRef keyData = nullptr; local 660 keyData = copyPersistentRef(key); 663 SecKeychainItemCreatePersistentReference((SecKeychainItemRef)key, &keyData); 667 encoder << !!keyData; local 668 if (keyData) { 669 encode(encoder, keyData); 670 CFRelease(keyData); 687 RetainPtr<CFDataRef> keyData; 688 if (!decode(decoder, keyData)) 694 SecKeyFindWithPersistentRef(keyData [all...] |
/macosx-10.10/Security-57031.1.35/SecurityTests/cspxutils/utilLib/ |
H A D | bsafeUtils.h | 25 const CSSM_DATA *keyData,
|
/macosx-10.10/WebCore-7600.1.25/Modules/indexeddb/ |
H A D | IDBTransactionBackendOperations.cpp | 104 if (result.keyData.isNull) 107 m_callbacks->onSuccess(result.keyData.maybeCreateIDBKey()); 109 if (!result.keyData.isNull) 110 m_callbacks->onSuccess(result.valueBuffer, result.keyData.maybeCreateIDBKey(), result.keyPath);
|
/macosx-10.10/WebCore-7600.1.25/bindings/js/ |
H A D | JSCryptoKeySerializationJWK.h | 67 virtual std::unique_ptr<CryptoKeyData> keyData() const override;
|
/macosx-10.10/WebCore-7600.1.25/platform/graphics/avfoundation/objc/ |
H A D | CDMSessionAVFoundationObjC.mm | 100 RetainPtr<NSData> keyData = adoptNS([[NSData alloc] initWithBytes:key->baseAddress() length:key->byteLength()]); 101 [[m_request dataRequest] respondWithData:keyData.get()];
|
H A D | CDMSessionMediaSourceAVFObjC.mm | 143 RetainPtr<NSData> keyData = adoptNS([[NSData alloc] initWithBytes:key->data() length:key->length()]); 144 [m_parent->parser() processContentKeyResponseData:keyData.get() forTrackID:m_parent->protectedTrackID()];
|
/macosx-10.10/Security-57031.1.35/Security/include/security_filedb/ |
H A D | DbIndex.cpp | 383 WriteSection keyData; local 384 insertRecordMulti(recordNumber, packedRecord, 0, keyData, 0); 411 uint32 attributeIndex, WriteSection &keyData, uint32 keySize) 419 metaAttribute.copyValueBytes(i, packedRecord, keyData, newKeySize); 423 mIndexDataSize = mIndexData.put(mIndexDataSize, newKeySize, keyData.address()); 434 insertRecordMulti(recordNumber, packedRecord, attributeIndex + 1, keyData, newKeySize); 469 offset = ws.put(offset, it->first.keySize(), it->first.keyData()); 410 insertRecordMulti(uint32 recordNumber, const ReadSection &packedRecord, uint32 attributeIndex, WriteSection &keyData, uint32 keySize) argument
|
H A D | DbIndex.h | 91 const uint8 *keyData() const { return mKeySection.range(mKeyRange); } function in class:Security::DbIndexKey 185 uint32 attributeIndex, WriteSection &keyData, uint32 keySize);
|
/macosx-10.10/Security-57031.1.35/Security/libsecurity_filedb/lib/ |
H A D | DbIndex.cpp | 383 WriteSection keyData; local 384 insertRecordMulti(recordNumber, packedRecord, 0, keyData, 0); 411 uint32 attributeIndex, WriteSection &keyData, uint32 keySize) 419 metaAttribute.copyValueBytes(i, packedRecord, keyData, newKeySize); 423 mIndexDataSize = mIndexData.put(mIndexDataSize, newKeySize, keyData.address()); 434 insertRecordMulti(recordNumber, packedRecord, attributeIndex + 1, keyData, newKeySize); 469 offset = ws.put(offset, it->first.keySize(), it->first.keyData()); 410 insertRecordMulti(uint32 recordNumber, const ReadSection &packedRecord, uint32 attributeIndex, WriteSection &keyData, uint32 keySize) argument
|
H A D | DbIndex.h | 91 const uint8 *keyData() const { return mKeySection.range(mKeyRange); } function in class:Security::DbIndexKey 185 uint32 attributeIndex, WriteSection &keyData, uint32 keySize);
|
/macosx-10.10/Security-57031.1.35/SecurityTests/cspxutils/contextReuse/ |
H A D | contextReuse.cpp | 291 const CSSM_DATA *keyData, 323 keyData, keySizeInBits / 8, &key1); 328 keyData, keySizeInBits / 8, &key2); 426 CSSM_DATA keyData; local 535 keyData.Data = (uint8 *)CSSM_MALLOC(MAX_KEY_SIZE); 536 if(keyData.Data == NULL) { 540 keyData.Length = MAX_KEY_SIZE; 663 simpleGenData(&keyData, MAX_KEY_SIZE, MAX_KEY_SIZE); 693 &keyData, 735 CSSM_FREE(keyData 285 doTest( CSSM_CSP_HANDLE cspHand, const CSSM_DATA *ptext, const CSSM_DATA *ctext1, const CSSM_DATA *ctext2, const CSSM_DATA *rptext, const CSSM_DATA *keyData, const CSSM_DATA *iv, uint32 keyAlg, uint32 encrAlg, uint32 encrMode, uint32 padding, uint32 keySizeInBits, uint32 cipherBlockSizeBytes, CSSM_BOOL quiet) argument [all...] |
/macosx-10.10/WebKit-7600.1.25/wince/ |
H A D | WebView.cpp | 349 bool WebView::handleKeyDown(WPARAM virtualKeyCode, LPARAM keyData, bool systemKeyDown) 353 PlatformKeyboardEvent keyEvent(m_windowHandle, virtualKeyCode, keyData, PlatformEvent::RawKeyDown, systemKeyDown); 371 bool WebView::handleKeyPress(WPARAM charCode, LPARAM keyData, bool systemKeyDown) 375 PlatformKeyboardEvent keyEvent(m_windowHandle, charCode, keyData, PlatformEvent::Char, systemKeyDown); 385 bool WebView::handleKeyUp(WPARAM virtualKeyCode, LPARAM keyData, bool systemKeyDown) 387 PlatformKeyboardEvent keyEvent(m_windowHandle, virtualKeyCode, keyData, PlatformEvent::KeyUp, systemKeyDown);
|
/macosx-10.10/WebCore-7600.1.25/crypto/ |
H A D | SubtleCrypto.idl | 38 [Custom] Promise importKey(KeyFormat format, CryptoOperationData keyData, AlgorithmIdentifier? algorithm, optional boolean extractable, optional KeyUsage[] keyUsages);
|
/macosx-10.10/WebCore-7600.1.25/platform/ |
H A D | CrossThreadCopier.cpp | 115 CrossThreadCopierBase<false, false, IDBKeyData>::Type CrossThreadCopierBase<false, false, IDBKeyData>::copy(const IDBKeyData& keyData) argument 117 return keyData.isolatedCopy();
|