Lines Matching refs:abHashValue

74     BYTE         abHashValue[RSAENH_MAX_HASH_SIZE];  member
713 BYTE abHashValue[RSAENH_MAX_HASH_SIZE]; in finalize_hash() local
716 pCryptHash->abHashValue); in finalize_hash()
717 memcpy(abHashValue, pCryptHash->abHashValue, pCryptHash->dwHashSize); in finalize_hash()
723 abHashValue, pCryptHash->dwHashSize); in finalize_hash()
725 pCryptHash->abHashValue); in finalize_hash()
732 pCryptHash->abHashValue, &dwDataLen, pCryptHash->dwHashSize); in finalize_hash()
736 finalize_hash_impl(pCryptHash->aiAlgid, &pCryptHash->context, pCryptHash->abHashValue); in finalize_hash()
1470 const BYTE *abHashValue, DWORD dwHashLen, DWORD dwFlags) in build_hash_signature() argument
1518 pbSignature[i] = abHashValue[j]; in build_hash_signature()
1540 pbSignature[i++] = abHashValue[j]; in build_hash_signature()
1581 memcpy(abAi, pHMAC->abHashValue, pHMAC->dwHashSize); in tls1_p()
1593 pbBuffer[i] ^= pHMAC->abHashValue[i % pHMAC->dwHashSize]; in tls1_p()
1601 memcpy(abAi, pHMAC->abHashValue, pHMAC->dwHashSize); in tls1_p()
1968 tls1_prf(hProv, hKey, &blobKeyExpansion, &blobRandom, pCryptHash->abHashValue, in RSAENH_CPCreateHash()
3351 return copy_param(pbData, pdwDataLen, pCryptHash->abHashValue, in RSAENH_CPGetHashParam()
3927 BYTE abHashValue[RSAENH_MAX_HASH_SIZE*2]; in RSAENH_CPDeriveKey() local
3966 RSAENH_CPGetHashParam(pCryptHash->hProv, hBaseData, HP_HASHVAL, abHashValue, &dwLen, 0); in RSAENH_CPDeriveKey()
3993 memcpy(old_hashval, pCryptHash->abHashValue, RSAENH_MAX_HASH_SIZE); in RSAENH_CPDeriveKey()
3996 pad1[i] = RSAENH_HMAC_DEF_IPAD_CHAR ^ (i<dwLen ? abHashValue[i] : 0); in RSAENH_CPDeriveKey()
3997 pad2[i] = RSAENH_HMAC_DEF_OPAD_CHAR ^ (i<dwLen ? abHashValue[i] : 0); in RSAENH_CPDeriveKey()
4003 memcpy(abHashValue, pCryptHash->abHashValue, pCryptHash->dwHashSize); in RSAENH_CPDeriveKey()
4008 memcpy(abHashValue+pCryptHash->dwHashSize, pCryptHash->abHashValue, in RSAENH_CPDeriveKey()
4011 memcpy(pCryptHash->abHashValue, old_hashval, RSAENH_MAX_HASH_SIZE); in RSAENH_CPDeriveKey()
4023 memcpy(pCryptKey->abKeyValue, abHashValue, in RSAENH_CPDeriveKey()
4050 pCryptHash->abHashValue + ( in RSAENH_CPDeriveKey()
4056 pCryptHash->abHashValue + ( in RSAENH_CPDeriveKey()
4069 pCryptHash->abHashValue + ((dwFlags & CRYPT_SERVER) ? in RSAENH_CPDeriveKey()
4376 memcpy(pCryptHash->abHashValue, pbData, pCryptHash->dwHashSize); in RSAENH_CPSetHashParam()
4471 BYTE abHashValue[RSAENH_MAX_HASH_SIZE]; in RSAENH_CPSignHash() local
4518 if (!RSAENH_CPGetHashParam(hProv, hHash, HP_HASHVAL, abHashValue, &dwHashLen, 0)) goto out; in RSAENH_CPSignHash()
4521 if (!build_hash_signature(pbSignature, *pdwSigLen, aiAlgid, abHashValue, dwHashLen, dwFlags)) { in RSAENH_CPSignHash()
4557 BYTE abHashValue[RSAENH_MAX_HASH_SIZE]; in RSAENH_CPVerifySignature() local
4609 if (!RSAENH_CPGetHashParam(hProv, hHash, HP_HASHVAL, abHashValue, &dwHashLen, 0)) return FALSE; in RSAENH_CPVerifySignature()
4629 if (build_hash_signature(pbConstructed, dwSigLen, aiAlgid, abHashValue, dwHashLen, dwFlags) && in RSAENH_CPVerifySignature()
4636 …build_hash_signature(pbConstructed, dwSigLen, aiAlgid, abHashValue, dwHashLen, dwFlags|CRYPT_NOHAS… in RSAENH_CPVerifySignature()