/
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/des.h
(7627B)
/* * Copyright 1995-2016 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_DES_H # define HEADER_DES_H # include <openssl/opensslconf.h> # ifndef OPENSSL_NO_DES # ifdef __cplusplus extern "C" { # endif # include <openssl/e_os2.h> typedef unsigned int DES_LONG; # ifdef OPENSSL_BUILD_SHLIBCRYPTO # undef OPENSSL_EXTERN # define OPENSSL_EXTERN OPENSSL_EXPORT # endif typedef unsigned char DES_cblock[8]; typedef /* const */ unsigned char const_DES_cblock[8]; /* * With "const", gcc 2.8.1 on Solaris thinks that DES_cblock * and * const_DES_cblock * are incompatible pointer types. */ typedef struct DES_ks { union { DES_cblock cblock; /* * make sure things are correct size on machines with 8 byte longs */ DES_LONG deslong[2]; } ks[16]; } DES_key_schedule; # define DES_KEY_SZ (sizeof(DES_cblock)) # define DES_SCHEDULE_SZ (sizeof(DES_key_schedule)) # define DES_ENCRYPT 1 # define DES_DECRYPT 0 # define DES_CBC_MODE 0 # define DES_PCBC_MODE 1 # define DES_ecb2_encrypt(i,o,k1,k2,e) \ DES_ecb3_encrypt((i),(o),(k1),(k2),(k1),(e)) # define DES_ede2_cbc_encrypt(i,o,l,k1,k2,iv,e) \ DES_ede3_cbc_encrypt((i),(o),(l),(k1),(k2),(k1),(iv),(e)) # define DES_ede2_cfb64_encrypt(i,o,l,k1,k2,iv,n,e) \ DES_ede3_cfb64_encrypt((i),(o),(l),(k1),(k2),(k1),(iv),(n),(e)) # define DES_ede2_ofb64_encrypt(i,o,l,k1,k2,iv,n) \ DES_ede3_ofb64_encrypt((i),(o),(l),(k1),(k2),(k1),(iv),(n)) OPENSSL_DECLARE_GLOBAL(int, DES_check_key); /* defaults to false */ # define DES_check_key OPENSSL_GLOBAL_REF(DES_check_key) const char *DES_options(void); void DES_ecb3_encrypt(const_DES_cblock *input, DES_cblock *output, DES_key_schedule *ks1, DES_key_schedule *ks2, DES_key_schedule *ks3, int enc); DES_LONG DES_cbc_cksum(const unsigned char *input, DES_cblock *output, long length, DES_key_schedule *schedule, const_DES_cblock *ivec); /* DES_cbc_encrypt does not update the IV! Use DES_ncbc_encrypt instead. */ void DES_cbc_encrypt(const unsigned char *input, unsigned char *output, long length, DES_key_schedule *schedule, DES_cblock *ivec, int enc); void DES_ncbc_encrypt(const unsigned char *input, unsigned char *output, long length, DES_key_schedule *schedule, DES_cblock *ivec, int enc); void DES_xcbc_encrypt(const unsigned char *input, unsigned char *output, long length, DES_key_schedule *schedule, DES_cblock *ivec, const_DES_cblock *inw, const_DES_cblock *outw, int enc); void DES_cfb_encrypt(const unsigned char *in, unsigned char *out, int numbits, long length, DES_key_schedule *schedule, DES_cblock *ivec, int enc); void DES_ecb_encrypt(const_DES_cblock *input, DES_cblock *output, DES_key_schedule *ks, int enc); /* * This is the DES encryption function that gets called by just about every * other DES routine in the library. You should not use this function except * to implement 'modes' of DES. I say this because the functions that call * this routine do the conversion from 'char *' to long, and this needs to be * done to make sure 'non-aligned' memory access do not occur. The * characters are loaded 'little endian'. Data is a pointer to 2 unsigned * long's and ks is the DES_key_schedule to use. enc, is non zero specifies * encryption, zero if decryption. */ void DES_encrypt1(DES_LONG *data, DES_key_schedule *ks, int enc); /* * This functions is the same as DES_encrypt1() except that the DES initial * permutation (IP) and final permutation (FP) have been left out. As for * DES_encrypt1(), you should not use this function. It is used by the * routines in the library that implement triple DES. IP() DES_encrypt2() * DES_encrypt2() DES_encrypt2() FP() is the same as DES_encrypt1() * DES_encrypt1() DES_encrypt1() except faster :-). */ void DES_encrypt2(DES_LONG *data, DES_key_schedule *ks, int enc); void DES_encrypt3(DES_LONG *data, DES_key_schedule *ks1, DES_key_schedule *ks2, DES_key_schedule *ks3); void DES_decrypt3(DES_LONG *data, DES_key_schedule *ks1, DES_key_schedule *ks2, DES_key_schedule *ks3); void DES_ede3_cbc_encrypt(const unsigned char *input, unsigned char *output, long length, DES_key_schedule *ks1, DES_key_schedule *ks2, DES_key_schedule *ks3, DES_cblock *ivec, int enc); void DES_ede3_cfb64_encrypt(const unsigned char *in, unsigned char *out, long length, DES_key_schedule *ks1, DES_key_schedule *ks2, DES_key_schedule *ks3, DES_cblock *ivec, int *num, int enc); void DES_ede3_cfb_encrypt(const unsigned char *in, unsigned char *out, int numbits, long length, DES_key_schedule *ks1, DES_key_schedule *ks2, DES_key_schedule *ks3, DES_cblock *ivec, int enc); void DES_ede3_ofb64_encrypt(const unsigned char *in, unsigned char *out, long length, DES_key_schedule *ks1, DES_key_schedule *ks2, DES_key_schedule *ks3, DES_cblock *ivec, int *num); char *DES_fcrypt(const char *buf, const char *salt, char *ret); char *DES_crypt(const char *buf, const char *salt); void DES_ofb_encrypt(const unsigned char *in, unsigned char *out, int numbits, long length, DES_key_schedule *schedule, DES_cblock *ivec); void DES_pcbc_encrypt(const unsigned char *input, unsigned char *output, long length, DES_key_schedule *schedule, DES_cblock *ivec, int enc); DES_LONG DES_quad_cksum(const unsigned char *input, DES_cblock output[], long length, int out_count, DES_cblock *seed); int DES_random_key(DES_cblock *ret); void DES_set_odd_parity(DES_cblock *key); int DES_check_key_parity(const_DES_cblock *key); int DES_is_weak_key(const_DES_cblock *key); /* * DES_set_key (= set_key = DES_key_sched = key_sched) calls * DES_set_key_checked if global variable DES_check_key is set, * DES_set_key_unchecked otherwise. */ int DES_set_key(const_DES_cblock *key, DES_key_schedule *schedule); int DES_key_sched(const_DES_cblock *key, DES_key_schedule *schedule); int DES_set_key_checked(const_DES_cblock *key, DES_key_schedule *schedule); void DES_set_key_unchecked(const_DES_cblock *key, DES_key_schedule *schedule); void DES_string_to_key(const char *str, DES_cblock *key); void DES_string_to_2keys(const char *str, DES_cblock *key1, DES_cblock *key2); void DES_cfb64_encrypt(const unsigned char *in, unsigned char *out, long length, DES_key_schedule *schedule, DES_cblock *ivec, int *num, int enc); void DES_ofb64_encrypt(const unsigned char *in, unsigned char *out, long length, DES_key_schedule *schedule, DES_cblock *ivec, int *num); # define DES_fixup_key_parity DES_set_odd_parity # ifdef __cplusplus } # endif # endif #endif
Save
cmd:
run