der_ml_dsa.h 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. /*
  2. * WARNING: do not edit!
  3. * Generated by makefile from providers\common\include\prov\der_ml_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/ml_dsa.h"
  14. /* Well known OIDs precompiled */
  15. /*
  16. * id-ml-dsa-44 OBJECT IDENTIFIER ::= { sigAlgs 17 }
  17. */
  18. #define DER_OID_V_id_ml_dsa_44 DER_P_OBJECT, 9, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x03, 0x11
  19. #define DER_OID_SZ_id_ml_dsa_44 11
  20. extern const unsigned char ossl_der_oid_id_ml_dsa_44[DER_OID_SZ_id_ml_dsa_44];
  21. /*
  22. * id-ml-dsa-65 OBJECT IDENTIFIER ::= { sigAlgs 18 }
  23. */
  24. #define DER_OID_V_id_ml_dsa_65 DER_P_OBJECT, 9, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x03, 0x12
  25. #define DER_OID_SZ_id_ml_dsa_65 11
  26. extern const unsigned char ossl_der_oid_id_ml_dsa_65[DER_OID_SZ_id_ml_dsa_65];
  27. /*
  28. * id-ml-dsa-87 OBJECT IDENTIFIER ::= { sigAlgs 19 }
  29. */
  30. #define DER_OID_V_id_ml_dsa_87 DER_P_OBJECT, 9, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x03, 0x13
  31. #define DER_OID_SZ_id_ml_dsa_87 11
  32. extern const unsigned char ossl_der_oid_id_ml_dsa_87[DER_OID_SZ_id_ml_dsa_87];
  33. int ossl_DER_w_algorithmIdentifier_ML_DSA(WPACKET *pkt, int tag, ML_DSA_KEY *key);