Lines Matching full:hash
214 HCRYPTHASH hash;
232 wpa_printf(MSG_INFO, "%s - only MD5-SHA1 hash supported",
239 if (!CryptCreateHash(priv->crypt_prov, CALG_SSL3_SHAMD5, 0, 0, &hash))
246 if (!CryptGetHashParam(hash, HP_HASHSIZE, (BYTE *) &hash_size, &len,
253 wpa_printf(MSG_INFO, "CryptoAPI: Invalid hash size (%u != %d)",
259 if (!CryptSetHashParam(hash, HP_HASHVAL, (BYTE * ) from, 0)) {
271 if (!CryptSignHash(hash, priv->key_spec, NULL, 0, buf, &len)) {
282 CryptDestroyHash(hash);
337 } else if (strncmp(name, "hash://", 7) == 0) {
340 const char *hash = name + 7;
343 len = os_strlen(hash) / 2;
345 if (buf && hexstr2bin(hash, buf, len) == 0) {
372 strncmp(name, "hash://", 7) != 0))
1101 "cert already in hash table error",
1147 "cert already in hash table error",