Home
last modified time | relevance | path

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

/external/selinux/libselinux/src/
Dlabel_support.c110 Sha1Update(&context, digest->hashbuf, digest->hashbuf_size); in digest_gen_hash()
112 free(digest->hashbuf); in digest_gen_hash()
113 digest->hashbuf = NULL; in digest_gen_hash()
145 tmp_buf = realloc(digest->hashbuf, digest->hashbuf_size); in digest_add_specfile()
149 digest->hashbuf = tmp_buf; in digest_add_specfile()
153 if (fread(digest->hashbuf + (digest->hashbuf_size - buf_len), in digest_add_specfile()
159 tmp_buf = memcpy(digest->hashbuf + in digest_add_specfile()
Dlabel_internal.h58 unsigned char *hashbuf; /* buffer to hold specfiles */ member
Dlabel.c180 free(ptr->hashbuf); in selabel_digest_fini()
/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()