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.c106 free(ptr->hashbuf); in selabel_digest_fini()
/external/curl/lib/vauth/
Ddigest.c693 unsigned char hashbuf[32]; /* 32 bytes/256 bits */ in _Curl_auth_create_digest_http_message() local
729 hash(hashbuf, hashthis); in _Curl_auth_create_digest_http_message()
731 convert_to_ascii(hashbuf, (unsigned char *)userh); in _Curl_auth_create_digest_http_message()
752 hash(hashbuf, hashthis); in _Curl_auth_create_digest_http_message()
754 convert_to_ascii(hashbuf, ha1); in _Curl_auth_create_digest_http_message()
765 hash(hashbuf, (unsigned char *) tmp); in _Curl_auth_create_digest_http_message()
767 convert_to_ascii(hashbuf, ha1); in _Curl_auth_create_digest_http_message()
791 hash(hashbuf, (const unsigned char *)""); in _Curl_auth_create_digest_http_message()
792 convert_to_ascii(hashbuf, (unsigned char *)hashed); in _Curl_auth_create_digest_http_message()
803 hash(hashbuf, hashthis); in _Curl_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()