/
usr
/
include
/
/usr/include
mkdir
upload
Name
Size
Mode
Actions
arpa/
-
0755
rm
asm-generic/
-
0755
rm
boost/
-
0755
rm
c++/
-
0755
rm
drm/
-
0755
rm
event2/
-
0755
rm
finclude/
-
0755
rm
google/
-
0755
rm
hwloc/
-
0755
rm
infiniband/
-
0755
rm
iproute2/
-
0755
rm
libdmmp/
-
0755
rm
libltdl/
-
0755
rm
libnl3/
-
0755
rm
libxml2/
-
0755
rm
linux/
-
0755
rm
lua5.2/
-
0755
rm
luabind/
-
0755
rm
misc/
-
0755
rm
mtd/
-
0755
rm
ncursesw/
-
0755
rm
net/
-
0755
rm
netash/
-
0755
rm
netatalk/
-
0755
rm
netax25/
-
0755
rm
neteconet/
-
0755
rm
netinet/
-
0755
rm
netipx/
-
0755
rm
netiucv/
-
0755
rm
netpacket/
-
0755
rm
netrom/
-
0755
rm
netrose/
-
0755
rm
nfs/
-
0755
rm
oneapi/
-
0755
rm
osmpbf/
-
0755
rm
php/
-
0755
rm
protocols/
-
0755
rm
python3.10/
-
0755
rm
rdma/
-
0755
rm
readline/
-
0755
rm
rpc/
-
0755
rm
rpcsvc/
-
0755
rm
scsi/
-
0755
rm
sound/
-
0755
rm
stxxl/
-
0755
rm
tbb/
-
0755
rm
tirpc/
-
0755
rm
unicode/
-
0755
rm
video/
-
0755
rm
x86_64-linux-gnu/
-
0755
rm
xen/
-
0755
rm
xfs/
-
0755
rm
aio.h
7738
0644
edit
dl
rm
aliases.h
2028
0644
edit
dl
rm
alloca.h
1203
0644
edit
dl
rm
ar.h
1731
0644
edit
dl
rm
argp.h
25548
0644
edit
dl
rm
argz.h
6051
0644
edit
dl
rm
assert.h
4643
0644
edit
dl
rm
byteswap.h
1449
0644
edit
dl
rm
bzlib.h
6240
0644
edit
dl
rm
complex.h
8140
0644
edit
dl
rm
cpio.h
2268
0644
edit
dl
rm
crypt.h
11131
0644
edit
dl
rm
ctype.h
10969
0644
edit
dl
rm
curses.h
100242
0644
edit
dl
rm
cursesapp.h
7225
0644
edit
dl
rm
cursesf.h
28029
0644
edit
dl
rm
cursesm.h
19908
0644
edit
dl
rm
cursesp.h
8751
0644
edit
dl
rm
cursesw.h
50306
0644
edit
dl
rm
cursslk.h
7321
0644
edit
dl
rm
dirent.h
12515
0644
edit
dl
rm
dlfcn.h
8365
0644
edit
dl
rm
elf.h
184297
0644
edit
dl
rm
endian.h
2299
0644
edit
dl
rm
envz.h
2867
0644
edit
dl
rm
err.h
2341
0644
edit
dl
rm
errno.h
1679
0644
edit
dl
rm
error.h
2416
0644
edit
dl
rm
eti.h
2969
0644
edit
dl
rm
etip.h
9913
0644
edit
dl
rm
evdns.h
2019
0644
edit
dl
rm
event.h
2744
0644
edit
dl
rm
evhttp.h
2035
0644
edit
dl
rm
evrpc.h
2015
0644
edit
dl
rm
evutil.h
1782
0644
edit
dl
rm
execinfo.h
1523
0644
edit
dl
rm
expat.h
43704
0644
edit
dl
rm
expat_external.h
6029
0644
edit
dl
rm
fcntl.h
10126
0644
edit
dl
rm
features-time64.h
1409
0644
edit
dl
rm
features.h
17860
0644
edit
dl
rm
fenv.h
5788
0644
edit
dl
rm
fmtmsg.h
3240
0644
edit
dl
rm
fnmatch.h
2296
0644
edit
dl
rm
form.h
18899
0644
edit
dl
rm
fstab.h
3111
0644
edit
dl
rm
fts.h
9579
0644
edit
dl
rm
ftw.h
6343
0644
edit
dl
rm
gawkapi.h
40645
0644
edit
dl
rm
gconv.h
4211
0644
edit
dl
rm
getopt.h
1469
0644
edit
dl
rm
glob.h
7299
0644
edit
dl
rm
gnu-versions.h
2343
0644
edit
dl
rm
gnumake.h
2912
0644
edit
dl
rm
grp.h
6687
0644
edit
dl
rm
gshadow.h
4529
0644
edit
dl
rm
hwloc.h
109940
0644
edit
dl
rm
iconv.h
1858
0644
edit
dl
rm
ifaddrs.h
2841
0644
edit
dl
rm
inttypes.h
8337
0644
edit
dl
rm
langinfo.h
17849
0644
edit
dl
rm
lastlog.h
126
0644
edit
dl
rm
libgen.h
1386
0644
edit
dl
rm
libintl.h
4580
0644
edit
dl
rm
limits.h
5706
0644
edit
dl
rm
link.h
7801
0644
edit
dl
rm
locale.h
7675
0644
edit
dl
rm
ltdl.h
5709
0644
edit
dl
rm
malloc.h
5984
0644
edit
dl
rm
math.h
49864
0644
edit
dl
rm
mcheck.h
2435
0644
edit
dl
rm
memory.h
956
0644
edit
dl
rm
menu.h
11875
0644
edit
dl
rm
mntent.h
3359
0644
edit
dl
rm
monetary.h
1966
0644
edit
dl
rm
mpath_cmd.h
4157
0644
edit
dl
rm
mpath_persist.h
11490
0644
edit
dl
rm
mqueue.h
4603
0644
edit
dl
rm
ncurses.h
100242
0644
edit
dl
rm
ncurses_dll.h
4043
0644
edit
dl
rm
nc_tparm.h
4777
0644
edit
dl
rm
netdb.h
28461
0644
edit
dl
rm
nl_types.h
1753
0644
edit
dl
rm
nss.h
14408
0644
edit
dl
rm
numa.h
13539
0644
edit
dl
rm
numacompat1.h
1231
0644
edit
dl
rm
numaif.h
1521
0644
edit
dl
rm
obstack.h
21307
0644
edit
dl
rm
panel.h
4512
0644
edit
dl
rm
paths.h
2983
0644
edit
dl
rm
poll.h
22
0644
edit
dl
rm
printf.h
6875
0644
edit
dl
rm
proc_service.h
3477
0644
edit
dl
rm
pthread.h
48376
0644
edit
dl
rm
pty.h
1570
0644
edit
dl
rm
pwd.h
6317
0644
edit
dl
rm
regex.h
25904
0644
edit
dl
rm
regexp.h
1387
0644
edit
dl
rm
resolv.h
12246
0644
edit
dl
rm
re_comp.h
963
0644
edit
dl
rm
sched.h
5038
0644
edit
dl
rm
search.h
5450
0644
edit
dl
rm
semaphore.h
3464
0644
edit
dl
rm
setjmp.h
3190
0644
edit
dl
rm
sgtty.h
1344
0644
edit
dl
rm
shadow.h
5472
0644
edit
dl
rm
signal.h
13040
0644
edit
dl
rm
spawn.h
8279
0644
edit
dl
rm
stab.h
264
0644
edit
dl
rm
stdc-predef.h
2462
0644
edit
dl
rm
stdint.h
8474
0644
edit
dl
rm
stdio.h
31176
0644
edit
dl
rm
stdio_ext.h
2800
0644
edit
dl
rm
stdlib.h
36393
0644
edit
dl
rm
string.h
19459
0644
edit
dl
rm
strings.h
4753
0644
edit
dl
rm
stxxl.h
1032
0644
edit
dl
rm
sudo_plugin.h
11918
0644
edit
dl
rm
syscall.h
25
0644
edit
dl
rm
sysexits.h
5232
0644
edit
dl
rm
syslog.h
24
0644
edit
dl
rm
tar.h
3752
0644
edit
dl
rm
term.h
41724
0644
edit
dl
rm
termcap.h
3468
0644
edit
dl
rm
termio.h
214
0644
edit
dl
rm
termios.h
3599
0644
edit
dl
rm
term_entry.h
9097
0644
edit
dl
rm
tgmath.h
44655
0644
edit
dl
rm
threads.h
7686
0644
edit
dl
rm
thread_db.h
16024
0644
edit
dl
rm
tic.h
14899
0644
edit
dl
rm
time.h
14839
0644
edit
dl
rm
ttyent.h
2494
0644
edit
dl
rm
uchar.h
2002
0644
edit
dl
rm
ucontext.h
2037
0644
edit
dl
rm
ulimit.h
1584
0644
edit
dl
rm
unctrl.h
3177
0644
edit
dl
rm
unistd.h
44967
0644
edit
dl
rm
utime.h
1905
0644
edit
dl
rm
utmp.h
3223
0644
edit
dl
rm
utmpx.h
4100
0644
edit
dl
rm
values.h
1956
0644
edit
dl
rm
wait.h
22
0644
edit
dl
rm
wchar.h
31792
0644
edit
dl
rm
wctype.h
5549
0644
edit
dl
rm
wordexp.h
2502
0644
edit
dl
rm
zconf.h
16262
0644
edit
dl
rm
zip.h
26554
0644
edit
dl
rm
zipconf.h
1181
0644
edit
dl
rm
zlib.h
96261
0644
edit
dl
rm
Edit:
/usr/include/crypt.h
(11131B)
/* High-level libcrypt interfaces. Copyright (C) 1991-2017 Free Software Foundation, Inc. This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; if not, see <https://www.gnu.org/licenses/>. */ #ifndef _CRYPT_H #define _CRYPT_H 1 #include <sys/cdefs.h> __BEGIN_DECLS /* The strings returned by crypt, crypt_r, crypt_rn, and crypt_ra will be no longer than this, counting the terminating NUL. (Existing algorithms all produce much shorter strings, but we have reserved generous space for future expansion.) This is NOT the appropriate size to use in allocating the buffer supplied to crypt_rn; use sizeof (struct crypt_data) instead. */ #define CRYPT_OUTPUT_SIZE 384 /* Passphrases longer than this (counting the terminating NUL) are not supported. Note that some hash algorithms have lower limits. */ #define CRYPT_MAX_PASSPHRASE_SIZE 512 /* The strings returned by crypt_gensalt, crypt_gensalt_rn, and crypt_gensalt_ra will be no longer than this. This IS the appropriate size to use when allocating the buffer supplied to crypt_gensalt_rn. (Again, existing algorithms all produce much shorter strings, but we have reserved generous space for future expansion.) */ #define CRYPT_GENSALT_OUTPUT_SIZE 192 /* One-way hash the passphrase PHRASE as specified by SETTING, and return a string suitable for storage in a Unix-style "passwd" file. If SETTING is a previously hashed passphrase, the string returned will be equal to SETTING if and only if PHRASE is the same as the passphrase that was previously hashed. See the documentation for other ways to use this function. The string returned by this function is stored in a statically- allocated buffer, and will be overwritten if the function is called again. It is not safe to call this function from multiple threads concurrently. If an error occurs (such as SETTING being nonsense or unsupported) the string returned will begin with '*', and will not be equal to SETTING nor to any valid hashed passphrase. Otherwise, the string will not begin with '*'. */ extern char *crypt (const char *__phrase, const char *__setting) __THROW; /* These sizes are chosen to make sizeof (struct crypt_data) add up to exactly 32768 bytes. */ #define CRYPT_DATA_RESERVED_SIZE 767 #define CRYPT_DATA_INTERNAL_SIZE 30720 /* Memory area used by crypt_r. */ struct crypt_data { /* crypt_r writes the hashed password to this field of its 'data' argument. crypt_rn and crypt_ra do the same, treating the untyped data area they are supplied with as this struct. */ char output[CRYPT_OUTPUT_SIZE]; /* Applications are encouraged, but not required, to use this field to store the "setting" string that must be passed to crypt_*. Future extensions to the API may make this more ergonomic. A valid "setting" is either previously hashed password or the string produced by one of the crypt_gensalt functions; see the crypt_gensalt documentation for further details. */ char setting[CRYPT_OUTPUT_SIZE]; /* Applications are encouraged, but not required, to use this field to store the unhashed passphrase they will pass to crypt_*. Future extensions to the API may make this more ergonomic. */ char input[CRYPT_MAX_PASSPHRASE_SIZE]; /* Reserved for future application-visible fields. For maximum forward compatibility, applications should set this field to all bytes zero before calling crypt_r, crypt_rn, or crypt_ra for the first time with a just-allocated 'struct crypt_data'. Future extensions to the API may make this more ergonomic. */ char reserved[CRYPT_DATA_RESERVED_SIZE]; /* This field should be set to 0 before calling crypt_r, crypt_rn, or crypt_ra for the first time with a just-allocated 'struct crypt_data'. This is not required if crypt_ra is allowed to do the allocation itself (i.e. if the *DATA argument is a null pointer). Future extensions to the API may make this more ergonomic. */ char initialized; /* Scratch space used internally. Applications should not read or write this field. All data written to this area is erased before returning from the library. */ char internal[CRYPT_DATA_INTERNAL_SIZE]; }; /* Thread-safe version of crypt. Instead of writing to a static storage area, the string returned by this function will be within DATA->output. Otherwise, behaves exactly the same as crypt. */ extern char *crypt_r (const char *__phrase, const char *__setting, struct crypt_data *__restrict __data) __THROW; /* Another thread-safe version of crypt. Instead of writing to a static storage area, the string returned by this function will be somewhere within the space provided at DATA, which is of length SIZE bytes. SIZE must be at least sizeof (struct crypt_data). Also, if an error occurs, this function returns a null pointer, not a special string. (However, the string returned on success still will never begin with '*'.) */ extern char *crypt_rn (const char *__phrase, const char *__setting, void *__data, int __size) __THROW; /* Yet a third thread-safe version of crypt; this one works like getline(3). *DATA must be either 0 or a pointer to memory allocated by malloc, and *SIZE must be the size of the allocation. This space will be allocated or reallocated as necessary and the values updated. The string returned by this function will be somewhere within the space at *DATA. It is safe to deallocate this space with free when it is no longer needed. Like crypt_rn, this function returns a null pointer on failure, not a special string. */ extern char *crypt_ra (const char *__phrase, const char *__setting, void **__data, int *__size) __THROW; /* Generate a string suitable for use as the setting when hashing a new passphrase. PREFIX controls which hash function will be used, COUNT controls the computational cost of the hash (for functions where this is tunable), and RBYTES should point to NRBYTES bytes of random data. If PREFIX is a null pointer, the current best default is used; if RBYTES is a null pointer, random data will be retrieved from the operating system if possible. (Caution: setting PREFIX to an *empty string* selects the use of the oldest and least secure hash in the library. Don't do that.) The string returned is stored in a statically-allocated buffer, and will be overwritten if the function is called again. It is not safe to call this function from multiple threads concurrently. However, within a single thread, it is safe to pass the string as the SETTING argument to crypt without copying it first; the two functions use separate buffers. If an error occurs (e.g. a prefix that does not correspond to a supported hash function, or an inadequate amount of random data), this function returns a null pointer. */ extern char *crypt_gensalt (const char *__prefix, unsigned long __count, const char *__rbytes, int __nrbytes) __THROW; /* Thread-safe version of crypt_gensalt; instead of a statically-allocated buffer, the generated setting string is written to OUTPUT, which is OUTPUT_SIZE bytes long. OUTPUT_SIZE must be at least CRYPT_GENSALT_OUTPUT_SIZE (see above). If an error occurs, this function returns a null pointer and writes a string that does not correspond to any valid setting into OUTPUT. */ extern char *crypt_gensalt_rn (const char *__prefix, unsigned long __count, const char *__rbytes, int __nrbytes, char *__output, int __output_size) __THROW; /* Kept for code compatibility with libxcrypt (v3.1.1 and earlier). We intentionally declare the function using a macro here, since we actually want to link compiled applications against the identical crypt_gensalt_rn function. */ #ifndef IN_LIBCRYPT /* Defined when building libxcrypt. */ # ifdef __REDIRECT_NTH extern char * __REDIRECT_NTH (crypt_gensalt_r, (const char *__prefix, unsigned long __count, const char *__rbytes, int __nrbytes, char *__output, int __output_size), crypt_gensalt_rn); # else # define crypt_gensalt_r crypt_gensalt_rn # endif #endif /* Another thread-safe version of crypt_gensalt; the generated setting string is in storage allocated by malloc, and should be deallocated with free when it is no longer needed. */ extern char *crypt_gensalt_ra (const char *__prefix, unsigned long __count, const char *__rbytes, int __nrbytes) __THROW; /* Checks whether the given setting is a supported method. The return value is 0 if there is nothing wrong with this setting. Otherwise, it is one of the following constants. */ extern int crypt_checksalt (const char *__setting); /* Constants for checking the return value of the crypt_checksalt function. */ #define CRYPT_SALT_OK 0 #define CRYPT_SALT_INVALID 1 #define CRYPT_SALT_METHOD_DISABLED 2 /* NOT implemented, yet. */ #define CRYPT_SALT_METHOD_LEGACY 3 #define CRYPT_SALT_TOO_CHEAP 4 /* NOT implemented, yet. */ /* Convenience function to get the prefix of the preferred hash method, which is also used by the crypt_gensalt functions, if their given prefix parameter is NULL. The return value is string that equals the prefix of the preferred hash method. Otherwise, it is NULL. */ extern const char *crypt_preferred_method (void); /* These macros could be checked by portable users of crypt_gensalt* functions to find out whether null pointers could be specified as PREFIX and RBYTES arguments. */ #define CRYPT_GENSALT_IMPLEMENTS_DEFAULT_PREFIX 1 #define CRYPT_GENSALT_IMPLEMENTS_AUTO_ENTROPY 1 /* These macros can be checked by portable users of libxcrypt to find out whether the function is implemented. */ #define CRYPT_CHECKSALT_AVAILABLE 1 #define CRYPT_PREFERRED_METHOD_AVAILABLE 1 /* Version number split in single integers. */ #define XCRYPT_VERSION_MAJOR 4 #define XCRYPT_VERSION_MINOR 4 /* Version number coded into an integer. */ #define XCRYPT_VERSION_NUM ((XCRYPT_VERSION_MAJOR << 16) | \ XCRYPT_VERSION_MINOR) /* Version number as a string constant. */ #define XCRYPT_VERSION_STR "4.4.27" __END_DECLS #endif /* crypt.h */
Save
cmd:
run