Searched refs:cipherBuf (Results 1 - 5 of 5) sorted by relevance

/macosx-10.9.5/Security-55471.14.18/include/security_keychain/
H A DSecFDERecoveryAsymmetricCrypto.cpp159 const CssmData cipherBuf(const_cast<uint8 *>(inHeader.encryptedBlob), inHeader.encryptedBlobSize);
163 CSSM_RETURN crx = CSSM_DecryptData(cc, &cipherBuf, 1, &clearBuf.get(), 1, &bytesDecrypted, &remData.get());
166 // throwIfError(CSSM_DecryptData(cc, &cipherBuf, 1, &clearBuf.get(), 1, &bytesDecrypted, &remData.get()));
/macosx-10.9.5/Security-55471.14.18/libsecurity_keychain/Security/
H A DSecFDERecoveryAsymmetricCrypto.cpp159 const CssmData cipherBuf(const_cast<uint8 *>(inHeader.encryptedBlob), inHeader.encryptedBlobSize);
163 CSSM_RETURN crx = CSSM_DecryptData(cc, &cipherBuf, 1, &clearBuf.get(), 1, &bytesDecrypted, &remData.get());
166 // throwIfError(CSSM_DecryptData(cc, &cipherBuf, 1, &clearBuf.get(), 1, &bytesDecrypted, &remData.get()));
/macosx-10.9.5/Security-55471.14.18/libsecurity_keychain/lib/
H A DSecFDERecoveryAsymmetricCrypto.cpp159 const CssmData cipherBuf(const_cast<uint8 *>(inHeader.encryptedBlob), inHeader.encryptedBlobSize);
163 CSSM_RETURN crx = CSSM_DecryptData(cc, &cipherBuf, 1, &clearBuf.get(), 1, &bytesDecrypted, &remData.get());
166 // throwIfError(CSSM_DecryptData(cc, &cipherBuf, 1, &clearBuf.get(), 1, &bytesDecrypted, &remData.get()));
/macosx-10.9.5/Security-55471.14.18/include/security_cdsa_plugin/
H A DCSPsession.cpp754 CSSM_DATA cipherBuf; // have the CSP allocate the resulting memory local
776 cipherBuf.Length = qsData.SizeOutputBlock;
777 cipherBuf.Data = cipherBuffer;
780 result = CSSM_EncryptData(encryptHandle, &clearBuf, 1, &cipherBuf, 1, &bytesEncrypted, &remData);
787 if (memcmp(cipherBuf.Data, clearBuf.Data, clearBuf.Length) == 0)
809 result = CSSM_DecryptData(decryptHandle, &cipherBuf, 1, &decryptedBuf, 1, &bytesEncrypted, &remData);
/macosx-10.9.5/Security-55471.14.18/libsecurity_cdsa_plugin/lib/
H A DCSPsession.cpp754 CSSM_DATA cipherBuf; // have the CSP allocate the resulting memory local
776 cipherBuf.Length = qsData.SizeOutputBlock;
777 cipherBuf.Data = cipherBuffer;
780 result = CSSM_EncryptData(encryptHandle, &clearBuf, 1, &cipherBuf, 1, &bytesEncrypted, &remData);
787 if (memcmp(cipherBuf.Data, clearBuf.Data, clearBuf.Length) == 0)
809 result = CSSM_DecryptData(decryptHandle, &cipherBuf, 1, &decryptedBuf, 1, &bytesEncrypted, &remData);

Completed in 199 milliseconds