/
home
/
techb158
/
.nvm
/
versions
/
node
/
v16.20.2
/
include
/
node
/
openssl
/
/home/techb158/.nvm/versions/node/v16.20.2/include/node/openssl
mkdir
upload
Name
Size
Mode
Actions
archs/
-
0755
rm
aes.h
3349
0644
edit
dl
rm
asn1.h
33627
0644
edit
dl
rm
asn1err.h
14687
0644
edit
dl
rm
asn1t.h
32940
0644
edit
dl
rm
asn1t_asm.h
2742
0644
edit
dl
rm
asn1t_no-asm.h
2912
0644
edit
dl
rm
asn1_asm.h
2721
0644
edit
dl
rm
asn1_mac.h
395
0644
edit
dl
rm
asn1_no-asm.h
2890
0644
edit
dl
rm
async.h
2398
0644
edit
dl
rm
asyncerr.h
1326
0644
edit
dl
rm
bio.h
34907
0644
edit
dl
rm
bioerr.h
6400
0644
edit
dl
rm
bio_asm.h
2700
0644
edit
dl
rm
bio_no-asm.h
2868
0644
edit
dl
rm
blowfish.h
1847
0644
edit
dl
rm
bn.h
22135
0644
edit
dl
rm
bnerr.h
4969
0644
edit
dl
rm
bn_conf.h
100
0644
edit
dl
rm
bn_conf_asm.h
2949
0644
edit
dl
rm
bn_conf_no-asm.h
3128
0644
edit
dl
rm
buffer.h
1600
0644
edit
dl
rm
buffererr.h
820
0644
edit
dl
rm
camellia.h
3179
0644
edit
dl
rm
cast.h
1674
0644
edit
dl
rm
cmac.h
1064
0644
edit
dl
rm
cmp_asm.h
2700
0644
edit
dl
rm
cmp_no-asm.h
2868
0644
edit
dl
rm
cms.h
16379
0644
edit
dl
rm
cmserr.h
11223
0644
edit
dl
rm
cms_asm.h
2700
0644
edit
dl
rm
cms_no-asm.h
2868
0644
edit
dl
rm
comp.h
1328
0644
edit
dl
rm
comperr.h
1212
0644
edit
dl
rm
conf.h
5601
0644
edit
dl
rm
conferr.h
3429
0644
edit
dl
rm
configuration_asm.h
2910
0644
edit
dl
rm
configuration_no-asm.h
3088
0644
edit
dl
rm
conf_api.h
1300
0644
edit
dl
rm
conf_asm.h
2721
0644
edit
dl
rm
conf_no-asm.h
2890
0644
edit
dl
rm
crmf_asm.h
2721
0644
edit
dl
rm
crmf_no-asm.h
2890
0644
edit
dl
rm
crypto.h
17312
0644
edit
dl
rm
cryptoerr.h
2261
0644
edit
dl
rm
crypto_asm.h
2763
0644
edit
dl
rm
crypto_no-asm.h
2934
0644
edit
dl
rm
ct.h
15872
0644
edit
dl
rm
cterr.h
3470
0644
edit
dl
rm
ct_asm.h
2679
0644
edit
dl
rm
ct_no-asm.h
2846
0644
edit
dl
rm
des.h
7627
0644
edit
dl
rm
dh.h
13505
0644
edit
dl
rm
dherr.h
4037
0644
edit
dl
rm
dsa.h
10051
0644
edit
dl
rm
dsaerr.h
2972
0644
edit
dl
rm
dso_conf.h
102
0644
edit
dl
rm
dso_conf_asm.h
2969
0644
edit
dl
rm
dso_conf_no-asm.h
3150
0644
edit
dl
rm
dtls1.h
1578
0644
edit
dl
rm
ebcdic.h
924
0644
edit
dl
rm
ec.h
63684
0644
edit
dl
rm
ecdh.h
358
0644
edit
dl
rm
ecdsa.h
358
0644
edit
dl
rm
ecerr.h
15821
0644
edit
dl
rm
engine.h
34726
0644
edit
dl
rm
engineerr.h
5447
0644
edit
dl
rm
err.h
11269
0644
edit
dl
rm
err_asm.h
2700
0644
edit
dl
rm
err_no-asm.h
2868
0644
edit
dl
rm
ess_asm.h
2700
0644
edit
dl
rm
ess_no-asm.h
2868
0644
edit
dl
rm
evp.h
76945
0644
edit
dl
rm
evperr.h
11453
0644
edit
dl
rm
e_os2.h
8920
0644
edit
dl
rm
fipskey_asm.h
2784
0644
edit
dl
rm
fipskey_no-asm.h
2956
0644
edit
dl
rm
hmac.h
1591
0644
edit
dl
rm
idea.h
2099
0644
edit
dl
rm
kdf.h
4326
0644
edit
dl
rm
kdferr.h
2122
0644
edit
dl
rm
lhash.h
9271
0644
edit
dl
rm
lhash_asm.h
2742
0644
edit
dl
rm
lhash_no-asm.h
2912
0644
edit
dl
rm
md2.h
1054
0644
edit
dl
rm
md4.h
1322
0644
edit
dl
rm
md5.h
1320
0644
edit
dl
rm
mdc2.h
1053
0644
edit
dl
rm
modes.h
10478
0644
edit
dl
rm
objects.h
6633
0644
edit
dl
rm
objectserr.h
1316
0644
edit
dl
rm
obj_mac.h
217522
0644
edit
dl
rm
ocsp.h
15305
0644
edit
dl
rm
ocsperr.h
3356
0644
edit
dl
rm
ocsp_asm.h
2721
0644
edit
dl
rm
ocsp_no-asm.h
2890
0644
edit
dl
rm
opensslconf.h
590
0644
edit
dl
rm
opensslconf_asm.h
6926
0644
edit
dl
rm
opensslconf_no-asm.h
2868
0644
edit
dl
rm
opensslv.h
4109
0644
edit
dl
rm
opensslv_asm.h
2805
0644
edit
dl
rm
opensslv_no-asm.h
2978
0644
edit
dl
rm
ossl_typ.h
6318
0644
edit
dl
rm
pem.h
15468
0644
edit
dl
rm
pem2.h
415
0644
edit
dl
rm
pemerr.h
5222
0644
edit
dl
rm
pkcs7.h
11590
0644
edit
dl
rm
pkcs7err.h
5110
0644
edit
dl
rm
pkcs7_asm.h
2742
0644
edit
dl
rm
pkcs7_no-asm.h
2912
0644
edit
dl
rm
pkcs12.h
9871
0644
edit
dl
rm
pkcs12err.h
3749
0644
edit
dl
rm
pkcs12_asm.h
2763
0644
edit
dl
rm
pkcs12_no-asm.h
2934
0644
edit
dl
rm
rand.h
2213
0644
edit
dl
rm
randerr.h
4633
0644
edit
dl
rm
rand_drbg.h
4763
0644
edit
dl
rm
rc2.h
1534
0644
edit
dl
rm
rc4.h
825
0644
edit
dl
rm
rc5.h
1988
0644
edit
dl
rm
ripemd.h
1243
0644
edit
dl
rm
rsa.h
22202
0644
edit
dl
rm
rsaerr.h
9075
0644
edit
dl
rm
safestack.h
8139
0644
edit
dl
rm
safestack_asm.h
2826
0644
edit
dl
rm
safestack_no-asm.h
3000
0644
edit
dl
rm
seed.h
3479
0644
edit
dl
rm
sha.h
3831
0644
edit
dl
rm
srp.h
3827
0644
edit
dl
rm
srp_asm.h
2700
0644
edit
dl
rm
srp_no-asm.h
2868
0644
edit
dl
rm
srtp.h
1316
0644
edit
dl
rm
ssl.h
114395
0644
edit
dl
rm
ssl2.h
542
0644
edit
dl
rm
ssl3.h
14705
0644
edit
dl
rm
sslerr.h
48066
0644
edit
dl
rm
ssl_asm.h
2700
0644
edit
dl
rm
ssl_no-asm.h
2868
0644
edit
dl
rm
stack.h
3095
0644
edit
dl
rm
store.h
11199
0644
edit
dl
rm
storeerr.h
4399
0644
edit
dl
rm
symhacks.h
1311
0644
edit
dl
rm
tls1.h
72669
0644
edit
dl
rm
ts.h
22429
0644
edit
dl
rm
tserr.h
6746
0644
edit
dl
rm
txt_db.h
1666
0644
edit
dl
rm
ui.h
16052
0644
edit
dl
rm
uierr.h
2737
0644
edit
dl
rm
ui_asm.h
2679
0644
edit
dl
rm
ui_no-asm.h
2846
0644
edit
dl
rm
whrlpool.h
1377
0644
edit
dl
rm
x509.h
43326
0644
edit
dl
rm
x509err.h
6803
0644
edit
dl
rm
x509v3.h
33441
0644
edit
dl
rm
x509v3err.h
8901
0644
edit
dl
rm
x509v3_asm.h
2763
0644
edit
dl
rm
x509v3_no-asm.h
2934
0644
edit
dl
rm
x509_asm.h
2721
0644
edit
dl
rm
x509_no-asm.h
2890
0644
edit
dl
rm
x509_vfy.h
32451
0644
edit
dl
rm
x509_vfy_asm.h
2805
0644
edit
dl
rm
x509_vfy_no-asm.h
2978
0644
edit
dl
rm
Edit:
/home/techb158/.nvm/versions/node/v16.20.2/include/node/openssl/objects.h
(6633B)
/* * Copyright 1995-2018 The OpenSSL Project Authors. All Rights Reserved. * * Licensed under the OpenSSL license (the "License"). You may not use * this file except in compliance with the License. You can obtain a copy * in the file LICENSE in the source distribution or at * https://www.openssl.org/source/license.html */ #ifndef HEADER_OBJECTS_H # define HEADER_OBJECTS_H # include <openssl/obj_mac.h> # include <openssl/bio.h> # include <openssl/asn1.h> # include <openssl/objectserr.h> # define OBJ_NAME_TYPE_UNDEF 0x00 # define OBJ_NAME_TYPE_MD_METH 0x01 # define OBJ_NAME_TYPE_CIPHER_METH 0x02 # define OBJ_NAME_TYPE_PKEY_METH 0x03 # define OBJ_NAME_TYPE_COMP_METH 0x04 # define OBJ_NAME_TYPE_NUM 0x05 # define OBJ_NAME_ALIAS 0x8000 # define OBJ_BSEARCH_VALUE_ON_NOMATCH 0x01 # define OBJ_BSEARCH_FIRST_VALUE_ON_MATCH 0x02 #ifdef __cplusplus extern "C" { #endif typedef struct obj_name_st { int type; int alias; const char *name; const char *data; } OBJ_NAME; # define OBJ_create_and_add_object(a,b,c) OBJ_create(a,b,c) int OBJ_NAME_init(void); int OBJ_NAME_new_index(unsigned long (*hash_func) (const char *), int (*cmp_func) (const char *, const char *), void (*free_func) (const char *, int, const char *)); const char *OBJ_NAME_get(const char *name, int type); int OBJ_NAME_add(const char *name, int type, const char *data); int OBJ_NAME_remove(const char *name, int type); void OBJ_NAME_cleanup(int type); /* -1 for everything */ void OBJ_NAME_do_all(int type, void (*fn) (const OBJ_NAME *, void *arg), void *arg); void OBJ_NAME_do_all_sorted(int type, void (*fn) (const OBJ_NAME *, void *arg), void *arg); ASN1_OBJECT *OBJ_dup(const ASN1_OBJECT *o); ASN1_OBJECT *OBJ_nid2obj(int n); const char *OBJ_nid2ln(int n); const char *OBJ_nid2sn(int n); int OBJ_obj2nid(const ASN1_OBJECT *o); ASN1_OBJECT *OBJ_txt2obj(const char *s, int no_name); int OBJ_obj2txt(char *buf, int buf_len, const ASN1_OBJECT *a, int no_name); int OBJ_txt2nid(const char *s); int OBJ_ln2nid(const char *s); int OBJ_sn2nid(const char *s); int OBJ_cmp(const ASN1_OBJECT *a, const ASN1_OBJECT *b); const void *OBJ_bsearch_(const void *key, const void *base, int num, int size, int (*cmp) (const void *, const void *)); const void *OBJ_bsearch_ex_(const void *key, const void *base, int num, int size, int (*cmp) (const void *, const void *), int flags); # define _DECLARE_OBJ_BSEARCH_CMP_FN(scope, type1, type2, nm) \ static int nm##_cmp_BSEARCH_CMP_FN(const void *, const void *); \ static int nm##_cmp(type1 const *, type2 const *); \ scope type2 * OBJ_bsearch_##nm(type1 *key, type2 const *base, int num) # define DECLARE_OBJ_BSEARCH_CMP_FN(type1, type2, cmp) \ _DECLARE_OBJ_BSEARCH_CMP_FN(static, type1, type2, cmp) # define DECLARE_OBJ_BSEARCH_GLOBAL_CMP_FN(type1, type2, nm) \ type2 * OBJ_bsearch_##nm(type1 *key, type2 const *base, int num) /*- * Unsolved problem: if a type is actually a pointer type, like * nid_triple is, then its impossible to get a const where you need * it. Consider: * * typedef int nid_triple[3]; * const void *a_; * const nid_triple const *a = a_; * * The assignment discards a const because what you really want is: * * const int const * const *a = a_; * * But if you do that, you lose the fact that a is an array of 3 ints, * which breaks comparison functions. * * Thus we end up having to cast, sadly, or unpack the * declarations. Or, as I finally did in this case, declare nid_triple * to be a struct, which it should have been in the first place. * * Ben, August 2008. * * Also, strictly speaking not all types need be const, but handling * the non-constness means a lot of complication, and in practice * comparison routines do always not touch their arguments. */ # define IMPLEMENT_OBJ_BSEARCH_CMP_FN(type1, type2, nm) \ static int nm##_cmp_BSEARCH_CMP_FN(const void *a_, const void *b_) \ { \ type1 const *a = a_; \ type2 const *b = b_; \ return nm##_cmp(a,b); \ } \ static type2 *OBJ_bsearch_##nm(type1 *key, type2 const *base, int num) \ { \ return (type2 *)OBJ_bsearch_(key, base, num, sizeof(type2), \ nm##_cmp_BSEARCH_CMP_FN); \ } \ extern void dummy_prototype(void) # define IMPLEMENT_OBJ_BSEARCH_GLOBAL_CMP_FN(type1, type2, nm) \ static int nm##_cmp_BSEARCH_CMP_FN(const void *a_, const void *b_) \ { \ type1 const *a = a_; \ type2 const *b = b_; \ return nm##_cmp(a,b); \ } \ type2 *OBJ_bsearch_##nm(type1 *key, type2 const *base, int num) \ { \ return (type2 *)OBJ_bsearch_(key, base, num, sizeof(type2), \ nm##_cmp_BSEARCH_CMP_FN); \ } \ extern void dummy_prototype(void) # define OBJ_bsearch(type1,key,type2,base,num,cmp) \ ((type2 *)OBJ_bsearch_(CHECKED_PTR_OF(type1,key),CHECKED_PTR_OF(type2,base), \ num,sizeof(type2), \ ((void)CHECKED_PTR_OF(type1,cmp##_type_1), \ (void)CHECKED_PTR_OF(type2,cmp##_type_2), \ cmp##_BSEARCH_CMP_FN))) # define OBJ_bsearch_ex(type1,key,type2,base,num,cmp,flags) \ ((type2 *)OBJ_bsearch_ex_(CHECKED_PTR_OF(type1,key),CHECKED_PTR_OF(type2,base), \ num,sizeof(type2), \ ((void)CHECKED_PTR_OF(type1,cmp##_type_1), \ (void)type_2=CHECKED_PTR_OF(type2,cmp##_type_2), \ cmp##_BSEARCH_CMP_FN)),flags) int OBJ_new_nid(int num); int OBJ_add_object(const ASN1_OBJECT *obj); int OBJ_create(const char *oid, const char *sn, const char *ln); #if OPENSSL_API_COMPAT < 0x10100000L # define OBJ_cleanup() while(0) continue #endif int OBJ_create_objects(BIO *in); size_t OBJ_length(const ASN1_OBJECT *obj); const unsigned char *OBJ_get0_data(const ASN1_OBJECT *obj); int OBJ_find_sigid_algs(int signid, int *pdig_nid, int *ppkey_nid); int OBJ_find_sigid_by_algs(int *psignid, int dig_nid, int pkey_nid); int OBJ_add_sigid(int signid, int dig_id, int pkey_id); void OBJ_sigid_free(void); # ifdef __cplusplus } # endif #endif
Save
cmd:
run