der_dsa_gen.h 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. /*
  2. * WARNING: do not edit!
  3. * Generated by makefile from .\providers\common\der\der_dsa_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. /*
  13. * DSA low level APIs are deprecated for public use, but still ok for
  14. * internal use.
  15. */
  16. #include "internal/deprecated.h"
  17. #include "prov/der_dsa.h"
  18. /* Well known OIDs precompiled */
  19. /*
  20. * id-dsa OBJECT IDENTIFIER ::= {
  21. * iso(1) member-body(2) us(840) x9-57(10040) x9algorithm(4) 1 }
  22. */
  23. const unsigned char ossl_der_oid_id_dsa[DER_OID_SZ_id_dsa] = {
  24. DER_OID_V_id_dsa
  25. };
  26. /*
  27. * id-dsa-with-sha1 OBJECT IDENTIFIER ::= {
  28. * iso(1) member-body(2) us(840) x9-57 (10040) x9algorithm(4) 3 }
  29. */
  30. const unsigned char ossl_der_oid_id_dsa_with_sha1[DER_OID_SZ_id_dsa_with_sha1] = {
  31. DER_OID_V_id_dsa_with_sha1
  32. };
  33. /*
  34. * id-dsa-with-sha224 OBJECT IDENTIFIER ::= { sigAlgs 1 }
  35. */
  36. const unsigned char ossl_der_oid_id_dsa_with_sha224[DER_OID_SZ_id_dsa_with_sha224] = {
  37. DER_OID_V_id_dsa_with_sha224
  38. };
  39. /*
  40. * id-dsa-with-sha256 OBJECT IDENTIFIER ::= { sigAlgs 2 }
  41. */
  42. const unsigned char ossl_der_oid_id_dsa_with_sha256[DER_OID_SZ_id_dsa_with_sha256] = {
  43. DER_OID_V_id_dsa_with_sha256
  44. };
  45. /*
  46. * id-dsa-with-sha384 OBJECT IDENTIFIER ::= { sigAlgs 3 }
  47. */
  48. const unsigned char ossl_der_oid_id_dsa_with_sha384[DER_OID_SZ_id_dsa_with_sha384] = {
  49. DER_OID_V_id_dsa_with_sha384
  50. };
  51. /*
  52. * id-dsa-with-sha512 OBJECT IDENTIFIER ::= { sigAlgs 4 }
  53. */
  54. const unsigned char ossl_der_oid_id_dsa_with_sha512[DER_OID_SZ_id_dsa_with_sha512] = {
  55. DER_OID_V_id_dsa_with_sha512
  56. };
  57. /*
  58. * id-dsa-with-sha3-224 OBJECT IDENTIFIER ::= { sigAlgs 5 }
  59. */
  60. const unsigned char ossl_der_oid_id_dsa_with_sha3_224[DER_OID_SZ_id_dsa_with_sha3_224] = {
  61. DER_OID_V_id_dsa_with_sha3_224
  62. };
  63. /*
  64. * id-dsa-with-sha3-256 OBJECT IDENTIFIER ::= { sigAlgs 6 }
  65. */
  66. const unsigned char ossl_der_oid_id_dsa_with_sha3_256[DER_OID_SZ_id_dsa_with_sha3_256] = {
  67. DER_OID_V_id_dsa_with_sha3_256
  68. };
  69. /*
  70. * id-dsa-with-sha3-384 OBJECT IDENTIFIER ::= { sigAlgs 7 }
  71. */
  72. const unsigned char ossl_der_oid_id_dsa_with_sha3_384[DER_OID_SZ_id_dsa_with_sha3_384] = {
  73. DER_OID_V_id_dsa_with_sha3_384
  74. };
  75. /*
  76. * id-dsa-with-sha3-512 OBJECT IDENTIFIER ::= { sigAlgs 8 }
  77. */
  78. const unsigned char ossl_der_oid_id_dsa_with_sha3_512[DER_OID_SZ_id_dsa_with_sha3_512] = {
  79. DER_OID_V_id_dsa_with_sha3_512
  80. };