Lines Matching refs:hashthis

704   char *hashthis = NULL;  in auth_create_digest_http_message()  local
727 hashthis = aprintf("%s:%s", userp, digest->realm ? digest->realm : ""); in auth_create_digest_http_message()
728 if(!hashthis) in auth_create_digest_http_message()
731 result = hash(hashbuf, (unsigned char *) hashthis, strlen(hashthis)); in auth_create_digest_http_message()
732 free(hashthis); in auth_create_digest_http_message()
749 hashthis = aprintf("%s:%s:%s", userp, digest->realm ? digest->realm : "", in auth_create_digest_http_message()
751 if(!hashthis) in auth_create_digest_http_message()
754 result = hash(hashbuf, (unsigned char *) hashthis, strlen(hashthis)); in auth_create_digest_http_message()
755 free(hashthis); in auth_create_digest_http_message()
786 hashthis = aprintf("%s:%s", request, uripath); in auth_create_digest_http_message()
787 if(!hashthis) in auth_create_digest_http_message()
797 free(hashthis); in auth_create_digest_http_message()
802 hashthis2 = aprintf("%s:%s", hashthis, hashed); in auth_create_digest_http_message()
803 free(hashthis); in auth_create_digest_http_message()
804 hashthis = hashthis2; in auth_create_digest_http_message()
807 if(!hashthis) in auth_create_digest_http_message()
810 result = hash(hashbuf, (unsigned char *) hashthis, strlen(hashthis)); in auth_create_digest_http_message()
811 free(hashthis); in auth_create_digest_http_message()
817 hashthis = aprintf("%s:%s:%08x:%s:%s:%s", ha1, digest->nonce, digest->nc, in auth_create_digest_http_message()
821 hashthis = aprintf("%s:%s:%s", ha1, digest->nonce, ha2); in auth_create_digest_http_message()
824 if(!hashthis) in auth_create_digest_http_message()
827 result = hash(hashbuf, (unsigned char *) hashthis, strlen(hashthis)); in auth_create_digest_http_message()
828 free(hashthis); in auth_create_digest_http_message()