node-linux-s390x 20.2.0 → 20.3.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.
- package/CHANGELOG.md +164 -1
- package/LICENSE +0 -11
- package/README.md +14 -10
- package/bin/node +0 -0
- package/include/node/config.gypi +1 -1
- package/include/node/js_native_api.h +6 -6
- package/include/node/js_native_api_types.h +2 -1
- package/include/node/node_api.h +2 -2
- package/include/node/node_version.h +2 -2
- package/include/node/openssl/archs/linux64-loongarch64/no-asm/crypto/buildinf.h +29 -0
- package/include/node/openssl/archs/linux64-loongarch64/no-asm/include/crypto/bn_conf.h +29 -0
- package/include/node/openssl/archs/linux64-loongarch64/no-asm/include/crypto/dso_conf.h +19 -0
- package/include/node/openssl/archs/linux64-loongarch64/no-asm/include/openssl/asn1.h +1128 -0
- package/include/node/openssl/archs/linux64-loongarch64/no-asm/include/openssl/asn1t.h +946 -0
- package/include/node/openssl/archs/linux64-loongarch64/no-asm/include/openssl/bio.h +887 -0
- package/include/node/openssl/archs/linux64-loongarch64/no-asm/include/openssl/cmp.h +596 -0
- package/include/node/openssl/archs/linux64-loongarch64/no-asm/include/openssl/cms.h +493 -0
- package/include/node/openssl/archs/linux64-loongarch64/no-asm/include/openssl/conf.h +211 -0
- package/include/node/openssl/archs/linux64-loongarch64/no-asm/include/openssl/configuration.h +137 -0
- package/include/node/openssl/archs/linux64-loongarch64/no-asm/include/openssl/crmf.h +227 -0
- package/include/node/openssl/archs/linux64-loongarch64/no-asm/include/openssl/crypto.h +558 -0
- package/include/node/openssl/archs/linux64-loongarch64/no-asm/include/openssl/ct.h +573 -0
- package/include/node/openssl/archs/linux64-loongarch64/no-asm/include/openssl/err.h +504 -0
- package/include/node/openssl/archs/linux64-loongarch64/no-asm/include/openssl/ess.h +128 -0
- package/include/node/openssl/archs/linux64-loongarch64/no-asm/include/openssl/fipskey.h +36 -0
- package/include/node/openssl/archs/linux64-loongarch64/no-asm/include/openssl/lhash.h +288 -0
- package/include/node/openssl/archs/linux64-loongarch64/no-asm/include/openssl/ocsp.h +483 -0
- package/include/node/openssl/archs/linux64-loongarch64/no-asm/include/openssl/opensslv.h +114 -0
- package/include/node/openssl/archs/linux64-loongarch64/no-asm/include/openssl/pkcs12.h +350 -0
- package/include/node/openssl/archs/linux64-loongarch64/no-asm/include/openssl/pkcs7.h +427 -0
- package/include/node/openssl/archs/linux64-loongarch64/no-asm/include/openssl/safestack.h +297 -0
- package/include/node/openssl/archs/linux64-loongarch64/no-asm/include/openssl/srp.h +285 -0
- package/include/node/openssl/archs/linux64-loongarch64/no-asm/include/openssl/ssl.h +2668 -0
- package/include/node/openssl/archs/linux64-loongarch64/no-asm/include/openssl/ui.h +407 -0
- package/include/node/openssl/archs/linux64-loongarch64/no-asm/include/openssl/x509.h +1276 -0
- package/include/node/openssl/archs/linux64-loongarch64/no-asm/include/openssl/x509_vfy.h +894 -0
- package/include/node/openssl/archs/linux64-loongarch64/no-asm/include/openssl/x509v3.h +1450 -0
- package/include/node/openssl/archs/linux64-loongarch64/no-asm/include/progs.h +123 -0
- package/include/node/openssl/archs/linux64-loongarch64/no-asm/providers/common/include/prov/der_digests.h +160 -0
- package/include/node/openssl/archs/linux64-loongarch64/no-asm/providers/common/include/prov/der_dsa.h +94 -0
- package/include/node/openssl/archs/linux64-loongarch64/no-asm/providers/common/include/prov/der_ec.h +286 -0
- package/include/node/openssl/archs/linux64-loongarch64/no-asm/providers/common/include/prov/der_ecx.h +50 -0
- package/include/node/openssl/archs/linux64-loongarch64/no-asm/providers/common/include/prov/der_rsa.h +187 -0
- package/include/node/openssl/archs/linux64-loongarch64/no-asm/providers/common/include/prov/der_sm2.h +37 -0
- package/include/node/openssl/archs/linux64-loongarch64/no-asm/providers/common/include/prov/der_wrap.h +46 -0
- package/include/node/uv/errno.h +12 -1
- package/include/node/uv/unix.h +0 -1
- package/include/node/uv/version.h +2 -2
- package/include/node/uv/win.h +18 -15
- package/include/node/uv.h +57 -16
- package/include/node/zconf.h +5 -1
- package/include/node/zlib.h +4 -4
- package/package.json +1 -1
- package/include/node/uv/stdint-msvc2008.h +0 -247
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* WARNING: do not edit!
|
|
3
|
+
* Generated by Makefile from providers/common/include/prov/der_ecx.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
|
+
#include "crypto/ecx.h"
|
|
15
|
+
|
|
16
|
+
/* Well known OIDs precompiled */
|
|
17
|
+
|
|
18
|
+
/*
|
|
19
|
+
* id-X25519 OBJECT IDENTIFIER ::= { id-edwards-curve-algs 110 }
|
|
20
|
+
*/
|
|
21
|
+
#define DER_OID_V_id_X25519 DER_P_OBJECT, 3, 0x2B, 0x65, 0x6E
|
|
22
|
+
#define DER_OID_SZ_id_X25519 5
|
|
23
|
+
extern const unsigned char ossl_der_oid_id_X25519[DER_OID_SZ_id_X25519];
|
|
24
|
+
|
|
25
|
+
/*
|
|
26
|
+
* id-X448 OBJECT IDENTIFIER ::= { id-edwards-curve-algs 111 }
|
|
27
|
+
*/
|
|
28
|
+
#define DER_OID_V_id_X448 DER_P_OBJECT, 3, 0x2B, 0x65, 0x6F
|
|
29
|
+
#define DER_OID_SZ_id_X448 5
|
|
30
|
+
extern const unsigned char ossl_der_oid_id_X448[DER_OID_SZ_id_X448];
|
|
31
|
+
|
|
32
|
+
/*
|
|
33
|
+
* id-Ed25519 OBJECT IDENTIFIER ::= { id-edwards-curve-algs 112 }
|
|
34
|
+
*/
|
|
35
|
+
#define DER_OID_V_id_Ed25519 DER_P_OBJECT, 3, 0x2B, 0x65, 0x70
|
|
36
|
+
#define DER_OID_SZ_id_Ed25519 5
|
|
37
|
+
extern const unsigned char ossl_der_oid_id_Ed25519[DER_OID_SZ_id_Ed25519];
|
|
38
|
+
|
|
39
|
+
/*
|
|
40
|
+
* id-Ed448 OBJECT IDENTIFIER ::= { id-edwards-curve-algs 113 }
|
|
41
|
+
*/
|
|
42
|
+
#define DER_OID_V_id_Ed448 DER_P_OBJECT, 3, 0x2B, 0x65, 0x71
|
|
43
|
+
#define DER_OID_SZ_id_Ed448 5
|
|
44
|
+
extern const unsigned char ossl_der_oid_id_Ed448[DER_OID_SZ_id_Ed448];
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
int ossl_DER_w_algorithmIdentifier_ED25519(WPACKET *pkt, int cont, ECX_KEY *ec);
|
|
48
|
+
int ossl_DER_w_algorithmIdentifier_ED448(WPACKET *pkt, int cont, ECX_KEY *ec);
|
|
49
|
+
int ossl_DER_w_algorithmIdentifier_X25519(WPACKET *pkt, int cont, ECX_KEY *ec);
|
|
50
|
+
int ossl_DER_w_algorithmIdentifier_X448(WPACKET *pkt, int cont, ECX_KEY *ec);
|
|
@@ -0,0 +1,187 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* WARNING: do not edit!
|
|
3
|
+
* Generated by Makefile from providers/common/include/prov/der_rsa.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/rsa.h"
|
|
14
|
+
#include "internal/der.h"
|
|
15
|
+
|
|
16
|
+
/* Well known OIDs precompiled */
|
|
17
|
+
|
|
18
|
+
/*
|
|
19
|
+
* hashAlgs OBJECT IDENTIFIER ::= { nistAlgorithms 2 }
|
|
20
|
+
*/
|
|
21
|
+
#define DER_OID_V_hashAlgs DER_P_OBJECT, 8, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x02
|
|
22
|
+
#define DER_OID_SZ_hashAlgs 10
|
|
23
|
+
extern const unsigned char ossl_der_oid_hashAlgs[DER_OID_SZ_hashAlgs];
|
|
24
|
+
|
|
25
|
+
/*
|
|
26
|
+
* rsaEncryption OBJECT IDENTIFIER ::= { pkcs-1 1 }
|
|
27
|
+
*/
|
|
28
|
+
#define DER_OID_V_rsaEncryption DER_P_OBJECT, 9, 0x2A, 0x86, 0x48, 0x86, 0xF7, 0x0D, 0x01, 0x01, 0x01
|
|
29
|
+
#define DER_OID_SZ_rsaEncryption 11
|
|
30
|
+
extern const unsigned char ossl_der_oid_rsaEncryption[DER_OID_SZ_rsaEncryption];
|
|
31
|
+
|
|
32
|
+
/*
|
|
33
|
+
* id-RSAES-OAEP OBJECT IDENTIFIER ::= { pkcs-1 7 }
|
|
34
|
+
*/
|
|
35
|
+
#define DER_OID_V_id_RSAES_OAEP DER_P_OBJECT, 9, 0x2A, 0x86, 0x48, 0x86, 0xF7, 0x0D, 0x01, 0x01, 0x07
|
|
36
|
+
#define DER_OID_SZ_id_RSAES_OAEP 11
|
|
37
|
+
extern const unsigned char ossl_der_oid_id_RSAES_OAEP[DER_OID_SZ_id_RSAES_OAEP];
|
|
38
|
+
|
|
39
|
+
/*
|
|
40
|
+
* id-pSpecified OBJECT IDENTIFIER ::= { pkcs-1 9 }
|
|
41
|
+
*/
|
|
42
|
+
#define DER_OID_V_id_pSpecified DER_P_OBJECT, 9, 0x2A, 0x86, 0x48, 0x86, 0xF7, 0x0D, 0x01, 0x01, 0x09
|
|
43
|
+
#define DER_OID_SZ_id_pSpecified 11
|
|
44
|
+
extern const unsigned char ossl_der_oid_id_pSpecified[DER_OID_SZ_id_pSpecified];
|
|
45
|
+
|
|
46
|
+
/*
|
|
47
|
+
* id-RSASSA-PSS OBJECT IDENTIFIER ::= { pkcs-1 10 }
|
|
48
|
+
*/
|
|
49
|
+
#define DER_OID_V_id_RSASSA_PSS DER_P_OBJECT, 9, 0x2A, 0x86, 0x48, 0x86, 0xF7, 0x0D, 0x01, 0x01, 0x0A
|
|
50
|
+
#define DER_OID_SZ_id_RSASSA_PSS 11
|
|
51
|
+
extern const unsigned char ossl_der_oid_id_RSASSA_PSS[DER_OID_SZ_id_RSASSA_PSS];
|
|
52
|
+
|
|
53
|
+
/*
|
|
54
|
+
* md2WithRSAEncryption OBJECT IDENTIFIER ::= { pkcs-1 2 }
|
|
55
|
+
*/
|
|
56
|
+
#define DER_OID_V_md2WithRSAEncryption DER_P_OBJECT, 9, 0x2A, 0x86, 0x48, 0x86, 0xF7, 0x0D, 0x01, 0x01, 0x02
|
|
57
|
+
#define DER_OID_SZ_md2WithRSAEncryption 11
|
|
58
|
+
extern const unsigned char ossl_der_oid_md2WithRSAEncryption[DER_OID_SZ_md2WithRSAEncryption];
|
|
59
|
+
|
|
60
|
+
/*
|
|
61
|
+
* md5WithRSAEncryption OBJECT IDENTIFIER ::= { pkcs-1 4 }
|
|
62
|
+
*/
|
|
63
|
+
#define DER_OID_V_md5WithRSAEncryption DER_P_OBJECT, 9, 0x2A, 0x86, 0x48, 0x86, 0xF7, 0x0D, 0x01, 0x01, 0x04
|
|
64
|
+
#define DER_OID_SZ_md5WithRSAEncryption 11
|
|
65
|
+
extern const unsigned char ossl_der_oid_md5WithRSAEncryption[DER_OID_SZ_md5WithRSAEncryption];
|
|
66
|
+
|
|
67
|
+
/*
|
|
68
|
+
* sha1WithRSAEncryption OBJECT IDENTIFIER ::= { pkcs-1 5 }
|
|
69
|
+
*/
|
|
70
|
+
#define DER_OID_V_sha1WithRSAEncryption DER_P_OBJECT, 9, 0x2A, 0x86, 0x48, 0x86, 0xF7, 0x0D, 0x01, 0x01, 0x05
|
|
71
|
+
#define DER_OID_SZ_sha1WithRSAEncryption 11
|
|
72
|
+
extern const unsigned char ossl_der_oid_sha1WithRSAEncryption[DER_OID_SZ_sha1WithRSAEncryption];
|
|
73
|
+
|
|
74
|
+
/*
|
|
75
|
+
* sha224WithRSAEncryption OBJECT IDENTIFIER ::= { pkcs-1 14 }
|
|
76
|
+
*/
|
|
77
|
+
#define DER_OID_V_sha224WithRSAEncryption DER_P_OBJECT, 9, 0x2A, 0x86, 0x48, 0x86, 0xF7, 0x0D, 0x01, 0x01, 0x0E
|
|
78
|
+
#define DER_OID_SZ_sha224WithRSAEncryption 11
|
|
79
|
+
extern const unsigned char ossl_der_oid_sha224WithRSAEncryption[DER_OID_SZ_sha224WithRSAEncryption];
|
|
80
|
+
|
|
81
|
+
/*
|
|
82
|
+
* sha256WithRSAEncryption OBJECT IDENTIFIER ::= { pkcs-1 11 }
|
|
83
|
+
*/
|
|
84
|
+
#define DER_OID_V_sha256WithRSAEncryption DER_P_OBJECT, 9, 0x2A, 0x86, 0x48, 0x86, 0xF7, 0x0D, 0x01, 0x01, 0x0B
|
|
85
|
+
#define DER_OID_SZ_sha256WithRSAEncryption 11
|
|
86
|
+
extern const unsigned char ossl_der_oid_sha256WithRSAEncryption[DER_OID_SZ_sha256WithRSAEncryption];
|
|
87
|
+
|
|
88
|
+
/*
|
|
89
|
+
* sha384WithRSAEncryption OBJECT IDENTIFIER ::= { pkcs-1 12 }
|
|
90
|
+
*/
|
|
91
|
+
#define DER_OID_V_sha384WithRSAEncryption DER_P_OBJECT, 9, 0x2A, 0x86, 0x48, 0x86, 0xF7, 0x0D, 0x01, 0x01, 0x0C
|
|
92
|
+
#define DER_OID_SZ_sha384WithRSAEncryption 11
|
|
93
|
+
extern const unsigned char ossl_der_oid_sha384WithRSAEncryption[DER_OID_SZ_sha384WithRSAEncryption];
|
|
94
|
+
|
|
95
|
+
/*
|
|
96
|
+
* sha512WithRSAEncryption OBJECT IDENTIFIER ::= { pkcs-1 13 }
|
|
97
|
+
*/
|
|
98
|
+
#define DER_OID_V_sha512WithRSAEncryption DER_P_OBJECT, 9, 0x2A, 0x86, 0x48, 0x86, 0xF7, 0x0D, 0x01, 0x01, 0x0D
|
|
99
|
+
#define DER_OID_SZ_sha512WithRSAEncryption 11
|
|
100
|
+
extern const unsigned char ossl_der_oid_sha512WithRSAEncryption[DER_OID_SZ_sha512WithRSAEncryption];
|
|
101
|
+
|
|
102
|
+
/*
|
|
103
|
+
* sha512-224WithRSAEncryption OBJECT IDENTIFIER ::= { pkcs-1 15 }
|
|
104
|
+
*/
|
|
105
|
+
#define DER_OID_V_sha512_224WithRSAEncryption DER_P_OBJECT, 9, 0x2A, 0x86, 0x48, 0x86, 0xF7, 0x0D, 0x01, 0x01, 0x0F
|
|
106
|
+
#define DER_OID_SZ_sha512_224WithRSAEncryption 11
|
|
107
|
+
extern const unsigned char ossl_der_oid_sha512_224WithRSAEncryption[DER_OID_SZ_sha512_224WithRSAEncryption];
|
|
108
|
+
|
|
109
|
+
/*
|
|
110
|
+
* sha512-256WithRSAEncryption OBJECT IDENTIFIER ::= { pkcs-1 16 }
|
|
111
|
+
*/
|
|
112
|
+
#define DER_OID_V_sha512_256WithRSAEncryption DER_P_OBJECT, 9, 0x2A, 0x86, 0x48, 0x86, 0xF7, 0x0D, 0x01, 0x01, 0x10
|
|
113
|
+
#define DER_OID_SZ_sha512_256WithRSAEncryption 11
|
|
114
|
+
extern const unsigned char ossl_der_oid_sha512_256WithRSAEncryption[DER_OID_SZ_sha512_256WithRSAEncryption];
|
|
115
|
+
|
|
116
|
+
/*
|
|
117
|
+
* id-mgf1 OBJECT IDENTIFIER ::= { pkcs-1 8 }
|
|
118
|
+
*/
|
|
119
|
+
#define DER_OID_V_id_mgf1 DER_P_OBJECT, 9, 0x2A, 0x86, 0x48, 0x86, 0xF7, 0x0D, 0x01, 0x01, 0x08
|
|
120
|
+
#define DER_OID_SZ_id_mgf1 11
|
|
121
|
+
extern const unsigned char ossl_der_oid_id_mgf1[DER_OID_SZ_id_mgf1];
|
|
122
|
+
|
|
123
|
+
/*
|
|
124
|
+
* id-rsassa-pkcs1-v1_5-with-sha3-224 OBJECT IDENTIFIER ::= { sigAlgs 13 }
|
|
125
|
+
*/
|
|
126
|
+
#define DER_OID_V_id_rsassa_pkcs1_v1_5_with_sha3_224 DER_P_OBJECT, 9, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x03, 0x0D
|
|
127
|
+
#define DER_OID_SZ_id_rsassa_pkcs1_v1_5_with_sha3_224 11
|
|
128
|
+
extern 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];
|
|
129
|
+
|
|
130
|
+
/*
|
|
131
|
+
* id-rsassa-pkcs1-v1_5-with-sha3-256 OBJECT IDENTIFIER ::= { sigAlgs 14 }
|
|
132
|
+
*/
|
|
133
|
+
#define DER_OID_V_id_rsassa_pkcs1_v1_5_with_sha3_256 DER_P_OBJECT, 9, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x03, 0x0E
|
|
134
|
+
#define DER_OID_SZ_id_rsassa_pkcs1_v1_5_with_sha3_256 11
|
|
135
|
+
extern 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];
|
|
136
|
+
|
|
137
|
+
/*
|
|
138
|
+
* id-rsassa-pkcs1-v1_5-with-sha3-384 OBJECT IDENTIFIER ::= { sigAlgs 15 }
|
|
139
|
+
*/
|
|
140
|
+
#define DER_OID_V_id_rsassa_pkcs1_v1_5_with_sha3_384 DER_P_OBJECT, 9, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x03, 0x0F
|
|
141
|
+
#define DER_OID_SZ_id_rsassa_pkcs1_v1_5_with_sha3_384 11
|
|
142
|
+
extern 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];
|
|
143
|
+
|
|
144
|
+
/*
|
|
145
|
+
* id-rsassa-pkcs1-v1_5-with-sha3-512 OBJECT IDENTIFIER ::= { sigAlgs 16 }
|
|
146
|
+
*/
|
|
147
|
+
#define DER_OID_V_id_rsassa_pkcs1_v1_5_with_sha3_512 DER_P_OBJECT, 9, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x03, 0x10
|
|
148
|
+
#define DER_OID_SZ_id_rsassa_pkcs1_v1_5_with_sha3_512 11
|
|
149
|
+
extern 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];
|
|
150
|
+
|
|
151
|
+
/*
|
|
152
|
+
* md4WithRSAEncryption OBJECT IDENTIFIER ::= { pkcs-1 3 }
|
|
153
|
+
*/
|
|
154
|
+
#define DER_OID_V_md4WithRSAEncryption DER_P_OBJECT, 9, 0x2A, 0x86, 0x48, 0x86, 0xF7, 0x0D, 0x01, 0x01, 0x03
|
|
155
|
+
#define DER_OID_SZ_md4WithRSAEncryption 11
|
|
156
|
+
extern const unsigned char ossl_der_oid_md4WithRSAEncryption[DER_OID_SZ_md4WithRSAEncryption];
|
|
157
|
+
|
|
158
|
+
/*
|
|
159
|
+
* ripemd160WithRSAEncryption OBJECT IDENTIFIER ::= {
|
|
160
|
+
* iso(1) identified-organization(3) teletrust(36) algorithm(3) signatureAlgorithm(3) rsaSignature(1) 2
|
|
161
|
+
* }
|
|
162
|
+
*/
|
|
163
|
+
#define DER_OID_V_ripemd160WithRSAEncryption DER_P_OBJECT, 6, 0x2B, 0x24, 0x03, 0x03, 0x01, 0x02
|
|
164
|
+
#define DER_OID_SZ_ripemd160WithRSAEncryption 8
|
|
165
|
+
extern const unsigned char ossl_der_oid_ripemd160WithRSAEncryption[DER_OID_SZ_ripemd160WithRSAEncryption];
|
|
166
|
+
|
|
167
|
+
/*
|
|
168
|
+
* mdc2WithRSASignature OBJECT IDENTIFIER ::= {
|
|
169
|
+
* iso(1) identified-organization(3) oiw(14) secsig(3) algorithms(2) mdc2WithRSASignature(14)
|
|
170
|
+
* }
|
|
171
|
+
*/
|
|
172
|
+
#define DER_OID_V_mdc2WithRSASignature DER_P_OBJECT, 5, 0x2B, 0x0E, 0x03, 0x02, 0x0E
|
|
173
|
+
#define DER_OID_SZ_mdc2WithRSASignature 7
|
|
174
|
+
extern const unsigned char ossl_der_oid_mdc2WithRSASignature[DER_OID_SZ_mdc2WithRSASignature];
|
|
175
|
+
|
|
176
|
+
|
|
177
|
+
/* PSS parameters */
|
|
178
|
+
int ossl_DER_w_RSASSA_PSS_params(WPACKET *pkt, int tag,
|
|
179
|
+
const RSA_PSS_PARAMS_30 *pss);
|
|
180
|
+
/* Subject Public Key Info */
|
|
181
|
+
int ossl_DER_w_algorithmIdentifier_RSA(WPACKET *pkt, int tag, RSA *rsa);
|
|
182
|
+
int ossl_DER_w_algorithmIdentifier_RSA_PSS(WPACKET *pkt, int tag,
|
|
183
|
+
int rsa_type,
|
|
184
|
+
const RSA_PSS_PARAMS_30 *pss);
|
|
185
|
+
/* Signature */
|
|
186
|
+
int ossl_DER_w_algorithmIdentifier_MDWithRSAEncryption(WPACKET *pkt, int tag,
|
|
187
|
+
int mdnid);
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* WARNING: do not edit!
|
|
3
|
+
* Generated by Makefile from providers/common/include/prov/der_sm2.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
|
+
|
|
18
|
+
/*
|
|
19
|
+
* sm2-with-SM3 OBJECT IDENTIFIER ::= { sm-scheme 501 }
|
|
20
|
+
*/
|
|
21
|
+
#define DER_OID_V_sm2_with_SM3 DER_P_OBJECT, 8, 0x2A, 0x81, 0x1C, 0xCF, 0x55, 0x01, 0x83, 0x75
|
|
22
|
+
#define DER_OID_SZ_sm2_with_SM3 10
|
|
23
|
+
extern const unsigned char ossl_der_oid_sm2_with_SM3[DER_OID_SZ_sm2_with_SM3];
|
|
24
|
+
|
|
25
|
+
/*
|
|
26
|
+
* curveSM2 OBJECT IDENTIFIER ::= { sm-scheme 301 }
|
|
27
|
+
*/
|
|
28
|
+
#define DER_OID_V_curveSM2 DER_P_OBJECT, 8, 0x2A, 0x81, 0x1C, 0xCF, 0x55, 0x01, 0x82, 0x2D
|
|
29
|
+
#define DER_OID_SZ_curveSM2 10
|
|
30
|
+
extern const unsigned char ossl_der_oid_curveSM2[DER_OID_SZ_curveSM2];
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
/* Subject Public Key Info */
|
|
34
|
+
int ossl_DER_w_algorithmIdentifier_SM2(WPACKET *pkt, int cont, EC_KEY *ec);
|
|
35
|
+
/* Signature */
|
|
36
|
+
int ossl_DER_w_algorithmIdentifier_SM2_with_MD(WPACKET *pkt, int cont,
|
|
37
|
+
EC_KEY *ec, int mdnid);
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* WARNING: do not edit!
|
|
3
|
+
* Generated by Makefile from providers/common/include/prov/der_wrap.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
|
+
|
|
17
|
+
/*
|
|
18
|
+
* id-alg-CMS3DESwrap OBJECT IDENTIFIER ::= {
|
|
19
|
+
* iso(1) member-body(2) us(840) rsadsi(113549) pkcs(1) pkcs-9(9) smime(16) alg(3) 6
|
|
20
|
+
* }
|
|
21
|
+
*/
|
|
22
|
+
#define DER_OID_V_id_alg_CMS3DESwrap DER_P_OBJECT, 11, 0x2A, 0x86, 0x48, 0x86, 0xF7, 0x0D, 0x01, 0x09, 0x10, 0x03, 0x06
|
|
23
|
+
#define DER_OID_SZ_id_alg_CMS3DESwrap 13
|
|
24
|
+
extern const unsigned char ossl_der_oid_id_alg_CMS3DESwrap[DER_OID_SZ_id_alg_CMS3DESwrap];
|
|
25
|
+
|
|
26
|
+
/*
|
|
27
|
+
* id-aes128-wrap OBJECT IDENTIFIER ::= { aes 5 }
|
|
28
|
+
*/
|
|
29
|
+
#define DER_OID_V_id_aes128_wrap DER_P_OBJECT, 9, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x01, 0x05
|
|
30
|
+
#define DER_OID_SZ_id_aes128_wrap 11
|
|
31
|
+
extern const unsigned char ossl_der_oid_id_aes128_wrap[DER_OID_SZ_id_aes128_wrap];
|
|
32
|
+
|
|
33
|
+
/*
|
|
34
|
+
* id-aes192-wrap OBJECT IDENTIFIER ::= { aes 25 }
|
|
35
|
+
*/
|
|
36
|
+
#define DER_OID_V_id_aes192_wrap DER_P_OBJECT, 9, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x01, 0x19
|
|
37
|
+
#define DER_OID_SZ_id_aes192_wrap 11
|
|
38
|
+
extern const unsigned char ossl_der_oid_id_aes192_wrap[DER_OID_SZ_id_aes192_wrap];
|
|
39
|
+
|
|
40
|
+
/*
|
|
41
|
+
* id-aes256-wrap OBJECT IDENTIFIER ::= { aes 45 }
|
|
42
|
+
*/
|
|
43
|
+
#define DER_OID_V_id_aes256_wrap DER_P_OBJECT, 9, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x01, 0x2D
|
|
44
|
+
#define DER_OID_SZ_id_aes256_wrap 11
|
|
45
|
+
extern const unsigned char ossl_der_oid_id_aes256_wrap[DER_OID_SZ_id_aes256_wrap];
|
|
46
|
+
|
package/include/node/uv/errno.h
CHANGED
|
@@ -413,7 +413,6 @@
|
|
|
413
413
|
#elif defined(__APPLE__) || \
|
|
414
414
|
defined(__DragonFly__) || \
|
|
415
415
|
defined(__FreeBSD__) || \
|
|
416
|
-
defined(__FreeBSD_kernel__) || \
|
|
417
416
|
defined(__NetBSD__) || \
|
|
418
417
|
defined(__OpenBSD__)
|
|
419
418
|
# define UV__EHOSTDOWN (-64)
|
|
@@ -457,4 +456,16 @@
|
|
|
457
456
|
# define UV__ESOCKTNOSUPPORT (-4025)
|
|
458
457
|
#endif
|
|
459
458
|
|
|
459
|
+
/* FreeBSD defines ENODATA in /usr/include/c++/v1/errno.h which is only visible
|
|
460
|
+
* if C++ is being used. Define it directly to avoid problems when integrating
|
|
461
|
+
* libuv in a C++ project.
|
|
462
|
+
*/
|
|
463
|
+
#if defined(ENODATA) && !defined(_WIN32)
|
|
464
|
+
# define UV__ENODATA UV__ERR(ENODATA)
|
|
465
|
+
#elif defined(__FreeBSD__)
|
|
466
|
+
# define UV__ENODATA (-9919)
|
|
467
|
+
#else
|
|
468
|
+
# define UV__ENODATA (-4024)
|
|
469
|
+
#endif
|
|
470
|
+
|
|
460
471
|
#endif /* UV_ERRNO_H_ */
|
package/include/node/uv/unix.h
CHANGED
package/include/node/uv/win.h
CHANGED
|
@@ -59,12 +59,7 @@ typedef struct pollfd {
|
|
|
59
59
|
#include <signal.h>
|
|
60
60
|
#include <fcntl.h>
|
|
61
61
|
#include <sys/stat.h>
|
|
62
|
-
|
|
63
|
-
#if defined(_MSC_VER) && _MSC_VER < 1600
|
|
64
|
-
# include "uv/stdint-msvc2008.h"
|
|
65
|
-
#else
|
|
66
|
-
# include <stdint.h>
|
|
67
|
-
#endif
|
|
62
|
+
#include <stdint.h>
|
|
68
63
|
|
|
69
64
|
#include "uv/tree.h"
|
|
70
65
|
#include "uv/threadpool.h"
|
|
@@ -75,6 +70,11 @@ typedef struct pollfd {
|
|
|
75
70
|
# define S_IFLNK 0xA000
|
|
76
71
|
#endif
|
|
77
72
|
|
|
73
|
+
// Define missing in Windows Kit Include\{VERSION}\ucrt\sys\stat.h
|
|
74
|
+
#if defined(_CRT_INTERNAL_NONSTDC_NAMES) && _CRT_INTERNAL_NONSTDC_NAMES && !defined(S_IFIFO)
|
|
75
|
+
# define S_IFIFO _S_IFIFO
|
|
76
|
+
#endif
|
|
77
|
+
|
|
78
78
|
/* Additional signals supported by uv_signal and or uv_kill. The CRT defines
|
|
79
79
|
* the following signals already:
|
|
80
80
|
*
|
|
@@ -91,6 +91,7 @@ typedef struct pollfd {
|
|
|
91
91
|
* variants (Linux and Darwin)
|
|
92
92
|
*/
|
|
93
93
|
#define SIGHUP 1
|
|
94
|
+
#define SIGQUIT 3
|
|
94
95
|
#define SIGKILL 9
|
|
95
96
|
#define SIGWINCH 28
|
|
96
97
|
|
|
@@ -223,7 +224,7 @@ typedef struct _AFD_POLL_INFO {
|
|
|
223
224
|
AFD_POLL_HANDLE_INFO Handles[1];
|
|
224
225
|
} AFD_POLL_INFO, *PAFD_POLL_INFO;
|
|
225
226
|
|
|
226
|
-
#define UV_MSAFD_PROVIDER_COUNT
|
|
227
|
+
#define UV_MSAFD_PROVIDER_COUNT 4
|
|
227
228
|
|
|
228
229
|
|
|
229
230
|
/**
|
|
@@ -274,11 +275,12 @@ typedef struct {
|
|
|
274
275
|
} uv_rwlock_t;
|
|
275
276
|
|
|
276
277
|
typedef struct {
|
|
277
|
-
unsigned
|
|
278
|
-
unsigned
|
|
278
|
+
unsigned threshold;
|
|
279
|
+
unsigned in;
|
|
279
280
|
uv_mutex_t mutex;
|
|
280
|
-
|
|
281
|
-
|
|
281
|
+
/* TODO: in v2 make this a uv_cond_t, without unused_ */
|
|
282
|
+
CONDITION_VARIABLE cond;
|
|
283
|
+
unsigned out;
|
|
282
284
|
} uv_barrier_t;
|
|
283
285
|
|
|
284
286
|
typedef struct {
|
|
@@ -348,9 +350,9 @@ typedef struct {
|
|
|
348
350
|
uv_idle_t* next_idle_handle; \
|
|
349
351
|
/* This handle holds the peer sockets for the fast variant of uv_poll_t */ \
|
|
350
352
|
SOCKET poll_peer_sockets[UV_MSAFD_PROVIDER_COUNT]; \
|
|
351
|
-
/*
|
|
353
|
+
/* No longer used. */ \
|
|
352
354
|
unsigned int active_tcp_streams; \
|
|
353
|
-
/*
|
|
355
|
+
/* No longer used. */ \
|
|
354
356
|
unsigned int active_udp_streams; \
|
|
355
357
|
/* Counter to started timer */ \
|
|
356
358
|
uint64_t timer_counter; \
|
|
@@ -382,6 +384,7 @@ typedef struct {
|
|
|
382
384
|
ULONG_PTR result; /* overlapped.Internal is reused to hold the result */\
|
|
383
385
|
HANDLE pipeHandle; \
|
|
384
386
|
DWORD duplex_flags; \
|
|
387
|
+
WCHAR* name; \
|
|
385
388
|
} connect; \
|
|
386
389
|
} u; \
|
|
387
390
|
struct uv_req_s* next_req;
|
|
@@ -497,7 +500,7 @@ typedef struct {
|
|
|
497
500
|
struct { uv_pipe_connection_fields } conn; \
|
|
498
501
|
} pipe;
|
|
499
502
|
|
|
500
|
-
/* TODO: put the parser states in
|
|
503
|
+
/* TODO: put the parser states in a union - TTY handles are always half-duplex
|
|
501
504
|
* so read-state can safely overlap write-state. */
|
|
502
505
|
#define UV_TTY_PRIVATE_FIELDS \
|
|
503
506
|
HANDLE handle; \
|
|
@@ -605,7 +608,7 @@ typedef struct {
|
|
|
605
608
|
struct uv_process_exit_s { \
|
|
606
609
|
UV_REQ_FIELDS \
|
|
607
610
|
} exit_req; \
|
|
608
|
-
|
|
611
|
+
void* unused; /* TODO: retained for ABI compat; remove this in v2.x. */ \
|
|
609
612
|
int exit_signal; \
|
|
610
613
|
HANDLE wait_handle; \
|
|
611
614
|
HANDLE process_handle; \
|
package/include/node/uv.h
CHANGED
|
@@ -31,6 +31,7 @@ extern "C" {
|
|
|
31
31
|
#error "Define either BUILDING_UV_SHARED or USING_UV_SHARED, not both."
|
|
32
32
|
#endif
|
|
33
33
|
|
|
34
|
+
#ifndef UV_EXTERN
|
|
34
35
|
#ifdef _WIN32
|
|
35
36
|
/* Windows - set up dll import/export decorators. */
|
|
36
37
|
# if defined(BUILDING_UV_SHARED)
|
|
@@ -50,17 +51,13 @@ extern "C" {
|
|
|
50
51
|
#else
|
|
51
52
|
# define UV_EXTERN /* nothing */
|
|
52
53
|
#endif
|
|
54
|
+
#endif /* UV_EXTERN */
|
|
53
55
|
|
|
54
56
|
#include "uv/errno.h"
|
|
55
57
|
#include "uv/version.h"
|
|
56
58
|
#include <stddef.h>
|
|
57
59
|
#include <stdio.h>
|
|
58
|
-
|
|
59
|
-
#if defined(_MSC_VER) && _MSC_VER < 1600
|
|
60
|
-
# include "uv/stdint-msvc2008.h"
|
|
61
|
-
#else
|
|
62
|
-
# include <stdint.h>
|
|
63
|
-
#endif
|
|
60
|
+
#include <stdint.h>
|
|
64
61
|
|
|
65
62
|
#if defined(_WIN32)
|
|
66
63
|
# include "uv/win.h"
|
|
@@ -152,6 +149,7 @@ extern "C" {
|
|
|
152
149
|
XX(EFTYPE, "inappropriate file type or format") \
|
|
153
150
|
XX(EILSEQ, "illegal byte sequence") \
|
|
154
151
|
XX(ESOCKTNOSUPPORT, "socket type not supported") \
|
|
152
|
+
XX(ENODATA, "no data available") \
|
|
155
153
|
|
|
156
154
|
#define UV_HANDLE_TYPE_MAP(XX) \
|
|
157
155
|
XX(ASYNC, async) \
|
|
@@ -247,9 +245,12 @@ typedef struct uv_cpu_info_s uv_cpu_info_t;
|
|
|
247
245
|
typedef struct uv_interface_address_s uv_interface_address_t;
|
|
248
246
|
typedef struct uv_dirent_s uv_dirent_t;
|
|
249
247
|
typedef struct uv_passwd_s uv_passwd_t;
|
|
248
|
+
typedef struct uv_group_s uv_group_t;
|
|
250
249
|
typedef struct uv_utsname_s uv_utsname_t;
|
|
251
250
|
typedef struct uv_statfs_s uv_statfs_t;
|
|
252
251
|
|
|
252
|
+
typedef struct uv_metrics_s uv_metrics_t;
|
|
253
|
+
|
|
253
254
|
typedef enum {
|
|
254
255
|
UV_LOOP_BLOCK_SIGNAL = 0,
|
|
255
256
|
UV_METRICS_IDLE_TIME
|
|
@@ -344,11 +345,32 @@ typedef void (*uv_random_cb)(uv_random_t* req,
|
|
|
344
345
|
void* buf,
|
|
345
346
|
size_t buflen);
|
|
346
347
|
|
|
348
|
+
typedef enum {
|
|
349
|
+
UV_CLOCK_MONOTONIC,
|
|
350
|
+
UV_CLOCK_REALTIME
|
|
351
|
+
} uv_clock_id;
|
|
352
|
+
|
|
353
|
+
/* XXX(bnoordhuis) not 2038-proof, https://github.com/libuv/libuv/issues/3864 */
|
|
347
354
|
typedef struct {
|
|
348
355
|
long tv_sec;
|
|
349
356
|
long tv_nsec;
|
|
350
357
|
} uv_timespec_t;
|
|
351
358
|
|
|
359
|
+
typedef struct {
|
|
360
|
+
int64_t tv_sec;
|
|
361
|
+
int32_t tv_nsec;
|
|
362
|
+
} uv_timespec64_t;
|
|
363
|
+
|
|
364
|
+
/* XXX(bnoordhuis) not 2038-proof, https://github.com/libuv/libuv/issues/3864 */
|
|
365
|
+
typedef struct {
|
|
366
|
+
long tv_sec;
|
|
367
|
+
long tv_usec;
|
|
368
|
+
} uv_timeval_t;
|
|
369
|
+
|
|
370
|
+
typedef struct {
|
|
371
|
+
int64_t tv_sec;
|
|
372
|
+
int32_t tv_usec;
|
|
373
|
+
} uv_timeval64_t;
|
|
352
374
|
|
|
353
375
|
typedef struct {
|
|
354
376
|
uint64_t st_dev;
|
|
@@ -1139,6 +1161,12 @@ struct uv_passwd_s {
|
|
|
1139
1161
|
char* homedir;
|
|
1140
1162
|
};
|
|
1141
1163
|
|
|
1164
|
+
struct uv_group_s {
|
|
1165
|
+
char* groupname;
|
|
1166
|
+
unsigned long gid;
|
|
1167
|
+
char** members;
|
|
1168
|
+
};
|
|
1169
|
+
|
|
1142
1170
|
struct uv_utsname_s {
|
|
1143
1171
|
char sysname[256];
|
|
1144
1172
|
char release[256];
|
|
@@ -1184,16 +1212,6 @@ UV_EXTERN int uv_uptime(double* uptime);
|
|
|
1184
1212
|
UV_EXTERN uv_os_fd_t uv_get_osfhandle(int fd);
|
|
1185
1213
|
UV_EXTERN int uv_open_osfhandle(uv_os_fd_t os_fd);
|
|
1186
1214
|
|
|
1187
|
-
typedef struct {
|
|
1188
|
-
long tv_sec;
|
|
1189
|
-
long tv_usec;
|
|
1190
|
-
} uv_timeval_t;
|
|
1191
|
-
|
|
1192
|
-
typedef struct {
|
|
1193
|
-
int64_t tv_sec;
|
|
1194
|
-
int32_t tv_usec;
|
|
1195
|
-
} uv_timeval64_t;
|
|
1196
|
-
|
|
1197
1215
|
typedef struct {
|
|
1198
1216
|
uv_timeval_t ru_utime; /* user CPU time used */
|
|
1199
1217
|
uv_timeval_t ru_stime; /* system CPU time used */
|
|
@@ -1219,6 +1237,9 @@ UV_EXTERN int uv_os_homedir(char* buffer, size_t* size);
|
|
|
1219
1237
|
UV_EXTERN int uv_os_tmpdir(char* buffer, size_t* size);
|
|
1220
1238
|
UV_EXTERN int uv_os_get_passwd(uv_passwd_t* pwd);
|
|
1221
1239
|
UV_EXTERN void uv_os_free_passwd(uv_passwd_t* pwd);
|
|
1240
|
+
UV_EXTERN int uv_os_get_passwd2(uv_passwd_t* pwd, uv_uid_t uid);
|
|
1241
|
+
UV_EXTERN int uv_os_get_group(uv_group_t* grp, uv_uid_t gid);
|
|
1242
|
+
UV_EXTERN void uv_os_free_group(uv_group_t* grp);
|
|
1222
1243
|
UV_EXTERN uv_pid_t uv_os_getpid(void);
|
|
1223
1244
|
UV_EXTERN uv_pid_t uv_os_getppid(void);
|
|
1224
1245
|
|
|
@@ -1245,6 +1266,7 @@ UV_EXTERN int uv_os_setpriority(uv_pid_t pid, int priority);
|
|
|
1245
1266
|
UV_EXTERN unsigned int uv_available_parallelism(void);
|
|
1246
1267
|
UV_EXTERN int uv_cpu_info(uv_cpu_info_t** cpu_infos, int* count);
|
|
1247
1268
|
UV_EXTERN void uv_free_cpu_info(uv_cpu_info_t* cpu_infos, int count);
|
|
1269
|
+
UV_EXTERN int uv_cpumask_size(void);
|
|
1248
1270
|
|
|
1249
1271
|
UV_EXTERN int uv_interface_addresses(uv_interface_address_t** addresses,
|
|
1250
1272
|
int* count);
|
|
@@ -1277,6 +1299,15 @@ UV_EXTERN int uv_os_gethostname(char* buffer, size_t* size);
|
|
|
1277
1299
|
|
|
1278
1300
|
UV_EXTERN int uv_os_uname(uv_utsname_t* buffer);
|
|
1279
1301
|
|
|
1302
|
+
struct uv_metrics_s {
|
|
1303
|
+
uint64_t loop_count;
|
|
1304
|
+
uint64_t events;
|
|
1305
|
+
uint64_t events_waiting;
|
|
1306
|
+
/* private */
|
|
1307
|
+
uint64_t* reserved[13];
|
|
1308
|
+
};
|
|
1309
|
+
|
|
1310
|
+
UV_EXTERN int uv_metrics_info(uv_loop_t* loop, uv_metrics_t* metrics);
|
|
1280
1311
|
UV_EXTERN uint64_t uv_metrics_idle_time(uv_loop_t* loop);
|
|
1281
1312
|
|
|
1282
1313
|
typedef enum {
|
|
@@ -1710,7 +1741,9 @@ UV_EXTERN int uv_chdir(const char* dir);
|
|
|
1710
1741
|
UV_EXTERN uint64_t uv_get_free_memory(void);
|
|
1711
1742
|
UV_EXTERN uint64_t uv_get_total_memory(void);
|
|
1712
1743
|
UV_EXTERN uint64_t uv_get_constrained_memory(void);
|
|
1744
|
+
UV_EXTERN uint64_t uv_get_available_memory(void);
|
|
1713
1745
|
|
|
1746
|
+
UV_EXTERN int uv_clock_gettime(uv_clock_id clock_id, uv_timespec64_t* ts);
|
|
1714
1747
|
UV_EXTERN uint64_t uv_hrtime(void);
|
|
1715
1748
|
UV_EXTERN void uv_sleep(unsigned int msec);
|
|
1716
1749
|
|
|
@@ -1787,6 +1820,14 @@ UV_EXTERN int uv_thread_create_ex(uv_thread_t* tid,
|
|
|
1787
1820
|
const uv_thread_options_t* params,
|
|
1788
1821
|
uv_thread_cb entry,
|
|
1789
1822
|
void* arg);
|
|
1823
|
+
UV_EXTERN int uv_thread_setaffinity(uv_thread_t* tid,
|
|
1824
|
+
char* cpumask,
|
|
1825
|
+
char* oldmask,
|
|
1826
|
+
size_t mask_size);
|
|
1827
|
+
UV_EXTERN int uv_thread_getaffinity(uv_thread_t* tid,
|
|
1828
|
+
char* cpumask,
|
|
1829
|
+
size_t mask_size);
|
|
1830
|
+
UV_EXTERN int uv_thread_getcpu(void);
|
|
1790
1831
|
UV_EXTERN uv_thread_t uv_thread_self(void);
|
|
1791
1832
|
UV_EXTERN int uv_thread_join(uv_thread_t *tid);
|
|
1792
1833
|
UV_EXTERN int uv_thread_equal(const uv_thread_t* t1, const uv_thread_t* t2);
|
package/include/node/zconf.h
CHANGED
|
@@ -253,7 +253,11 @@
|
|
|
253
253
|
#endif
|
|
254
254
|
|
|
255
255
|
#ifdef Z_SOLO
|
|
256
|
-
|
|
256
|
+
# ifdef _WIN64
|
|
257
|
+
typedef unsigned long long z_size_t;
|
|
258
|
+
# else
|
|
259
|
+
typedef unsigned long z_size_t;
|
|
260
|
+
# endif
|
|
257
261
|
#else
|
|
258
262
|
# define z_longlong long long
|
|
259
263
|
# if defined(NO_SIZE_T)
|
package/include/node/zlib.h
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* zlib.h -- interface of the 'zlib' general purpose compression library
|
|
2
|
-
version 1.2.13, October
|
|
2
|
+
version 1.2.13.1, October xxth, 2022
|
|
3
3
|
|
|
4
4
|
Copyright (C) 1995-2022 Jean-loup Gailly and Mark Adler
|
|
5
5
|
|
|
@@ -37,12 +37,12 @@
|
|
|
37
37
|
extern "C" {
|
|
38
38
|
#endif
|
|
39
39
|
|
|
40
|
-
#define ZLIB_VERSION "1.2.13"
|
|
41
|
-
#define ZLIB_VERNUM
|
|
40
|
+
#define ZLIB_VERSION "1.2.13.1-motley"
|
|
41
|
+
#define ZLIB_VERNUM 0x12d1
|
|
42
42
|
#define ZLIB_VER_MAJOR 1
|
|
43
43
|
#define ZLIB_VER_MINOR 2
|
|
44
44
|
#define ZLIB_VER_REVISION 13
|
|
45
|
-
#define ZLIB_VER_SUBREVISION
|
|
45
|
+
#define ZLIB_VER_SUBREVISION 1
|
|
46
46
|
|
|
47
47
|
/*
|
|
48
48
|
The 'zlib' compression library provides in-memory compression and
|