Lines Matching refs:sha1
20 #include <isc/sha1.h>
44 isc_sha1_t sha1;
64 isc_sha1_init(&sha1);
66 isc_sha1_update(&sha1, buffer, strlen(s));
67 isc_sha1_final(&sha1, digest);
68 print_digest(s, "sha1", digest, ISC_SHA1_DIGESTLENGTH/4);
71 isc_sha1_init(&sha1);
73 isc_sha1_update(&sha1, buffer, strlen(s));
74 isc_sha1_final(&sha1, digest);
75 print_digest(s, "sha1", digest, ISC_SHA1_DIGESTLENGTH/4);