Lines Matching refs:ldns_sha512_CTX
630 void ldns_sha512_init(ldns_sha512_CTX* context) {
631 if (context == (ldns_sha512_CTX*)0) {
675 static void ldns_sha512_Transform(ldns_sha512_CTX* context,
731 static void ldns_sha512_Transform(ldns_sha512_CTX* context,
810 void ldns_sha512_update(ldns_sha512_CTX* context, const sha2_byte *data, size_t len) {
819 assert(context != (ldns_sha512_CTX*)0 && data != (sha2_byte*)0);
858 static void ldns_sha512_Last(ldns_sha512_CTX* context) {
901 void ldns_sha512_final(sha2_byte digest[], ldns_sha512_CTX* context) {
905 assert(context != (ldns_sha512_CTX*)0);
927 MEMSET_BZERO(context, sizeof(ldns_sha512_CTX));
933 ldns_sha512_CTX ctx;
951 ldns_sha512_update((ldns_sha512_CTX*)context, data, len);
962 ldns_sha512_Last((ldns_sha512_CTX*)context);