Home
last modified time | relevance | path

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

/external/epid-sdk/epid/member/src/
Ddecompress_privkey.c242 } hashbuf; in DeriveXF() local
259 hashbuf.seed = *seed; in DeriveXF()
260 hashbuf.msg = msgstr; in DeriveXF()
261 hashbuf.msg.data[0] = 0x06; in DeriveXF()
262 result = Sha256MessageDigest(&hashbuf, sizeof(hashbuf), &digest[0]); in DeriveXF()
264 hashbuf.msg.data[0] = 0x07; in DeriveXF()
265 result = Sha256MessageDigest(&hashbuf, sizeof(hashbuf), &digest[1]); in DeriveXF()
280 hashbuf.seed = *seed; in DeriveXF()
281 hashbuf.msg = msgstr; in DeriveXF()
282 hashbuf.msg.data[0] = 0x08; in DeriveXF()
[all …]
/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()
793 hash(hashbuf, (const unsigned char *)""); in _Curl_auth_create_digest_http_message()
794 convert_to_ascii(hashbuf, (unsigned char *)hashed); in _Curl_auth_create_digest_http_message()
805 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()