6 references to AlignedLength
System.Security (6)
system\security\cryptography\pkcs\pkcsutils.cs (6)
626uint cryptAttrSize = AlignedLength((uint) Marshal.SizeOf(typeof(I_CRYPT_ATTRIBUTE))); 627uint cryptBlobSize = AlignedLength((uint) Marshal.SizeOf(typeof(CAPI.CRYPTOAPI_BLOB))); 635totalLength += AlignedLength((uint) (attribute.Oid.Value.Length + 1)); // strlen(pszObjId) + 1 641totalLength += AlignedLength((uint) attributeValue.RawData.Length); // Data size 655CAPI.CRYPTOAPI_BLOB * pDataBlob = (CAPI.CRYPTOAPI_BLOB *) (pszObjId + AlignedLength((uint) objId.Length)); 685pbEncodedData = new IntPtr((long) pbEncodedData + AlignedLength((uint) encodedData.Length));