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.

38 lines
674 B

  1. /*
  2. * UAMRSA32.c
  3. * MSUAM
  4. *
  5. * Created by MConrad on Fri Jun 08 2001.
  6. * Copyright (c) 2001 Microsoft Corp. All rights reserved.
  7. *
  8. */
  9. #include <Carbon/Carbon.h>
  10. #include "MWERKSCrypto.h"
  11. void *RSA32Alloc(unsigned long cb)
  12. {
  13. return malloc(cb);
  14. }
  15. void RSA32Free(void *pv)
  16. {
  17. free(pv);
  18. return;
  19. }
  20. unsigned int
  21. NewGenRandom(
  22. IN OUT unsigned char **ppbRandSeed, // initial seed value (ignored if already set)
  23. IN unsigned long *pcbRandSeed,
  24. IN OUT unsigned char *pbBuffer,
  25. IN unsigned long dwLength
  26. )
  27. {
  28. #pragma unused(ppbRandSeed)
  29. #pragma unused(pcbRandSeed)
  30. #pragma unused(pbBuffer)
  31. #pragma unused(dwLength)
  32. return(0);
  33. }