Source code of Windows XP (NT5)
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.

86 lines
2.6 KiB

  1. /***************************************************/
  2. /* Copyright (C) Microsoft Corporation, 1996 - 1999*/
  3. /***************************************************/
  4. /* Abstract syntax: keygen */
  5. /* Created: Mon Jan 27 13:51:10 1997 */
  6. /* ASN.1 compiler version: 4.2 Beta B */
  7. /* Target operating system: Windows NT 3.5 or later/Windows 95 */
  8. /* Target machine type: Intel x86 */
  9. /* C compiler options required: -Zp8 (Microsoft) or equivalent */
  10. /* ASN.1 compiler options specified:
  11. * -listingfile keygen.lst -noshortennames -1990 -noconstraints
  12. */
  13. #include <stddef.h>
  14. #include "etype.h"
  15. #include "keygen.h"
  16. static char copyright[] =
  17. "Copyright (C) Microsoft Corporation, 1996 - 1999";
  18. void DLL_ENTRY_FDEF _ossinit_keygen(struct ossGlobal *world) {
  19. ossLinkBer(world);
  20. }
  21. static unsigned short _pduarray[] = {
  22. 7, 8, 10, 13
  23. };
  24. static struct etype _etypearray[] = {
  25. {16, 0, 0, NULL, 4, 4, 4, 4, 56, 0, 26, 0},
  26. {-1, 2, 0, NULL, 8, 0, 4, 4, 8, 0, 62, 0},
  27. {-1, 4, 0, NULL, 8, 0, 4, 4, 8, 0, 3, 0},
  28. {-1, 6, 22, NULL, 8, 0, 4, 4, 8, 0, 25, 0},
  29. {-1, 8, 0, NULL, 16, 0, 0, 0, 8, 0, 51, 0},
  30. {-1, 9, 11, NULL, 88, 2, 1, 0, 8, 0, 12, 0},
  31. {-1, 17, 0, NULL, 4, 0, 4, 0, 8, 0, 0, 0},
  32. {-1, 19, 21, NULL, 12, 2, 0, 0, 8, 2, 12, 0},
  33. {-1, 29, 31, NULL, 96, 2, 0, 0, 8, 4, 12, 0},
  34. {-1, 39, 0, NULL, 16, 0, 0, 0, 8, 0, 51, 0},
  35. {-1, 40, 42, NULL, 112, 3, 0, 0, 8, 6, 12, 0},
  36. {-1, 52, 54, NULL, 104, 2, 0, 0, 8, 9, 12, 0},
  37. {-1, 62, 0, NULL, 8, 0, 4, 4, 40, 0, 3, 0},
  38. {-1, 64, 66, NULL, 200, 3, 0, 0, 8, 11, 12, 0}
  39. };
  40. static struct efield _efieldarray[] = {
  41. {4, 0, -1, 0, 0},
  42. {72, 4, 0, 0, 1},
  43. {0, 1, -1, 0, 0},
  44. {8, 6, -1, 0, 0},
  45. {0, 5, -1, 0, 0},
  46. {88, 2, -1, 0, 0},
  47. {0, 9, -1, 0, 0},
  48. {16, 5, -1, 0, 0},
  49. {104, 2, -1, 0, 0},
  50. {0, 8, -1, 0, 0},
  51. {96, 3, -1, 0, 0},
  52. {0, 11, -1, 0, 0},
  53. {104, 5, -1, 0, 0},
  54. {192, 12, -1, 0, 0}
  55. };
  56. static Etag _tagarray[] = {
  57. 1, 0x0006, 1, 0x0002, 1, 0x0003, 1, 0x0016, 0, 1,
  58. 0x0010, 13, 16, 1, 0x0006, 1, 0, 1, 0x0002, 1,
  59. 0x0010, 23, 26, 1, 0x0002, 1, 1, 0x0002, 2, 1,
  60. 0x0010, 33, 36, 1, 0x0010, 1, 1, 0x0003, 2, 0,
  61. 1, 0x0010, 45, 46, 49, 0, 1, 0x0010, 2, 1,
  62. 0x0003, 3, 1, 0x0010, 56, 59, 1, 0x0010, 1, 1,
  63. 0x0016, 2, 1, 0x0003, 1, 0x0010, 69, 72, 75, 1,
  64. 0x0010, 1, 1, 0x0010, 2, 1, 0x0003, 3
  65. };
  66. static struct eheader _head = {_ossinit_keygen, -1, 15, 772, 4, 14,
  67. _pduarray, _etypearray, _efieldarray, NULL, _tagarray,
  68. NULL, NULL, NULL, 0};
  69. #ifdef _OSSGETHEADER
  70. void *DLL_ENTRY_FDEF ossGetHeader()
  71. {
  72. return &_head;
  73. }
  74. #endif /* _OSSGETHEADER */
  75. void *keygen = &_head;