/bind-9.6-ESV-R11/lib/dns/rdata/generic/ |
H A D | dlv_32769.h | 30 unsigned char *digest; member in struct:dns_rdata_dlv
|
H A D | ds_43.h | 32 unsigned char *digest; member in struct:dns_rdata_ds
|
H A D | sshfp_44.h | 32 unsigned char *digest; member in struct:dns_rdata_sshfp
|
/bind-9.6-ESV-R11/lib/dns/ |
H A D | ds.c | 48 unsigned char digest[ISC_SHA256_DIGESTLENGTH]; local 74 isc_sha1_final(&sha1, digest); 83 isc_sha256_final(digest, &sha256); 94 ds.digest = digest;
|
H A D | openssldsa_link.c | 148 unsigned char digest[ISC_SHA1_DIGESTLENGTH]; local 193 if (!EVP_DigestFinal_ex(evp_md_ctx, digest, &siglen)) { 198 dsasig = DSA_do_sign(digest, ISC_SHA1_DIGESTLENGTH, dsa); 204 isc_sha1_final(sha1ctx, digest); 206 dsasig = DSA_do_sign(digest, ISC_SHA1_DIGESTLENGTH, dsa); 240 unsigned char digest[ISC_SHA1_DIGESTLENGTH]; local 245 /* Only use EVP for the digest */ 246 if (!EVP_DigestFinal_ex(evp_md_ctx, digest, &siglen)) { 251 isc_sha1_final(sha1ctx, digest); 286 status = DSA_do_verify(digest, ISC_SHA1_DIGESTLENGT [all...] |
H A D | opensslrsa_link.c | 376 unsigned char digest[PREFIXLEN + ISC_SHA512_DIGESTLENGTH]; local 412 isc_md5_final(md5ctx, digest); 422 isc_sha1_final(sha1ctx, digest); 431 isc_sha256_final(digest, sha256ctx); 445 isc_sha512_final(digest, sha512ctx); 465 status = RSA_sign(type, digest, digestlen, r.base, 473 INSIST(prefixlen + digestlen <= sizeof(digest)); 475 memmove(digest + prefixlen, digest, digestlen); 476 memmove(digest, prefi 513 unsigned char digest[ISC_SHA512_DIGESTLENGTH]; local [all...] |
H A D | hmac_link.c | 110 unsigned char *digest; local 114 digest = isc_buffer_used(sig); 115 isc_hmacmd5_sign(hmacmd5ctx, digest); 378 unsigned char *digest; local 382 digest = isc_buffer_used(sig); 383 isc_hmacsha1_sign(hmacsha1ctx, digest, ISC_SHA1_DIGESTLENGTH); 647 unsigned char *digest; local 651 digest = isc_buffer_used(sig); 652 isc_hmacsha224_sign(hmacsha224ctx, digest, ISC_SHA224_DIGESTLENGTH); 916 unsigned char *digest; local 1185 unsigned char *digest; local 1454 unsigned char *digest; local [all...] |
H A D | name.c | 2242 dns_name_digest(dns_name_t *name, dns_digestfunc_t digest, void *arg) { argument 2250 * Send 'name' in DNSSEC canonical form to 'digest'. 2254 REQUIRE(digest != NULL); 2270 return ((digest)(arg, &r));
|
H A D | rdata.c | 96 #define ARGS_DIGEST dns_rdata_t *rdata, dns_digestfunc_t digest, void *arg 976 dns_rdata_digest(dns_rdata_t *rdata, dns_digestfunc_t digest, void *arg) { argument 982 * Send 'rdata' in DNSSEC canonical form to 'digest'. 986 REQUIRE(digest != NULL); 993 result = (digest)(arg, &r);
|
H A D | resolver.c | 8520 dns_resolver_digest_supported(dns_resolver_t *resolver, unsigned int digest) { argument 8523 return (dns_ds_digest_supported(digest));
|
/bind-9.6-ESV-R11/lib/isc/ |
H A D | hmacmd5.c | 40 * Start HMAC-MD5 process. Initialize an md5 context and digest the key. 86 isc_hmacmd5_sign(isc_hmacmd5_t *ctx, unsigned char *digest) { argument 90 isc_md5_final(&ctx->md5ctx, digest); 98 isc_md5_update(&ctx->md5ctx, digest, ISC_MD5_DIGESTLENGTH); 99 isc_md5_final(&ctx->md5ctx, digest); 105 * compare to the supplied digest. 108 isc_hmacmd5_verify(isc_hmacmd5_t *ctx, unsigned char *digest) { argument 109 return (isc_hmacmd5_verify2(ctx, digest, ISC_MD5_DIGESTLENGTH)); 113 isc_hmacmd5_verify2(isc_hmacmd5_t *ctx, unsigned char *digest, size_t len) { argument 118 return (isc_safe_memcmp(digest, newdiges [all...] |
H A D | md5.c | 21 * This code implements the MD5 message-digest algorithm. 31 * To compute the message digest of a chunk of bytes, declare an 34 * will fill a supplied 16-byte array with the digest. 223 isc_md5_final(isc_md5_t *ctx, unsigned char *digest) { argument 249 memmove(digest, ctx->buf, 16);
|
H A D | hmacsha.c | 40 * Start HMAC-SHA1 process. Initialize an sha1 context and digest the key. 86 isc_hmacsha1_sign(isc_hmacsha1_t *ctx, unsigned char *digest, size_t len) { argument 103 memmove(digest, newdigest, len); 109 * compare to the supplied digest. 112 isc_hmacsha1_verify(isc_hmacsha1_t *ctx, unsigned char *digest, size_t len) { argument 117 return (isc_safe_memcmp(digest, newdigest, len)); 121 * Start HMAC-SHA224 process. Initialize an sha224 context and digest the key. 166 isc_hmacsha224_sign(isc_hmacsha224_t *ctx, unsigned char *digest, size_t len) { argument 182 memmove(digest, newdigest, len); 188 * compare to the supplied digest 191 isc_hmacsha224_verify(isc_hmacsha224_t *ctx, unsigned char *digest, size_t len) argument 245 isc_hmacsha256_sign(isc_hmacsha256_t *ctx, unsigned char *digest, size_t len) argument 270 isc_hmacsha256_verify(isc_hmacsha256_t *ctx, unsigned char *digest, size_t len) argument 324 isc_hmacsha384_sign(isc_hmacsha384_t *ctx, unsigned char *digest, size_t len) argument 349 isc_hmacsha384_verify(isc_hmacsha384_t *ctx, unsigned char *digest, size_t len) argument 403 isc_hmacsha512_sign(isc_hmacsha512_t *ctx, unsigned char *digest, size_t len) argument 428 isc_hmacsha512_verify(isc_hmacsha512_t *ctx, unsigned char *digest, size_t len) argument [all...] |
H A D | sha1.c | 282 * Add padding and return the message digest. 289 isc_sha1_final(isc_sha1_t *context, unsigned char *digest) { argument 293 INSIST(digest != 0); 309 if (digest) { 311 digest[i] = (unsigned char)
|
H A D | sha2.c | 399 * digest to a readable hexadecimal character string: 428 isc_sha224_final(isc_uint8_t digest[], isc_sha224_t *context) { argument 431 memmove(digest, sha256_digest, ISC_SHA224_DIGESTLENGTH); 437 isc_uint8_t digest[ISC_SHA224_DIGESTLENGTH], *d = digest; local 444 isc_sha224_final(digest, context); 455 memset(digest, 0, ISC_SHA224_DIGESTLENGTH); 461 char digest[ISC_SHA224_DIGESTSTRINGLENGTH]) 467 return (isc_sha224_end(&context, digest)); 726 isc_sha256_final(isc_uint8_t digest[], isc_sha256_ argument 460 isc_sha224_data(const isc_uint8_t *data, size_t len, char digest[ISC_SHA224_DIGESTSTRINGLENGTH]) argument 798 isc_uint8_t digest[ISC_SHA256_DIGESTLENGTH], *d = digest; local 821 isc_sha256_data(const isc_uint8_t* data, size_t len, char digest[ISC_SHA256_DIGESTSTRINGLENGTH]) argument 1126 isc_sha512_final(isc_uint8_t digest[], isc_sha512_t *context) argument 1157 isc_uint8_t digest[ISC_SHA512_DIGESTLENGTH], *d = digest; local 1180 isc_sha512_data(const isc_uint8_t *data, size_t len, char digest[ISC_SHA512_DIGESTSTRINGLENGTH]) argument 1214 isc_sha384_final(isc_uint8_t digest[], isc_sha384_t *context) argument 1245 isc_uint8_t digest[ISC_SHA384_DIGESTLENGTH], *d = digest; local 1268 isc_sha384_data(const isc_uint8_t *data, size_t len, char digest[ISC_SHA384_DIGESTSTRINGLENGTH]) argument [all...] |
H A D | entropy.c | 535 unsigned char digest[ISC_SHA1_DIGESTLENGTH]; local 612 isc_sha1_final(&hash, digest); 617 entropypool_adddata(ent, digest, ISC_SHA1_DIGESTLENGTH, 0); 620 buf[i] = digest[i] ^ digest[i + RND_ENTROPY_THRESHOLD]; 633 memset(digest, 0, sizeof(digest)); 646 memset(digest, 0, sizeof(digest));
|
/bind-9.6-ESV-R11/bin/tests/ |
H A D | hash_test.c | 59 unsigned char digest[ISC_SHA512_DIGESTLENGTH]; local 71 isc_sha1_final(&sha1, digest); 72 print_digest(s, "sha1", digest, ISC_SHA1_DIGESTLENGTH/4); 78 isc_sha1_final(&sha1, digest); 79 print_digest(s, "sha1", digest, ISC_SHA1_DIGESTLENGTH/4); 85 isc_sha224_final(digest, &sha224); 86 print_digest(s, "sha224", digest, ISC_SHA224_DIGESTLENGTH/4); 92 isc_sha224_final(digest, &sha224); 93 print_digest(s, "sha224", digest, ISC_SHA224_DIGESTLENGTH/4); 99 isc_md5_final(&md5, digest); [all...] |
/bind-9.6-ESV-R11/lib/isc/tests/ |
H A D | hash_test.c | 39 unsigned char digest[ISC_SHA512_DIGESTLENGTH]; variable 211 isc_sha1_final(&sha1, digest); 212 tohexstr(digest, ISC_SHA1_DIGESTLENGTH, str); 338 isc_sha224_final(digest, &sha224); 343 * isc_sha224_final(&sha224, digest); 345 tohexstr(digest, ISC_SHA224_DIGESTLENGTH, str); 470 isc_sha256_final(digest, &sha256); 475 * isc_sha224_final(&sha224, digest); 477 tohexstr(digest, ISC_SHA256_DIGESTLENGTH, str); 616 isc_sha384_final(digest, [all...] |
/bind-9.6-ESV-R11/lib/isccc/ |
H A D | cc.c | 214 unsigned char digest[ISC_MD5_DIGESTLENGTH]; local 219 isc_hmacmd5_sign(&ctx, digest); 220 source.rstart = digest; 221 source.rend = digest + ISC_MD5_DIGESTLENGTH; 282 unsigned char digest[ISC_MD5_DIGESTLENGTH]; local 286 * Extract digest. 295 * Compute digest. 299 isc_hmacmd5_sign(&ctx, digest); 300 source.rstart = digest; 301 source.rend = digest [all...] |