/macosx-10.10/Security-57031.1.35/Security/include/security_utilities/ |
H A D | hashing.h | 61 static const size_t digestLength = _size; // how many bytes in my digest? member in class:Security::Hash 67 SDigest(const Byte *source) { ::memcpy(data, source, digestLength); } 69 { return ::memcmp(x.data, y.data, digestLength) < 0; } 71 { return ::memcmp(this->data, other.data, digestLength) == 0; } 73 { return ::memcmp(this->data, other.data, digestLength) != 0; } 75 { return ::memcmp(this->data, other, digestLength) == 0; } 77 { return ::memcmp(this->data, other, digestLength) != 0; } 87 { Digest d; _self().finish(d); return memcmp(d, digest, digestLength) == 0; } 94 // Note that digestLength is a function here, not a constant. Obviously. 100 virtual size_t digestLength() cons 127 size_t digestLength() const function in class:Security::DynamicHashInstance 145 size_t digestLength() const function in class:Security::CCHashInstance [all...] |
/macosx-10.10/Security-57031.1.35/Security/libsecurity_utilities/lib/ |
H A D | hashing.h | 61 static const size_t digestLength = _size; // how many bytes in my digest? member in class:Security::Hash 67 SDigest(const Byte *source) { ::memcpy(data, source, digestLength); } 69 { return ::memcmp(x.data, y.data, digestLength) < 0; } 71 { return ::memcmp(this->data, other.data, digestLength) == 0; } 73 { return ::memcmp(this->data, other.data, digestLength) != 0; } 75 { return ::memcmp(this->data, other, digestLength) == 0; } 77 { return ::memcmp(this->data, other, digestLength) != 0; } 87 { Digest d; _self().finish(d); return memcmp(d, digest, digestLength) == 0; } 94 // Note that digestLength is a function here, not a constant. Obviously. 100 virtual size_t digestLength() cons 127 size_t digestLength() const function in class:Security::DynamicHashInstance 145 size_t digestLength() const function in class:Security::CCHashInstance [all...] |
/macosx-10.10/WebCore-7600.1.25/crypto/mac/ |
H A D | CryptoAlgorithmHMACMac.cpp | 64 size_t digestLength; local 67 digestLength = CC_SHA1_DIGEST_LENGTH; 70 digestLength = CC_SHA224_DIGEST_LENGTH; 73 digestLength = CC_SHA256_DIGEST_LENGTH; 76 digestLength = CC_SHA384_DIGEST_LENGTH; 79 digestLength = CC_SHA512_DIGEST_LENGTH; 86 Vector<uint8_t> result(digestLength);
|
/macosx-10.10/Security-57031.1.35/Security/libsecurity_transform/lib/ |
H A D | SecDigestTransform.cpp | 20 CFIndex digestLength, 27 CFErrorRef result = dt->Setup(digestType, digestLength); 19 SecDigestTransformCreate(CFTypeRef digestType, CFIndex digestLength, CFErrorRef* error ) argument
|
H A D | SecDigestTransform.h | 113 @param digestLength The desired digest length. Note that certain 129 CFIndex digestLength,
|
H A D | SecMaskGenerationFunctionTransform.c | 70 int32_t digestLength = 0; 73 CFNumberGetValue(transforms_assume(digestLengthAsCFNumber), kCFNumberSInt32Type, &digestLength); 75 (void)transforms_assume(digestLength >= 0); 77 UInt8 *buffer = malloc(outputLength + digestLength); 85 for(; l < outputLength; l += digestLength, i++) {
|
H A D | Digest_block.c | 36 SecTransformRef SecDigestTransformCreate_block(SecProviderRef device, CFTypeRef digestType, CFIndex digestLength, CFErrorRef* error) { argument 95 CFNumberRef dlen = CFNumberCreate(NULL, kCFNumberCFIndexType, &digestLength);
|
H A D | Digest.h | 18 Digest(CFStringRef digestType, size_t digestLength);
|
/macosx-10.10/Security-57031.1.35/Security/include/security_codesigning/ |
H A D | codedirectory.cpp | 173 Hashing::Byte digest[hasher->digestLength()]; 175 return memcmp(digest, (*this)[slot], hasher->digestLength()) == 0; 186 Hashing::Byte digest[hasher->digestLength()]; 188 return memcmp(digest, (*this)[slot], hasher->digestLength()) == 0;
|
H A D | reqreader.cpp | 71 if (length != SHA1::digestLength)
|
H A D | csutilities.cpp | 57 return !memcmp(sha1, gAppleAnchorHash, SHA1::digestLength); 91 return !memcmp(dig, digest, SHA1::digestLength);
|
H A D | reqmaker.cpp | 96 putData(digest, SHA1::digestLength); 135 putData(digest, SHA1::digestLength);
|
H A D | drmaker.cpp | 75 || !memcmp(anchorHash, Requirement::testAppleAnchorHash(), SHA1::digestLength)
|
/macosx-10.10/Security-57031.1.35/Security/libsecurity_codesigning/lib/ |
H A D | codedirectory.cpp | 173 Hashing::Byte digest[hasher->digestLength()]; 175 return memcmp(digest, (*this)[slot], hasher->digestLength()) == 0; 186 Hashing::Byte digest[hasher->digestLength()]; 188 return memcmp(digest, (*this)[slot], hasher->digestLength()) == 0;
|
H A D | reqreader.cpp | 71 if (length != SHA1::digestLength)
|
H A D | csutilities.cpp | 57 return !memcmp(sha1, gAppleAnchorHash, SHA1::digestLength); 91 return !memcmp(dig, digest, SHA1::digestLength);
|
H A D | reqmaker.cpp | 96 putData(digest, SHA1::digestLength); 135 putData(digest, SHA1::digestLength);
|
H A D | drmaker.cpp | 75 || !memcmp(anchorHash, Requirement::testAppleAnchorHash(), SHA1::digestLength)
|
/macosx-10.10/Security-57031.1.35/Security/include/security_cdsa_utilities/ |
H A D | acl_codesigning.cpp | 59 new(alloc) ListElement(alloc, CssmData::wrap(legacyHash(), SHA1::digestLength)), 84 && list[2].data().length() == SHA1::digestLength 119 && length == SHA1::digestLength) { 154 pub.countedData(legacyHash(), SHA1::digestLength); member in class:SHA1 171 pub.countedData(legacyHash(), SHA1::digestLength); member in class:SHA1
|
/macosx-10.10/Security-57031.1.35/Security/libsecurity_cdsa_utilities/lib/ |
H A D | acl_codesigning.cpp | 59 new(alloc) ListElement(alloc, CssmData::wrap(legacyHash(), SHA1::digestLength)), 84 && list[2].data().length() == SHA1::digestLength 119 && length == SHA1::digestLength) { 154 pub.countedData(legacyHash(), SHA1::digestLength); member in class:SHA1 171 pub.countedData(legacyHash(), SHA1::digestLength); member in class:SHA1
|
/macosx-10.10/Security-57031.1.35/Security/include/security_keychain/ |
H A D | TrustedApplication.h | 62 CssmData legacyHash() const { return CssmData::wrap(mForm->legacyHash(), SHA1::digestLength); }
|
/macosx-10.10/Security-57031.1.35/Security/libsecurity_keychain/Security/ |
H A D | TrustedApplication.h | 62 CssmData legacyHash() const { return CssmData::wrap(mForm->legacyHash(), SHA1::digestLength); }
|
/macosx-10.10/Security-57031.1.35/Security/libsecurity_keychain/lib/ |
H A D | TrustedApplication.h | 62 CssmData legacyHash() const { return CssmData::wrap(mForm->legacyHash(), SHA1::digestLength); }
|
/macosx-10.10/security_systemkeychain-55202/src/ |
H A D | cs_utils.cpp | 64 { "sha1", kSecCodeSignatureHashSHA1, SHA1::digestLength }, 255 if (strlen(match) == 2 * SHA1::digestLength && strspn(match, hexDigits) == 2 * SHA1::digestLength) { 412 char s[2 * SHA1::digestLength + 1]; 413 for (unsigned n = 0; n < SHA1::digestLength; n++) 427 for (unsigned n = 0; n < SHA1::digestLength; n++)
|
/macosx-10.10/Security-57031.1.35/securityd/src/ |
H A D | clientid.cpp | 153 return CssmData::wrap(guest->legacyHash, SHA1::digestLength);
|