Lines Matching refs:hash
65 CK_BYTE hash[SHA1_DIGEST_LENGTH];
118 hash_len = sizeof (hash);
120 attr->pValue, attr->ulValueLen, hash, &hash_len);
130 k_ipad[i] = hash[i] ^ 0x36;
131 k_opad[i] = hash[i] ^ 0x5C;
170 hash_len = sizeof (hash);
171 rc = digest_mgr_digest_final(sess, &digest_ctx, hash, &hash_len);
193 rc = digest_mgr_digest_update(sess, &digest_ctx, hash, hash_len);
199 hash_len = sizeof (hash);
200 rc = digest_mgr_digest_final(sess, &digest_ctx, hash, &hash_len);
206 (void) memcpy(out_data, hash, hmac_len);