Computes and returns a 32-bit CRC for a data buffer.
@paramin Data A pointer to the buffer on which the 32-bit CRC is to be computed.
@paramin DataSize The number of bytes in the buffer Data.
@paramout Crc32 The 32-bit CRC that was computed for the data buffer specified by Data
and DataSize.
@retval EFI_SUCCESS The 32-bit CRC was computed for the data buffer and returned in
Crc32.
@retval EFI_INVALID_PARAMETER Data is NULL.
@retval EFI_INVALID_PARAMETER Crc32 is NULL.
@retval EFI_INVALID_PARAMETER DataSize is 0.
Computes and returns a 32-bit CRC for a data buffer.
@paramin Data A pointer to the buffer on which the 32-bit CRC is to be computed. @paramin DataSize The number of bytes in the buffer Data. @paramout Crc32 The 32-bit CRC that was computed for the data buffer specified by Data and DataSize.
@retval EFI_SUCCESS The 32-bit CRC was computed for the data buffer and returned in Crc32. @retval EFI_INVALID_PARAMETER Data is NULL. @retval EFI_INVALID_PARAMETER Crc32 is NULL. @retval EFI_INVALID_PARAMETER DataSize is 0.