Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
700 B

  1. /*++
  2. Copyright (c) 1998 Microsoft Corporation
  3. Abstract:
  4. Build up a "Very Large Hash" based on arbitrary sized input data
  5. of size cbData specified by the pvData buffer.
  6. This implementation updates a 640bit hash, which is internally based on
  7. multiple invocations of a modified SHA-1 which doesn't implement endian
  8. conversion internally.
  9. Author:
  10. Scott Field (sfield) 24-Sep-98
  11. --*/
  12. #ifndef __VLHASH_H__
  13. #define __VLHASH_H__
  14. BOOL
  15. VeryLargeHashUpdate(
  16. IN VOID *pvData, // data from perfcounters, user supplied, etc.
  17. IN DWORD cbData,
  18. IN OUT BYTE VeryLargeHash[A_SHA_DIGEST_LEN * 4]
  19. );
  20. #endif // __VLHASH_H__