$94 GRAYBYTE WORDPRESS FILE MANAGER $18

SERVER : in-mum-web1330.main-hosting.eu #1 SMP Mon Feb 10 22:45:17 UTC 2025
SERVER IP : 91.108.106.233 | ADMIN IP 216.73.216.63
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : NONE

/usr/include/

HOME
Current File : /usr/include//crypt.h
/* 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 __nonnull ((1, 2));

/* 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 __nonnull ((1, 2, 3));

/* 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 __nonnull ((1, 2, 3));

/* 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 __nonnull ((1, 2, 3, 4));


/* 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 __nonnull ((5));

/* 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;

/* 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

__END_DECLS

#endif /* crypt.h */

Current_dir [ NOT WRITEABLE ] Document_root [ WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
25 Jan 2024 2.16 PM
root / root
0755
arpa
--
20 Aug 2025 9.09 AM
root / root
0755
asm
--
28 Feb 2025 12.40 AM
root / root
0755
asm-generic
--
28 Feb 2025 12.40 AM
root / root
0755
bits
--
20 Aug 2025 9.09 AM
root / root
0755
bsock
--
25 Jan 2024 5.03 PM
root / root
0755
c++
--
21 Oct 2025 6.56 AM
root / root
0755
criu
--
25 Jan 2024 5.23 PM
root / root
0755
curl
--
21 Oct 2025 6.55 AM
root / root
0755
drm
--
28 Feb 2025 12.40 AM
root / root
0755
et
--
21 Oct 2025 6.55 AM
root / root
0755
finclude
--
20 Aug 2025 9.09 AM
root / root
0755
gdb
--
20 Aug 2025 9.09 AM
root / root
0755
gnu
--
20 Aug 2025 9.09 AM
root / root
0755
gssapi
--
21 Oct 2025 6.55 AM
root / root
0755
gssrpc
--
21 Oct 2025 6.55 AM
root / root
0755
kadm5
--
21 Oct 2025 6.55 AM
root / root
0755
krb5
--
21 Oct 2025 6.55 AM
root / root
0755
libxml2
--
17 Feb 2025 2.33 AM
root / root
0755
linux
--
28 Feb 2025 12.40 AM
root / root
0755
lzma
--
25 Jan 2024 5.18 PM
root / root
0755
misc
--
28 Feb 2025 12.40 AM
root / root
0755
mtd
--
28 Feb 2025 12.40 AM
root / root
0755
mysql
--
4 Jul 2024 10.38 PM
root / root
0755
net
--
20 Aug 2025 9.09 AM
root / root
0755
netash
--
20 Aug 2025 9.09 AM
root / root
0755
netatalk
--
20 Aug 2025 9.09 AM
root / root
0755
netax25
--
20 Aug 2025 9.09 AM
root / root
0755
neteconet
--
20 Aug 2025 9.09 AM
root / root
0755
netinet
--
20 Aug 2025 9.09 AM
root / root
0755
netipx
--
20 Aug 2025 9.09 AM
root / root
0755
netiucv
--
20 Aug 2025 9.09 AM
root / root
0755
netpacket
--
20 Aug 2025 9.09 AM
root / root
0755
netrom
--
20 Aug 2025 9.09 AM
root / root
0755
netrose
--
20 Aug 2025 9.09 AM
root / root
0755
nfs
--
20 Aug 2025 9.09 AM
root / root
0755
openssl
--
21 Oct 2025 6.55 AM
root / root
0755
perf
--
28 Feb 2025 12.40 AM
root / root
0755
protocols
--
20 Aug 2025 9.09 AM
root / root
0755
python2.7
--
28 Feb 2025 12.49 AM
root / root
0755
python3.6m
--
2 Apr 2025 8.03 AM
root / root
0755
python3.8
--
21 Oct 2025 6.55 AM
root / root
0755
rdma
--
28 Feb 2025 12.40 AM
root / root
0755
rpc
--
20 Aug 2025 9.09 AM
root / root
0755
scsi
--
20 Aug 2025 9.09 AM
root / root
0755
selinux
--
21 Oct 2025 6.55 AM
root / root
0755
sepol
--
21 Oct 2025 6.55 AM
root / root
0755
sound
--
28 Feb 2025 12.40 AM
root / root
0755
sys
--
20 Aug 2025 9.09 AM
root / root
0755
video
--
28 Feb 2025 12.40 AM
root / root
0755
xen
--
28 Feb 2025 12.40 AM
root / root
0755
GeoIP.h
17.417 KB
17 Jan 2018 7.23 PM
root / root
0644
GeoIPCity.h
2.244 KB
17 Jan 2018 7.23 PM
root / root
0644
a.out.h
4.248 KB
5 Aug 2025 2.01 PM
root / root
0644
aio.h
7.281 KB
5 Aug 2025 2.01 PM
root / root
0644
aliases.h
1.983 KB
5 Aug 2025 2.01 PM
root / root
0644
alloca.h
1.175 KB
5 Aug 2025 2.01 PM
root / root
0644
ar.h
1.689 KB
5 Aug 2025 2.01 PM
root / root
0644
argp.h
24.818 KB
5 Aug 2025 2.01 PM
root / root
0644
argz.h
5.908 KB
5 Aug 2025 2.01 PM
root / root
0644
assert.h
4.454 KB
5 Aug 2025 2.01 PM
root / root
0644
byteswap.h
1.371 KB
5 Aug 2025 2.01 PM
root / root
0644
com_err.h
2.068 KB
21 Mar 2020 4.24 AM
root / root
0644
complex.h
6.995 KB
5 Aug 2025 2.01 PM
root / root
0644
cpio.h
2.214 KB
5 Aug 2025 2.01 PM
root / root
0644
cpuidle.h
0.824 KB
10 Feb 2025 11.10 PM
root / root
0644
crypt.h
8.904 KB
9 Oct 2021 4.04 AM
root / root
0644
ctype.h
10.706 KB
5 Aug 2025 2.01 PM
root / root
0644
dirent.h
12.191 KB
5 Aug 2025 2.01 PM
root / root
0644
dlfcn.h
7.068 KB
5 Aug 2025 2.01 PM
root / root
0644
elf.h
170.73 KB
5 Aug 2025 2.01 PM
root / root
0644
endian.h
3.114 KB
5 Aug 2025 2.01 PM
root / root
0644
envz.h
2.799 KB
5 Aug 2025 2.01 PM
root / root
0644
err.h
2.157 KB
5 Aug 2025 2.01 PM
root / root
0644
errno.h
1.639 KB
5 Aug 2025 2.01 PM
root / root
0644
error.h
1.991 KB
5 Aug 2025 2.01 PM
root / root
0644
execinfo.h
1.486 KB
5 Aug 2025 2.01 PM
root / root
0644
fcntl.h
10.701 KB
5 Aug 2025 2.01 PM
root / root
0644
features.h
15.686 KB
5 Aug 2025 2.00 PM
root / root
0644
fenv.h
5.72 KB
5 Aug 2025 2.01 PM
root / root
0644
fmtmsg.h
3.163 KB
5 Aug 2025 2.01 PM
root / root
0644
fnmatch.h
2.241 KB
5 Aug 2025 2.01 PM
root / root
0644
fpu_control.h
3.499 KB
5 Aug 2025 2.01 PM
root / root
0644
fstab.h
3.038 KB
5 Aug 2025 2.01 PM
root / root
0644
fts.h
8.176 KB
5 Aug 2025 2.01 PM
root / root
0644
ftw.h
5.128 KB
5 Aug 2025 2.01 PM
root / root
0644
gconv.h
4.307 KB
5 Aug 2025 2.00 PM
root / root
0644
getopt.h
1.434 KB
5 Aug 2025 2.01 PM
root / root
0644
glob.h
6.459 KB
5 Aug 2025 2.01 PM
root / root
0644
gnu-versions.h
2.287 KB
5 Aug 2025 2.00 PM
root / root
0644
gnumake.h
2.844 KB
18 Apr 2022 4.38 PM
root / root
0644
grp.h
6.529 KB
5 Aug 2025 2.01 PM
root / root
0644
gshadow.h
4.422 KB
5 Aug 2025 2.01 PM
root / root
0644
gssapi.h
0.177 KB
5 Nov 2024 2.15 AM
root / root
0644
iconv.h
1.813 KB
5 Aug 2025 2.00 PM
root / root
0644
ieee754.h
4.795 KB
5 Aug 2025 2.01 PM
root / root
0644
ifaddrs.h
2.773 KB
5 Aug 2025 2.01 PM
root / root
0644
inttypes.h
11.613 KB
5 Aug 2025 2.01 PM
root / root
0644
kdb.h
67.661 KB
5 Nov 2024 2.15 AM
root / root
0644
keyutils.h
7.518 KB
8 Oct 2021 1.50 PM
root / root
0644
krad.h
8.724 KB
5 Nov 2024 2.15 AM
root / root
0644
krb5.h
0.393 KB
5 Nov 2024 2.15 AM
root / root
0644
langinfo.h
17.43 KB
5 Aug 2025 2.00 PM
root / root
0644
lastlog.h
0.123 KB
5 Aug 2025 2.01 PM
root / root
0644
lauxlib.h
8.426 KB
9 Oct 2021 5.14 AM
root / root
0644
libgen.h
1.353 KB
5 Aug 2025 2.01 PM
root / root
0644
libintl.h
4.472 KB
5 Aug 2025 2.01 PM
root / root
0644
liblsapi-sha1.h
0.556 KB
2 Dec 2024 11.13 AM
root / root
0644
limits.h
5.285 KB
5 Aug 2025 2.00 PM
root / root
0644
link.h
7.049 KB
5 Aug 2025 2.01 PM
root / root
0644
locale.h
7.494 KB
5 Aug 2025 2.00 PM
root / root
0644
lsapidef.h
4.604 KB
2 Dec 2024 11.13 AM
root / root
0644
lscapi.h
24.154 KB
2 Dec 2024 11.13 AM
root / root
0644
lscapi_config.h
0.585 KB
2 Dec 2024 11.13 AM
root / root
0644
lua.h
14.485 KB
9 Oct 2021 5.14 AM
root / root
0644
lua.hpp
0.187 KB
9 Oct 2021 5.14 AM
root / root
0644
luaconf-x86_64.h
21.107 KB
9 Oct 2021 5.14 AM
root / root
0644
luaconf.h
1.616 KB
18 Aug 2021 1.25 PM
root / root
0644
lualib.h
1.271 KB
9 Oct 2021 5.14 AM
root / root
0644
lzma.h
9.587 KB
29 Apr 2018 3.10 PM
root / root
0644
malloc.h
5.959 KB
5 Aug 2025 2.01 PM
root / root
0644
math.h
52.068 KB
5 Aug 2025 2.01 PM
root / root
0644
mcheck.h
2.377 KB
5 Aug 2025 2.01 PM
root / root
0644
memory.h
0.933 KB
5 Aug 2025 2.01 PM
root / root
0644
mntent.h
3.279 KB
5 Aug 2025 2.01 PM
root / root
0644
monetary.h
1.761 KB
5 Aug 2025 2.01 PM
root / root
0644
mqueue.h
3.671 KB
5 Aug 2025 2.01 PM
root / root
0644
netdb.h
27.44 KB
5 Aug 2025 2.01 PM
root / root
0644
nl_types.h
1.711 KB
5 Aug 2025 2.01 PM
root / root
0644
nss.h
1.834 KB
5 Aug 2025 2.01 PM
root / root
0644
obstack.h
20.807 KB
5 Aug 2025 2.01 PM
root / root
0644
paths.h
2.907 KB
5 Aug 2025 2.01 PM
root / root
0644
pcre2.h
43.752 KB
2 Aug 2022 4.07 PM
root / root
0644
pcre2posix.h
5.668 KB
2 Aug 2022 4.07 PM
root / root
0644
poll.h
0.021 KB
5 Aug 2025 2.01 PM
root / root
0644
printf.h
6.641 KB
5 Aug 2025 2.01 PM
root / root
0644
proc_service.h
3.395 KB
5 Aug 2025 2.01 PM
root / root
0644
profile.h
11.869 KB
5 Nov 2024 2.15 AM
root / root
0644
pthread.h
40.302 KB
5 Aug 2025 2.01 PM
root / root
0644
pty.h
1.532 KB
5 Aug 2025 2.01 PM
root / root
0644
pwd.h
6.014 KB
5 Aug 2025 2.01 PM
root / root
0644
re_comp.h
0.939 KB
5 Aug 2025 2.01 PM
root / root
0644
regex.h
24.136 KB
5 Aug 2025 2.01 PM
root / root
0644
regexp.h
1.413 KB
5 Aug 2025 2.01 PM
root / root
0644
resolv.h
11.868 KB
5 Aug 2025 2.01 PM
root / root
0644
sched.h
4.621 KB
5 Aug 2025 2.01 PM
root / root
0644
search.h
5.101 KB
5 Aug 2025 2.01 PM
root / root
0644
semaphore.h
2.343 KB
5 Aug 2025 2.01 PM
root / root
0644
setjmp.h
3.583 KB
5 Aug 2025 2.01 PM
root / root
0644
sgtty.h
1.312 KB
5 Aug 2025 2.01 PM
root / root
0644
shadow.h
5.343 KB
5 Aug 2025 2.01 PM
root / root
0644
signal.h
11.956 KB
5 Aug 2025 2.01 PM
root / root
0644
spawn.h
6.533 KB
5 Aug 2025 2.01 PM
root / root
0644
stab.h
0.258 KB
5 Aug 2025 2.01 PM
root / root
0644
stdc-predef.h
2.235 KB
5 Aug 2025 2.00 PM
root / root
0644
stdint.h
8.271 KB
5 Aug 2025 2.01 PM
root / root
0644
stdio.h
29.461 KB
5 Aug 2025 2.01 PM
root / root
0644
stdio_ext.h
2.733 KB
5 Aug 2025 2.01 PM
root / root
0644
stdlib.h
34.817 KB
5 Aug 2025 2.01 PM
root / root
0644
string.h
17.175 KB
5 Aug 2025 2.01 PM
root / root
0644
strings.h
4.641 KB
5 Aug 2025 2.01 PM
root / root
0644
syscall.h
0.024 KB
5 Aug 2025 2.01 PM
root / root
0644
sysexits.h
5.109 KB
5 Aug 2025 2.01 PM
root / root
0644
syslog.h
0.023 KB
5 Aug 2025 2.01 PM
root / root
0644
tar.h
3.696 KB
5 Aug 2025 2.01 PM
root / root
0644
termio.h
0.209 KB
5 Aug 2025 2.01 PM
root / root
0644
termios.h
3.514 KB
5 Aug 2025 2.01 PM
root / root
0644
tgmath.h
30.751 KB
5 Aug 2025 2.01 PM
root / root
0644
thread_db.h
15.647 KB
5 Aug 2025 2.01 PM
root / root
0644
threads.h
6.499 KB
5 Aug 2025 2.01 PM
root / root
0644
time.h
10.117 KB
5 Aug 2025 2.01 PM
root / root
0644
ttyent.h
2.436 KB
5 Aug 2025 2.01 PM
root / root
0644
uchar.h
1.954 KB
5 Aug 2025 2.01 PM
root / root
0644
ucontext.h
1.988 KB
5 Aug 2025 2.01 PM
root / root
0644
ulimit.h
1.546 KB
5 Aug 2025 2.01 PM
root / root
0644
unistd.h
41.736 KB
5 Aug 2025 2.01 PM
root / root
0644
utime.h
1.466 KB
5 Aug 2025 2.01 PM
root / root
0644
utmp.h
3.146 KB
5 Aug 2025 2.01 PM
root / root
0644
utmpx.h
4.003 KB
5 Aug 2025 2.01 PM
root / root
0644
values.h
1.909 KB
5 Aug 2025 2.00 PM
root / root
0644
verto-module.h
6.484 KB
8 Oct 2022 7.49 AM
root / root
0644
verto.h
18.981 KB
8 Oct 2022 7.49 AM
root / root
0644
wait.h
0.021 KB
5 Aug 2025 2.01 PM
root / root
0644
wchar.h
30.382 KB
5 Aug 2025 2.01 PM
root / root
0644
wctype.h
5.418 KB
5 Aug 2025 2.01 PM
root / root
0644
wordexp.h
2.442 KB
5 Aug 2025 2.01 PM
root / root
0644
zconf.h
15.881 KB
11 Oct 2023 10.02 PM
root / root
0644
zlib.h
94.005 KB
11 Oct 2023 10.02 PM
root / root
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2026 CONTACT ME
Static GIF