der_digests_gen.c 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160
  1. /*
  2. * WARNING: do not edit!
  3. * Generated by makefile from providers\common\der\der_digests_gen.c.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 "prov/der_digests.h"
  13. /* Well known OIDs precompiled */
  14. /*
  15. * sigAlgs OBJECT IDENTIFIER ::= { nistAlgorithms 3 }
  16. */
  17. const unsigned char ossl_der_oid_sigAlgs[DER_OID_SZ_sigAlgs] = {
  18. DER_OID_V_sigAlgs
  19. };
  20. /*
  21. * id-sha1 OBJECT IDENTIFIER ::= { iso(1)
  22. * identified-organization(3) oiw(14)
  23. * secsig(3) algorithms(2) 26 }
  24. */
  25. const unsigned char ossl_der_oid_id_sha1[DER_OID_SZ_id_sha1] = {
  26. DER_OID_V_id_sha1
  27. };
  28. /*
  29. * id-md2 OBJECT IDENTIFIER ::= {
  30. * iso(1) member-body(2) us(840) rsadsi(113549) digestAlgorithm(2) 2 }
  31. */
  32. const unsigned char ossl_der_oid_id_md2[DER_OID_SZ_id_md2] = {
  33. DER_OID_V_id_md2
  34. };
  35. /*
  36. * id-md5 OBJECT IDENTIFIER ::= {
  37. * iso(1) member-body(2) us(840) rsadsi(113549) digestAlgorithm(2) 5 }
  38. */
  39. const unsigned char ossl_der_oid_id_md5[DER_OID_SZ_id_md5] = {
  40. DER_OID_V_id_md5
  41. };
  42. /*
  43. * id-sha256 OBJECT IDENTIFIER ::= { hashAlgs 1 }
  44. */
  45. const unsigned char ossl_der_oid_id_sha256[DER_OID_SZ_id_sha256] = {
  46. DER_OID_V_id_sha256
  47. };
  48. /*
  49. * id-sha384 OBJECT IDENTIFIER ::= { hashAlgs 2 }
  50. */
  51. const unsigned char ossl_der_oid_id_sha384[DER_OID_SZ_id_sha384] = {
  52. DER_OID_V_id_sha384
  53. };
  54. /*
  55. * id-sha512 OBJECT IDENTIFIER ::= { hashAlgs 3 }
  56. */
  57. const unsigned char ossl_der_oid_id_sha512[DER_OID_SZ_id_sha512] = {
  58. DER_OID_V_id_sha512
  59. };
  60. /*
  61. * id-sha224 OBJECT IDENTIFIER ::= { hashAlgs 4 }
  62. */
  63. const unsigned char ossl_der_oid_id_sha224[DER_OID_SZ_id_sha224] = {
  64. DER_OID_V_id_sha224
  65. };
  66. /*
  67. * id-sha512-224 OBJECT IDENTIFIER ::= { hashAlgs 5 }
  68. */
  69. const unsigned char ossl_der_oid_id_sha512_224[DER_OID_SZ_id_sha512_224] = {
  70. DER_OID_V_id_sha512_224
  71. };
  72. /*
  73. * id-sha512-256 OBJECT IDENTIFIER ::= { hashAlgs 6 }
  74. */
  75. const unsigned char ossl_der_oid_id_sha512_256[DER_OID_SZ_id_sha512_256] = {
  76. DER_OID_V_id_sha512_256
  77. };
  78. /*
  79. * id-sha3-224 OBJECT IDENTIFIER ::= { hashAlgs 7 }
  80. */
  81. const unsigned char ossl_der_oid_id_sha3_224[DER_OID_SZ_id_sha3_224] = {
  82. DER_OID_V_id_sha3_224
  83. };
  84. /*
  85. * id-sha3-256 OBJECT IDENTIFIER ::= { hashAlgs 8 }
  86. */
  87. const unsigned char ossl_der_oid_id_sha3_256[DER_OID_SZ_id_sha3_256] = {
  88. DER_OID_V_id_sha3_256
  89. };
  90. /*
  91. * id-sha3-384 OBJECT IDENTIFIER ::= { hashAlgs 9 }
  92. */
  93. const unsigned char ossl_der_oid_id_sha3_384[DER_OID_SZ_id_sha3_384] = {
  94. DER_OID_V_id_sha3_384
  95. };
  96. /*
  97. * id-sha3-512 OBJECT IDENTIFIER ::= { hashAlgs 10 }
  98. */
  99. const unsigned char ossl_der_oid_id_sha3_512[DER_OID_SZ_id_sha3_512] = {
  100. DER_OID_V_id_sha3_512
  101. };
  102. /*
  103. * id-shake128 OBJECT IDENTIFIER ::= { hashAlgs 11 }
  104. */
  105. const unsigned char ossl_der_oid_id_shake128[DER_OID_SZ_id_shake128] = {
  106. DER_OID_V_id_shake128
  107. };
  108. /*
  109. * id-shake256 OBJECT IDENTIFIER ::= { hashAlgs 12 }
  110. */
  111. const unsigned char ossl_der_oid_id_shake256[DER_OID_SZ_id_shake256] = {
  112. DER_OID_V_id_shake256
  113. };
  114. /*
  115. * id-shake128-len OBJECT IDENTIFIER ::= { hashAlgs 17 }
  116. */
  117. const unsigned char ossl_der_oid_id_shake128_len[DER_OID_SZ_id_shake128_len] = {
  118. DER_OID_V_id_shake128_len
  119. };
  120. /*
  121. * id-shake256-len OBJECT IDENTIFIER ::= { hashAlgs 18 }
  122. */
  123. const unsigned char ossl_der_oid_id_shake256_len[DER_OID_SZ_id_shake256_len] = {
  124. DER_OID_V_id_shake256_len
  125. };
  126. /*
  127. * id-KMACWithSHAKE128 OBJECT IDENTIFIER ::={hashAlgs 19}
  128. */
  129. const unsigned char ossl_der_oid_id_KMACWithSHAKE128[DER_OID_SZ_id_KMACWithSHAKE128] = {
  130. DER_OID_V_id_KMACWithSHAKE128
  131. };
  132. /*
  133. * id-KMACWithSHAKE256 OBJECT IDENTIFIER ::={ hashAlgs 20}
  134. */
  135. const unsigned char ossl_der_oid_id_KMACWithSHAKE256[DER_OID_SZ_id_KMACWithSHAKE256] = {
  136. DER_OID_V_id_KMACWithSHAKE256
  137. };