Home
last modified time | relevance | path

Searched refs:hashbuf (Results 1 – 5 of 5) sorted by relevance

/external/selinux/libselinux/src/
Dlabel_support.c125 Sha1Update(&context, digest->hashbuf, digest->hashbuf_size); in digest_gen_hash()
127 free(digest->hashbuf); in digest_gen_hash()
128 digest->hashbuf = NULL; in digest_gen_hash()
160 tmp_buf = realloc(digest->hashbuf, digest->hashbuf_size); in digest_add_specfile()
164 digest->hashbuf = tmp_buf; in digest_add_specfile()
168 if (fread(digest->hashbuf + (digest->hashbuf_size - buf_len), in digest_add_specfile()
174 tmp_buf = memcpy(digest->hashbuf + in digest_add_specfile()
Dlabel_internal.h60 unsigned char *hashbuf; /* buffer to hold specfiles */ member
Dlabel.c107 free(ptr->hashbuf); in selabel_digest_fini()
/external/curl/lib/vauth/
Ddigest.c695 unsigned char hashbuf[32]; /* 32 bytes/256 bits */ in auth_create_digest_http_message() local
731 hash(hashbuf, (unsigned char *) hashthis, strlen(hashthis)); in auth_create_digest_http_message()
733 convert_to_ascii(hashbuf, (unsigned char *)userh); in auth_create_digest_http_message()
753 hash(hashbuf, (unsigned char *) hashthis, strlen(hashthis)); in auth_create_digest_http_message()
755 convert_to_ascii(hashbuf, ha1); in auth_create_digest_http_message()
766 hash(hashbuf, (unsigned char *) tmp, strlen(tmp)); in auth_create_digest_http_message()
768 convert_to_ascii(hashbuf, ha1); in auth_create_digest_http_message()
793 hash(hashbuf, (const unsigned char *)"", 0); in auth_create_digest_http_message()
794 convert_to_ascii(hashbuf, (unsigned char *)hashed); in auth_create_digest_http_message()
805 hash(hashbuf, (unsigned char *) hashthis, strlen(hashthis)); in auth_create_digest_http_message()
[all …]
/external/ipsec-tools/src/racoon/
Dgssapi.c581 gss_buffer_desc hashbuf, hash_outbuf; in gssapi_unwraphash() local
582 gss_buffer_t hash_in = &hashbuf, hash_out = &hash_outbuf; in gssapi_unwraphash()
593 hashbuf.length = ntohs(iph1->pl_hash->h.len) - sizeof(*iph1->pl_hash); in gssapi_unwraphash()
594 hashbuf.value = (char *)(iph1->pl_hash + 1); in gssapi_unwraphash()
597 hashbuf.length); in gssapi_unwraphash()