der_digests.h 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160
  1. /*
  2. * WARNING: do not edit!
  3. * Generated by makefile from providers\common\include\prov\der_digests.h.in
  4. *
  5. * Copyright 2020-2021 The OpenSSL Project Authors. All Rights Reserved.
  6. *
  7. * Licensed under the Apache License 2.0 (the "License"). You may not use
  8. * this file except in compliance with the License. You can obtain a copy
  9. * in the file LICENSE in the source distribution or at
  10. * https://www.openssl.org/source/license.html
  11. */
  12. #include "internal/der.h"
  13. /* Well known OIDs precompiled */
  14. /*
  15. * sigAlgs OBJECT IDENTIFIER ::= { nistAlgorithms 3 }
  16. */
  17. #define DER_OID_V_sigAlgs DER_P_OBJECT, 8, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x03
  18. #define DER_OID_SZ_sigAlgs 10
  19. extern const unsigned char ossl_der_oid_sigAlgs[DER_OID_SZ_sigAlgs];
  20. /*
  21. * id-sha1 OBJECT IDENTIFIER ::= { iso(1)
  22. * identified-organization(3) oiw(14)
  23. * secsig(3) algorithms(2) 26 }
  24. */
  25. #define DER_OID_V_id_sha1 DER_P_OBJECT, 5, 0x2B, 0x0E, 0x03, 0x02, 0x1A
  26. #define DER_OID_SZ_id_sha1 7
  27. extern const unsigned char ossl_der_oid_id_sha1[DER_OID_SZ_id_sha1];
  28. /*
  29. * id-md2 OBJECT IDENTIFIER ::= {
  30. * iso(1) member-body(2) us(840) rsadsi(113549) digestAlgorithm(2) 2 }
  31. */
  32. #define DER_OID_V_id_md2 DER_P_OBJECT, 8, 0x2A, 0x86, 0x48, 0x86, 0xF7, 0x0D, 0x02, 0x02
  33. #define DER_OID_SZ_id_md2 10
  34. extern const unsigned char ossl_der_oid_id_md2[DER_OID_SZ_id_md2];
  35. /*
  36. * id-md5 OBJECT IDENTIFIER ::= {
  37. * iso(1) member-body(2) us(840) rsadsi(113549) digestAlgorithm(2) 5 }
  38. */
  39. #define DER_OID_V_id_md5 DER_P_OBJECT, 8, 0x2A, 0x86, 0x48, 0x86, 0xF7, 0x0D, 0x02, 0x05
  40. #define DER_OID_SZ_id_md5 10
  41. extern const unsigned char ossl_der_oid_id_md5[DER_OID_SZ_id_md5];
  42. /*
  43. * id-sha256 OBJECT IDENTIFIER ::= { hashAlgs 1 }
  44. */
  45. #define DER_OID_V_id_sha256 DER_P_OBJECT, 9, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x02, 0x01
  46. #define DER_OID_SZ_id_sha256 11
  47. extern const unsigned char ossl_der_oid_id_sha256[DER_OID_SZ_id_sha256];
  48. /*
  49. * id-sha384 OBJECT IDENTIFIER ::= { hashAlgs 2 }
  50. */
  51. #define DER_OID_V_id_sha384 DER_P_OBJECT, 9, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x02, 0x02
  52. #define DER_OID_SZ_id_sha384 11
  53. extern const unsigned char ossl_der_oid_id_sha384[DER_OID_SZ_id_sha384];
  54. /*
  55. * id-sha512 OBJECT IDENTIFIER ::= { hashAlgs 3 }
  56. */
  57. #define DER_OID_V_id_sha512 DER_P_OBJECT, 9, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x02, 0x03
  58. #define DER_OID_SZ_id_sha512 11
  59. extern const unsigned char ossl_der_oid_id_sha512[DER_OID_SZ_id_sha512];
  60. /*
  61. * id-sha224 OBJECT IDENTIFIER ::= { hashAlgs 4 }
  62. */
  63. #define DER_OID_V_id_sha224 DER_P_OBJECT, 9, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x02, 0x04
  64. #define DER_OID_SZ_id_sha224 11
  65. extern const unsigned char ossl_der_oid_id_sha224[DER_OID_SZ_id_sha224];
  66. /*
  67. * id-sha512-224 OBJECT IDENTIFIER ::= { hashAlgs 5 }
  68. */
  69. #define DER_OID_V_id_sha512_224 DER_P_OBJECT, 9, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x02, 0x05
  70. #define DER_OID_SZ_id_sha512_224 11
  71. extern const unsigned char ossl_der_oid_id_sha512_224[DER_OID_SZ_id_sha512_224];
  72. /*
  73. * id-sha512-256 OBJECT IDENTIFIER ::= { hashAlgs 6 }
  74. */
  75. #define DER_OID_V_id_sha512_256 DER_P_OBJECT, 9, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x02, 0x06
  76. #define DER_OID_SZ_id_sha512_256 11
  77. extern const unsigned char ossl_der_oid_id_sha512_256[DER_OID_SZ_id_sha512_256];
  78. /*
  79. * id-sha3-224 OBJECT IDENTIFIER ::= { hashAlgs 7 }
  80. */
  81. #define DER_OID_V_id_sha3_224 DER_P_OBJECT, 9, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x02, 0x07
  82. #define DER_OID_SZ_id_sha3_224 11
  83. extern const unsigned char ossl_der_oid_id_sha3_224[DER_OID_SZ_id_sha3_224];
  84. /*
  85. * id-sha3-256 OBJECT IDENTIFIER ::= { hashAlgs 8 }
  86. */
  87. #define DER_OID_V_id_sha3_256 DER_P_OBJECT, 9, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x02, 0x08
  88. #define DER_OID_SZ_id_sha3_256 11
  89. extern const unsigned char ossl_der_oid_id_sha3_256[DER_OID_SZ_id_sha3_256];
  90. /*
  91. * id-sha3-384 OBJECT IDENTIFIER ::= { hashAlgs 9 }
  92. */
  93. #define DER_OID_V_id_sha3_384 DER_P_OBJECT, 9, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x02, 0x09
  94. #define DER_OID_SZ_id_sha3_384 11
  95. extern const unsigned char ossl_der_oid_id_sha3_384[DER_OID_SZ_id_sha3_384];
  96. /*
  97. * id-sha3-512 OBJECT IDENTIFIER ::= { hashAlgs 10 }
  98. */
  99. #define DER_OID_V_id_sha3_512 DER_P_OBJECT, 9, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x02, 0x0A
  100. #define DER_OID_SZ_id_sha3_512 11
  101. extern const unsigned char ossl_der_oid_id_sha3_512[DER_OID_SZ_id_sha3_512];
  102. /*
  103. * id-shake128 OBJECT IDENTIFIER ::= { hashAlgs 11 }
  104. */
  105. #define DER_OID_V_id_shake128 DER_P_OBJECT, 9, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x02, 0x0B
  106. #define DER_OID_SZ_id_shake128 11
  107. extern const unsigned char ossl_der_oid_id_shake128[DER_OID_SZ_id_shake128];
  108. /*
  109. * id-shake256 OBJECT IDENTIFIER ::= { hashAlgs 12 }
  110. */
  111. #define DER_OID_V_id_shake256 DER_P_OBJECT, 9, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x02, 0x0C
  112. #define DER_OID_SZ_id_shake256 11
  113. extern const unsigned char ossl_der_oid_id_shake256[DER_OID_SZ_id_shake256];
  114. /*
  115. * id-shake128-len OBJECT IDENTIFIER ::= { hashAlgs 17 }
  116. */
  117. #define DER_OID_V_id_shake128_len DER_P_OBJECT, 9, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x02, 0x11
  118. #define DER_OID_SZ_id_shake128_len 11
  119. extern const unsigned char ossl_der_oid_id_shake128_len[DER_OID_SZ_id_shake128_len];
  120. /*
  121. * id-shake256-len OBJECT IDENTIFIER ::= { hashAlgs 18 }
  122. */
  123. #define DER_OID_V_id_shake256_len DER_P_OBJECT, 9, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x02, 0x12
  124. #define DER_OID_SZ_id_shake256_len 11
  125. extern const unsigned char ossl_der_oid_id_shake256_len[DER_OID_SZ_id_shake256_len];
  126. /*
  127. * id-KMACWithSHAKE128 OBJECT IDENTIFIER ::={hashAlgs 19}
  128. */
  129. #define DER_OID_V_id_KMACWithSHAKE128 DER_P_OBJECT, 9, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x02, 0x13
  130. #define DER_OID_SZ_id_KMACWithSHAKE128 11
  131. extern const unsigned char ossl_der_oid_id_KMACWithSHAKE128[DER_OID_SZ_id_KMACWithSHAKE128];
  132. /*
  133. * id-KMACWithSHAKE256 OBJECT IDENTIFIER ::={ hashAlgs 20}
  134. */
  135. #define DER_OID_V_id_KMACWithSHAKE256 DER_P_OBJECT, 9, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x02, 0x14
  136. #define DER_OID_SZ_id_KMACWithSHAKE256 11
  137. extern const unsigned char ossl_der_oid_id_KMACWithSHAKE256[DER_OID_SZ_id_KMACWithSHAKE256];