Home
last modified time | relevance | path

Searched refs:sha2_byte (Results 1 – 2 of 2) sorted by relevance

/freebsd/contrib/unbound/compat/
H A Dsha512.c98 typedef uint8_t sha2_byte; /* Exactly 1 byte */ typedef
350 const sha2_byte* data = (const sha2_byte*)datain; in SHA512_Update()
358 assert(context != (SHA512_CTX*)0 && data != (sha2_byte*)0); in SHA512_Update()
440 void SHA512_Final(sha2_byte digest[], SHA512_CTX* context) { in SHA512_Final()
447 if (digest != (sha2_byte*)0) { in SHA512_Final()
/freebsd/contrib/ldns/
H A Dsha2.c101 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()
[all …]