Lines Matching defs:digest

106 isc_sha224_final(isc_uint8_t digest[], isc_sha224_t *context) {
111 /* If no digest buffer is passed, we don't bother doing this: */
112 if (digest != (isc_uint8_t*)0)
114 digest, NULL) == 1);
154 isc_sha256_final(isc_uint8_t digest[], isc_sha256_t *context) {
159 /* If no digest buffer is passed, we don't bother doing this: */
160 if (digest != (isc_uint8_t*)0)
162 digest, NULL) == 1);
200 void isc_sha512_final(isc_uint8_t digest[], isc_sha512_t *context) {
205 /* If no digest buffer is passed, we don't bother doing this: */
206 if (digest != (isc_uint8_t*)0)
208 digest, NULL) == 1);
248 isc_sha384_final(isc_uint8_t digest[], isc_sha384_t *context) {
253 /* If no digest buffer is passed, we don't bother doing this: */
254 if (digest != (isc_uint8_t*)0)
256 digest, NULL) == 1);
307 isc_sha224_final(isc_uint8_t digest[], isc_sha224_t *context) {
314 /* If no digest buffer is passed, we don't bother doing this: */
315 if (digest != (isc_uint8_t*)0) {
318 (CK_BYTE_PTR) digest,
373 isc_sha256_final(isc_uint8_t digest[], isc_sha256_t *context) {
380 /* If no digest buffer is passed, we don't bother doing this: */
381 if (digest != (isc_uint8_t*)0) {
384 (CK_BYTE_PTR) digest,
439 isc_sha512_final(isc_uint8_t digest[], isc_sha512_t *context) {
446 /* If no digest buffer is passed, we don't bother doing this: */
447 if (digest != (isc_uint8_t*)0) {
450 (CK_BYTE_PTR) digest,
505 isc_sha384_final(isc_uint8_t digest[], isc_sha384_t *context) {
512 /* If no digest buffer is passed, we don't bother doing this: */
513 if (digest != (isc_uint8_t*)0) {
516 (CK_BYTE_PTR) digest,
885 isc_sha224_final(isc_uint8_t digest[], isc_sha224_t *context) {
888 memmove(digest, sha256_digest, ISC_SHA224_DIGESTLENGTH);
1148 isc_sha256_final(isc_uint8_t digest[], isc_sha256_t *context) {
1149 isc_uint32_t *d = (isc_uint32_t*)digest;
1155 /* If no digest buffer is passed, we don't bother doing this: */
1156 if (digest != (isc_uint8_t*)0) {
1511 void isc_sha512_final(isc_uint8_t digest[], isc_sha512_t *context) {
1512 isc_uint64_t *d = (isc_uint64_t*)digest;
1517 /* If no digest buffer is passed, we don't bother doing this: */
1518 if (digest != (isc_uint8_t*)0) {
1564 isc_sha384_final(isc_uint8_t digest[], isc_sha384_t *context) {
1565 isc_uint64_t *d = (isc_uint64_t*)digest;
1570 /* If no digest buffer is passed, we don't bother doing this: */
1571 if (digest != (isc_uint8_t*)0) {
1596 * digest to a readable hexadecimal character string:
1602 isc_uint8_t digest[ISC_SHA224_DIGESTLENGTH], *d = digest;
1609 isc_sha224_final(digest, context);
1626 isc_safe_memwipe(digest, sizeof(digest));
1632 char digest[ISC_SHA224_DIGESTSTRINGLENGTH])
1638 return (isc_sha224_end(&context, digest));
1643 isc_uint8_t digest[ISC_SHA256_DIGESTLENGTH], *d = digest;
1650 isc_sha256_final(digest, context);
1667 isc_safe_memwipe(digest, sizeof(digest));
1673 char digest[ISC_SHA256_DIGESTSTRINGLENGTH])
1679 return (isc_sha256_end(&context, digest));
1684 isc_uint8_t digest[ISC_SHA512_DIGESTLENGTH], *d = digest;
1691 isc_sha512_final(digest, context);
1708 isc_safe_memwipe(digest, sizeof(digest));
1714 char digest[ISC_SHA512_DIGESTSTRINGLENGTH])
1720 return (isc_sha512_end(&context, digest));
1725 isc_uint8_t digest[ISC_SHA384_DIGESTLENGTH], *d = digest;
1732 isc_sha384_final(digest, context);
1749 isc_safe_memwipe(digest, sizeof(digest));
1755 char digest[ISC_SHA384_DIGESTSTRINGLENGTH])
1761 return (isc_sha384_end(&context, digest));