Searched refs:dataBytes (Results 1 – 3 of 3) sorted by relevance
/reactos/dll/win32/msisip/ |
H A D | main.c | 110 DWORD count, lenBytes, dataBytes; in MsiSIPGetSignedDataMsg() local 162 dataBytes = 0; in MsiSIPGetSignedDataMsg() 167 dataBytes <<= 8; in MsiSIPGetSignedDataMsg() 168 dataBytes |= *ptr++; in MsiSIPGetSignedDataMsg() 174 dataBytes = hdr[1]; in MsiSIPGetSignedDataMsg() 179 *pcbSignedDataMsg = 2 + lenBytes + dataBytes; in MsiSIPGetSignedDataMsg() 182 else if (*pcbSignedDataMsg < 2 + lenBytes + dataBytes) in MsiSIPGetSignedDataMsg() 185 *pcbSignedDataMsg = 2 + lenBytes + dataBytes; in MsiSIPGetSignedDataMsg() 198 r = IStream_Read(stm, ptr, dataBytes, &count); in MsiSIPGetSignedDataMsg() 199 if (SUCCEEDED(r) && count == dataBytes) in MsiSIPGetSignedDataMsg() [all …]
|
/reactos/dll/win32/wintrust/ |
H A D | asn.c | 353 DWORD bytesNeeded, lenBytes, dataBytes; in CRYPT_AsnEncodeBits() local 359 dataBytes = blob->cbData; in CRYPT_AsnEncodeBits() 370 dataBytes = 0; in CRYPT_AsnEncodeBits() 373 CRYPT_EncodeLen(dataBytes + 1, NULL, &lenBytes); in CRYPT_AsnEncodeBits() 374 bytesNeeded = 1 + lenBytes + dataBytes + 1; in CRYPT_AsnEncodeBits() 390 CRYPT_EncodeLen(dataBytes + 1, pbEncoded, &lenBytes); in CRYPT_AsnEncodeBits() 393 if (dataBytes) in CRYPT_AsnEncodeBits() 397 if (dataBytes > 1) in CRYPT_AsnEncodeBits() 399 memcpy(pbEncoded, blob->pbData, dataBytes - 1); in CRYPT_AsnEncodeBits() 400 pbEncoded += dataBytes - 1; in CRYPT_AsnEncodeBits() [all …]
|
/reactos/dll/win32/crypt32/ |
H A D | encode.c | 3233 DWORD bytesNeeded, lenBytes, dataBytes; in CRYPT_AsnEncodeBits() local 3239 dataBytes = blob->cbData; in CRYPT_AsnEncodeBits() 3244 dataBytes = (blob->cbData * 8 - blob->cUnusedBits) / 8 + 1; in CRYPT_AsnEncodeBits() 3250 dataBytes = 0; in CRYPT_AsnEncodeBits() 3253 CRYPT_EncodeLen(dataBytes + 1, NULL, &lenBytes); in CRYPT_AsnEncodeBits() 3254 bytesNeeded = 1 + lenBytes + dataBytes + 1; in CRYPT_AsnEncodeBits() 3268 CRYPT_EncodeLen(dataBytes + 1, pbEncoded, &lenBytes); in CRYPT_AsnEncodeBits() 3271 if (dataBytes) in CRYPT_AsnEncodeBits() 3275 if (dataBytes > 1) in CRYPT_AsnEncodeBits() 3277 memcpy(pbEncoded, blob->pbData, dataBytes - 1); in CRYPT_AsnEncodeBits() [all …]
|