der_slh_dsa.h 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. /*
  2. * WARNING: do not edit!
  3. * Generated by makefile from providers\common\include\prov\der_slh_dsa.h.in
  4. *
  5. * Copyright 2025 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. #include "crypto/slh_dsa.h"
  14. /* Well known OIDs precompiled */
  15. /*
  16. * id-slh-dsa-sha2-128s OBJECT IDENTIFIER ::= { sigAlgs 20 }
  17. */
  18. #define DER_OID_V_id_slh_dsa_sha2_128s DER_P_OBJECT, 9, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x03, 0x14
  19. #define DER_OID_SZ_id_slh_dsa_sha2_128s 11
  20. extern const unsigned char ossl_der_oid_id_slh_dsa_sha2_128s[DER_OID_SZ_id_slh_dsa_sha2_128s];
  21. /*
  22. * id-slh-dsa-sha2-128f OBJECT IDENTIFIER ::= { sigAlgs 21 }
  23. */
  24. #define DER_OID_V_id_slh_dsa_sha2_128f DER_P_OBJECT, 9, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x03, 0x15
  25. #define DER_OID_SZ_id_slh_dsa_sha2_128f 11
  26. extern const unsigned char ossl_der_oid_id_slh_dsa_sha2_128f[DER_OID_SZ_id_slh_dsa_sha2_128f];
  27. /*
  28. * id-slh-dsa-sha2-192s OBJECT IDENTIFIER ::= { sigAlgs 22 }
  29. */
  30. #define DER_OID_V_id_slh_dsa_sha2_192s DER_P_OBJECT, 9, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x03, 0x16
  31. #define DER_OID_SZ_id_slh_dsa_sha2_192s 11
  32. extern const unsigned char ossl_der_oid_id_slh_dsa_sha2_192s[DER_OID_SZ_id_slh_dsa_sha2_192s];
  33. /*
  34. * id-slh-dsa-sha2-192f OBJECT IDENTIFIER ::= { sigAlgs 23 }
  35. */
  36. #define DER_OID_V_id_slh_dsa_sha2_192f DER_P_OBJECT, 9, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x03, 0x17
  37. #define DER_OID_SZ_id_slh_dsa_sha2_192f 11
  38. extern const unsigned char ossl_der_oid_id_slh_dsa_sha2_192f[DER_OID_SZ_id_slh_dsa_sha2_192f];
  39. /*
  40. * id-slh-dsa-sha2-256s OBJECT IDENTIFIER ::= { sigAlgs 24 }
  41. */
  42. #define DER_OID_V_id_slh_dsa_sha2_256s DER_P_OBJECT, 9, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x03, 0x18
  43. #define DER_OID_SZ_id_slh_dsa_sha2_256s 11
  44. extern const unsigned char ossl_der_oid_id_slh_dsa_sha2_256s[DER_OID_SZ_id_slh_dsa_sha2_256s];
  45. /*
  46. * id-slh-dsa-sha2-256f OBJECT IDENTIFIER ::= { sigAlgs 25 }
  47. */
  48. #define DER_OID_V_id_slh_dsa_sha2_256f DER_P_OBJECT, 9, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x03, 0x19
  49. #define DER_OID_SZ_id_slh_dsa_sha2_256f 11
  50. extern const unsigned char ossl_der_oid_id_slh_dsa_sha2_256f[DER_OID_SZ_id_slh_dsa_sha2_256f];
  51. /*
  52. * id-slh-dsa-shake-128s OBJECT IDENTIFIER ::= { sigAlgs 26 }
  53. */
  54. #define DER_OID_V_id_slh_dsa_shake_128s DER_P_OBJECT, 9, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x03, 0x1A
  55. #define DER_OID_SZ_id_slh_dsa_shake_128s 11
  56. extern const unsigned char ossl_der_oid_id_slh_dsa_shake_128s[DER_OID_SZ_id_slh_dsa_shake_128s];
  57. /*
  58. * id-slh-dsa-shake-128f OBJECT IDENTIFIER ::= { sigAlgs 27 }
  59. */
  60. #define DER_OID_V_id_slh_dsa_shake_128f DER_P_OBJECT, 9, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x03, 0x1B
  61. #define DER_OID_SZ_id_slh_dsa_shake_128f 11
  62. extern const unsigned char ossl_der_oid_id_slh_dsa_shake_128f[DER_OID_SZ_id_slh_dsa_shake_128f];
  63. /*
  64. * id-slh-dsa-shake-192s OBJECT IDENTIFIER ::= { sigAlgs 28 }
  65. */
  66. #define DER_OID_V_id_slh_dsa_shake_192s DER_P_OBJECT, 9, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x03, 0x1C
  67. #define DER_OID_SZ_id_slh_dsa_shake_192s 11
  68. extern const unsigned char ossl_der_oid_id_slh_dsa_shake_192s[DER_OID_SZ_id_slh_dsa_shake_192s];
  69. /*
  70. * id-slh-dsa-shake-192f OBJECT IDENTIFIER ::= { sigAlgs 29 }
  71. */
  72. #define DER_OID_V_id_slh_dsa_shake_192f DER_P_OBJECT, 9, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x03, 0x1D
  73. #define DER_OID_SZ_id_slh_dsa_shake_192f 11
  74. extern const unsigned char ossl_der_oid_id_slh_dsa_shake_192f[DER_OID_SZ_id_slh_dsa_shake_192f];
  75. /*
  76. * id-slh-dsa-shake-256s OBJECT IDENTIFIER ::= { sigAlgs 30 }
  77. */
  78. #define DER_OID_V_id_slh_dsa_shake_256s DER_P_OBJECT, 9, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x03, 0x1E
  79. #define DER_OID_SZ_id_slh_dsa_shake_256s 11
  80. extern const unsigned char ossl_der_oid_id_slh_dsa_shake_256s[DER_OID_SZ_id_slh_dsa_shake_256s];
  81. /*
  82. * id-slh-dsa-shake-256f OBJECT IDENTIFIER ::= { sigAlgs 31 }
  83. */
  84. #define DER_OID_V_id_slh_dsa_shake_256f DER_P_OBJECT, 9, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x03, 0x1F
  85. #define DER_OID_SZ_id_slh_dsa_shake_256f 11
  86. extern const unsigned char ossl_der_oid_id_slh_dsa_shake_256f[DER_OID_SZ_id_slh_dsa_shake_256f];
  87. int ossl_DER_w_algorithmIdentifier_SLH_DSA(WPACKET *pkt, int tag, SLH_DSA_KEY *key);