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.

27 lines
674 B

  1. /*-----------------------------------------------------------------------------
  2. * Copyright (C) Microsoft Corporation, 1995 - 1996.
  3. * All rights reserved.
  4. *
  5. * Owner :ramas
  6. * Date :4/16/96
  7. * description : Main Crypto functions for SSL3
  8. *----------------------------------------------------------------------------*/
  9. #ifndef _SSL3KEY_H_
  10. #define _SSL3KEY_H_
  11. #define CB_SSL3_MAX_MAC_PAD 48
  12. #define CB_SSL3_MD5_MAC_PAD 48
  13. #define CB_SSL3_SHA_MAC_PAD 40
  14. #define PAD1_CONSTANT 0x36
  15. #define PAD2_CONSTANT 0x5c
  16. SP_STATUS
  17. Ssl3MakeWriteSessionKeys(PSPContext pContext);
  18. SP_STATUS
  19. Ssl3MakeReadSessionKeys(PSPContext pContext);
  20. #endif _SSL3KEY_H_