Lines Matching refs:sha2_byte
101 typedef uint8_t sha2_byte; /* Exactly 1 byte */ typedef
502 void ldns_sha256_update(ldns_sha256_CTX* context, const sha2_byte *data, size_t len) { in ldns_sha256_update()
511 assert(context != (ldns_sha256_CTX*)0 && data != (sha2_byte*)0); in ldns_sha256_update()
557 void ldns_sha256_final(sha2_byte digest[LDNS_SHA256_DIGEST_LENGTH], ldns_sha256_CTX* context) { in ldns_sha256_final()
566 if (digest != (sha2_byte*)0) { in ldns_sha256_final()
815 void ldns_sha512_update(ldns_sha512_CTX* context, const sha2_byte *data, size_t len) { in ldns_sha512_update()
824 assert(context != (ldns_sha512_CTX*)0 && data != (sha2_byte*)0); in ldns_sha512_update()
908 void ldns_sha512_final(sha2_byte digest[LDNS_SHA512_DIGEST_LENGTH], ldns_sha512_CTX* context) { in ldns_sha512_final()
915 if (digest != (sha2_byte*)0) { in ldns_sha512_final()
957 void ldns_sha384_update(ldns_sha384_CTX* context, const sha2_byte* data, size_t len) { in ldns_sha384_update()
961 void ldns_sha384_final(sha2_byte digest[LDNS_SHA384_DIGEST_LENGTH], ldns_sha384_CTX* context) { in ldns_sha384_final()
968 if (digest != (sha2_byte*)0) { in ldns_sha384_final()