node-bin-darwin-arm64 26.5.0 → 26.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (155) hide show
  1. package/CHANGELOG.md +201 -0
  2. package/README.md +4 -2
  3. package/bin/node +0 -0
  4. package/include/node/common.gypi +2 -1
  5. package/include/node/config.gypi +1 -0
  6. package/include/node/node_version.h +1 -1
  7. package/include/node/openssl/archs/linux64-riscv64/asm/crypto/buildinf.h +35 -0
  8. package/include/node/openssl/archs/linux64-riscv64/asm/include/crypto/bn_conf.h +37 -0
  9. package/include/node/openssl/archs/linux64-riscv64/asm/include/crypto/dso_conf.h +25 -0
  10. package/include/node/openssl/archs/linux64-riscv64/asm/include/internal/param_names.h +473 -0
  11. package/include/node/openssl/archs/linux64-riscv64/asm/include/openssl/asn1.h +1125 -0
  12. package/include/node/openssl/archs/linux64-riscv64/asm/include/openssl/asn1t.h +935 -0
  13. package/include/node/openssl/archs/linux64-riscv64/asm/include/openssl/bio.h +1028 -0
  14. package/include/node/openssl/archs/linux64-riscv64/asm/include/openssl/cmp.h +741 -0
  15. package/include/node/openssl/archs/linux64-riscv64/asm/include/openssl/cms.h +515 -0
  16. package/include/node/openssl/archs/linux64-riscv64/asm/include/openssl/comp.h +101 -0
  17. package/include/node/openssl/archs/linux64-riscv64/asm/include/openssl/conf.h +219 -0
  18. package/include/node/openssl/archs/linux64-riscv64/asm/include/openssl/configuration.h +190 -0
  19. package/include/node/openssl/archs/linux64-riscv64/asm/include/openssl/core_names.h +579 -0
  20. package/include/node/openssl/archs/linux64-riscv64/asm/include/openssl/crmf.h +279 -0
  21. package/include/node/openssl/archs/linux64-riscv64/asm/include/openssl/crypto.h +588 -0
  22. package/include/node/openssl/archs/linux64-riscv64/asm/include/openssl/ct.h +574 -0
  23. package/include/node/openssl/archs/linux64-riscv64/asm/include/openssl/err.h +517 -0
  24. package/include/node/openssl/archs/linux64-riscv64/asm/include/openssl/ess.h +131 -0
  25. package/include/node/openssl/archs/linux64-riscv64/asm/include/openssl/fipskey.h +47 -0
  26. package/include/node/openssl/archs/linux64-riscv64/asm/include/openssl/lhash.h +417 -0
  27. package/include/node/openssl/archs/linux64-riscv64/asm/include/openssl/ocsp.h +487 -0
  28. package/include/node/openssl/archs/linux64-riscv64/asm/include/openssl/opensslv.h +131 -0
  29. package/include/node/openssl/archs/linux64-riscv64/asm/include/openssl/pkcs12.h +370 -0
  30. package/include/node/openssl/archs/linux64-riscv64/asm/include/openssl/pkcs7.h +435 -0
  31. package/include/node/openssl/archs/linux64-riscv64/asm/include/openssl/safestack.h +303 -0
  32. package/include/node/openssl/archs/linux64-riscv64/asm/include/openssl/srp.h +291 -0
  33. package/include/node/openssl/archs/linux64-riscv64/asm/include/openssl/ssl.h +2940 -0
  34. package/include/node/openssl/archs/linux64-riscv64/asm/include/openssl/ui.h +409 -0
  35. package/include/node/openssl/archs/linux64-riscv64/asm/include/openssl/x509.h +1301 -0
  36. package/include/node/openssl/archs/linux64-riscv64/asm/include/openssl/x509_acert.h +312 -0
  37. package/include/node/openssl/archs/linux64-riscv64/asm/include/openssl/x509_vfy.h +904 -0
  38. package/include/node/openssl/archs/linux64-riscv64/asm/include/openssl/x509v3.h +2013 -0
  39. package/include/node/openssl/archs/linux64-riscv64/asm/include/progs.h +125 -0
  40. package/include/node/openssl/archs/linux64-riscv64/asm/providers/common/include/prov/der_digests.h +162 -0
  41. package/include/node/openssl/archs/linux64-riscv64/asm/providers/common/include/prov/der_dsa.h +96 -0
  42. package/include/node/openssl/archs/linux64-riscv64/asm/providers/common/include/prov/der_ec.h +288 -0
  43. package/include/node/openssl/archs/linux64-riscv64/asm/providers/common/include/prov/der_ecx.h +52 -0
  44. package/include/node/openssl/archs/linux64-riscv64/asm/providers/common/include/prov/der_ml_dsa.h +42 -0
  45. package/include/node/openssl/archs/linux64-riscv64/asm/providers/common/include/prov/der_rsa.h +189 -0
  46. package/include/node/openssl/archs/linux64-riscv64/asm/providers/common/include/prov/der_slh_dsa.h +105 -0
  47. package/include/node/openssl/archs/linux64-riscv64/asm/providers/common/include/prov/der_sm2.h +39 -0
  48. package/include/node/openssl/archs/linux64-riscv64/asm/providers/common/include/prov/der_wrap.h +48 -0
  49. package/include/node/openssl/archs/linux64-riscv64/asm_avx2/crypto/buildinf.h +37 -0
  50. package/include/node/openssl/archs/linux64-riscv64/asm_avx2/include/crypto/bn_conf.h +37 -0
  51. package/include/node/openssl/archs/linux64-riscv64/asm_avx2/include/crypto/dso_conf.h +25 -0
  52. package/include/node/openssl/archs/linux64-riscv64/asm_avx2/include/internal/param_names.h +473 -0
  53. package/include/node/openssl/archs/linux64-riscv64/asm_avx2/include/openssl/asn1.h +1125 -0
  54. package/include/node/openssl/archs/linux64-riscv64/asm_avx2/include/openssl/asn1t.h +935 -0
  55. package/include/node/openssl/archs/linux64-riscv64/asm_avx2/include/openssl/bio.h +1028 -0
  56. package/include/node/openssl/archs/linux64-riscv64/asm_avx2/include/openssl/cmp.h +741 -0
  57. package/include/node/openssl/archs/linux64-riscv64/asm_avx2/include/openssl/cms.h +515 -0
  58. package/include/node/openssl/archs/linux64-riscv64/asm_avx2/include/openssl/comp.h +101 -0
  59. package/include/node/openssl/archs/linux64-riscv64/asm_avx2/include/openssl/conf.h +219 -0
  60. package/include/node/openssl/archs/linux64-riscv64/asm_avx2/include/openssl/configuration.h +190 -0
  61. package/include/node/openssl/archs/linux64-riscv64/asm_avx2/include/openssl/core_names.h +579 -0
  62. package/include/node/openssl/archs/linux64-riscv64/asm_avx2/include/openssl/crmf.h +279 -0
  63. package/include/node/openssl/archs/linux64-riscv64/asm_avx2/include/openssl/crypto.h +588 -0
  64. package/include/node/openssl/archs/linux64-riscv64/asm_avx2/include/openssl/ct.h +574 -0
  65. package/include/node/openssl/archs/linux64-riscv64/asm_avx2/include/openssl/err.h +517 -0
  66. package/include/node/openssl/archs/linux64-riscv64/asm_avx2/include/openssl/ess.h +131 -0
  67. package/include/node/openssl/archs/linux64-riscv64/asm_avx2/include/openssl/fipskey.h +47 -0
  68. package/include/node/openssl/archs/linux64-riscv64/asm_avx2/include/openssl/lhash.h +417 -0
  69. package/include/node/openssl/archs/linux64-riscv64/asm_avx2/include/openssl/ocsp.h +487 -0
  70. package/include/node/openssl/archs/linux64-riscv64/asm_avx2/include/openssl/opensslv.h +131 -0
  71. package/include/node/openssl/archs/linux64-riscv64/asm_avx2/include/openssl/pkcs12.h +370 -0
  72. package/include/node/openssl/archs/linux64-riscv64/asm_avx2/include/openssl/pkcs7.h +435 -0
  73. package/include/node/openssl/archs/linux64-riscv64/asm_avx2/include/openssl/safestack.h +303 -0
  74. package/include/node/openssl/archs/linux64-riscv64/asm_avx2/include/openssl/srp.h +291 -0
  75. package/include/node/openssl/archs/linux64-riscv64/asm_avx2/include/openssl/ssl.h +2940 -0
  76. package/include/node/openssl/archs/linux64-riscv64/asm_avx2/include/openssl/ui.h +409 -0
  77. package/include/node/openssl/archs/linux64-riscv64/asm_avx2/include/openssl/x509.h +1301 -0
  78. package/include/node/openssl/archs/linux64-riscv64/asm_avx2/include/openssl/x509_acert.h +312 -0
  79. package/include/node/openssl/archs/linux64-riscv64/asm_avx2/include/openssl/x509_vfy.h +904 -0
  80. package/include/node/openssl/archs/linux64-riscv64/asm_avx2/include/openssl/x509v3.h +2013 -0
  81. package/include/node/openssl/archs/linux64-riscv64/asm_avx2/include/progs.h +125 -0
  82. package/include/node/openssl/archs/linux64-riscv64/asm_avx2/providers/common/include/prov/der_digests.h +162 -0
  83. package/include/node/openssl/archs/linux64-riscv64/asm_avx2/providers/common/include/prov/der_dsa.h +96 -0
  84. package/include/node/openssl/archs/linux64-riscv64/asm_avx2/providers/common/include/prov/der_ec.h +288 -0
  85. package/include/node/openssl/archs/linux64-riscv64/asm_avx2/providers/common/include/prov/der_ecx.h +52 -0
  86. package/include/node/openssl/archs/linux64-riscv64/asm_avx2/providers/common/include/prov/der_ml_dsa.h +42 -0
  87. package/include/node/openssl/archs/linux64-riscv64/asm_avx2/providers/common/include/prov/der_rsa.h +189 -0
  88. package/include/node/openssl/archs/linux64-riscv64/asm_avx2/providers/common/include/prov/der_slh_dsa.h +105 -0
  89. package/include/node/openssl/archs/linux64-riscv64/asm_avx2/providers/common/include/prov/der_sm2.h +39 -0
  90. package/include/node/openssl/archs/linux64-riscv64/asm_avx2/providers/common/include/prov/der_wrap.h +48 -0
  91. package/include/node/openssl/asn1_asm.h +2 -0
  92. package/include/node/openssl/asn1_no-asm.h +2 -0
  93. package/include/node/openssl/asn1t_asm.h +2 -0
  94. package/include/node/openssl/asn1t_no-asm.h +2 -0
  95. package/include/node/openssl/bio_asm.h +2 -0
  96. package/include/node/openssl/bio_no-asm.h +2 -0
  97. package/include/node/openssl/bn_conf_asm.h +2 -0
  98. package/include/node/openssl/bn_conf_no-asm.h +2 -0
  99. package/include/node/openssl/cmp_asm.h +2 -0
  100. package/include/node/openssl/cmp_no-asm.h +2 -0
  101. package/include/node/openssl/cms_asm.h +2 -0
  102. package/include/node/openssl/cms_no-asm.h +2 -0
  103. package/include/node/openssl/comp_asm.h +2 -0
  104. package/include/node/openssl/comp_no-asm.h +2 -0
  105. package/include/node/openssl/conf_asm.h +2 -0
  106. package/include/node/openssl/conf_no-asm.h +2 -0
  107. package/include/node/openssl/configuration_asm.h +2 -0
  108. package/include/node/openssl/configuration_no-asm.h +2 -0
  109. package/include/node/openssl/core_names_asm.h +2 -0
  110. package/include/node/openssl/core_names_no-asm.h +2 -0
  111. package/include/node/openssl/crmf_asm.h +2 -0
  112. package/include/node/openssl/crmf_no-asm.h +2 -0
  113. package/include/node/openssl/crypto_asm.h +2 -0
  114. package/include/node/openssl/crypto_no-asm.h +2 -0
  115. package/include/node/openssl/ct_asm.h +2 -0
  116. package/include/node/openssl/ct_no-asm.h +2 -0
  117. package/include/node/openssl/dso_conf_asm.h +2 -0
  118. package/include/node/openssl/dso_conf_no-asm.h +2 -0
  119. package/include/node/openssl/err_asm.h +2 -0
  120. package/include/node/openssl/err_no-asm.h +2 -0
  121. package/include/node/openssl/ess_asm.h +2 -0
  122. package/include/node/openssl/ess_no-asm.h +2 -0
  123. package/include/node/openssl/fipskey_asm.h +2 -0
  124. package/include/node/openssl/fipskey_no-asm.h +2 -0
  125. package/include/node/openssl/lhash_asm.h +2 -0
  126. package/include/node/openssl/lhash_no-asm.h +2 -0
  127. package/include/node/openssl/ocsp_asm.h +2 -0
  128. package/include/node/openssl/ocsp_no-asm.h +2 -0
  129. package/include/node/openssl/opensslv_asm.h +2 -0
  130. package/include/node/openssl/opensslv_no-asm.h +2 -0
  131. package/include/node/openssl/param_names_asm.h +2 -0
  132. package/include/node/openssl/param_names_no-asm.h +2 -0
  133. package/include/node/openssl/pkcs12_asm.h +2 -0
  134. package/include/node/openssl/pkcs12_no-asm.h +2 -0
  135. package/include/node/openssl/pkcs7_asm.h +2 -0
  136. package/include/node/openssl/pkcs7_no-asm.h +2 -0
  137. package/include/node/openssl/safestack_asm.h +2 -0
  138. package/include/node/openssl/safestack_no-asm.h +2 -0
  139. package/include/node/openssl/srp_asm.h +2 -0
  140. package/include/node/openssl/srp_no-asm.h +2 -0
  141. package/include/node/openssl/ssl_asm.h +2 -0
  142. package/include/node/openssl/ssl_no-asm.h +2 -0
  143. package/include/node/openssl/ui_asm.h +2 -0
  144. package/include/node/openssl/ui_no-asm.h +2 -0
  145. package/include/node/openssl/x509_acert_asm.h +2 -0
  146. package/include/node/openssl/x509_acert_no-asm.h +2 -0
  147. package/include/node/openssl/x509_asm.h +2 -0
  148. package/include/node/openssl/x509_no-asm.h +2 -0
  149. package/include/node/openssl/x509_vfy_asm.h +2 -0
  150. package/include/node/openssl/x509_vfy_no-asm.h +2 -0
  151. package/include/node/openssl/x509v3_asm.h +2 -0
  152. package/include/node/openssl/x509v3_no-asm.h +2 -0
  153. package/include/node/v8-template.h +7 -0
  154. package/package.json +1 -1
  155. package/share/man/man1/node.1 +10 -7
@@ -0,0 +1,125 @@
1
+ /*
2
+ * WARNING: do not edit!
3
+ * Generated by apps/progs.pl
4
+ *
5
+ * Copyright 1995-2026 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
+ #include "function.h"
14
+
15
+ extern int asn1parse_main(int argc, char *argv[]);
16
+ extern int ca_main(int argc, char *argv[]);
17
+ extern int ciphers_main(int argc, char *argv[]);
18
+ extern int cmp_main(int argc, char *argv[]);
19
+ extern int cms_main(int argc, char *argv[]);
20
+ extern int crl_main(int argc, char *argv[]);
21
+ extern int crl2pkcs7_main(int argc, char *argv[]);
22
+ extern int dgst_main(int argc, char *argv[]);
23
+ extern int dhparam_main(int argc, char *argv[]);
24
+ extern int dsa_main(int argc, char *argv[]);
25
+ extern int dsaparam_main(int argc, char *argv[]);
26
+ extern int ec_main(int argc, char *argv[]);
27
+ extern int ecparam_main(int argc, char *argv[]);
28
+ extern int enc_main(int argc, char *argv[]);
29
+ extern int engine_main(int argc, char *argv[]);
30
+ extern int errstr_main(int argc, char *argv[]);
31
+ extern int fipsinstall_main(int argc, char *argv[]);
32
+ extern int gendsa_main(int argc, char *argv[]);
33
+ extern int genpkey_main(int argc, char *argv[]);
34
+ extern int genrsa_main(int argc, char *argv[]);
35
+ extern int help_main(int argc, char *argv[]);
36
+ extern int info_main(int argc, char *argv[]);
37
+ extern int kdf_main(int argc, char *argv[]);
38
+ extern int list_main(int argc, char *argv[]);
39
+ extern int mac_main(int argc, char *argv[]);
40
+ extern int nseq_main(int argc, char *argv[]);
41
+ extern int ocsp_main(int argc, char *argv[]);
42
+ extern int passwd_main(int argc, char *argv[]);
43
+ extern int pkcs12_main(int argc, char *argv[]);
44
+ extern int pkcs7_main(int argc, char *argv[]);
45
+ extern int pkcs8_main(int argc, char *argv[]);
46
+ extern int pkey_main(int argc, char *argv[]);
47
+ extern int pkeyparam_main(int argc, char *argv[]);
48
+ extern int pkeyutl_main(int argc, char *argv[]);
49
+ extern int prime_main(int argc, char *argv[]);
50
+ extern int rand_main(int argc, char *argv[]);
51
+ extern int rehash_main(int argc, char *argv[]);
52
+ extern int req_main(int argc, char *argv[]);
53
+ extern int rsa_main(int argc, char *argv[]);
54
+ extern int rsautl_main(int argc, char *argv[]);
55
+ extern int s_client_main(int argc, char *argv[]);
56
+ extern int s_server_main(int argc, char *argv[]);
57
+ extern int s_time_main(int argc, char *argv[]);
58
+ extern int sess_id_main(int argc, char *argv[]);
59
+ extern int skeyutl_main(int argc, char *argv[]);
60
+ extern int smime_main(int argc, char *argv[]);
61
+ extern int speed_main(int argc, char *argv[]);
62
+ extern int spkac_main(int argc, char *argv[]);
63
+ extern int srp_main(int argc, char *argv[]);
64
+ extern int storeutl_main(int argc, char *argv[]);
65
+ extern int ts_main(int argc, char *argv[]);
66
+ extern int verify_main(int argc, char *argv[]);
67
+ extern int version_main(int argc, char *argv[]);
68
+ extern int x509_main(int argc, char *argv[]);
69
+
70
+ extern const OPTIONS asn1parse_options[];
71
+ extern const OPTIONS ca_options[];
72
+ extern const OPTIONS ciphers_options[];
73
+ extern const OPTIONS cmp_options[];
74
+ extern const OPTIONS cms_options[];
75
+ extern const OPTIONS crl_options[];
76
+ extern const OPTIONS crl2pkcs7_options[];
77
+ extern const OPTIONS dgst_options[];
78
+ extern const OPTIONS dhparam_options[];
79
+ extern const OPTIONS dsa_options[];
80
+ extern const OPTIONS dsaparam_options[];
81
+ extern const OPTIONS ec_options[];
82
+ extern const OPTIONS ecparam_options[];
83
+ extern const OPTIONS enc_options[];
84
+ extern const OPTIONS engine_options[];
85
+ extern const OPTIONS errstr_options[];
86
+ extern const OPTIONS fipsinstall_options[];
87
+ extern const OPTIONS gendsa_options[];
88
+ extern const OPTIONS genpkey_options[];
89
+ extern const OPTIONS genrsa_options[];
90
+ extern const OPTIONS help_options[];
91
+ extern const OPTIONS info_options[];
92
+ extern const OPTIONS kdf_options[];
93
+ extern const OPTIONS list_options[];
94
+ extern const OPTIONS mac_options[];
95
+ extern const OPTIONS nseq_options[];
96
+ extern const OPTIONS ocsp_options[];
97
+ extern const OPTIONS passwd_options[];
98
+ extern const OPTIONS pkcs12_options[];
99
+ extern const OPTIONS pkcs7_options[];
100
+ extern const OPTIONS pkcs8_options[];
101
+ extern const OPTIONS pkey_options[];
102
+ extern const OPTIONS pkeyparam_options[];
103
+ extern const OPTIONS pkeyutl_options[];
104
+ extern const OPTIONS prime_options[];
105
+ extern const OPTIONS rand_options[];
106
+ extern const OPTIONS rehash_options[];
107
+ extern const OPTIONS req_options[];
108
+ extern const OPTIONS rsa_options[];
109
+ extern const OPTIONS rsautl_options[];
110
+ extern const OPTIONS s_client_options[];
111
+ extern const OPTIONS s_server_options[];
112
+ extern const OPTIONS s_time_options[];
113
+ extern const OPTIONS sess_id_options[];
114
+ extern const OPTIONS skeyutl_options[];
115
+ extern const OPTIONS smime_options[];
116
+ extern const OPTIONS speed_options[];
117
+ extern const OPTIONS spkac_options[];
118
+ extern const OPTIONS srp_options[];
119
+ extern const OPTIONS storeutl_options[];
120
+ extern const OPTIONS ts_options[];
121
+ extern const OPTIONS verify_options[];
122
+ extern const OPTIONS version_options[];
123
+ extern const OPTIONS x509_options[];
124
+
125
+ extern FUNCTION functions[];
@@ -0,0 +1,162 @@
1
+ /*
2
+ * WARNING: do not edit!
3
+ * Generated by Makefile from providers/common/include/prov/der_digests.h.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
+ #include "internal/der.h"
14
+
15
+ /* Well known OIDs precompiled */
16
+ /* clang-format off */
17
+
18
+ /*
19
+ * sigAlgs OBJECT IDENTIFIER ::= { nistAlgorithms 3 }
20
+ */
21
+ #define DER_OID_V_sigAlgs DER_P_OBJECT, 8, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x03
22
+ #define DER_OID_SZ_sigAlgs 10
23
+ extern const unsigned char ossl_der_oid_sigAlgs[DER_OID_SZ_sigAlgs];
24
+
25
+ /*
26
+ * id-sha1 OBJECT IDENTIFIER ::= { iso(1)
27
+ * identified-organization(3) oiw(14)
28
+ * secsig(3) algorithms(2) 26 }
29
+ */
30
+ #define DER_OID_V_id_sha1 DER_P_OBJECT, 5, 0x2B, 0x0E, 0x03, 0x02, 0x1A
31
+ #define DER_OID_SZ_id_sha1 7
32
+ extern const unsigned char ossl_der_oid_id_sha1[DER_OID_SZ_id_sha1];
33
+
34
+ /*
35
+ * id-md2 OBJECT IDENTIFIER ::= {
36
+ * iso(1) member-body(2) us(840) rsadsi(113549) digestAlgorithm(2) 2 }
37
+ */
38
+ #define DER_OID_V_id_md2 DER_P_OBJECT, 8, 0x2A, 0x86, 0x48, 0x86, 0xF7, 0x0D, 0x02, 0x02
39
+ #define DER_OID_SZ_id_md2 10
40
+ extern const unsigned char ossl_der_oid_id_md2[DER_OID_SZ_id_md2];
41
+
42
+ /*
43
+ * id-md5 OBJECT IDENTIFIER ::= {
44
+ * iso(1) member-body(2) us(840) rsadsi(113549) digestAlgorithm(2) 5 }
45
+ */
46
+ #define DER_OID_V_id_md5 DER_P_OBJECT, 8, 0x2A, 0x86, 0x48, 0x86, 0xF7, 0x0D, 0x02, 0x05
47
+ #define DER_OID_SZ_id_md5 10
48
+ extern const unsigned char ossl_der_oid_id_md5[DER_OID_SZ_id_md5];
49
+
50
+ /*
51
+ * id-sha256 OBJECT IDENTIFIER ::= { hashAlgs 1 }
52
+ */
53
+ #define DER_OID_V_id_sha256 DER_P_OBJECT, 9, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x02, 0x01
54
+ #define DER_OID_SZ_id_sha256 11
55
+ extern const unsigned char ossl_der_oid_id_sha256[DER_OID_SZ_id_sha256];
56
+
57
+ /*
58
+ * id-sha384 OBJECT IDENTIFIER ::= { hashAlgs 2 }
59
+ */
60
+ #define DER_OID_V_id_sha384 DER_P_OBJECT, 9, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x02, 0x02
61
+ #define DER_OID_SZ_id_sha384 11
62
+ extern const unsigned char ossl_der_oid_id_sha384[DER_OID_SZ_id_sha384];
63
+
64
+ /*
65
+ * id-sha512 OBJECT IDENTIFIER ::= { hashAlgs 3 }
66
+ */
67
+ #define DER_OID_V_id_sha512 DER_P_OBJECT, 9, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x02, 0x03
68
+ #define DER_OID_SZ_id_sha512 11
69
+ extern const unsigned char ossl_der_oid_id_sha512[DER_OID_SZ_id_sha512];
70
+
71
+ /*
72
+ * id-sha224 OBJECT IDENTIFIER ::= { hashAlgs 4 }
73
+ */
74
+ #define DER_OID_V_id_sha224 DER_P_OBJECT, 9, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x02, 0x04
75
+ #define DER_OID_SZ_id_sha224 11
76
+ extern const unsigned char ossl_der_oid_id_sha224[DER_OID_SZ_id_sha224];
77
+
78
+ /*
79
+ * id-sha512-224 OBJECT IDENTIFIER ::= { hashAlgs 5 }
80
+ */
81
+ #define DER_OID_V_id_sha512_224 DER_P_OBJECT, 9, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x02, 0x05
82
+ #define DER_OID_SZ_id_sha512_224 11
83
+ extern const unsigned char ossl_der_oid_id_sha512_224[DER_OID_SZ_id_sha512_224];
84
+
85
+ /*
86
+ * id-sha512-256 OBJECT IDENTIFIER ::= { hashAlgs 6 }
87
+ */
88
+ #define DER_OID_V_id_sha512_256 DER_P_OBJECT, 9, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x02, 0x06
89
+ #define DER_OID_SZ_id_sha512_256 11
90
+ extern const unsigned char ossl_der_oid_id_sha512_256[DER_OID_SZ_id_sha512_256];
91
+
92
+ /*
93
+ * id-sha3-224 OBJECT IDENTIFIER ::= { hashAlgs 7 }
94
+ */
95
+ #define DER_OID_V_id_sha3_224 DER_P_OBJECT, 9, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x02, 0x07
96
+ #define DER_OID_SZ_id_sha3_224 11
97
+ extern const unsigned char ossl_der_oid_id_sha3_224[DER_OID_SZ_id_sha3_224];
98
+
99
+ /*
100
+ * id-sha3-256 OBJECT IDENTIFIER ::= { hashAlgs 8 }
101
+ */
102
+ #define DER_OID_V_id_sha3_256 DER_P_OBJECT, 9, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x02, 0x08
103
+ #define DER_OID_SZ_id_sha3_256 11
104
+ extern const unsigned char ossl_der_oid_id_sha3_256[DER_OID_SZ_id_sha3_256];
105
+
106
+ /*
107
+ * id-sha3-384 OBJECT IDENTIFIER ::= { hashAlgs 9 }
108
+ */
109
+ #define DER_OID_V_id_sha3_384 DER_P_OBJECT, 9, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x02, 0x09
110
+ #define DER_OID_SZ_id_sha3_384 11
111
+ extern const unsigned char ossl_der_oid_id_sha3_384[DER_OID_SZ_id_sha3_384];
112
+
113
+ /*
114
+ * id-sha3-512 OBJECT IDENTIFIER ::= { hashAlgs 10 }
115
+ */
116
+ #define DER_OID_V_id_sha3_512 DER_P_OBJECT, 9, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x02, 0x0A
117
+ #define DER_OID_SZ_id_sha3_512 11
118
+ extern const unsigned char ossl_der_oid_id_sha3_512[DER_OID_SZ_id_sha3_512];
119
+
120
+ /*
121
+ * id-shake128 OBJECT IDENTIFIER ::= { hashAlgs 11 }
122
+ */
123
+ #define DER_OID_V_id_shake128 DER_P_OBJECT, 9, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x02, 0x0B
124
+ #define DER_OID_SZ_id_shake128 11
125
+ extern const unsigned char ossl_der_oid_id_shake128[DER_OID_SZ_id_shake128];
126
+
127
+ /*
128
+ * id-shake256 OBJECT IDENTIFIER ::= { hashAlgs 12 }
129
+ */
130
+ #define DER_OID_V_id_shake256 DER_P_OBJECT, 9, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x02, 0x0C
131
+ #define DER_OID_SZ_id_shake256 11
132
+ extern const unsigned char ossl_der_oid_id_shake256[DER_OID_SZ_id_shake256];
133
+
134
+ /*
135
+ * id-shake128-len OBJECT IDENTIFIER ::= { hashAlgs 17 }
136
+ */
137
+ #define DER_OID_V_id_shake128_len DER_P_OBJECT, 9, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x02, 0x11
138
+ #define DER_OID_SZ_id_shake128_len 11
139
+ extern const unsigned char ossl_der_oid_id_shake128_len[DER_OID_SZ_id_shake128_len];
140
+
141
+ /*
142
+ * id-shake256-len OBJECT IDENTIFIER ::= { hashAlgs 18 }
143
+ */
144
+ #define DER_OID_V_id_shake256_len DER_P_OBJECT, 9, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x02, 0x12
145
+ #define DER_OID_SZ_id_shake256_len 11
146
+ extern const unsigned char ossl_der_oid_id_shake256_len[DER_OID_SZ_id_shake256_len];
147
+
148
+ /*
149
+ * id-KMACWithSHAKE128 OBJECT IDENTIFIER ::={hashAlgs 19}
150
+ */
151
+ #define DER_OID_V_id_KMACWithSHAKE128 DER_P_OBJECT, 9, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x02, 0x13
152
+ #define DER_OID_SZ_id_KMACWithSHAKE128 11
153
+ extern const unsigned char ossl_der_oid_id_KMACWithSHAKE128[DER_OID_SZ_id_KMACWithSHAKE128];
154
+
155
+ /*
156
+ * id-KMACWithSHAKE256 OBJECT IDENTIFIER ::={ hashAlgs 20}
157
+ */
158
+ #define DER_OID_V_id_KMACWithSHAKE256 DER_P_OBJECT, 9, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x02, 0x14
159
+ #define DER_OID_SZ_id_KMACWithSHAKE256 11
160
+ extern const unsigned char ossl_der_oid_id_KMACWithSHAKE256[DER_OID_SZ_id_KMACWithSHAKE256];
161
+
162
+ /* clang-format on */
@@ -0,0 +1,96 @@
1
+ /*
2
+ * WARNING: do not edit!
3
+ * Generated by Makefile from providers/common/include/prov/der_dsa.h.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
+ #include "internal/der.h"
14
+
15
+ /* Well known OIDs precompiled */
16
+ /* clang-format off */
17
+
18
+ /*
19
+ * id-dsa OBJECT IDENTIFIER ::= {
20
+ * iso(1) member-body(2) us(840) x9-57(10040) x9algorithm(4) 1 }
21
+ */
22
+ #define DER_OID_V_id_dsa DER_P_OBJECT, 7, 0x2A, 0x86, 0x48, 0xCE, 0x38, 0x04, 0x01
23
+ #define DER_OID_SZ_id_dsa 9
24
+ extern const unsigned char ossl_der_oid_id_dsa[DER_OID_SZ_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
+ #define DER_OID_V_id_dsa_with_sha1 DER_P_OBJECT, 7, 0x2A, 0x86, 0x48, 0xCE, 0x38, 0x04, 0x03
31
+ #define DER_OID_SZ_id_dsa_with_sha1 9
32
+ extern const unsigned char ossl_der_oid_id_dsa_with_sha1[DER_OID_SZ_id_dsa_with_sha1];
33
+
34
+ /*
35
+ * id-dsa-with-sha224 OBJECT IDENTIFIER ::= { sigAlgs 1 }
36
+ */
37
+ #define DER_OID_V_id_dsa_with_sha224 DER_P_OBJECT, 9, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x03, 0x01
38
+ #define DER_OID_SZ_id_dsa_with_sha224 11
39
+ extern const unsigned char ossl_der_oid_id_dsa_with_sha224[DER_OID_SZ_id_dsa_with_sha224];
40
+
41
+ /*
42
+ * id-dsa-with-sha256 OBJECT IDENTIFIER ::= { sigAlgs 2 }
43
+ */
44
+ #define DER_OID_V_id_dsa_with_sha256 DER_P_OBJECT, 9, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x03, 0x02
45
+ #define DER_OID_SZ_id_dsa_with_sha256 11
46
+ extern const unsigned char ossl_der_oid_id_dsa_with_sha256[DER_OID_SZ_id_dsa_with_sha256];
47
+
48
+ /*
49
+ * id-dsa-with-sha384 OBJECT IDENTIFIER ::= { sigAlgs 3 }
50
+ */
51
+ #define DER_OID_V_id_dsa_with_sha384 DER_P_OBJECT, 9, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x03, 0x03
52
+ #define DER_OID_SZ_id_dsa_with_sha384 11
53
+ extern const unsigned char ossl_der_oid_id_dsa_with_sha384[DER_OID_SZ_id_dsa_with_sha384];
54
+
55
+ /*
56
+ * id-dsa-with-sha512 OBJECT IDENTIFIER ::= { sigAlgs 4 }
57
+ */
58
+ #define DER_OID_V_id_dsa_with_sha512 DER_P_OBJECT, 9, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x03, 0x04
59
+ #define DER_OID_SZ_id_dsa_with_sha512 11
60
+ extern const unsigned char ossl_der_oid_id_dsa_with_sha512[DER_OID_SZ_id_dsa_with_sha512];
61
+
62
+ /*
63
+ * id-dsa-with-sha3-224 OBJECT IDENTIFIER ::= { sigAlgs 5 }
64
+ */
65
+ #define DER_OID_V_id_dsa_with_sha3_224 DER_P_OBJECT, 9, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x03, 0x05
66
+ #define DER_OID_SZ_id_dsa_with_sha3_224 11
67
+ extern const unsigned char ossl_der_oid_id_dsa_with_sha3_224[DER_OID_SZ_id_dsa_with_sha3_224];
68
+
69
+ /*
70
+ * id-dsa-with-sha3-256 OBJECT IDENTIFIER ::= { sigAlgs 6 }
71
+ */
72
+ #define DER_OID_V_id_dsa_with_sha3_256 DER_P_OBJECT, 9, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x03, 0x06
73
+ #define DER_OID_SZ_id_dsa_with_sha3_256 11
74
+ extern const unsigned char ossl_der_oid_id_dsa_with_sha3_256[DER_OID_SZ_id_dsa_with_sha3_256];
75
+
76
+ /*
77
+ * id-dsa-with-sha3-384 OBJECT IDENTIFIER ::= { sigAlgs 7 }
78
+ */
79
+ #define DER_OID_V_id_dsa_with_sha3_384 DER_P_OBJECT, 9, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x03, 0x07
80
+ #define DER_OID_SZ_id_dsa_with_sha3_384 11
81
+ extern const unsigned char ossl_der_oid_id_dsa_with_sha3_384[DER_OID_SZ_id_dsa_with_sha3_384];
82
+
83
+ /*
84
+ * id-dsa-with-sha3-512 OBJECT IDENTIFIER ::= { sigAlgs 8 }
85
+ */
86
+ #define DER_OID_V_id_dsa_with_sha3_512 DER_P_OBJECT, 9, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x03, 0x08
87
+ #define DER_OID_SZ_id_dsa_with_sha3_512 11
88
+ extern const unsigned char ossl_der_oid_id_dsa_with_sha3_512[DER_OID_SZ_id_dsa_with_sha3_512];
89
+
90
+ /* clang-format on */
91
+
92
+ /* Subject Public Key Info */
93
+ int ossl_DER_w_algorithmIdentifier_DSA(WPACKET *pkt, int tag, DSA *dsa);
94
+ /* Signature */
95
+ int ossl_DER_w_algorithmIdentifier_DSA_with_MD(WPACKET *pkt, int tag,
96
+ DSA *dsa, int mdnid);
@@ -0,0 +1,288 @@
1
+ /*
2
+ * WARNING: do not edit!
3
+ * Generated by Makefile from providers/common/include/prov/der_ec.h.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
+ #include "crypto/ec.h"
14
+ #include "internal/der.h"
15
+
16
+ /* Well known OIDs precompiled */
17
+ /* clang-format off */
18
+
19
+ /*
20
+ * ecdsa-with-SHA1 OBJECT IDENTIFIER ::= { id-ecSigType 1 }
21
+ */
22
+ #define DER_OID_V_ecdsa_with_SHA1 DER_P_OBJECT, 7, 0x2A, 0x86, 0x48, 0xCE, 0x3D, 0x04, 0x01
23
+ #define DER_OID_SZ_ecdsa_with_SHA1 9
24
+ extern const unsigned char ossl_der_oid_ecdsa_with_SHA1[DER_OID_SZ_ecdsa_with_SHA1];
25
+
26
+ /*
27
+ * id-ecPublicKey OBJECT IDENTIFIER ::= { id-publicKeyType 1 }
28
+ */
29
+ #define DER_OID_V_id_ecPublicKey DER_P_OBJECT, 7, 0x2A, 0x86, 0x48, 0xCE, 0x3D, 0x02, 0x01
30
+ #define DER_OID_SZ_id_ecPublicKey 9
31
+ extern const unsigned char ossl_der_oid_id_ecPublicKey[DER_OID_SZ_id_ecPublicKey];
32
+
33
+ /*
34
+ * c2pnb163v1 OBJECT IDENTIFIER ::= { c-TwoCurve 1 }
35
+ */
36
+ #define DER_OID_V_c2pnb163v1 DER_P_OBJECT, 8, 0x2A, 0x86, 0x48, 0xCE, 0x3D, 0x03, 0x00, 0x01
37
+ #define DER_OID_SZ_c2pnb163v1 10
38
+ extern const unsigned char ossl_der_oid_c2pnb163v1[DER_OID_SZ_c2pnb163v1];
39
+
40
+ /*
41
+ * c2pnb163v2 OBJECT IDENTIFIER ::= { c-TwoCurve 2 }
42
+ */
43
+ #define DER_OID_V_c2pnb163v2 DER_P_OBJECT, 8, 0x2A, 0x86, 0x48, 0xCE, 0x3D, 0x03, 0x00, 0x02
44
+ #define DER_OID_SZ_c2pnb163v2 10
45
+ extern const unsigned char ossl_der_oid_c2pnb163v2[DER_OID_SZ_c2pnb163v2];
46
+
47
+ /*
48
+ * c2pnb163v3 OBJECT IDENTIFIER ::= { c-TwoCurve 3 }
49
+ */
50
+ #define DER_OID_V_c2pnb163v3 DER_P_OBJECT, 8, 0x2A, 0x86, 0x48, 0xCE, 0x3D, 0x03, 0x00, 0x03
51
+ #define DER_OID_SZ_c2pnb163v3 10
52
+ extern const unsigned char ossl_der_oid_c2pnb163v3[DER_OID_SZ_c2pnb163v3];
53
+
54
+ /*
55
+ * c2pnb176w1 OBJECT IDENTIFIER ::= { c-TwoCurve 4 }
56
+ */
57
+ #define DER_OID_V_c2pnb176w1 DER_P_OBJECT, 8, 0x2A, 0x86, 0x48, 0xCE, 0x3D, 0x03, 0x00, 0x04
58
+ #define DER_OID_SZ_c2pnb176w1 10
59
+ extern const unsigned char ossl_der_oid_c2pnb176w1[DER_OID_SZ_c2pnb176w1];
60
+
61
+ /*
62
+ * c2tnb191v1 OBJECT IDENTIFIER ::= { c-TwoCurve 5 }
63
+ */
64
+ #define DER_OID_V_c2tnb191v1 DER_P_OBJECT, 8, 0x2A, 0x86, 0x48, 0xCE, 0x3D, 0x03, 0x00, 0x05
65
+ #define DER_OID_SZ_c2tnb191v1 10
66
+ extern const unsigned char ossl_der_oid_c2tnb191v1[DER_OID_SZ_c2tnb191v1];
67
+
68
+ /*
69
+ * c2tnb191v2 OBJECT IDENTIFIER ::= { c-TwoCurve 6 }
70
+ */
71
+ #define DER_OID_V_c2tnb191v2 DER_P_OBJECT, 8, 0x2A, 0x86, 0x48, 0xCE, 0x3D, 0x03, 0x00, 0x06
72
+ #define DER_OID_SZ_c2tnb191v2 10
73
+ extern const unsigned char ossl_der_oid_c2tnb191v2[DER_OID_SZ_c2tnb191v2];
74
+
75
+ /*
76
+ * c2tnb191v3 OBJECT IDENTIFIER ::= { c-TwoCurve 7 }
77
+ */
78
+ #define DER_OID_V_c2tnb191v3 DER_P_OBJECT, 8, 0x2A, 0x86, 0x48, 0xCE, 0x3D, 0x03, 0x00, 0x07
79
+ #define DER_OID_SZ_c2tnb191v3 10
80
+ extern const unsigned char ossl_der_oid_c2tnb191v3[DER_OID_SZ_c2tnb191v3];
81
+
82
+ /*
83
+ * c2onb191v4 OBJECT IDENTIFIER ::= { c-TwoCurve 8 }
84
+ */
85
+ #define DER_OID_V_c2onb191v4 DER_P_OBJECT, 8, 0x2A, 0x86, 0x48, 0xCE, 0x3D, 0x03, 0x00, 0x08
86
+ #define DER_OID_SZ_c2onb191v4 10
87
+ extern const unsigned char ossl_der_oid_c2onb191v4[DER_OID_SZ_c2onb191v4];
88
+
89
+ /*
90
+ * c2onb191v5 OBJECT IDENTIFIER ::= { c-TwoCurve 9 }
91
+ */
92
+ #define DER_OID_V_c2onb191v5 DER_P_OBJECT, 8, 0x2A, 0x86, 0x48, 0xCE, 0x3D, 0x03, 0x00, 0x09
93
+ #define DER_OID_SZ_c2onb191v5 10
94
+ extern const unsigned char ossl_der_oid_c2onb191v5[DER_OID_SZ_c2onb191v5];
95
+
96
+ /*
97
+ * c2pnb208w1 OBJECT IDENTIFIER ::= { c-TwoCurve 10 }
98
+ */
99
+ #define DER_OID_V_c2pnb208w1 DER_P_OBJECT, 8, 0x2A, 0x86, 0x48, 0xCE, 0x3D, 0x03, 0x00, 0x0A
100
+ #define DER_OID_SZ_c2pnb208w1 10
101
+ extern const unsigned char ossl_der_oid_c2pnb208w1[DER_OID_SZ_c2pnb208w1];
102
+
103
+ /*
104
+ * c2tnb239v1 OBJECT IDENTIFIER ::= { c-TwoCurve 11 }
105
+ */
106
+ #define DER_OID_V_c2tnb239v1 DER_P_OBJECT, 8, 0x2A, 0x86, 0x48, 0xCE, 0x3D, 0x03, 0x00, 0x0B
107
+ #define DER_OID_SZ_c2tnb239v1 10
108
+ extern const unsigned char ossl_der_oid_c2tnb239v1[DER_OID_SZ_c2tnb239v1];
109
+
110
+ /*
111
+ * c2tnb239v2 OBJECT IDENTIFIER ::= { c-TwoCurve 12 }
112
+ */
113
+ #define DER_OID_V_c2tnb239v2 DER_P_OBJECT, 8, 0x2A, 0x86, 0x48, 0xCE, 0x3D, 0x03, 0x00, 0x0C
114
+ #define DER_OID_SZ_c2tnb239v2 10
115
+ extern const unsigned char ossl_der_oid_c2tnb239v2[DER_OID_SZ_c2tnb239v2];
116
+
117
+ /*
118
+ * c2tnb239v3 OBJECT IDENTIFIER ::= { c-TwoCurve 13 }
119
+ */
120
+ #define DER_OID_V_c2tnb239v3 DER_P_OBJECT, 8, 0x2A, 0x86, 0x48, 0xCE, 0x3D, 0x03, 0x00, 0x0D
121
+ #define DER_OID_SZ_c2tnb239v3 10
122
+ extern const unsigned char ossl_der_oid_c2tnb239v3[DER_OID_SZ_c2tnb239v3];
123
+
124
+ /*
125
+ * c2onb239v4 OBJECT IDENTIFIER ::= { c-TwoCurve 14 }
126
+ */
127
+ #define DER_OID_V_c2onb239v4 DER_P_OBJECT, 8, 0x2A, 0x86, 0x48, 0xCE, 0x3D, 0x03, 0x00, 0x0E
128
+ #define DER_OID_SZ_c2onb239v4 10
129
+ extern const unsigned char ossl_der_oid_c2onb239v4[DER_OID_SZ_c2onb239v4];
130
+
131
+ /*
132
+ * c2onb239v5 OBJECT IDENTIFIER ::= { c-TwoCurve 15 }
133
+ */
134
+ #define DER_OID_V_c2onb239v5 DER_P_OBJECT, 8, 0x2A, 0x86, 0x48, 0xCE, 0x3D, 0x03, 0x00, 0x0F
135
+ #define DER_OID_SZ_c2onb239v5 10
136
+ extern const unsigned char ossl_der_oid_c2onb239v5[DER_OID_SZ_c2onb239v5];
137
+
138
+ /*
139
+ * c2pnb272w1 OBJECT IDENTIFIER ::= { c-TwoCurve 16 }
140
+ */
141
+ #define DER_OID_V_c2pnb272w1 DER_P_OBJECT, 8, 0x2A, 0x86, 0x48, 0xCE, 0x3D, 0x03, 0x00, 0x10
142
+ #define DER_OID_SZ_c2pnb272w1 10
143
+ extern const unsigned char ossl_der_oid_c2pnb272w1[DER_OID_SZ_c2pnb272w1];
144
+
145
+ /*
146
+ * c2pnb304w1 OBJECT IDENTIFIER ::= { c-TwoCurve 17 }
147
+ */
148
+ #define DER_OID_V_c2pnb304w1 DER_P_OBJECT, 8, 0x2A, 0x86, 0x48, 0xCE, 0x3D, 0x03, 0x00, 0x11
149
+ #define DER_OID_SZ_c2pnb304w1 10
150
+ extern const unsigned char ossl_der_oid_c2pnb304w1[DER_OID_SZ_c2pnb304w1];
151
+
152
+ /*
153
+ * c2tnb359v1 OBJECT IDENTIFIER ::= { c-TwoCurve 18 }
154
+ */
155
+ #define DER_OID_V_c2tnb359v1 DER_P_OBJECT, 8, 0x2A, 0x86, 0x48, 0xCE, 0x3D, 0x03, 0x00, 0x12
156
+ #define DER_OID_SZ_c2tnb359v1 10
157
+ extern const unsigned char ossl_der_oid_c2tnb359v1[DER_OID_SZ_c2tnb359v1];
158
+
159
+ /*
160
+ * c2pnb368w1 OBJECT IDENTIFIER ::= { c-TwoCurve 19 }
161
+ */
162
+ #define DER_OID_V_c2pnb368w1 DER_P_OBJECT, 8, 0x2A, 0x86, 0x48, 0xCE, 0x3D, 0x03, 0x00, 0x13
163
+ #define DER_OID_SZ_c2pnb368w1 10
164
+ extern const unsigned char ossl_der_oid_c2pnb368w1[DER_OID_SZ_c2pnb368w1];
165
+
166
+ /*
167
+ * c2tnb431r1 OBJECT IDENTIFIER ::= { c-TwoCurve 20 }
168
+ */
169
+ #define DER_OID_V_c2tnb431r1 DER_P_OBJECT, 8, 0x2A, 0x86, 0x48, 0xCE, 0x3D, 0x03, 0x00, 0x14
170
+ #define DER_OID_SZ_c2tnb431r1 10
171
+ extern const unsigned char ossl_der_oid_c2tnb431r1[DER_OID_SZ_c2tnb431r1];
172
+
173
+ /*
174
+ * prime192v1 OBJECT IDENTIFIER ::= { primeCurve 1 }
175
+ */
176
+ #define DER_OID_V_prime192v1 DER_P_OBJECT, 8, 0x2A, 0x86, 0x48, 0xCE, 0x3D, 0x03, 0x01, 0x01
177
+ #define DER_OID_SZ_prime192v1 10
178
+ extern const unsigned char ossl_der_oid_prime192v1[DER_OID_SZ_prime192v1];
179
+
180
+ /*
181
+ * prime192v2 OBJECT IDENTIFIER ::= { primeCurve 2 }
182
+ */
183
+ #define DER_OID_V_prime192v2 DER_P_OBJECT, 8, 0x2A, 0x86, 0x48, 0xCE, 0x3D, 0x03, 0x01, 0x02
184
+ #define DER_OID_SZ_prime192v2 10
185
+ extern const unsigned char ossl_der_oid_prime192v2[DER_OID_SZ_prime192v2];
186
+
187
+ /*
188
+ * prime192v3 OBJECT IDENTIFIER ::= { primeCurve 3 }
189
+ */
190
+ #define DER_OID_V_prime192v3 DER_P_OBJECT, 8, 0x2A, 0x86, 0x48, 0xCE, 0x3D, 0x03, 0x01, 0x03
191
+ #define DER_OID_SZ_prime192v3 10
192
+ extern const unsigned char ossl_der_oid_prime192v3[DER_OID_SZ_prime192v3];
193
+
194
+ /*
195
+ * prime239v1 OBJECT IDENTIFIER ::= { primeCurve 4 }
196
+ */
197
+ #define DER_OID_V_prime239v1 DER_P_OBJECT, 8, 0x2A, 0x86, 0x48, 0xCE, 0x3D, 0x03, 0x01, 0x04
198
+ #define DER_OID_SZ_prime239v1 10
199
+ extern const unsigned char ossl_der_oid_prime239v1[DER_OID_SZ_prime239v1];
200
+
201
+ /*
202
+ * prime239v2 OBJECT IDENTIFIER ::= { primeCurve 5 }
203
+ */
204
+ #define DER_OID_V_prime239v2 DER_P_OBJECT, 8, 0x2A, 0x86, 0x48, 0xCE, 0x3D, 0x03, 0x01, 0x05
205
+ #define DER_OID_SZ_prime239v2 10
206
+ extern const unsigned char ossl_der_oid_prime239v2[DER_OID_SZ_prime239v2];
207
+
208
+ /*
209
+ * prime239v3 OBJECT IDENTIFIER ::= { primeCurve 6 }
210
+ */
211
+ #define DER_OID_V_prime239v3 DER_P_OBJECT, 8, 0x2A, 0x86, 0x48, 0xCE, 0x3D, 0x03, 0x01, 0x06
212
+ #define DER_OID_SZ_prime239v3 10
213
+ extern const unsigned char ossl_der_oid_prime239v3[DER_OID_SZ_prime239v3];
214
+
215
+ /*
216
+ * prime256v1 OBJECT IDENTIFIER ::= { primeCurve 7 }
217
+ */
218
+ #define DER_OID_V_prime256v1 DER_P_OBJECT, 8, 0x2A, 0x86, 0x48, 0xCE, 0x3D, 0x03, 0x01, 0x07
219
+ #define DER_OID_SZ_prime256v1 10
220
+ extern const unsigned char ossl_der_oid_prime256v1[DER_OID_SZ_prime256v1];
221
+
222
+ /*
223
+ * ecdsa-with-SHA224 OBJECT IDENTIFIER ::= { iso(1) member-body(2)
224
+ * us(840) ansi-X9-62(10045) signatures(4) ecdsa-with-SHA2(3) 1 }
225
+ */
226
+ #define DER_OID_V_ecdsa_with_SHA224 DER_P_OBJECT, 8, 0x2A, 0x86, 0x48, 0xCE, 0x3D, 0x04, 0x03, 0x01
227
+ #define DER_OID_SZ_ecdsa_with_SHA224 10
228
+ extern const unsigned char ossl_der_oid_ecdsa_with_SHA224[DER_OID_SZ_ecdsa_with_SHA224];
229
+
230
+ /*
231
+ * ecdsa-with-SHA256 OBJECT IDENTIFIER ::= { iso(1) member-body(2)
232
+ * us(840) ansi-X9-62(10045) signatures(4) ecdsa-with-SHA2(3) 2 }
233
+ */
234
+ #define DER_OID_V_ecdsa_with_SHA256 DER_P_OBJECT, 8, 0x2A, 0x86, 0x48, 0xCE, 0x3D, 0x04, 0x03, 0x02
235
+ #define DER_OID_SZ_ecdsa_with_SHA256 10
236
+ extern const unsigned char ossl_der_oid_ecdsa_with_SHA256[DER_OID_SZ_ecdsa_with_SHA256];
237
+
238
+ /*
239
+ * ecdsa-with-SHA384 OBJECT IDENTIFIER ::= { iso(1) member-body(2)
240
+ * us(840) ansi-X9-62(10045) signatures(4) ecdsa-with-SHA2(3) 3 }
241
+ */
242
+ #define DER_OID_V_ecdsa_with_SHA384 DER_P_OBJECT, 8, 0x2A, 0x86, 0x48, 0xCE, 0x3D, 0x04, 0x03, 0x03
243
+ #define DER_OID_SZ_ecdsa_with_SHA384 10
244
+ extern const unsigned char ossl_der_oid_ecdsa_with_SHA384[DER_OID_SZ_ecdsa_with_SHA384];
245
+
246
+ /*
247
+ * ecdsa-with-SHA512 OBJECT IDENTIFIER ::= { iso(1) member-body(2)
248
+ * us(840) ansi-X9-62(10045) signatures(4) ecdsa-with-SHA2(3) 4 }
249
+ */
250
+ #define DER_OID_V_ecdsa_with_SHA512 DER_P_OBJECT, 8, 0x2A, 0x86, 0x48, 0xCE, 0x3D, 0x04, 0x03, 0x04
251
+ #define DER_OID_SZ_ecdsa_with_SHA512 10
252
+ extern const unsigned char ossl_der_oid_ecdsa_with_SHA512[DER_OID_SZ_ecdsa_with_SHA512];
253
+
254
+ /*
255
+ * id-ecdsa-with-sha3-224 OBJECT IDENTIFIER ::= { sigAlgs 9 }
256
+ */
257
+ #define DER_OID_V_id_ecdsa_with_sha3_224 DER_P_OBJECT, 9, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x03, 0x09
258
+ #define DER_OID_SZ_id_ecdsa_with_sha3_224 11
259
+ extern const unsigned char ossl_der_oid_id_ecdsa_with_sha3_224[DER_OID_SZ_id_ecdsa_with_sha3_224];
260
+
261
+ /*
262
+ * id-ecdsa-with-sha3-256 OBJECT IDENTIFIER ::= { sigAlgs 10 }
263
+ */
264
+ #define DER_OID_V_id_ecdsa_with_sha3_256 DER_P_OBJECT, 9, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x03, 0x0A
265
+ #define DER_OID_SZ_id_ecdsa_with_sha3_256 11
266
+ extern const unsigned char ossl_der_oid_id_ecdsa_with_sha3_256[DER_OID_SZ_id_ecdsa_with_sha3_256];
267
+
268
+ /*
269
+ * id-ecdsa-with-sha3-384 OBJECT IDENTIFIER ::= { sigAlgs 11 }
270
+ */
271
+ #define DER_OID_V_id_ecdsa_with_sha3_384 DER_P_OBJECT, 9, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x03, 0x0B
272
+ #define DER_OID_SZ_id_ecdsa_with_sha3_384 11
273
+ extern const unsigned char ossl_der_oid_id_ecdsa_with_sha3_384[DER_OID_SZ_id_ecdsa_with_sha3_384];
274
+
275
+ /*
276
+ * id-ecdsa-with-sha3-512 OBJECT IDENTIFIER ::= { sigAlgs 12 }
277
+ */
278
+ #define DER_OID_V_id_ecdsa_with_sha3_512 DER_P_OBJECT, 9, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x03, 0x0C
279
+ #define DER_OID_SZ_id_ecdsa_with_sha3_512 11
280
+ extern const unsigned char ossl_der_oid_id_ecdsa_with_sha3_512[DER_OID_SZ_id_ecdsa_with_sha3_512];
281
+
282
+ /* clang-format on */
283
+
284
+ /* Subject Public Key Info */
285
+ int ossl_DER_w_algorithmIdentifier_EC(WPACKET *pkt, int cont, EC_KEY *ec);
286
+ /* Signature */
287
+ int ossl_DER_w_algorithmIdentifier_ECDSA_with_MD(WPACKET *pkt, int cont,
288
+ EC_KEY *ec, int mdnid);