Searched refs:lenBytes (Results 1 – 6 of 6) sorted by relevance
/reactos/dll/win32/msisip/ |
H A D | main.c | 110 DWORD count, lenBytes, dataBytes; in MsiSIPGetSignedDataMsg() local 153 lenBytes = hdr[1] & 0x7f; in MsiSIPGetSignedDataMsg() 154 if (lenBytes > sizeof(DWORD)) in MsiSIPGetSignedDataMsg() 159 r = IStream_Read(stm, len, lenBytes, &count); in MsiSIPGetSignedDataMsg() 160 if (FAILED(r) || count != lenBytes) in MsiSIPGetSignedDataMsg() 163 temp = lenBytes; in MsiSIPGetSignedDataMsg() 173 lenBytes = 0; in MsiSIPGetSignedDataMsg() 179 *pcbSignedDataMsg = 2 + lenBytes + dataBytes; in MsiSIPGetSignedDataMsg() 193 if (lenBytes) in MsiSIPGetSignedDataMsg() 195 memcpy(ptr, len, lenBytes); in MsiSIPGetSignedDataMsg() [all …]
|
/reactos/dll/win32/wintrust/ |
H A D | asn.c | 101 DWORD bytesNeeded, lenBytes; in CRYPT_AsnEncodeOctets() local 120 pbEncoded += lenBytes; in CRYPT_AsnEncodeOctets() 154 &lenBytes); in WVTAsn1SpcLinkEncode() 171 &lenBytes); in WVTAsn1SpcLinkEncode() 573 lenBytes = 1; in CRYPT_AsnEncodeOid() 574 bytesNeeded += 1 + lenBytes; in CRYPT_AsnEncodeOid() 585 CRYPT_EncodeLen(bytesNeeded - 1 - lenBytes, pbEncoded, &lenBytes); in CRYPT_AsnEncodeOid() 769 pbEncoded += lenBytes; in CRYPT_AsnEncodeBMPString() 1271 pbEncoded + 1 + lenBytes, cbEncoded - 1 - lenBytes, in CRYPT_AsnDecodeSPCLinkInternal() 1845 pbEncoded[1 + lenBytes] - (pbEncoded[1 + lenBytes] / 40) in CRYPT_AsnDecodeOidIgnoreTag() [all …]
|
/reactos/dll/win32/crypt32/ |
H A D | encode.c | 880 lenBytes = 1; in CRYPT_AsnEncodeOid() 892 CRYPT_EncodeLen(bytesNeeded - 1 - lenBytes, pbEncoded, &lenBytes); in CRYPT_AsnEncodeOid() 1225 CRYPT_EncodeLen(bytesNeeded - lenBytes - 1, pbEncoded, &lenBytes); in CRYPT_DEREncodeSet() 1303 CRYPT_EncodeLen(bytesNeeded - lenBytes - 1, pbEncoded, &lenBytes); in CRYPT_DEREncodeItemsAsSet() 1440 CRYPT_EncodeLen(bytesNeeded - lenBytes - 1, out, &lenBytes); in CRYPT_AsnEncodeUnicodeName() 2060 ptr += lenBytes; in CRYPT_AsnEncodeNumericString() 2341 CRYPT_EncodeLen(bytesNeeded - lenBytes - 1, out, &lenBytes); in CRYPT_AsnEncodeName() 2900 CRYPT_EncodeLen(bytesNeeded - lenBytes - 1, out, &lenBytes); in CRYPT_AsnEncodeCertPolicyQualifiers() 2982 CRYPT_EncodeLen(bytesNeeded - lenBytes - 1, out, &lenBytes); in CRYPT_AsnEncodeCertPolicies() 3064 CRYPT_EncodeLen(bytesNeeded - lenBytes - 1, out, &lenBytes); in CRYPT_AsnEncodeCertPolicyMappings() [all …]
|
H A D | decode.c | 477 cbEncoded -= 1 + lenBytes; in CRYPT_AsnDecodeSequence() 482 lenBytes += 2; in CRYPT_AsnDecodeSequence() 640 decoded = 1 + lenBytes; in CRYPT_AsnDecodeArray() 1317 pbEncoded[1 + lenBytes] - (pbEncoded[1 + lenBytes] / 40) in CRYPT_AsnDecodeOidIgnoreTag() 1366 pbEncoded[1 + lenBytes] - (pbEncoded[1 + lenBytes] / in CRYPT_AsnDecodeOidIgnoreTag() 3000 if (1 + lenBytes > cbEncoded) in CRYPT_AsnDecodeAltNameEntry() 3269 pbEncoded += 1 + lenBytes; in CRYPT_AsnDecodePKCSContent() 3270 cbEncoded -= 1 + lenBytes; in CRYPT_AsnDecodePKCSContent() 5063 BYTE lenBytes; in CRYPT_AsnDecodeSequenceOfAny() local 5181 pbEncoded + 1 + lenBytes, cbEncoded - 1 - lenBytes, in CRYPT_AsnDecodeDistPointName() [all …]
|
H A D | sip.c | 403 BYTE lenBytes = hdr[1] & 0x7f; in CryptSIPRetrieveSubjectGuid() local 405 if (lenBytes == 1 && fileLen == 2 + lenBytes + hdr[2]) in CryptSIPRetrieveSubjectGuid() 412 else if (lenBytes == 2 && fileLen == 2 + lenBytes + in CryptSIPRetrieveSubjectGuid()
|
H A D | msg.c | 123 DWORD lenBytes; in CRYPT_EncodeContentLength() local 130 CRYPT_EncodeLen(dataLen, NULL, &lenBytes); in CRYPT_EncodeContentLength() 132 *pcbEncoded = 1 + lenBytes + dataLen; in CRYPT_EncodeContentLength() 136 pcbEncoded, 1 + lenBytes))) in CRYPT_EncodeContentLength() 142 &lenBytes); in CRYPT_EncodeContentLength()
|