/macosx-10.10.1/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? 62 typedef Byte Digest[_size]; // my digest as a Byte array 63 struct SDigest { // my digest as a struct 83 void finish(SDigest &digest) argument 84 { _self().finish(digest.data); } 86 bool verify(const Byte *digest) argument 87 { Digest d; _self().finish(d); return memcmp(d, digest, digestLength) == 0; } 92 // A dynamic switch for digest generators. 102 virtual void finish(Byte *digest) = 0; 107 bool verify(const Byte *digest) argument 131 finish(unsigned char *digest) argument 149 finish(unsigned char *digest) argument 179 finish(Byte *digest) argument [all...] |
/macosx-10.10.1/tcl-105/tcl_ext/trf/trf/generic/ |
H A D | sha1.c | 4 * Implements and registers message digest generator SHA1. 37 * message digest. 54 static void MDsha1_Final _ANSI_ARGS_ ((VOID* context, VOID* digest)); 114 * digest generator. 140 * Update the internal state of the message digest 170 * Update the internal state of the message digest 199 * Generate the digest from the internal state of 200 * the message digest generator. 213 MDsha1_Final (context, digest) 215 VOID* digest; [all...] |
/macosx-10.10.1/apr-32/apr-util/apr-util/crypto/ |
H A D | apr_sha1.c | 121 A = sha_info->digest[0]; 122 B = sha_info->digest[1]; 123 C = sha_info->digest[2]; 124 D = sha_info->digest[3]; 125 E = sha_info->digest[4]; 160 sha_info->digest[0] += A; 161 sha_info->digest[1] += B; 162 sha_info->digest[2] += C; 163 sha_info->digest[3] += D; 164 sha_info->digest[ 313 apr_sha1_final(unsigned char digest[APR_SHA1_DIGESTSIZE], apr_sha1_ctx_t *sha_info) argument 352 apr_byte_t digest[APR_SHA1_DIGESTSIZE]; local [all...] |
/macosx-10.10.1/OpenSSL098-52/src/crypto/pkcs12/ |
H A D | p12_p8e.c | 84 M_ASN1_OCTET_STRING_free(p8->digest); 85 p8->digest = PKCS12_item_i2d_encrypt(pbe, ASN1_ITEM_rptr(PKCS8_PRIV_KEY_INFO), 87 if(!p8->digest) {
|
/macosx-10.10.1/Security-57031.1.35/Security/include/security_codesigning/ |
H A D | codedirectory.cpp | 173 Hashing::Byte digest[hasher->digestLength()]; local 174 generateHash(hasher, data, length, digest); 175 return memcmp(digest, (*this)[slot], hasher->digestLength()) == 0; 186 Hashing::Byte digest[hasher->digestLength()]; local 187 generateHash(hasher, fd, digest, length); 188 return memcmp(digest, (*this)[slot], hasher->digestLength()) == 0; 200 const Hashing::Byte *digest = (*this)[slot]; local 202 if (digest[n]) 203 return true; // non-zero digest => present 229 // Hash the next limit bytes of a file and return the digest 235 generateHash(DynamicHash *hasher, FileDesc fd, Hashing::Byte *digest, size_t limit) argument 246 generateHash(DynamicHash *hasher, const void *data, size_t length, Hashing::Byte *digest) argument [all...] |
/macosx-10.10.1/Security-57031.1.35/Security/include/security_cryptkit/ |
H A D | feeHash.c | 38 unsigned char digest[MD5_DIGEST_SIZE]; member in struct:__anon3742 92 * Obtain a pointer to completed message digest, and the length of the digest. 99 MD5Final(&hinst->context, hinst->digest); 102 return hinst->digest;
|
/macosx-10.10.1/Security-57031.1.35/Security/libsecurity_codesigning/lib/ |
H A D | codedirectory.cpp | 173 Hashing::Byte digest[hasher->digestLength()]; local 174 generateHash(hasher, data, length, digest); 175 return memcmp(digest, (*this)[slot], hasher->digestLength()) == 0; 186 Hashing::Byte digest[hasher->digestLength()]; local 187 generateHash(hasher, fd, digest, length); 188 return memcmp(digest, (*this)[slot], hasher->digestLength()) == 0; 200 const Hashing::Byte *digest = (*this)[slot]; local 202 if (digest[n]) 203 return true; // non-zero digest => present 229 // Hash the next limit bytes of a file and return the digest 235 generateHash(DynamicHash *hasher, FileDesc fd, Hashing::Byte *digest, size_t limit) argument 246 generateHash(DynamicHash *hasher, const void *data, size_t length, Hashing::Byte *digest) argument [all...] |
/macosx-10.10.1/Security-57031.1.35/Security/libsecurity_cryptkit/lib/ |
H A D | feeHash.c | 38 unsigned char digest[MD5_DIGEST_SIZE]; member in struct:__anon4457 92 * Obtain a pointer to completed message digest, and the length of the digest. 99 MD5Final(&hinst->context, hinst->digest); 102 return hinst->digest;
|
/macosx-10.10.1/bind9-45.101/bind9/lib/isc/include/isc/ |
H A D | hmacmd5.h | 62 isc_hmacmd5_sign(isc_hmacmd5_t *ctx, unsigned char *digest); 65 isc_hmacmd5_verify(isc_hmacmd5_t *ctx, unsigned char *digest); 68 isc_hmacmd5_verify2(isc_hmacmd5_t *ctx, unsigned char *digest, size_t len);
|
/macosx-10.10.1/xnu-2782.1.97/libkern/libkern/crypto/ |
H A D | sha2.h | 63 void SHA256_Final(void *digest, SHA256_CTX *ctx); 67 void SHA384_Final(void *digest, SHA384_CTX *ctx); 71 void SHA512_Final(void *digest, SHA512_CTX *ctx);
|
/macosx-10.10.1/ruby-106/ruby/test/openssl/ |
H A D | test_engine.rb | 37 digest = engine.digest("SHA1") 38 assert_not_nil(digest) 40 assert_equal(OpenSSL::Digest::SHA1.digest(data), digest.digest(data))
|
/macosx-10.10.1/xnu-2782.1.97/libkern/crypto/ |
H A D | corecrypto_sha2.c | 39 /* Make sure the context size for the digest info fits in the one we have */ 54 void SHA256_Final(void *digest, SHA256_CTX *ctx) argument 59 ccdigest_final(di, ctx->ctx, digest); 67 /* Make sure the context size for the digest info fits in the one we have */ 83 void SHA384_Final(void *digest, SHA384_CTX *ctx) argument 88 ccdigest_final(di, ctx->ctx, digest); 96 /* Make sure the context size for the digest info fits in the one we have */ 111 void SHA512_Final(void *digest, SHA512_CTX *ctx) argument 116 ccdigest_final(di, ctx->ctx, digest);
|
/macosx-10.10.1/OpenSSL098-52/src/crypto/asn1/ |
H A D | x_sig.c | 66 ASN1_SIMPLE(X509_SIG, digest, ASN1_OCTET_STRING)
|
/macosx-10.10.1/Security-57031.1.35/Security/sec/securityd/ |
H A D | SecTrustStoreServer.h | 44 bool SecTrustStoreRemoveCertificateWithDigest(SecTrustStoreRef ts, CFDataRef digest, CFErrorRef *error); 51 bool SecTrustStoreContainsCertificateWithDigest(SecTrustStoreRef source, CFDataRef digest, bool *contains, CFErrorRef *error);
|
/macosx-10.10.1/apr-32/apr-util/apr-util/include/ |
H A D | apr_md4.h | 89 * for translating the content before calculating the digest. 100 * MD4 block update operation. Continue an MD4 message-digest operation, 111 * MD4 finalization. Ends an MD4 message-digest operation, writing the 112 * message digest and zeroing the context 113 * @param digest The final MD4 digest 117 unsigned char digest[APR_MD4_DIGESTSIZE], 121 * MD4 digest computation 122 * @param digest The MD4 digest [all...] |
H A D | apr_sha1.h | 57 /** message digest */ 58 apr_uint32_t digest[5]; member in struct:apr_sha1_ctx_t 85 * Initialize the SHA digest 91 * Update the SHA digest 93 * @param input The buffer to add to the SHA digest 100 * Update the SHA digest with binary data 102 * @param input The buffer to add to the SHA digest 110 * Finish computing the SHA digest 111 * @param digest the output buffer in which to store the digest [all...] |
/macosx-10.10.1/ntp-92/lib/isc/ |
H A D | hmacmd5.c | 39 * Start HMAC-MD5 process. Initialize an md5 context and digest the key. 85 isc_hmacmd5_sign(isc_hmacmd5_t *ctx, unsigned char *digest) { argument 89 isc_md5_final(&ctx->md5ctx, digest); 97 isc_md5_update(&ctx->md5ctx, digest, ISC_MD5_DIGESTLENGTH); 98 isc_md5_final(&ctx->md5ctx, digest); 104 * compare to the supplied digest. 107 isc_hmacmd5_verify(isc_hmacmd5_t *ctx, unsigned char *digest) { argument 108 return (isc_hmacmd5_verify2(ctx, digest, ISC_MD5_DIGESTLENGTH)); 112 isc_hmacmd5_verify2(isc_hmacmd5_t *ctx, unsigned char *digest, size_t len) { argument 117 return (ISC_TF(memcmp(digest, newdiges [all...] |
/macosx-10.10.1/passwordserver_sasl-193/cyrus_sasl/include/ |
H A D | hmac-md5.h | 28 * digest may be same as text or key 32 unsigned char digest[HMAC_MD5_SIZE]); 52 void _sasl_hmac_md5_final(unsigned char digest[HMAC_MD5_SIZE],
|
/macosx-10.10.1/ruby-106/ruby/ext/digest/md5/ |
H A D | extconf.rb | 26 $preload = %w[digest] 28 create_makefile("digest/md5")
|
/macosx-10.10.1/ruby-106/ruby/ext/digest/rmd160/ |
H A D | extconf.rb | 25 $preload = %w[digest] 27 create_makefile("digest/rmd160")
|
/macosx-10.10.1/ruby-106/ruby/ext/digest/sha1/ |
H A D | extconf.rb | 25 $preload = %w[digest] 27 create_makefile("digest/sha1")
|
/macosx-10.10.1/ruby-106/ruby/test/digest/ |
H A D | test_digest.rb | 8 require 'digest' 9 %w[digest/md5 digest/rmd160 digest/sha1 digest/sha2].each do |lib| 36 digest = [hexdigest].pack("H*") 38 assert_equal([digest].pack("m0"), actual) 45 digest = [hexdigest].pack("H*") 46 actual = self.class::ALGO.digest(str) 47 assert_equal(digest, actua [all...] |
/macosx-10.10.1/curl-83.1.2/curl/src/ |
H A D | tool_metalink.c | 141 static void MD5_Final(unsigned char digest[16], MD5_CTX *ctx) argument 143 md5_digest(ctx, 16, digest); 159 static void SHA1_Final(unsigned char digest[20], SHA_CTX *ctx) argument 161 sha1_digest(ctx, 20, digest); 177 static void SHA256_Final(unsigned char digest[32], SHA256_CTX *ctx) argument 179 sha256_digest(ctx, 32, digest); 197 static void MD5_Final(unsigned char digest[16], MD5_CTX *ctx) argument 199 memcpy(digest, gcry_md_read(*ctx, 0), 16); 216 static void SHA1_Final(unsigned char digest[20], SHA_CTX *ctx) argument 218 memcpy(digest, gcry_md_rea 235 SHA256_Final(unsigned char digest[32], SHA256_CTX *ctx) argument 289 MD5_Final(unsigned char digest[16], MD5_CTX *pctx) argument 306 SHA1_Final(unsigned char digest[20], SHA_CTX *pctx) argument 323 SHA256_Final(unsigned char digest[32], SHA256_CTX *pctx) argument 343 MD5_Final(unsigned char digest[16], MD5_CTX *ctx) argument 361 SHA1_Final(unsigned char digest[20], SHA_CTX *ctx) argument 379 SHA256_Final(unsigned char digest[32], SHA256_CTX *ctx) argument 386 win32_crypto_final(struct win32_crypto_hash *ctx, unsigned char *digest, unsigned int digestLen) argument 416 MD5_Final(unsigned char digest[16], MD5_CTX *ctx) argument 437 SHA1_Final(unsigned char digest[20], SHA_CTX *ctx) argument 458 SHA256_Final(unsigned char digest[32], SHA256_CTX *ctx) argument 599 check_hash(const char *filename, const metalink_digest_def *digest_def, const unsigned char *digest, FILE *error) argument 680 unsigned char *digest; local [all...] |
/macosx-10.10.1/OpenLDAP-499.27/OpenLDAP/include/ |
H A D | lutil_hash.h | 41 unsigned char digest[LUTIL_HASH_BYTES],
|
/macosx-10.10.1/OpenSSH-189/openssh/ |
H A D | kexdh.c | 57 static u_char digest[EVP_MAX_MD_SIZE]; local 83 EVP_DigestFinal(&md, digest, NULL); 88 dump_digest("hash", digest, EVP_MD_size(evp_md)); 90 *hash = digest;
|