Searched refs:out_hash (Results 1 - 2 of 2) sorted by relevance

/macosx-10.10.1/Security-57031.1.35/certificates/CertificateTool/CertificateTool/
H A DValidateAsset.c97 static int CreateHashForData(CFDataRef cfData, int useSHA1, CFDataRef* out_hash) argument
104 if (NULL == cfData || NULL == out_hash)
109 *out_hash = NULL;
115 *out_hash = CFDataCreate(kCFAllocatorDefault, (const UInt8 *)buffer, digest_length);
122 result = (NULL == *out_hash) ? -1 : 0;
/macosx-10.10.1/Security-57031.1.35/certificates/ota_cert_tool/ios_ota_cert_tool/
H A DValidateAsset.c97 static int CreateHashForData(CFDataRef cfData, int useSHA1, CFDataRef* out_hash) argument
104 if (NULL == cfData || NULL == out_hash)
109 *out_hash = NULL;
115 *out_hash = CFDataCreate(kCFAllocatorDefault, (const UInt8 *)buffer, digest_length);
122 result = (NULL == *out_hash) ? -1 : 0;

Completed in 300 milliseconds