der_rsa_gen.h 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174
  1. /*
  2. * WARNING: do not edit!
  3. * Generated by makefile from .\providers\common\der\der_rsa_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_rsa.h"
  13. /* Well known OIDs precompiled */
  14. /*
  15. * hashAlgs OBJECT IDENTIFIER ::= { nistAlgorithms 2 }
  16. */
  17. const unsigned char ossl_der_oid_hashAlgs[DER_OID_SZ_hashAlgs] = {
  18. DER_OID_V_hashAlgs
  19. };
  20. /*
  21. * rsaEncryption OBJECT IDENTIFIER ::= { pkcs-1 1 }
  22. */
  23. const unsigned char ossl_der_oid_rsaEncryption[DER_OID_SZ_rsaEncryption] = {
  24. DER_OID_V_rsaEncryption
  25. };
  26. /*
  27. * id-RSAES-OAEP OBJECT IDENTIFIER ::= { pkcs-1 7 }
  28. */
  29. const unsigned char ossl_der_oid_id_RSAES_OAEP[DER_OID_SZ_id_RSAES_OAEP] = {
  30. DER_OID_V_id_RSAES_OAEP
  31. };
  32. /*
  33. * id-pSpecified OBJECT IDENTIFIER ::= { pkcs-1 9 }
  34. */
  35. const unsigned char ossl_der_oid_id_pSpecified[DER_OID_SZ_id_pSpecified] = {
  36. DER_OID_V_id_pSpecified
  37. };
  38. /*
  39. * id-RSASSA-PSS OBJECT IDENTIFIER ::= { pkcs-1 10 }
  40. */
  41. const unsigned char ossl_der_oid_id_RSASSA_PSS[DER_OID_SZ_id_RSASSA_PSS] = {
  42. DER_OID_V_id_RSASSA_PSS
  43. };
  44. /*
  45. * md2WithRSAEncryption OBJECT IDENTIFIER ::= { pkcs-1 2 }
  46. */
  47. const unsigned char ossl_der_oid_md2WithRSAEncryption[DER_OID_SZ_md2WithRSAEncryption] = {
  48. DER_OID_V_md2WithRSAEncryption
  49. };
  50. /*
  51. * md5WithRSAEncryption OBJECT IDENTIFIER ::= { pkcs-1 4 }
  52. */
  53. const unsigned char ossl_der_oid_md5WithRSAEncryption[DER_OID_SZ_md5WithRSAEncryption] = {
  54. DER_OID_V_md5WithRSAEncryption
  55. };
  56. /*
  57. * sha1WithRSAEncryption OBJECT IDENTIFIER ::= { pkcs-1 5 }
  58. */
  59. const unsigned char ossl_der_oid_sha1WithRSAEncryption[DER_OID_SZ_sha1WithRSAEncryption] = {
  60. DER_OID_V_sha1WithRSAEncryption
  61. };
  62. /*
  63. * sha224WithRSAEncryption OBJECT IDENTIFIER ::= { pkcs-1 14 }
  64. */
  65. const unsigned char ossl_der_oid_sha224WithRSAEncryption[DER_OID_SZ_sha224WithRSAEncryption] = {
  66. DER_OID_V_sha224WithRSAEncryption
  67. };
  68. /*
  69. * sha256WithRSAEncryption OBJECT IDENTIFIER ::= { pkcs-1 11 }
  70. */
  71. const unsigned char ossl_der_oid_sha256WithRSAEncryption[DER_OID_SZ_sha256WithRSAEncryption] = {
  72. DER_OID_V_sha256WithRSAEncryption
  73. };
  74. /*
  75. * sha384WithRSAEncryption OBJECT IDENTIFIER ::= { pkcs-1 12 }
  76. */
  77. const unsigned char ossl_der_oid_sha384WithRSAEncryption[DER_OID_SZ_sha384WithRSAEncryption] = {
  78. DER_OID_V_sha384WithRSAEncryption
  79. };
  80. /*
  81. * sha512WithRSAEncryption OBJECT IDENTIFIER ::= { pkcs-1 13 }
  82. */
  83. const unsigned char ossl_der_oid_sha512WithRSAEncryption[DER_OID_SZ_sha512WithRSAEncryption] = {
  84. DER_OID_V_sha512WithRSAEncryption
  85. };
  86. /*
  87. * sha512-224WithRSAEncryption OBJECT IDENTIFIER ::= { pkcs-1 15 }
  88. */
  89. const unsigned char ossl_der_oid_sha512_224WithRSAEncryption[DER_OID_SZ_sha512_224WithRSAEncryption] = {
  90. DER_OID_V_sha512_224WithRSAEncryption
  91. };
  92. /*
  93. * sha512-256WithRSAEncryption OBJECT IDENTIFIER ::= { pkcs-1 16 }
  94. */
  95. const unsigned char ossl_der_oid_sha512_256WithRSAEncryption[DER_OID_SZ_sha512_256WithRSAEncryption] = {
  96. DER_OID_V_sha512_256WithRSAEncryption
  97. };
  98. /*
  99. * id-mgf1 OBJECT IDENTIFIER ::= { pkcs-1 8 }
  100. */
  101. const unsigned char ossl_der_oid_id_mgf1[DER_OID_SZ_id_mgf1] = {
  102. DER_OID_V_id_mgf1
  103. };
  104. /*
  105. * id-rsassa-pkcs1-v1_5-with-sha3-224 OBJECT IDENTIFIER ::= { sigAlgs 13 }
  106. */
  107. const unsigned char ossl_der_oid_id_rsassa_pkcs1_v1_5_with_sha3_224[DER_OID_SZ_id_rsassa_pkcs1_v1_5_with_sha3_224] = {
  108. DER_OID_V_id_rsassa_pkcs1_v1_5_with_sha3_224
  109. };
  110. /*
  111. * id-rsassa-pkcs1-v1_5-with-sha3-256 OBJECT IDENTIFIER ::= { sigAlgs 14 }
  112. */
  113. const unsigned char ossl_der_oid_id_rsassa_pkcs1_v1_5_with_sha3_256[DER_OID_SZ_id_rsassa_pkcs1_v1_5_with_sha3_256] = {
  114. DER_OID_V_id_rsassa_pkcs1_v1_5_with_sha3_256
  115. };
  116. /*
  117. * id-rsassa-pkcs1-v1_5-with-sha3-384 OBJECT IDENTIFIER ::= { sigAlgs 15 }
  118. */
  119. const unsigned char ossl_der_oid_id_rsassa_pkcs1_v1_5_with_sha3_384[DER_OID_SZ_id_rsassa_pkcs1_v1_5_with_sha3_384] = {
  120. DER_OID_V_id_rsassa_pkcs1_v1_5_with_sha3_384
  121. };
  122. /*
  123. * id-rsassa-pkcs1-v1_5-with-sha3-512 OBJECT IDENTIFIER ::= { sigAlgs 16 }
  124. */
  125. const unsigned char ossl_der_oid_id_rsassa_pkcs1_v1_5_with_sha3_512[DER_OID_SZ_id_rsassa_pkcs1_v1_5_with_sha3_512] = {
  126. DER_OID_V_id_rsassa_pkcs1_v1_5_with_sha3_512
  127. };
  128. /*
  129. * md4WithRSAEncryption OBJECT IDENTIFIER ::= { pkcs-1 3 }
  130. */
  131. const unsigned char ossl_der_oid_md4WithRSAEncryption[DER_OID_SZ_md4WithRSAEncryption] = {
  132. DER_OID_V_md4WithRSAEncryption
  133. };
  134. /*
  135. * ripemd160WithRSAEncryption OBJECT IDENTIFIER ::= {
  136. * iso(1) identified-organization(3) teletrust(36) algorithm(3) signatureAlgorithm(3) rsaSignature(1) 2
  137. * }
  138. */
  139. const unsigned char ossl_der_oid_ripemd160WithRSAEncryption[DER_OID_SZ_ripemd160WithRSAEncryption] = {
  140. DER_OID_V_ripemd160WithRSAEncryption
  141. };
  142. /*
  143. * mdc2WithRSASignature OBJECT IDENTIFIER ::= {
  144. * iso(1) identified-organization(3) oiw(14) secsig(3) algorithms(2) mdc2WithRSASignature(14)
  145. * }
  146. */
  147. const unsigned char ossl_der_oid_mdc2WithRSASignature[DER_OID_SZ_mdc2WithRSASignature] = {
  148. DER_OID_V_mdc2WithRSASignature
  149. };