I cannot compile OpenSSH on m68k against the t64 libraries, as it
dies with an ICE. I already tried, on my ARAnyM system:
- adding -fno-lto
- adding -O1 or -O0
- removing -g
Now I am out of ideas what else to try. (13.2.0-18 is Building,
so I can try that later.)
The log from the buildd with the preprocessed info follows:
[…]
ranlib libopenbsd-compat.a
make[3]: Leaving directory '/<<PKGBUILDDIR>>/debian/build-deb/openbsd-compat'
cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -specs=/usr/share/dpkg/pie-compile.specs -fstack-protector-strong -Wformat -Werror=format-security -pipe -Wno-error=format-truncation -Wall -Wextra -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-parameter -Wno-unused-result -Wimplicit-fallthrough -Wmisleading-indentation -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fzero-call-used-regs=used -ftrivial-auto-var-init=zero -fno-builtin-memset -fstack-protector-strong -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -specs=/usr/share/dpkg/pie-compile.specs -fstack-protector-strong -Wformat -Werror=format-security -DSSH_EXTRAVERSION=\"Debian-2\" -I. -I../.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_GNU_SOURCE -I/usr/include/editline -DOPENSSL_API_COMPAT=0x10100000L -isystem /usr/include/mit-krb5 -isystem /usr/include/mit-krb5 -DSSHDIR=\"/etc/ssh\" -D_PATH_SSH_PROGRAM=\"/usr/bin/ssh\" -D_PATH_SSH_ASKPASS_DEFAULT=\"/usr/bin/ssh-askpass\" -D_PATH_SFTP_SERVER=\"/usr/lib/openssh/sftp-server\" -D_PATH_SSH_KEY_SIGN=\"/usr/lib/openssh/ssh-keysign\" -D_PATH_SSH_PKCS11_HELPER=\"/usr/lib/openssh/ssh-pkcs11-helper\" -D_PATH_SSH_SK_HELPER=\"/usr/lib/openssh/ssh-sk-helper\" -D_PATH_SSH_PIDDIR=\"/run\" -D_PATH_PRIVSEP_CHROOT_DIR=\"/run/sshd\" -DHAVE_CONFIG_H -c ../../moduli.c -o moduli.o
cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -specs=/usr/share/dpkg/pie-compile.specs -fstack-protector-strong -Wformat -Werror=format-security -pipe -Wno-error=format-truncation -Wall -Wextra -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-parameter -Wno-unused-result -Wimplicit-fallthrough -Wmisleading-indentation -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fzero-call-used-regs=used -ftrivial-auto-var-init=zero -fno-builtin-memset -fstack-protector-strong -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -specs=/usr/share/dpkg/pie-compile.specs -fstack-protector-strong -Wformat -Werror=format-security -DSSH_EXTRAVERSION=\"Debian-2\" -I. -I../.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_GNU_SOURCE -I/usr/include/editline -DOPENSSL_API_COMPAT=0x10100000L -isystem /usr/include/mit-krb5 -isystem /usr/include/mit-krb5 -DSSHDIR=\"/etc/ssh\" -D_PATH_SSH_PROGRAM=\"/usr/bin/ssh\" -D_PATH_SSH_ASKPASS_DEFAULT=\"/usr/bin/ssh-askpass\" -D_PATH_SFTP_SERVER=\"/usr/lib/openssh/sftp-server\" -D_PATH_SSH_KEY_SIGN=\"/usr/lib/openssh/ssh-keysign\" -D_PATH_SSH_PKCS11_HELPER=\"/usr/lib/openssh/ssh-pkcs11-helper\" -D_PATH_SSH_SK_HELPER=\"/usr/lib/openssh/ssh-sk-helper\" -D_PATH_SSH_PIDDIR=\"/run\" -D_PATH_PRIVSEP_CHROOT_DIR=\"/run/sshd\" -DHAVE_CONFIG_H -c ../../nchan.c -o nchan.o
cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -specs=/usr/share/dpkg/pie-compile.specs -fstack-protector-strong -Wformat -Werror=format-security -pipe -Wno-error=format-truncation -Wall -Wextra -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-parameter -Wno-unused-result -Wimplicit-fallthrough -Wmisleading-indentation -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fzero-call-used-regs=used -ftrivial-auto-var-init=zero -fno-builtin-memset -fstack-protector-strong -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -specs=/usr/share/dpkg/pie-compile.specs -fstack-protector-strong -Wformat -Werror=format-security -DSSH_EXTRAVERSION=\"Debian-2\" -I. -I../.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_GNU_SOURCE -I/usr/include/editline -DOPENSSL_API_COMPAT=0x10100000L -isystem /usr/include/mit-krb5 -isystem /usr/include/mit-krb5 -DSSHDIR=\"/etc/ssh\" -D_PATH_SSH_PROGRAM=\"/usr/bin/ssh\" -D_PATH_SSH_ASKPASS_DEFAULT=\"/usr/bin/ssh-askpass\" -D_PATH_SFTP_SERVER=\"/usr/lib/openssh/sftp-server\" -D_PATH_SSH_KEY_SIGN=\"/usr/lib/openssh/ssh-keysign\" -D_PATH_SSH_PKCS11_HELPER=\"/usr/lib/openssh/ssh-pkcs11-helper\" -D_PATH_SSH_SK_HELPER=\"/usr/lib/openssh/ssh-sk-helper\" -D_PATH_SSH_PIDDIR=\"/run\" -D_PATH_PRIVSEP_CHROOT_DIR=\"/run/sshd\" -DHAVE_CONFIG_H -c ../../packet.c -o packet.o
during RTL pass: zero_call_used_regs
../../moduli.c: In function ‘prime_test’:
../../moduli.c:814:1: internal compiler error: in change_address_1, at emit-rtl.cc:2287
814 | }
| ^
0x81019dfb internal_error(char const*, ...)
???:0
0x8018a645 fancy_abort(char const*, int, char const*)
???:0
0x803bb389 replace_equiv_address(rtx_def*, rtx_def*, bool)
???:0
0x803eaba9 emit_move_insn(rtx_def*, rtx_def*)
???:0
0x80736979 default_zero_call_used_regs(unsigned long)
???:0
Please submit a full bug report, with preprocessed source (by using -freport-bug).
Please include the complete backtrace with any bug report.
See <file:///usr/share/doc/gcc-13/README.Bugs> for instructions.
during RTL pass: zero_call_used_regs
../../packet.c: In function ‘ssh_packet_close_internal’:
../../packet.c:648:1: internal compiler error: in change_address_1, at emit-rtl.cc:2287
648 | }
| ^
0x81019dfb internal_error(char const*, ...)
???:0
0x8018a645 fancy_abort(char const*, int, char const*)
???:0
0x803bb389 replace_equiv_address(rtx_def*, rtx_def*, bool)
???:0
0x803eaba9 emit_move_insn(rtx_def*, rtx_def*)
???:0
0x80736979 default_zero_call_used_regs(unsigned long)
???:0
Please submit a full bug report, with preprocessed source (by using -freport-bug).
Please include the complete backtrace with any bug report.
See <file:///usr/share/doc/gcc-13/README.Bugs> for instructions.
Preprocessed source stored into /tmp/ccFqZYX6.out file, please attach this to your bugreport.
=== BEGIN GCC DUMP ===
2432083: // Target: m68k-linux-gnu
2432083: // Configured with: ../src/configure -v --with-pkgversion='Debian 13.2.0-16.1' --with-bugurl=file:///usr/share/doc/gcc-13/README.Bugs --enable-languages=c,ada,c++,fortran,objc,obj-c++,m2 --prefix=/usr --with-gcc-major-version-only --program-suffix=-13 --program-prefix=m68k-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/libexec --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-libstdcxx-backtrace --enable-gnu-unique-object --disable-libssp --disable-libitm --disable-libsanitizer --disable-libquadmath --disable-libquadmath-support --enable-plugin --with-system-zlib --enable-objc-gc=auto --enable-multiarch --disable-werror --disable-werror --disable-multilib --enable-checking=release --build=m68k-linux-gnu --host=m68k-linux-gnu --target=m68k-linux-gnu
2432083: // Thread model: posix
2432083: // Supported LTO compression algorithms: zlib zstd
2432083: // gcc version 13.2.0 (Debian 13.2.0-16.1)
2432083: //
2432083: // during RTL pass: zero_call_used_regs
2432083: // ../../moduli.c: In function ‘prime_test’:
2432083: // ../../moduli.c:814:1: internal compiler error: in change_address_1, at emit-rtl.cc:2287
2432083: // 814 | }
2432083: // | ^
2432083: // 0x81019dfb internal_error(char const*, ...)
2432083: // ???:0
2432083: // 0x8018a645 fancy_abort(char const*, int, char const*)
2432083: // ???:0
2432083: // 0x803bb389 replace_equiv_address(rtx_def*, rtx_def*, bool)
2432083: // ???:0
2432083: // 0x803eaba9 emit_move_insn(rtx_def*, rtx_def*)
2432083: // ???:0
2432083: // 0x80736979 default_zero_call_used_regs(unsigned long)
2432083: // ???:0
2432083: // Please submit a full bug report, with preprocessed source (by using -freport-bug).
2432083: // Please include the complete backtrace with any bug report.
2432083: // See <file:///usr/share/doc/gcc-13/README.Bugs> for instructions.
2432083:
2432083: // /usr/libexec/gcc/m68k-linux-gnu/13/cc1 -quiet -I . -I ../.. -I /usr/include/editline -imultilib . -imultiarch m68k-linux-gnu -D _FORTIFY_SOURCE=2 -D _LARGEFILE_SOURCE -D _FILE_OFFSET_BITS=64 -D _TIME_BITS=64 -D _FORTIFY_SOURCE=2 -D SSH_EXTRAVERSION="Debian-2" -D _LARGEFILE_SOURCE -D _FILE_OFFSET_BITS=64 -D _TIME_BITS=64 -D _FORTIFY_SOURCE=2 -D _XOPEN_SOURCE=600 -D _BSD_SOURCE -D _DEFAULT_SOURCE -D _GNU_SOURCE -D OPENSSL_API_COMPAT=0x10100000L -D SSHDIR="/etc/ssh" -D _PATH_SSH_PROGRAM="/usr/bin/ssh" -D _PATH_SSH_ASKPASS_DEFAULT="/usr/bin/ssh-askpass" -D _PATH_SFTP_SERVER="/usr/lib/openssh/sftp-server" -D _PATH_SSH_KEY_SIGN="/usr/lib/openssh/ssh-keysign" -D _PATH_SSH_PKCS11_HELPER="/usr/lib/openssh/ssh-pkcs11-helper" -D _PATH_SSH_SK_HELPER="/usr/lib/openssh/ssh-sk-helper" -D _PATH_SSH_PIDDIR="/run" -D _PATH_PRIVSEP_CHROOT_DIR="/run/sshd" -D HAVE_CONFIG_H -isystem /usr/include/mit-krb5 -isystem /usr/include/mit-krb5 ../../moduli.c -quiet -dumpbase moduli.c -dumpbase-ext .c -mcpu=68020 -g -g -O2 -O2 -Werror=implicit-function-declaration -Wformat=1 -Werror=format-security -Wno-error=format-truncation -Wall -Wextra -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-parameter -Wno-unused-result -Wimplicit-fallthrough=3 -Wmisleading-indentation -Werror=implicit-function-declaration -Wformat=1 -Werror=format-security -Wdate-time -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fno-strict-aliasing -ftrapv -fzero-call-used-regs=used -ftrivial-auto-var-init=zero -fno-builtin-memset -fstack-protector-strong -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fPIE -o - -frandom-seed=0 -fdump-noaddr
2432083:
2432083: # 0 "../../moduli.c"
2432083: # 1 "/<<PKGBUILDDIR>>/debian/build-deb//"
2432083: # 0 "<built-in>"
2432083: # 0 "<command-line>"
2432083: # 1 "/usr/include/stdc-predef.h" 1 3 4
2432083: # 0 "<command-line>" 2
2432083: # 1 "../../moduli.c"
2432083: # 40 "../../moduli.c"
2432083: # 1 "../../includes.h" 1
2432083: # 19 "../../includes.h"
2432083: # 1 "./config.h" 1
2432083: # 20 "../../includes.h" 2
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: # 1 "/usr/include/m68k-linux-gnu/sys/types.h" 1 3 4
2432083: # 25 "/usr/include/m68k-linux-gnu/sys/types.h" 3 4
2432083: # 1 "/usr/include/features.h" 1 3 4
2432083: # 393 "/usr/include/features.h" 3 4
2432083: # 1 "/usr/include/features-time64.h" 1 3 4
2432083: # 20 "/usr/include/features-time64.h" 3 4
2432083: # 1 "/usr/include/m68k-linux-gnu/bits/wordsize.h" 1 3 4
2432083: # 21 "/usr/include/features-time64.h" 2 3 4
2432083: # 1 "/usr/include/m68k-linux-gnu/bits/timesize.h" 1 3 4
2432083: # 22 "/usr/include/features-time64.h" 2 3 4
2432083: # 394 "/usr/include/features.h" 2 3 4
2432083: # 490 "/usr/include/features.h" 3 4
2432083: # 1 "/usr/include/m68k-linux-gnu/sys/cdefs.h" 1 3 4
2432083: # 561 "/usr/include/m68k-linux-gnu/sys/cdefs.h" 3 4
2432083: # 1 "/usr/include/m68k-linux-gnu/bits/wordsize.h" 1 3 4
2432083: # 562 "/usr/include/m68k-linux-gnu/sys/cdefs.h" 2 3 4
2432083: # 1 "/usr/include/m68k-linux-gnu/bits/long-double.h" 1 3 4
2432083: # 563 "/usr/include/m68k-linux-gnu/sys/cdefs.h" 2 3 4
2432083: # 491 "/usr/include/features.h" 2 3 4
2432083: # 514 "/usr/include/features.h" 3 4
2432083: # 1 "/usr/include/m68k-linux-gnu/gnu/stubs.h" 1 3 4
2432083: # 515 "/usr/include/features.h" 2 3 4
2432083: # 26 "/usr/include/m68k-linux-gnu/sys/types.h" 2 3 4
2432083:
2432083:
2432083:
2432083: # 1 "/usr/include/m68k-linux-gnu/bits/types.h" 1 3 4
2432083: # 27 "/usr/include/m68k-linux-gnu/bits/types.h" 3 4
2432083: # 1 "/usr/include/m68k-linux-gnu/bits/wordsize.h" 1 3 4
2432083: # 28 "/usr/include/m68k-linux-gnu/bits/types.h" 2 3 4
2432083: # 1 "/usr/include/m68k-linux-gnu/bits/timesize.h" 1 3 4
2432083: # 29 "/usr/include/m68k-linux-gnu/bits/types.h" 2 3 4
2432083:
2432083:
2432083:
2432083: # 31 "/usr/include/m68k-linux-gnu/bits/types.h" 3 4
2432083: typedef unsigned char __u_char;
2432083: typedef unsigned short int __u_short;
2432083: typedef unsigned int __u_int;
2432083: typedef unsigned long int __u_long;
2432083:
2432083:
2432083: typedef signed char __int8_t;
2432083: typedef unsigned char __uint8_t;
2432083: typedef signed short int __int16_t;
2432083: typedef unsigned short int __uint16_t;
2432083: typedef signed int __int32_t;
2432083: typedef unsigned int __uint32_t;
2432083:
2432083:
2432083:
2432083:
2432083: __extension__ typedef signed long long int __int64_t;
2432083: __extension__ typedef unsigned long long int __uint64_t;
2432083:
2432083:
2432083:
2432083: typedef __int8_t __int_least8_t;
2432083: typedef __uint8_t __uint_least8_t;
2432083: typedef __int16_t __int_least16_t;
2432083: typedef __uint16_t __uint_least16_t;
2432083: typedef __int32_t __int_least32_t;
2432083: typedef __uint32_t __uint_least32_t;
2432083: typedef __int64_t __int_least64_t;
2432083: typedef __uint64_t __uint_least64_t;
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: __extension__ typedef long long int __quad_t;
2432083: __extension__ typedef unsigned long long int __u_quad_t;
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: __extension__ typedef long long int __intmax_t;
2432083: __extension__ typedef unsigned long long int __uintmax_t;
2432083: # 141 "/usr/include/m68k-linux-gnu/bits/types.h" 3 4
2432083: # 1 "/usr/include/m68k-linux-gnu/bits/typesizes.h" 1 3 4
2432083: # 142 "/usr/include/m68k-linux-gnu/bits/types.h" 2 3 4
2432083: # 1 "/usr/include/m68k-linux-gnu/bits/time64.h" 1 3 4
2432083: # 143 "/usr/include/m68k-linux-gnu/bits/types.h" 2 3 4
2432083:
2432083:
2432083: __extension__ typedef __uint64_t __dev_t;
2432083: __extension__ typedef unsigned int __uid_t;
2432083: __extension__ typedef unsigned int __gid_t;
2432083: __extension__ typedef unsigned long int __ino_t;
2432083: __extension__ typedef __uint64_t __ino64_t;
2432083: __extension__ typedef unsigned int __mode_t;
2432083: __extension__ typedef unsigned int __nlink_t;
2432083: __extension__ typedef long int __off_t;
2432083: __extension__ typedef __int64_t __off64_t;
2432083: __extension__ typedef int __pid_t;
2432083: __extension__ typedef struct { int __val[2]; } __fsid_t;
2432083: __extension__ typedef long int __clock_t;
2432083: __extension__ typedef unsigned long int __rlim_t;
2432083: __extension__ typedef __uint64_t __rlim64_t;
2432083: __extension__ typedef unsigned int __id_t;
2432083: __extension__ typedef long int __time_t;
2432083: __extension__ typedef unsigned int __useconds_t;
2432083: __extension__ typedef long int __suseconds_t;
2432083: __extension__ typedef __int64_t __suseconds64_t;
2432083:
2432083: __extension__ typedef int __daddr_t;
2432083: __extension__ typedef int __key_t;
2432083:
2432083:
2432083: __extension__ typedef int __clockid_t;
2432083:
2432083:
2432083: __extension__ typedef void * __timer_t;
2432083:
2432083:
2432083: __extension__ typedef long int __blksize_t;
2432083:
2432083:
2432083:
2432083:
2432083: __extension__ typedef long int __blkcnt_t;
2432083: __extension__ typedef __int64_t __blkcnt64_t;
2432083:
2432083:
2432083: __extension__ typedef unsigned long int __fsblkcnt_t;
2432083: __extension__ typedef __uint64_t __fsblkcnt64_t;
2432083:
2432083:
2432083: __extension__ typedef unsigned long int __fsfilcnt_t;
2432083: __extension__ typedef __uint64_t __fsfilcnt64_t;
2432083:
2432083:
2432083: __extension__ typedef int __fsword_t;
2432083:
2432083: __extension__ typedef int __ssize_t;
2432083:
2432083:
2432083: __extension__ typedef long int __syscall_slong_t;
2432083:
2432083: __extension__ typedef unsigned long int __syscall_ulong_t;
2432083:
2432083:
2432083:
2432083: typedef __off64_t __loff_t;
2432083: typedef char *__caddr_t;
2432083:
2432083:
2432083: __extension__ typedef int __intptr_t;
2432083:
2432083:
2432083: __extension__ typedef unsigned int __socklen_t;
2432083:
2432083:
2432083:
2432083:
2432083: typedef int __sig_atomic_t;
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: __extension__ typedef __int64_t __time64_t;
2432083: # 30 "/usr/include/m68k-linux-gnu/sys/types.h" 2 3 4
2432083:
2432083:
2432083:
2432083: typedef __u_char u_char;
2432083: typedef __u_short u_short;
2432083: typedef __u_int u_int;
2432083: typedef __u_long u_long;
2432083: typedef __quad_t quad_t;
2432083: typedef __u_quad_t u_quad_t;
2432083: typedef __fsid_t fsid_t;
2432083:
2432083:
2432083: typedef __loff_t loff_t;
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: typedef __ino64_t ino_t;
2432083:
2432083:
2432083:
2432083:
2432083: typedef __ino64_t ino64_t;
2432083:
2432083:
2432083:
2432083:
2432083: typedef __dev_t dev_t;
2432083:
2432083:
2432083:
2432083:
2432083: typedef __gid_t gid_t;
2432083:
2432083:
2432083:
2432083:
2432083: typedef __mode_t mode_t;
2432083:
2432083:
2432083:
2432083:
2432083: typedef __nlink_t nlink_t;
2432083:
2432083:
2432083:
2432083:
2432083: typedef __uid_t uid_t;
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: typedef __off64_t off_t;
2432083:
2432083:
2432083:
2432083:
2432083: typedef __off64_t off64_t;
2432083:
2432083:
2432083:
2432083:
2432083: typedef __pid_t pid_t;
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: typedef __id_t id_t;
2432083:
2432083:
2432083:
2432083:
2432083: typedef __ssize_t ssize_t;
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: typedef __daddr_t daddr_t;
2432083: typedef __caddr_t caddr_t;
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: typedef __key_t key_t;
2432083:
2432083:
2432083:
2432083:
2432083: # 1 "/usr/include/m68k-linux-gnu/bits/types/clock_t.h" 1 3 4
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: typedef __clock_t clock_t;
2432083: # 127 "/usr/include/m68k-linux-gnu/sys/types.h" 2 3 4
2432083:
2432083: # 1 "/usr/include/m68k-linux-gnu/bits/types/clockid_t.h" 1 3 4
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: typedef __clockid_t clockid_t;
2432083: # 129 "/usr/include/m68k-linux-gnu/sys/types.h" 2 3 4
2432083: # 1 "/usr/include/m68k-linux-gnu/bits/types/time_t.h" 1 3 4
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: typedef __time64_t time_t;
2432083: # 130 "/usr/include/m68k-linux-gnu/sys/types.h" 2 3 4
2432083: # 1 "/usr/include/m68k-linux-gnu/bits/types/timer_t.h" 1 3 4
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: typedef __timer_t timer_t;
2432083: # 131 "/usr/include/m68k-linux-gnu/sys/types.h" 2 3 4
2432083:
2432083:
2432083:
2432083: typedef __useconds_t useconds_t;
2432083:
2432083:
2432083:
2432083: typedef __suseconds_t suseconds_t;
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: # 1 "/usr/lib/gcc/m68k-linux-gnu/13/include/stddef.h" 1 3 4
2432083: # 214 "/usr/lib/gcc/m68k-linux-gnu/13/include/stddef.h" 3 4
2432083: typedef unsigned int size_t;
2432083: # 145 "/usr/include/m68k-linux-gnu/sys/types.h" 2 3 4
2432083:
2432083:
2432083:
2432083: typedef unsigned long int ulong;
2432083: typedef unsigned short int ushort;
2432083: typedef unsigned int uint;
2432083:
2432083:
2432083:
2432083:
2432083: # 1 "/usr/include/m68k-linux-gnu/bits/stdint-intn.h" 1 3 4
2432083: # 24 "/usr/include/m68k-linux-gnu/bits/stdint-intn.h" 3 4
2432083: typedef __int8_t int8_t;
2432083: typedef __int16_t int16_t;
2432083: typedef __int32_t int32_t;
2432083: typedef __int64_t int64_t;
2432083: # 156 "/usr/include/m68k-linux-gnu/sys/types.h" 2 3 4
2432083:
2432083:
2432083: typedef __uint8_t u_int8_t;
2432083: typedef __uint16_t u_int16_t;
2432083: typedef __uint32_t u_int32_t;
2432083: typedef __uint64_t u_int64_t;
2432083:
2432083:
2432083: typedef int register_t __attribute__ ((__mode__ (__word__)));
2432083: # 176 "/usr/include/m68k-linux-gnu/sys/types.h" 3 4
2432083: # 1 "/usr/include/endian.h" 1 3 4
2432083: # 24 "/usr/include/endian.h" 3 4
2432083: # 1 "/usr/include/m68k-linux-gnu/bits/endian.h" 1 3 4
2432083: # 35 "/usr/include/m68k-linux-gnu/bits/endian.h" 3 4
2432083: # 1 "/usr/include/m68k-linux-gnu/bits/endianness.h" 1 3 4
2432083: # 36 "/usr/include/m68k-linux-gnu/bits/endian.h" 2 3 4
2432083: # 25 "/usr/include/endian.h" 2 3 4
2432083: # 35 "/usr/include/endian.h" 3 4
2432083: # 1 "/usr/include/m68k-linux-gnu/bits/byteswap.h" 1 3 4
2432083: # 33 "/usr/include/m68k-linux-gnu/bits/byteswap.h" 3 4
2432083: static __inline __uint16_t
2432083: __bswap_16 (__uint16_t __bsx)
2432083: {
2432083:
2432083: return __builtin_bswap16 (__bsx);
2432083:
2432083:
2432083:
2432083: }
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: static __inline __uint32_t
2432083: __bswap_32 (__uint32_t __bsx)
2432083: {
2432083:
2432083: return __builtin_bswap32 (__bsx);
2432083:
2432083:
2432083:
2432083: }
2432083: # 69 "/usr/include/m68k-linux-gnu/bits/byteswap.h" 3 4
2432083: __extension__ static __inline __uint64_t
2432083: __bswap_64 (__uint64_t __bsx)
2432083: {
2432083:
2432083: return __builtin_bswap64 (__bsx);
2432083:
2432083:
2432083:
2432083: }
2432083: # 36 "/usr/include/endian.h" 2 3 4
2432083: # 1 "/usr/include/m68k-linux-gnu/bits/uintn-identity.h" 1 3 4
2432083: # 32 "/usr/include/m68k-linux-gnu/bits/uintn-identity.h" 3 4
2432083: static __inline __uint16_t
2432083: __uint16_identity (__uint16_t __x)
2432083: {
2432083: return __x;
2432083: }
2432083:
2432083: static __inline __uint32_t
2432083: __uint32_identity (__uint32_t __x)
2432083: {
2432083: return __x;
2432083: }
2432083:
2432083: static __inline __uint64_t
2432083: __uint64_identity (__uint64_t __x)
2432083: {
2432083: return __x;
2432083: }
2432083: # 37 "/usr/include/endian.h" 2 3 4
2432083: # 177 "/usr/include/m68k-linux-gnu/sys/types.h" 2 3 4
2432083:
2432083:
2432083: # 1 "/usr/include/m68k-linux-gnu/sys/select.h" 1 3 4
2432083: # 30 "/usr/include/m68k-linux-gnu/sys/select.h" 3 4
2432083: # 1 "/usr/include/m68k-linux-gnu/bits/select.h" 1 3 4
2432083: # 31 "/usr/include/m68k-linux-gnu/sys/select.h" 2 3 4
2432083:
2432083:
2432083: # 1 "/usr/include/m68k-linux-gnu/bits/types/sigset_t.h" 1 3 4
2432083:
2432083:
2432083:
2432083: # 1 "/usr/include/m68k-linux-gnu/bits/types/__sigset_t.h" 1 3 4
2432083:
2432083:
2432083:
2432083:
2432083: typedef struct
2432083: {
2432083: unsigned long int __val[(1024 / (8 * sizeof (unsigned long int)))];
2432083: } __sigset_t;
2432083: # 5 "/usr/include/m68k-linux-gnu/bits/types/sigset_t.h" 2 3 4
2432083:
2432083:
2432083: typedef __sigset_t sigset_t;
2432083: # 34 "/usr/include/m68k-linux-gnu/sys/select.h" 2 3 4
2432083:
2432083:
2432083:
2432083: # 1 "/usr/include/m68k-linux-gnu/bits/types/struct_timeval.h" 1 3 4
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: struct timeval
2432083: {
2432083:
2432083: __time64_t tv_sec;
2432083: __suseconds64_t tv_usec;
2432083:
2432083:
2432083:
2432083:
2432083: };
2432083: # 38 "/usr/include/m68k-linux-gnu/sys/select.h" 2 3 4
2432083:
2432083: # 1 "/usr/include/m68k-linux-gnu/bits/types/struct_timespec.h" 1 3 4
2432083: # 11 "/usr/include/m68k-linux-gnu/bits/types/struct_timespec.h" 3 4
2432083: struct timespec
2432083: {
2432083:
2432083: __time64_t tv_sec;
2432083: # 24 "/usr/include/m68k-linux-gnu/bits/types/struct_timespec.h" 3 4
2432083: int: 32;
2432083: long int tv_nsec;
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: };
2432083: # 40 "/usr/include/m68k-linux-gnu/sys/select.h" 2 3 4
2432083: # 49 "/usr/include/m68k-linux-gnu/sys/select.h" 3 4
2432083: typedef long int __fd_mask;
2432083: # 59 "/usr/include/m68k-linux-gnu/sys/select.h" 3 4
2432083: typedef struct
2432083: {
2432083:
2432083:
2432083:
2432083: __fd_mask fds_bits[1024 / (8 * (int) sizeof (__fd_mask))];
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: } fd_set;
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: typedef __fd_mask fd_mask;
2432083: # 91 "/usr/include/m68k-linux-gnu/sys/select.h" 3 4
2432083:
2432083: # 108 "/usr/include/m68k-linux-gnu/sys/select.h" 3 4
2432083: extern int select (int __nfds, fd_set *__restrict __readfds, fd_set *__restrict __writefds, fd_set *__restrict __exceptfds, struct timeval *__restrict __timeout) __asm__ ("" "__select64")
2432083:
2432083:
2432083:
2432083:
2432083: ;
2432083: # 134 "/usr/include/m68k-linux-gnu/sys/select.h" 3 4
2432083: extern int pselect (int __nfds, fd_set *__restrict __readfds, fd_set *__restrict __writefds, fd_set *__restrict __exceptfds, const struct timespec *__restrict __timeout, const __sigset_t *__restrict __sigmask) __asm__ ("" "__pselect64")
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: ;
2432083: # 150 "/usr/include/m68k-linux-gnu/sys/select.h" 3 4
2432083: # 1 "/usr/include/m68k-linux-gnu/bits/select2.h" 1 3 4
2432083: # 24 "/usr/include/m68k-linux-gnu/bits/select2.h" 3 4
2432083: extern long int __fdelt_chk (long int __d);
2432083: extern long int __fdelt_warn (long int __d)
2432083: __attribute__((__warning__ ("bit outside of fd_set selected")));
2432083: # 151 "/usr/include/m68k-linux-gnu/sys/select.h" 2 3 4
2432083:
2432083:
2432083:
2432083: # 180 "/usr/include/m68k-linux-gnu/sys/types.h" 2 3 4
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: typedef __blksize_t blksize_t;
2432083: # 205 "/usr/include/m68k-linux-gnu/sys/types.h" 3 4
2432083: typedef __blkcnt64_t blkcnt_t;
2432083:
2432083:
2432083:
2432083: typedef __fsblkcnt64_t fsblkcnt_t;
2432083:
2432083:
2432083:
2432083: typedef __fsfilcnt64_t fsfilcnt_t;
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: typedef __blkcnt64_t blkcnt64_t;
2432083: typedef __fsblkcnt64_t fsblkcnt64_t;
2432083: typedef __fsfilcnt64_t fsfilcnt64_t;
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: # 1 "/usr/include/m68k-linux-gnu/bits/pthreadtypes.h" 1 3 4
2432083: # 23 "/usr/include/m68k-linux-gnu/bits/pthreadtypes.h" 3 4
2432083: # 1 "/usr/include/m68k-linux-gnu/bits/thread-shared-types.h" 1 3 4
2432083: # 44 "/usr/include/m68k-linux-gnu/bits/thread-shared-types.h" 3 4
2432083: # 1 "/usr/include/m68k-linux-gnu/bits/pthreadtypes-arch.h" 1 3 4
2432083: # 45 "/usr/include/m68k-linux-gnu/bits/thread-shared-types.h" 2 3 4
2432083:
2432083: # 1 "/usr/include/m68k-linux-gnu/bits/atomic_wide_counter.h" 1 3 4
2432083: # 25 "/usr/include/m68k-linux-gnu/bits/atomic_wide_counter.h" 3 4
2432083: typedef union
2432083: {
2432083: __extension__ unsigned long long int __value64;
2432083: struct
2432083: {
2432083: unsigned int __low;
2432083: unsigned int __high;
2432083: } __value32;
2432083: } __atomic_wide_counter;
2432083: # 47 "/usr/include/m68k-linux-gnu/bits/thread-shared-types.h" 2 3 4
2432083:
2432083:
2432083:
2432083:
2432083: typedef struct __pthread_internal_list
2432083: {
2432083: struct __pthread_internal_list *__prev;
2432083: struct __pthread_internal_list *__next;
2432083: } __pthread_list_t;
2432083:
2432083: typedef struct __pthread_internal_slist
2432083: {
2432083: struct __pthread_internal_slist *__next;
2432083: } __pthread_slist_t;
2432083: # 76 "/usr/include/m68k-linux-gnu/bits/thread-shared-types.h" 3 4
2432083: # 1 "/usr/include/m68k-linux-gnu/bits/struct_mutex.h" 1 3 4
2432083: # 27 "/usr/include/m68k-linux-gnu/bits/struct_mutex.h" 3 4
2432083: struct __pthread_mutex_s
2432083: {
2432083: int __lock __attribute__ ((__aligned__ (4)));
2432083: unsigned int __count;
2432083: int __owner;
2432083: # 58 "/usr/include/m68k-linux-gnu/bits/struct_mutex.h" 3 4
2432083: int __kind;
2432083:
2432083: unsigned int __nusers;
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: __extension__ union
2432083: {
2432083: int __spins;
2432083: __pthread_slist_t __list;
2432083: };
2432083:
2432083:
2432083: };
2432083: # 77 "/usr/include/m68k-linux-gnu/bits/thread-shared-types.h" 2 3 4
2432083: # 89 "/usr/include/m68k-linux-gnu/bits/thread-shared-types.h" 3 4
2432083: # 1 "/usr/include/m68k-linux-gnu/bits/struct_rwlock.h" 1 3 4
2432083: # 29 "/usr/include/m68k-linux-gnu/bits/struct_rwlock.h" 3 4
2432083: struct __pthread_rwlock_arch_t
2432083: {
2432083: unsigned int __readers;
2432083: unsigned int __writers;
2432083: unsigned int __wrphase_futex;
2432083: unsigned int __writers_futex;
2432083: unsigned int __pad3;
2432083: unsigned int __pad4;
2432083:
2432083:
2432083:
2432083: unsigned char __pad1;
2432083: unsigned char __pad2;
2432083: unsigned char __shared;
2432083: unsigned char __flags;
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: int __cur_writer;
2432083: };
2432083: # 90 "/usr/include/m68k-linux-gnu/bits/thread-shared-types.h" 2 3 4
2432083:
2432083:
2432083:
2432083:
2432083: struct __pthread_cond_s
2432083: {
2432083: __atomic_wide_counter __wseq;
2432083: __atomic_wide_counter __g1_start;
2432083: unsigned int __g_refs[2] __attribute__ ((__aligned__ (4)));
2432083: unsigned int __g_size[2];
2432083: unsigned int __g1_orig_size;
2432083: unsigned int __wrefs;
2432083: unsigned int __g_signals[2];
2432083: };
2432083:
2432083: typedef unsigned int __tss_t;
2432083: typedef unsigned long int __thrd_t;
2432083:
2432083: typedef struct
2432083: {
2432083: int __data __attribute__ ((__aligned__ (4)));
2432083: } __once_flag;
2432083: # 24 "/usr/include/m68k-linux-gnu/bits/pthreadtypes.h" 2 3 4
2432083:
2432083:
2432083:
2432083: typedef unsigned long int pthread_t;
2432083:
2432083:
2432083:
2432083:
2432083: typedef union
2432083: {
2432083: char __size[4];
2432083: int __align;
2432083: } pthread_mutexattr_t;
2432083:
2432083:
2432083:
2432083:
2432083: typedef union
2432083: {
2432083: char __size[4];
2432083: int __align;
2432083: } pthread_condattr_t;
2432083:
2432083:
2432083:
2432083: typedef unsigned int pthread_key_t;
2432083:
2432083:
2432083:
2432083: typedef int __attribute__ ((__aligned__ (4))) pthread_once_t;
2432083:
2432083:
2432083: union pthread_attr_t
2432083: {
2432083: char __size[36];
2432083: long int __align;
2432083: };
2432083:
2432083: typedef union pthread_attr_t pthread_attr_t;
2432083:
2432083:
2432083:
2432083:
2432083: typedef union
2432083: {
2432083: struct __pthread_mutex_s __data;
2432083: char __size[24];
2432083: long int __align;
2432083: } pthread_mutex_t;
2432083:
2432083:
2432083: typedef union
2432083: {
2432083: struct __pthread_cond_s __data;
2432083: char __size[48];
2432083: __extension__ long long int __align;
2432083: } pthread_cond_t;
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: typedef union
2432083: {
2432083: struct __pthread_rwlock_arch_t __data;
2432083: char __size[32];
2432083: long int __align;
2432083: } pthread_rwlock_t;
2432083:
2432083: typedef union
2432083: {
2432083: char __size[8];
2432083: long int __align;
2432083: } pthread_rwlockattr_t;
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: typedef volatile int pthread_spinlock_t;
2432083:
2432083:
2432083:
2432083:
2432083: typedef union
2432083: {
2432083: char __size[20];
2432083: long int __align;
2432083: } pthread_barrier_t;
2432083:
2432083: typedef union
2432083: {
2432083: char __size[4];
2432083: int __align;
2432083: } pthread_barrierattr_t;
2432083: # 228 "/usr/include/m68k-linux-gnu/sys/types.h" 2 3 4
2432083:
2432083:
2432083:
2432083: # 26 "../../includes.h" 2
2432083: # 1 "/usr/include/m68k-linux-gnu/sys/socket.h" 1 3 4
2432083: # 24 "/usr/include/m68k-linux-gnu/sys/socket.h" 3 4
2432083:
2432083:
2432083: # 1 "/usr/include/m68k-linux-gnu/bits/types/struct_iovec.h" 1 3 4
2432083: # 23 "/usr/include/m68k-linux-gnu/bits/types/struct_iovec.h" 3 4
2432083: # 1 "/usr/lib/gcc/m68k-linux-gnu/13/include/stddef.h" 1 3 4
2432083: # 24 "/usr/include/m68k-linux-gnu/bits/types/struct_iovec.h" 2 3 4
2432083:
2432083:
2432083: struct iovec
2432083: {
2432083: void *iov_base;
2432083: size_t iov_len;
2432083: };
2432083: # 27 "/usr/include/m68k-linux-gnu/sys/socket.h" 2 3 4
2432083:
2432083: # 1 "/usr/lib/gcc/m68k-linux-gnu/13/include/stddef.h" 1 3 4
2432083: # 29 "/usr/include/m68k-linux-gnu/sys/socket.h" 2 3 4
2432083:
2432083:
2432083:
2432083:
2432083: # 1 "/usr/include/m68k-linux-gnu/bits/socket.h" 1 3 4
2432083: # 27 "/usr/include/m68k-linux-gnu/bits/socket.h" 3 4
2432083: # 1 "/usr/lib/gcc/m68k-linux-gnu/13/include/stddef.h" 1 3 4
2432083: # 28 "/usr/include/m68k-linux-gnu/bits/socket.h" 2 3 4
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: typedef __socklen_t socklen_t;
2432083:
2432083:
2432083:
2432083:
2432083: # 1 "/usr/include/m68k-linux-gnu/bits/socket_type.h" 1 3 4
2432083: # 24 "/usr/include/m68k-linux-gnu/bits/socket_type.h" 3 4
2432083: enum __socket_type
2432083: {
2432083: SOCK_STREAM = 1,
2432083:
2432083:
2432083: SOCK_DGRAM = 2,
2432083:
2432083:
2432083: SOCK_RAW = 3,
2432083:
2432083: SOCK_RDM = 4,
2432083:
2432083: SOCK_SEQPACKET = 5,
2432083:
2432083:
2432083: SOCK_DCCP = 6,
2432083:
2432083: SOCK_PACKET = 10,
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: SOCK_CLOEXEC = 02000000,
2432083:
2432083:
2432083: SOCK_NONBLOCK = 00004000
2432083:
2432083:
2432083: };
2432083: # 39 "/usr/include/m68k-linux-gnu/bits/socket.h" 2 3 4
2432083: # 180 "/usr/include/m68k-linux-gnu/bits/socket.h" 3 4
2432083: # 1 "/usr/include/m68k-linux-gnu/bits/sockaddr.h" 1 3 4
2432083: # 28 "/usr/include/m68k-linux-gnu/bits/sockaddr.h" 3 4
2432083: typedef unsigned short int sa_family_t;
2432083: # 181 "/usr/include/m68k-linux-gnu/bits/socket.h" 2 3 4
2432083:
2432083:
2432083: struct sockaddr
2432083: {
2432083: sa_family_t sa_family;
2432083: char sa_data[14];
2432083: };
2432083: # 196 "/usr/include/m68k-linux-gnu/bits/socket.h" 3 4
2432083: struct sockaddr_storage
2432083: {
2432083: sa_family_t ss_family;
2432083: char __ss_padding[(126 - (sizeof (unsigned short int)) - sizeof (unsigned long int))];
2432083: unsigned long int __ss_align;
2432083: };
2432083:
2432083:
2432083:
2432083: enum
2432083: {
2432083: MSG_OOB = 0x01,
2432083:
2432083: MSG_PEEK = 0x02,
2432083:
2432083: MSG_DONTROUTE = 0x04,
2432083:
2432083:
2432083:
2432083: MSG_TRYHARD = MSG_DONTROUTE,
2432083:
2432083:
2432083: MSG_CTRUNC = 0x08,
2432083:
2432083: MSG_PROXY = 0x10,
2432083:
2432083: MSG_TRUNC = 0x20,
2432083:
2432083: MSG_DONTWAIT = 0x40,
2432083:
2432083: MSG_EOR = 0x80,
2432083:
2432083: MSG_WAITALL = 0x100,
2432083:
2432083: MSG_FIN = 0x200,
2432083:
2432083: MSG_SYN = 0x400,
2432083:
2432083: MSG_CONFIRM = 0x800,
2432083:
2432083: MSG_RST = 0x1000,
2432083:
2432083: MSG_ERRQUEUE = 0x2000,
2432083:
2432083: MSG_NOSIGNAL = 0x4000,
2432083:
2432083: MSG_MORE = 0x8000,
2432083:
2432083: MSG_WAITFORONE = 0x10000,
2432083:
2432083: MSG_BATCH = 0x40000,
2432083:
2432083: MSG_ZEROCOPY = 0x4000000,
2432083:
2432083: MSG_FASTOPEN = 0x20000000,
2432083:
2432083:
2432083: MSG_CMSG_CLOEXEC = 0x40000000
2432083:
2432083:
2432083:
2432083: };
2432083:
2432083:
2432083:
2432083:
2432083: struct msghdr
2432083: {
2432083: void *msg_name;
2432083: socklen_t msg_namelen;
2432083:
2432083: struct iovec *msg_iov;
2432083: size_t msg_iovlen;
2432083:
2432083: void *msg_control;
2432083: size_t msg_controllen;
2432083:
2432083:
2432083:
2432083:
2432083: int msg_flags;
2432083: };
2432083:
2432083:
2432083: struct cmsghdr
2432083: {
2432083: size_t cmsg_len;
2432083:
2432083:
2432083:
2432083:
2432083: int cmsg_level;
2432083: int cmsg_type;
2432083:
2432083: __extension__ unsigned char __cmsg_data [];
2432083:
2432083: };
2432083: # 316 "/usr/include/m68k-linux-gnu/bits/socket.h" 3 4
2432083: extern struct cmsghdr *__cmsg_nxthdr (struct msghdr *__mhdr,
2432083: struct cmsghdr *__cmsg) __attribute__ ((__nothrow__ , __leaf__));
2432083:
2432083:
2432083:
2432083:
2432083: extern __inline __attribute__ ((__gnu_inline__)) struct cmsghdr *
2432083: __attribute__ ((__nothrow__ , __leaf__)) __cmsg_nxthdr (struct msghdr *__mhdr, struct cmsghdr *__cmsg)
2432083: {
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: unsigned char * __msg_control_ptr = (unsigned char *) __mhdr->msg_control;
2432083: unsigned char * __cmsg_ptr = (unsigned char *) __cmsg;
2432083:
2432083: size_t __size_needed = sizeof (struct cmsghdr)
2432083: + ((sizeof (size_t) - ((__cmsg->cmsg_len) & (sizeof (size_t) - 1))) & (sizeof (size_t) - 1));
2432083:
2432083:
2432083: if ((size_t) __cmsg->cmsg_len < sizeof (struct cmsghdr))
2432083: return (struct cmsghdr *) 0;
2432083:
2432083:
2432083:
2432083: if (((size_t)
2432083: (__msg_control_ptr + __mhdr->msg_controllen - __cmsg_ptr)
2432083: < __size_needed)
2432083: || ((size_t)
2432083: (__msg_control_ptr + __mhdr->msg_controllen - __cmsg_ptr
2432083: - __size_needed)
2432083: < __cmsg->cmsg_len))
2432083:
2432083: return (struct cmsghdr *) 0;
2432083:
2432083:
2432083: __cmsg = (struct cmsghdr *) ((unsigned char *) __cmsg
2432083: + (((__cmsg->cmsg_len) + sizeof (size_t) - 1) & (size_t) ~(sizeof (size_t) - 1)));
2432083: return __cmsg;
2432083: }
2432083:
2432083:
2432083:
2432083:
2432083: enum
2432083: {
2432083: SCM_RIGHTS = 0x01
2432083:
2432083:
2432083: , SCM_CREDENTIALS = 0x02
2432083:
2432083:
2432083: };
2432083:
2432083:
2432083:
2432083: struct ucred
2432083: {
2432083: pid_t pid;
2432083: uid_t uid;
2432083: gid_t gid;
2432083: };
2432083:
2432083:
2432083:
2432083:
2432083: # 1 "/usr/lib/linux/uapi/m68k/asm/socket.h" 1 3 4
2432083: # 1 "/usr/include/asm-generic/socket.h" 1 3 4
2432083:
2432083:
2432083:
2432083:
2432083: # 1 "/usr/include/linux/posix_types.h" 1 3 4
2432083:
2432083:
2432083:
2432083:
2432083: # 1 "/usr/include/linux/stddef.h" 1 3 4
2432083: # 6 "/usr/include/linux/posix_types.h" 2 3 4
2432083: # 25 "/usr/include/linux/posix_types.h" 3 4
2432083: typedef struct {
2432083: unsigned long fds_bits[1024 / (8 * sizeof(long))];
2432083: } __kernel_fd_set;
2432083:
2432083:
2432083: typedef void (*__kernel_sighandler_t)(int);
2432083:
2432083:
2432083: typedef int __kernel_key_t;
2432083: typedef int __kernel_mqd_t;
2432083:
2432083: # 1 "/usr/lib/linux/uapi/m68k/asm/posix_types.h" 1 3 4
2432083: # 11 "/usr/lib/linux/uapi/m68k/asm/posix_types.h" 3 4
2432083: typedef unsigned short __kernel_mode_t;
2432083:
2432083:
2432083: typedef unsigned short __kernel_ipc_pid_t;
2432083:
2432083:
2432083: typedef unsigned short __kernel_uid_t;
2432083: typedef unsigned short __kernel_gid_t;
2432083:
2432083:
2432083: typedef unsigned short __kernel_old_dev_t;
2432083:
2432083:
2432083: # 1 "/usr/include/asm-generic/posix_types.h" 1 3 4
2432083:
2432083:
2432083:
2432083:
2432083: # 1 "/usr/lib/linux/uapi/m68k/asm/bitsperlong.h" 1 3 4
2432083: # 1 "/usr/include/asm-generic/bitsperlong.h" 1 3 4
2432083: # 2 "/usr/lib/linux/uapi/m68k/asm/bitsperlong.h" 2 3 4
2432083: # 6 "/usr/include/asm-generic/posix_types.h" 2 3 4
2432083: # 15 "/usr/include/asm-generic/posix_types.h" 3 4
2432083: typedef long __kernel_long_t;
2432083: typedef unsigned long __kernel_ulong_t;
2432083:
2432083:
2432083:
2432083: typedef __kernel_ulong_t __kernel_ino_t;
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: typedef int __kernel_pid_t;
2432083: # 41 "/usr/include/asm-generic/posix_types.h" 3 4
2432083: typedef __kernel_long_t __kernel_suseconds_t;
2432083:
2432083:
2432083:
2432083: typedef int __kernel_daddr_t;
2432083:
2432083:
2432083:
2432083: typedef unsigned int __kernel_uid32_t;
2432083: typedef unsigned int __kernel_gid32_t;
2432083:
2432083:
2432083:
2432083: typedef __kernel_uid_t __kernel_old_uid_t;
2432083: typedef __kernel_gid_t __kernel_old_gid_t;
2432083: # 68 "/usr/include/asm-generic/posix_types.h" 3 4
2432083: typedef unsigned int __kernel_size_t;
2432083: typedef int __kernel_ssize_t;
2432083: typedef int __kernel_ptrdiff_t;
2432083: # 79 "/usr/include/asm-generic/posix_types.h" 3 4
2432083: typedef struct {
2432083: int val[2];
2432083: } __kernel_fsid_t;
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: typedef __kernel_long_t __kernel_off_t;
2432083: typedef long long __kernel_loff_t;
2432083: typedef __kernel_long_t __kernel_old_time_t;
2432083: typedef __kernel_long_t __kernel_time_t;
2432083: typedef long long __kernel_time64_t;
2432083: typedef __kernel_long_t __kernel_clock_t;
2432083: typedef int __kernel_timer_t;
2432083: typedef int __kernel_clockid_t;
2432083: typedef char * __kernel_caddr_t;
2432083: typedef unsigned short __kernel_uid16_t;
2432083: typedef unsigned short __kernel_gid16_t;
2432083: # 25 "/usr/lib/linux/uapi/m68k/asm/posix_types.h" 2 3 4
2432083: # 37 "/usr/include/linux/posix_types.h" 2 3 4
2432083: # 6 "/usr/include/asm-generic/socket.h" 2 3 4
2432083: # 1 "/usr/lib/linux/uapi/m68k/asm/sockios.h" 1 3 4
2432083: # 1 "/usr/include/asm-generic/sockios.h" 1 3 4
2432083: # 2 "/usr/lib/linux/uapi/m68k/asm/sockios.h" 2 3 4
2432083: # 7 "/usr/include/asm-generic/socket.h" 2 3 4
2432083: # 2 "/usr/lib/linux/uapi/m68k/asm/socket.h" 2 3 4
2432083: # 386 "/usr/include/m68k-linux-gnu/bits/socket.h" 2 3 4
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: struct linger
2432083: {
2432083: int l_onoff;
2432083: int l_linger;
2432083: };
2432083: # 34 "/usr/include/m68k-linux-gnu/sys/socket.h" 2 3 4
2432083:
2432083:
2432083: # 1 "/usr/include/m68k-linux-gnu/bits/types/struct_osockaddr.h" 1 3 4
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: struct osockaddr
2432083: {
2432083: unsigned short int sa_family;
2432083: unsigned char sa_data[14];
2432083: };
2432083: # 37 "/usr/include/m68k-linux-gnu/sys/socket.h" 2 3 4
2432083:
2432083:
2432083:
2432083:
2432083: enum
2432083: {
2432083: SHUT_RD = 0,
2432083:
2432083: SHUT_WR,
2432083:
2432083: SHUT_RDWR
2432083:
2432083: };
2432083: # 79 "/usr/include/m68k-linux-gnu/sys/socket.h" 3 4
2432083: typedef union { struct sockaddr *__restrict __sockaddr__; struct sockaddr_at *__restrict __sockaddr_at__; struct sockaddr_ax25 *__restrict __sockaddr_ax25__; struct sockaddr_dl *__restrict __sockaddr_dl__; struct sockaddr_eon *__restrict __sockaddr_eon__; struct sockaddr_in *__restrict __sockaddr_in__; struct sockaddr_in6 *__restrict __sockaddr_in6__; struct sockaddr_inarp *__restrict __sockaddr_inarp__; struct sockaddr_ipx *__restrict __sockaddr_ipx__; struct sockaddr_iso *__restrict __sockaddr_iso__; struct sockaddr_ns *__restrict __sockaddr_ns__; struct sockaddr_un *__restrict __sockaddr_un__; struct sockaddr_x25 *__restrict __sockaddr_x25__;
2432083: } __SOCKADDR_ARG __attribute__ ((__transparent_union__));
2432083:
2432083:
2432083: typedef union { const struct sockaddr *__restrict __sockaddr__; const struct sockaddr_at *__restrict __sockaddr_at__; const struct sockaddr_ax25 *__restrict __sockaddr_ax25__; const struct sockaddr_dl *__restrict __sockaddr_dl__; const struct sockaddr_eon *__restrict __sockaddr_eon__; const struct sockaddr_in *__restrict __sockaddr_in__; const struct sockaddr_in6 *__restrict __sockaddr_in6__; const struct sockaddr_inarp *__restrict __sockaddr_inarp__; const struct sockaddr_ipx *__restrict __sockaddr_ipx__; const struct sockaddr_iso *__restrict __sockaddr_iso__; const struct sockaddr_ns *__restrict __sockaddr_ns__; const struct sockaddr_un *__restrict __sockaddr_un__; const struct sockaddr_x25 *__restrict __sockaddr_x25__;
2432083: } __CONST_SOCKADDR_ARG __attribute__ ((__transparent_union__));
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: struct mmsghdr
2432083: {
2432083: struct msghdr msg_hdr;
2432083: unsigned int msg_len;
2432083:
2432083: };
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern int socket (int __domain, int __type, int __protocol) __attribute__ ((__nothrow__ , __leaf__));
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern int socketpair (int __domain, int __type, int __protocol,
2432083: int __fds[2]) __attribute__ ((__nothrow__ , __leaf__));
2432083:
2432083:
2432083: extern int bind (int __fd, __CONST_SOCKADDR_ARG __addr, socklen_t __len)
2432083: __attribute__ ((__nothrow__ , __leaf__));
2432083:
2432083:
2432083: extern int getsockname (int __fd, __SOCKADDR_ARG __addr,
2432083: socklen_t *__restrict __len) __attribute__ ((__nothrow__ , __leaf__));
2432083: # 126 "/usr/include/m68k-linux-gnu/sys/socket.h" 3 4
2432083: extern int connect (int __fd, __CONST_SOCKADDR_ARG __addr, socklen_t __len);
2432083:
2432083:
2432083:
2432083: extern int getpeername (int __fd, __SOCKADDR_ARG __addr,
2432083: socklen_t *__restrict __len) __attribute__ ((__nothrow__ , __leaf__));
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags);
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern ssize_t sendto (int __fd, const void *__buf, size_t __n,
2432083: int __flags, __CONST_SOCKADDR_ARG __addr,
2432083: socklen_t __addr_len);
2432083: # 163 "/usr/include/m68k-linux-gnu/sys/socket.h" 3 4
2432083: extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
2432083: int __flags, __SOCKADDR_ARG __addr,
2432083: socklen_t *__restrict __addr_len);
2432083: # 178 "/usr/include/m68k-linux-gnu/sys/socket.h" 3 4
2432083: extern ssize_t sendmsg (int __fd, const struct msghdr *__message, int __flags) __asm__ ("" "__sendmsg64")
2432083:
2432083: ;
2432083: # 199 "/usr/include/m68k-linux-gnu/sys/socket.h" 3 4
2432083: extern int sendmmsg (int __fd, struct mmsghdr *__vmessages, unsigned int __vlen, int __flags) __asm__ ("" "__sendmmsg64")
2432083:
2432083: ;
2432083: # 219 "/usr/include/m68k-linux-gnu/sys/socket.h" 3 4
2432083: extern ssize_t recvmsg (int __fd, struct msghdr *__message, int __flags) __asm__ ("" "__recvmsg64")
2432083:
2432083: ;
2432083: # 240 "/usr/include/m68k-linux-gnu/sys/socket.h" 3 4
2432083: extern int recvmmsg (int __fd, struct mmsghdr *__vmessages, unsigned int __vlen, int __flags, struct timespec *__tmo) __asm__ ("" "__recvmmsg64")
2432083:
2432083:
2432083: ;
2432083: # 260 "/usr/include/m68k-linux-gnu/sys/socket.h" 3 4
2432083: extern int getsockopt (int __fd, int __level, int __optname, void *__restrict __optval, socklen_t *__restrict __optlen) __asm__ ("" "__getsockopt64") __attribute__ ((__nothrow__ , __leaf__))
2432083:
2432083:
2432083:
2432083: ;
2432083: # 281 "/usr/include/m68k-linux-gnu/sys/socket.h" 3 4
2432083: extern int setsockopt (int __fd, int __level, int __optname, const void *__optval, socklen_t __optlen) __asm__ ("" "__setsockopt64") __attribute__ ((__nothrow__ , __leaf__))
2432083:
2432083:
2432083: ;
2432083: # 296 "/usr/include/m68k-linux-gnu/sys/socket.h" 3 4
2432083: extern int listen (int __fd, int __n) __attribute__ ((__nothrow__ , __leaf__));
2432083: # 306 "/usr/include/m68k-linux-gnu/sys/socket.h" 3 4
2432083: extern int accept (int __fd, __SOCKADDR_ARG __addr,
2432083: socklen_t *__restrict __addr_len);
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern int accept4 (int __fd, __SOCKADDR_ARG __addr,
2432083: socklen_t *__restrict __addr_len, int __flags);
2432083: # 324 "/usr/include/m68k-linux-gnu/sys/socket.h" 3 4
2432083: extern int shutdown (int __fd, int __how) __attribute__ ((__nothrow__ , __leaf__));
2432083:
2432083:
2432083:
2432083:
2432083: extern int sockatmark (int __fd) __attribute__ ((__nothrow__ , __leaf__));
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern int isfdtype (int __fd, int __fdtype) __attribute__ ((__nothrow__ , __leaf__));
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: # 1 "/usr/include/m68k-linux-gnu/bits/socket2.h" 1 3 4
2432083: # 23 "/usr/include/m68k-linux-gnu/bits/socket2.h" 3 4
2432083: extern ssize_t __recv_chk (int __fd, void *__buf, size_t __n, size_t __buflen,
2432083: int __flags);
2432083: extern ssize_t __recv_alias (int __fd, void *__buf, size_t __n, int __flags) __asm__ ("" "recv")
2432083: ;
2432083: extern ssize_t __recv_chk_warn (int __fd, void *__buf, size_t __n, size_t __buflen, int __flags) __asm__ ("" "__recv_chk")
2432083:
2432083:
2432083: __attribute__((__warning__ ("recv called with bigger length than size of destination " "buffer")))
2432083: ;
2432083:
2432083: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) ssize_t
2432083: recv (int __fd, void *__buf, size_t __n, int __flags)
2432083: {
2432083: size_t sz = __builtin_object_size (__buf, 0);
2432083: if (((__builtin_constant_p (sz) && (sz) == (unsigned int) -1) || (((__typeof (__n)) 0 < (__typeof (__n)) -1 || (__builtin_constant_p (__n) && (__n) > 0)) && __builtin_constant_p ((((unsigned int) (__n)) <= ((sz)) / ((sizeof (char))))) && (((unsigned int) (__n)) <= ((sz)) / ((sizeof (char)))))))
2432083: return __recv_alias (__fd, __buf, __n, __flags);
2432083: if ((((__typeof (__n)) 0 < (__typeof (__n)) -1 || (__builtin_constant_p (__n) && (__n) > 0)) && __builtin_constant_p ((((unsigned int) (__n)) <= (sz) / (sizeof (char)))) && !(((unsigned int) (__n)) <= (sz) / (sizeof (char)))))
2432083: return __recv_chk_warn (__fd, __buf, __n, sz, __flags);
2432083: return __recv_chk (__fd, __buf, __n, sz, __flags);
2432083: }
2432083:
2432083: extern ssize_t __recvfrom_chk (int __fd, void *__restrict __buf, size_t __n,
2432083: size_t __buflen, int __flags,
2432083: __SOCKADDR_ARG __addr,
2432083: socklen_t *__restrict __addr_len);
2432083: extern ssize_t __recvfrom_alias (int __fd, void *__restrict __buf, size_t __n, int __flags, __SOCKADDR_ARG __addr, socklen_t *__restrict __addr_len) __asm__ ("" "recvfrom")
2432083:
2432083:
2432083: ;
2432083: extern ssize_t __recvfrom_chk_warn (int __fd, void *__restrict __buf, size_t __n, size_t __buflen, int __flags, __SOCKADDR_ARG __addr, socklen_t *__restrict __addr_len) __asm__ ("" "__recvfrom_chk")
2432083:
2432083:
2432083:
2432083:
2432083: __attribute__((__warning__ ("recvfrom called with bigger length than size of " "destination buffer")))
2432083: ;
2432083:
2432083: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) ssize_t
2432083: recvfrom (int __fd, void *__restrict __buf, size_t __n, int __flags,
2432083: __SOCKADDR_ARG __addr, socklen_t *__restrict __addr_len)
2432083: {
2432083: size_t sz = __builtin_object_size (__buf, 0);
2432083: if (((__builtin_constant_p (sz) && (sz) == (unsigned int) -1) || (((__typeof (__n)) 0 < (__typeof (__n)) -1 || (__builtin_constant_p (__n) && (__n) > 0)) && __builtin_constant_p ((((unsigned int) (__n)) <= ((sz)) / ((sizeof (char))))) && (((unsigned int) (__n)) <= ((sz)) / ((sizeof (char)))))))
2432083: return __recvfrom_alias (__fd, __buf, __n, __flags, __addr, __addr_len);
2432083: if ((((__typeof (__n)) 0 < (__typeof (__n)) -1 || (__builtin_constant_p (__n) && (__n) > 0)) && __builtin_constant_p ((((unsigned int) (__n)) <= (sz) / (sizeof (char)))) && !(((unsigned int) (__n)) <= (sz) / (sizeof (char)))))
2432083: return __recvfrom_chk_warn (__fd, __buf, __n, sz, __flags, __addr,
2432083: __addr_len);
2432083: return __recvfrom_chk (__fd, __buf, __n, sz, __flags, __addr, __addr_len);
2432083: }
2432083: # 344 "/usr/include/m68k-linux-gnu/sys/socket.h" 2 3 4
2432083:
2432083:
2432083:
2432083: # 27 "../../includes.h" 2
2432083:
2432083:
2432083: # 1 "/usr/lib/gcc/m68k-linux-gnu/13/include/limits.h" 1 3 4
2432083: # 34 "/usr/lib/gcc/m68k-linux-gnu/13/include/limits.h" 3 4
2432083: # 1 "/usr/lib/gcc/m68k-linux-gnu/13/include/syslimits.h" 1 3 4
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: # 1 "/usr/lib/gcc/m68k-linux-gnu/13/include/limits.h" 1 3 4
2432083: # 205 "/usr/lib/gcc/m68k-linux-gnu/13/include/limits.h" 3 4
2432083: # 1 "/usr/include/limits.h" 1 3 4
2432083: # 26 "/usr/include/limits.h" 3 4
2432083: # 1 "/usr/include/m68k-linux-gnu/bits/libc-header-start.h" 1 3 4
2432083: # 27 "/usr/include/limits.h" 2 3 4
2432083: # 195 "/usr/include/limits.h" 3 4
2432083: # 1 "/usr/include/m68k-linux-gnu/bits/posix1_lim.h" 1 3 4
2432083: # 27 "/usr/include/m68k-linux-gnu/bits/posix1_lim.h" 3 4
2432083: # 1 "/usr/include/m68k-linux-gnu/bits/wordsize.h" 1 3 4
2432083: # 28 "/usr/include/m68k-linux-gnu/bits/posix1_lim.h" 2 3 4
2432083: # 161 "/usr/include/m68k-linux-gnu/bits/posix1_lim.h" 3 4
2432083: # 1 "/usr/include/m68k-linux-gnu/bits/local_lim.h" 1 3 4
2432083: # 38 "/usr/include/m68k-linux-gnu/bits/local_lim.h" 3 4
2432083: # 1 "/usr/include/linux/limits.h" 1 3 4
2432083: # 39 "/usr/include/m68k-linux-gnu/bits/local_lim.h" 2 3 4
2432083: # 81 "/usr/include/m68k-linux-gnu/bits/local_lim.h" 3 4
2432083: # 1 "/usr/include/m68k-linux-gnu/bits/pthread_stack_min-dynamic.h" 1 3 4
2432083: # 23 "/usr/include/m68k-linux-gnu/bits/pthread_stack_min-dynamic.h" 3 4
2432083:
2432083: extern long int __sysconf (int __name) __attribute__ ((__nothrow__ , __leaf__));
2432083:
2432083: # 82 "/usr/include/m68k-linux-gnu/bits/local_lim.h" 2 3 4
2432083: # 162 "/usr/include/m68k-linux-gnu/bits/posix1_lim.h" 2 3 4
2432083: # 196 "/usr/include/limits.h" 2 3 4
2432083:
2432083:
2432083:
2432083: # 1 "/usr/include/m68k-linux-gnu/bits/posix2_lim.h" 1 3 4
2432083: # 200 "/usr/include/limits.h" 2 3 4
2432083:
2432083:
2432083:
2432083: # 1 "/usr/include/m68k-linux-gnu/bits/xopen_lim.h" 1 3 4
2432083: # 64 "/usr/include/m68k-linux-gnu/bits/xopen_lim.h" 3 4
2432083: # 1 "/usr/include/m68k-linux-gnu/bits/uio_lim.h" 1 3 4
2432083: # 65 "/usr/include/m68k-linux-gnu/bits/xopen_lim.h" 2 3 4
2432083: # 204 "/usr/include/limits.h" 2 3 4
2432083: # 206 "/usr/lib/gcc/m68k-linux-gnu/13/include/limits.h" 2 3 4
2432083: # 8 "/usr/lib/gcc/m68k-linux-gnu/13/include/syslimits.h" 2 3 4
2432083: # 35 "/usr/lib/gcc/m68k-linux-gnu/13/include/limits.h" 2 3 4
2432083: # 30 "../../includes.h" 2
2432083: # 38 "../../includes.h"
2432083: # 1 "/usr/include/ttyent.h" 1 3 4
2432083: # 44 "/usr/include/ttyent.h" 3 4
2432083: struct ttyent {
2432083: char *ty_name;
2432083: char *ty_getty;
2432083: char *ty_type;
2432083:
2432083:
2432083: int ty_status;
2432083: char *ty_window;
2432083: char *ty_comment;
2432083: };
2432083:
2432083:
2432083:
2432083:
2432083: extern struct ttyent *getttyent (void) __attribute__ ((__nothrow__ , __leaf__));
2432083: extern struct ttyent *getttynam (const char *__tty) __attribute__ ((__nothrow__ , __leaf__));
2432083: extern int setttyent (void) __attribute__ ((__nothrow__ , __leaf__));
2432083: extern int endttyent (void) __attribute__ ((__nothrow__ , __leaf__));
2432083:
2432083:
2432083: # 39 "../../includes.h" 2
2432083:
2432083:
2432083: # 1 "/usr/include/utime.h" 1 3 4
2432083: # 27 "/usr/include/utime.h" 3 4
2432083:
2432083: # 36 "/usr/include/utime.h" 3 4
2432083: struct utimbuf
2432083: {
2432083:
2432083: __time64_t actime;
2432083: __time64_t modtime;
2432083:
2432083:
2432083:
2432083:
2432083: };
2432083: # 56 "/usr/include/utime.h" 3 4
2432083: extern int utime (const char *__file, const struct utimbuf *__file_times) __asm__ ("" "__utime64") __attribute__ ((__nothrow__ , __leaf__))
2432083:
2432083: ;
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: # 42 "../../includes.h" 2
2432083: # 50 "../../includes.h"
2432083: # 1 "/usr/include/paths.h" 1 3 4
2432083: # 51 "../../includes.h" 2
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: # 1 "/usr/include/strings.h" 1 3 4
2432083: # 23 "/usr/include/strings.h" 3 4
2432083: # 1 "/usr/lib/gcc/m68k-linux-gnu/13/include/stddef.h" 1 3 4
2432083: # 24 "/usr/include/strings.h" 2 3 4
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern int bcmp (const void *__s1, const void *__s2, size_t __n)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
2432083:
2432083:
2432083: extern void bcopy (const void *__src, void *__dest, size_t __n)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2)));
2432083:
2432083:
2432083: extern void bzero (void *__s, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
2432083: # 68 "/usr/include/strings.h" 3 4
2432083: extern char *index (const char *__s, int __c)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
2432083: # 96 "/usr/include/strings.h" 3 4
2432083: extern char *rindex (const char *__s, int __c)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern int ffs (int __i) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__));
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern int ffsl (long int __l) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__));
2432083: __extension__ extern int ffsll (long long int __ll)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__));
2432083:
2432083:
2432083:
2432083: extern int strcasecmp (const char *__s1, const char *__s2)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
2432083:
2432083:
2432083: extern int strncasecmp (const char *__s1, const char *__s2, size_t __n)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
2432083:
2432083:
2432083:
2432083: # 1 "/usr/include/m68k-linux-gnu/bits/types/locale_t.h" 1 3 4
2432083: # 22 "/usr/include/m68k-linux-gnu/bits/types/locale_t.h" 3 4
2432083: # 1 "/usr/include/m68k-linux-gnu/bits/types/__locale_t.h" 1 3 4
2432083: # 27 "/usr/include/m68k-linux-gnu/bits/types/__locale_t.h" 3 4
2432083: struct __locale_struct
2432083: {
2432083:
2432083: struct __locale_data *__locales[13];
2432083:
2432083:
2432083: const unsigned short int *__ctype_b;
2432083: const int *__ctype_tolower;
2432083: const int *__ctype_toupper;
2432083:
2432083:
2432083: const char *__names[13];
2432083: };
2432083:
2432083: typedef struct __locale_struct *__locale_t;
2432083: # 23 "/usr/include/m68k-linux-gnu/bits/types/locale_t.h" 2 3 4
2432083:
2432083: typedef __locale_t locale_t;
2432083: # 126 "/usr/include/strings.h" 2 3 4
2432083:
2432083:
2432083: extern int strcasecmp_l (const char *__s1, const char *__s2, locale_t __loc)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2, 3)));
2432083:
2432083:
2432083:
2432083: extern int strncasecmp_l (const char *__s1, const char *__s2,
2432083: size_t __n, locale_t __loc)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2, 4)));
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: # 1 "/usr/include/m68k-linux-gnu/bits/strings_fortified.h" 1 3 4
2432083: # 22 "/usr/include/m68k-linux-gnu/bits/strings_fortified.h" 3 4
2432083: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) void
2432083: __attribute__ ((__nothrow__ , __leaf__)) bcopy (const void *__src, void *__dest, size_t __len)
2432083: {
2432083: (void) __builtin___memmove_chk (__dest, __src, __len,
2432083: __builtin_object_size (__dest, 0));
2432083: }
2432083:
2432083: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) void
2432083: __attribute__ ((__nothrow__ , __leaf__)) bzero (void *__dest, size_t __len)
2432083: {
2432083: (void) __builtin___memset_chk (__dest, '\0', __len,
2432083: __builtin_object_size (__dest, 0));
2432083: }
2432083: # 145 "/usr/include/strings.h" 2 3 4
2432083: # 58 "../../includes.h" 2
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: # 1 "/usr/include/utmp.h" 1 3 4
2432083: # 26 "/usr/include/utmp.h" 3 4
2432083:
2432083:
2432083:
2432083: # 1 "/usr/include/m68k-linux-gnu/bits/utmp.h" 1 3 4
2432083: # 24 "/usr/include/m68k-linux-gnu/bits/utmp.h" 3 4
2432083: # 1 "/usr/include/m68k-linux-gnu/sys/time.h" 1 3 4
2432083: # 34 "/usr/include/m68k-linux-gnu/sys/time.h" 3 4
2432083:
2432083: # 52 "/usr/include/m68k-linux-gnu/sys/time.h" 3 4
2432083: struct timezone
2432083: {
2432083: int tz_minuteswest;
2432083: int tz_dsttime;
2432083: };
2432083: # 71 "/usr/include/m68k-linux-gnu/sys/time.h" 3 4
2432083: extern int gettimeofday (struct timeval *__restrict __tv, void *__restrict __tz) __asm__ ("" "__gettimeofday64") __attribute__ ((__nothrow__ , __leaf__))
2432083:
2432083: __attribute__ ((__nonnull__ (1)));
2432083: # 98 "/usr/include/m68k-linux-gnu/sys/time.h" 3 4
2432083: extern int settimeofday (const struct timeval *__tv, const struct timezone *__tz) __asm__ ("" "__settimeofday64") __attribute__ ((__nothrow__ , __leaf__))
2432083:
2432083: ;
2432083:
2432083: extern int adjtime (const struct timeval *__delta, struct timeval *__olddelta) __asm__ ("" "__adjtime64") __attribute__ ((__nothrow__ , __leaf__))
2432083:
2432083: ;
2432083: # 114 "/usr/include/m68k-linux-gnu/sys/time.h" 3 4
2432083: enum __itimer_which
2432083: {
2432083:
2432083: ITIMER_REAL = 0,
2432083:
2432083:
2432083: ITIMER_VIRTUAL = 1,
2432083:
2432083:
2432083:
2432083: ITIMER_PROF = 2
2432083:
2432083: };
2432083:
2432083:
2432083:
2432083: struct itimerval
2432083: {
2432083:
2432083: struct timeval it_interval;
2432083:
2432083: struct timeval it_value;
2432083: };
2432083:
2432083:
2432083:
2432083:
2432083: typedef enum __itimer_which __itimer_which_t;
2432083: # 167 "/usr/include/m68k-linux-gnu/sys/time.h" 3 4
2432083: extern int getitimer (__itimer_which_t __which, struct itimerval *__value) __asm__ ("" "__getitimer64") __attribute__ ((__nothrow__ , __leaf__))
2432083:
2432083: ;
2432083:
2432083: extern int setitimer (__itimer_which_t __which, const struct itimerval *__restrict __new, struct itimerval *__restrict __old) __asm__ ("" "__setitimer64") __attribute__ ((__nothrow__ , __leaf__))
2432083:
2432083:
2432083: ;
2432083:
2432083: extern int utimes (const char *__file, const struct timeval __tvp[2]) __asm__ ("" "__utimes64") __attribute__ ((__nothrow__ , __leaf__))
2432083:
2432083: __attribute__ ((__nonnull__ (1)));
2432083: # 196 "/usr/include/m68k-linux-gnu/sys/time.h" 3 4
2432083: extern int lutimes (const char *__file, const struct timeval __tvp[2]) __asm__ ("" "__lutimes64") __attribute__ ((__nothrow__ , __leaf__))
2432083:
2432083: __attribute__ ((__nonnull__ (1)));
2432083:
2432083: extern int futimes (int __fd, const struct timeval __tvp[2]) __asm__ ("" "__futimes64") __attribute__ ((__nothrow__ , __leaf__))
2432083: ;
2432083: # 218 "/usr/include/m68k-linux-gnu/sys/time.h" 3 4
2432083: extern int futimesat (int __fd, const char *__file, const struct timeval __tvp[2]) __asm__ ("" "__futimesat64") __attribute__ ((__nothrow__ , __leaf__))
2432083:
2432083: ;
2432083: # 258 "/usr/include/m68k-linux-gnu/sys/time.h" 3 4
2432083:
2432083: # 25 "/usr/include/m68k-linux-gnu/bits/utmp.h" 2 3 4
2432083:
2432083: # 1 "/usr/include/m68k-linux-gnu/bits/wordsize.h" 1 3 4
2432083: # 27 "/usr/include/m68k-linux-gnu/bits/utmp.h" 2 3 4
2432083: # 36 "/usr/include/m68k-linux-gnu/bits/utmp.h" 3 4
2432083: struct lastlog
2432083: {
2432083:
2432083:
2432083:
2432083: __time_t ll_time;
2432083:
2432083: char ll_line[32];
2432083: char ll_host[256];
2432083: };
2432083:
2432083:
2432083:
2432083:
2432083: struct exit_status
2432083: {
2432083: short int e_termination;
2432083: short int e_exit;
2432083: };
2432083:
2432083:
2432083:
2432083: struct utmp
2432083: {
2432083: short int ut_type;
2432083: pid_t ut_pid;
2432083: char ut_line[32]
2432083: __attribute__ ((__nonstring__));
2432083: char ut_id[4]
2432083: __attribute__ ((__nonstring__));
2432083: char ut_user[32]
2432083: __attribute__ ((__nonstring__));
2432083: char ut_host[256]
2432083: __attribute__ ((__nonstring__));
2432083: struct exit_status ut_exit;
2432083: # 83 "/usr/include/m68k-linux-gnu/bits/utmp.h" 3 4
2432083: long int ut_session;
2432083: struct timeval ut_tv;
2432083:
2432083:
2432083: int32_t ut_addr_v6[4];
2432083: char __glibc_reserved[20];
2432083: };
2432083: # 30 "/usr/include/utmp.h" 2 3 4
2432083: # 41 "/usr/include/utmp.h" 3 4
2432083: extern int login_tty (int __fd) __attribute__ ((__nothrow__ , __leaf__));
2432083:
2432083:
2432083:
2432083: extern void login (const struct utmp *__entry) __attribute__ ((__nothrow__ , __leaf__));
2432083:
2432083:
2432083: extern int logout (const char *__ut_line) __attribute__ ((__nothrow__ , __leaf__));
2432083:
2432083:
2432083: extern void logwtmp (const char *__ut_line, const char *__ut_name,
2432083: const char *__ut_host) __attribute__ ((__nothrow__ , __leaf__));
2432083:
2432083:
2432083: extern void updwtmp (const char *__wtmp_file, const struct utmp *__utmp)
2432083: __attribute__ ((__nothrow__ , __leaf__));
2432083:
2432083:
2432083: extern int utmpname (const char *__file) __attribute__ ((__nothrow__ , __leaf__));
2432083:
2432083:
2432083: extern struct utmp *getutent (void) __attribute__ ((__nothrow__ , __leaf__));
2432083:
2432083:
2432083: extern void setutent (void) __attribute__ ((__nothrow__ , __leaf__));
2432083:
2432083:
2432083: extern void endutent (void) __attribute__ ((__nothrow__ , __leaf__));
2432083:
2432083:
2432083:
2432083: extern struct utmp *getutid (const struct utmp *__id) __attribute__ ((__nothrow__ , __leaf__));
2432083:
2432083:
2432083:
2432083: extern struct utmp *getutline (const struct utmp *__line) __attribute__ ((__nothrow__ , __leaf__));
2432083:
2432083:
2432083: extern struct utmp *pututline (const struct utmp *__utmp_ptr) __attribute__ ((__nothrow__ , __leaf__));
2432083:
2432083:
2432083:
2432083:
2432083: extern int getutent_r (struct utmp *__buffer, struct utmp **__result) __attribute__ ((__nothrow__ , __leaf__));
2432083:
2432083: extern int getutid_r (const struct utmp *__id, struct utmp *__buffer,
2432083: struct utmp **__result) __attribute__ ((__nothrow__ , __leaf__));
2432083:
2432083: extern int getutline_r (const struct utmp *__line,
2432083: struct utmp *__buffer, struct utmp **__result) __attribute__ ((__nothrow__ , __leaf__));
2432083:
2432083:
2432083:
2432083:
2432083: # 65 "../../includes.h" 2
2432083:
2432083:
2432083: # 1 "/usr/include/utmpx.h" 1 3 4
2432083: # 31 "/usr/include/utmpx.h" 3 4
2432083: # 1 "/usr/include/m68k-linux-gnu/bits/utmpx.h" 1 3 4
2432083: # 25 "/usr/include/m68k-linux-gnu/bits/utmpx.h" 3 4
2432083: # 1 "/usr/include/m68k-linux-gnu/bits/wordsize.h" 1 3 4
2432083: # 26 "/usr/include/m68k-linux-gnu/bits/utmpx.h" 2 3 4
2432083: # 42 "/usr/include/m68k-linux-gnu/bits/utmpx.h" 3 4
2432083: struct __exit_status
2432083: {
2432083:
2432083: short int e_termination;
2432083: short int e_exit;
2432083:
2432083:
2432083:
2432083:
2432083: };
2432083:
2432083:
2432083:
2432083: struct utmpx
2432083: {
2432083: short int ut_type;
2432083: __pid_t ut_pid;
2432083: char ut_line[32]
2432083: __attribute__ ((__nonstring__));
2432083: char ut_id[4]
2432083: __attribute__ ((__nonstring__));
2432083: char ut_user[32]
2432083: __attribute__ ((__nonstring__));
2432083: char ut_host[256]
2432083: __attribute__ ((__nonstring__));
2432083: struct __exit_status ut_exit;
2432083: # 81 "/usr/include/m68k-linux-gnu/bits/utmpx.h" 3 4
2432083: long int ut_session;
2432083: struct timeval ut_tv;
2432083:
2432083: __int32_t ut_addr_v6[4];
2432083: char __glibc_reserved[20];
2432083: };
2432083: # 32 "/usr/include/utmpx.h" 2 3 4
2432083: # 43 "/usr/include/utmpx.h" 3 4
2432083: struct utmp;
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern void setutxent (void);
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern void endutxent (void);
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern struct utmpx *getutxent (void);
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern struct utmpx *getutxid (const struct utmpx *__id);
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern struct utmpx *getutxline (const struct utmpx *__line);
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern struct utmpx *pututxline (const struct utmpx *__utmpx);
2432083: # 93 "/usr/include/utmpx.h" 3 4
2432083: extern int utmpxname (const char *__file);
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern void updwtmpx (const char *__wtmpx_file,
2432083: const struct utmpx *__utmpx);
2432083: # 111 "/usr/include/utmpx.h" 3 4
2432083: extern void getutmp (const struct utmpx *__utmpx,
2432083: struct utmp *__utmp);
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern void getutmpx (const struct utmp *__utmp, struct utmpx *__utmpx);
2432083:
2432083:
2432083:
2432083: # 68 "../../includes.h" 2
2432083:
2432083:
2432083: # 1 "/usr/include/lastlog.h" 1 3 4
2432083: # 71 "../../includes.h" 2
2432083: # 80 "../../includes.h"
2432083: # 1 "/usr/lib/gcc/m68k-linux-gnu/13/include/stdint.h" 1 3 4
2432083: # 9 "/usr/lib/gcc/m68k-linux-gnu/13/include/stdint.h" 3 4
2432083: # 1 "/usr/include/stdint.h" 1 3 4
2432083: # 26 "/usr/include/stdint.h" 3 4
2432083: # 1 "/usr/include/m68k-linux-gnu/bits/libc-header-start.h" 1 3 4
2432083: # 27 "/usr/include/stdint.h" 2 3 4
2432083:
2432083: # 1 "/usr/include/m68k-linux-gnu/bits/wchar.h" 1 3 4
2432083: # 29 "/usr/include/stdint.h" 2 3 4
2432083: # 1 "/usr/include/m68k-linux-gnu/bits/wordsize.h" 1 3 4
2432083: # 30 "/usr/include/stdint.h" 2 3 4
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: # 1 "/usr/include/m68k-linux-gnu/bits/stdint-uintn.h" 1 3 4
2432083: # 24 "/usr/include/m68k-linux-gnu/bits/stdint-uintn.h" 3 4
2432083: typedef __uint8_t uint8_t;
2432083: typedef __uint16_t uint16_t;
2432083: typedef __uint32_t uint32_t;
2432083: typedef __uint64_t uint64_t;
2432083: # 38 "/usr/include/stdint.h" 2 3 4
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: typedef __int_least8_t int_least8_t;
2432083: typedef __int_least16_t int_least16_t;
2432083: typedef __int_least32_t int_least32_t;
2432083: typedef __int_least64_t int_least64_t;
2432083:
2432083:
2432083: typedef __uint_least8_t uint_least8_t;
2432083: typedef __uint_least16_t uint_least16_t;
2432083: typedef __uint_least32_t uint_least32_t;
2432083: typedef __uint_least64_t uint_least64_t;
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: typedef signed char int_fast8_t;
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: typedef int int_fast16_t;
2432083: typedef int int_fast32_t;
2432083: __extension__
2432083: typedef long long int int_fast64_t;
2432083:
2432083:
2432083:
2432083: typedef unsigned char uint_fast8_t;
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: typedef unsigned int uint_fast16_t;
2432083: typedef unsigned int uint_fast32_t;
2432083: __extension__
2432083: typedef unsigned long long int uint_fast64_t;
2432083: # 93 "/usr/include/stdint.h" 3 4
2432083: typedef int intptr_t;
2432083:
2432083:
2432083: typedef unsigned int uintptr_t;
2432083:
2432083:
2432083:
2432083:
2432083: typedef __intmax_t intmax_t;
2432083: typedef __uintmax_t uintmax_t;
2432083: # 10 "/usr/lib/gcc/m68k-linux-gnu/13/include/stdint.h" 2 3 4
2432083: # 81 "../../includes.h" 2
2432083:
2432083: # 1 "/usr/include/termios.h" 1 3 4
2432083: # 35 "/usr/include/termios.h" 3 4
2432083:
2432083:
2432083:
2432083:
2432083: # 1 "/usr/include/m68k-linux-gnu/bits/termios.h" 1 3 4
2432083: # 23 "/usr/include/m68k-linux-gnu/bits/termios.h" 3 4
2432083: typedef unsigned char cc_t;
2432083: typedef unsigned int speed_t;
2432083: typedef unsigned int tcflag_t;
2432083:
2432083: # 1 "/usr/include/m68k-linux-gnu/bits/termios-struct.h" 1 3 4
2432083: # 24 "/usr/include/m68k-linux-gnu/bits/termios-struct.h" 3 4
2432083: struct termios
2432083: {
2432083: tcflag_t c_iflag;
2432083: tcflag_t c_oflag;
2432083: tcflag_t c_cflag;
2432083: tcflag_t c_lflag;
2432083: cc_t c_line;
2432083: cc_t c_cc[32];
2432083: speed_t c_ispeed;
2432083: speed_t c_ospeed;
2432083:
2432083:
2432083: };
2432083: # 28 "/usr/include/m68k-linux-gnu/bits/termios.h" 2 3 4
2432083: # 1 "/usr/include/m68k-linux-gnu/bits/termios-c_cc.h" 1 3 4
2432083: # 29 "/usr/include/m68k-linux-gnu/bits/termios.h" 2 3 4
2432083: # 1 "/usr/include/m68k-linux-gnu/bits/termios-c_iflag.h" 1 3 4
2432083: # 30 "/usr/include/m68k-linux-gnu/bits/termios.h" 2 3 4
2432083: # 1 "/usr/include/m68k-linux-gnu/bits/termios-c_oflag.h" 1 3 4
2432083: # 31 "/usr/include/m68k-linux-gnu/bits/termios.h" 2 3 4
2432083: # 53 "/usr/include/m68k-linux-gnu/bits/termios.h" 3 4
2432083: # 1 "/usr/include/m68k-linux-gnu/bits/termios-baud.h" 1 3 4
2432083: # 54 "/usr/include/m68k-linux-gnu/bits/termios.h" 2 3 4
2432083:
2432083: # 1 "/usr/include/m68k-linux-gnu/bits/termios-c_cflag.h" 1 3 4
2432083: # 56 "/usr/include/m68k-linux-gnu/bits/termios.h" 2 3 4
2432083: # 1 "/usr/include/m68k-linux-gnu/bits/termios-c_lflag.h" 1 3 4
2432083: # 57 "/usr/include/m68k-linux-gnu/bits/termios.h" 2 3 4
2432083: # 74 "/usr/include/m68k-linux-gnu/bits/termios.h" 3 4
2432083: # 1 "/usr/include/m68k-linux-gnu/bits/termios-tcflow.h" 1 3 4
2432083: # 75 "/usr/include/m68k-linux-gnu/bits/termios.h" 2 3 4
2432083:
2432083: # 1 "/usr/include/m68k-linux-gnu/bits/termios-misc.h" 1 3 4
2432083: # 77 "/usr/include/m68k-linux-gnu/bits/termios.h" 2 3 4
2432083: # 40 "/usr/include/termios.h" 2 3 4
2432083: # 48 "/usr/include/termios.h" 3 4
2432083: extern speed_t cfgetospeed (const struct termios *__termios_p) __attribute__ ((__nothrow__ , __leaf__));
2432083:
2432083:
2432083: extern speed_t cfgetispeed (const struct termios *__termios_p) __attribute__ ((__nothrow__ , __leaf__));
2432083:
2432083:
2432083: extern int cfsetospeed (struct termios *__termios_p, speed_t __speed) __attribute__ ((__nothrow__ , __leaf__));
2432083:
2432083:
2432083: extern int cfsetispeed (struct termios *__termios_p, speed_t __speed) __attribute__ ((__nothrow__ , __leaf__));
2432083:
2432083:
2432083:
2432083: extern int cfsetspeed (struct termios *__termios_p, speed_t __speed) __attribute__ ((__nothrow__ , __leaf__));
2432083:
2432083:
2432083:
2432083:
2432083: extern int tcgetattr (int __fd, struct termios *__termios_p) __attribute__ ((__nothrow__ , __leaf__));
2432083:
2432083:
2432083:
2432083: extern int tcsetattr (int __fd, int __optional_actions,
2432083: const struct termios *__termios_p) __attribute__ ((__nothrow__ , __leaf__));
2432083:
2432083:
2432083:
2432083:
2432083: extern void cfmakeraw (struct termios *__termios_p) __attribute__ ((__nothrow__ , __leaf__));
2432083:
2432083:
2432083:
2432083: extern int tcsendbreak (int __fd, int __duration) __attribute__ ((__nothrow__ , __leaf__));
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern int tcdrain (int __fd);
2432083:
2432083:
2432083:
2432083: extern int tcflush (int __fd, int __queue_selector) __attribute__ ((__nothrow__ , __leaf__));
2432083:
2432083:
2432083:
2432083: extern int tcflow (int __fd, int __action) __attribute__ ((__nothrow__ , __leaf__));
2432083:
2432083:
2432083:
2432083:
2432083: extern __pid_t tcgetsid (int __fd) __attribute__ ((__nothrow__ , __leaf__));
2432083:
2432083:
2432083:
2432083:
2432083: # 1 "/usr/include/m68k-linux-gnu/sys/ttydefaults.h" 1 3 4
2432083: # 105 "/usr/include/termios.h" 2 3 4
2432083:
2432083:
2432083:
2432083: # 83 "../../includes.h" 2
2432083:
2432083: # 1 "/usr/include/m68k-linux-gnu/sys/bitypes.h" 1 3 4
2432083: # 85 "../../includes.h" 2
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: # 1 "/usr/include/m68k-linux-gnu/sys/stat.h" 1 3 4
2432083: # 99 "/usr/include/m68k-linux-gnu/sys/stat.h" 3 4
2432083:
2432083:
2432083: # 1 "/usr/include/m68k-linux-gnu/bits/stat.h" 1 3 4
2432083: # 25 "/usr/include/m68k-linux-gnu/bits/stat.h" 3 4
2432083: # 1 "/usr/include/m68k-linux-gnu/bits/struct_stat.h" 1 3 4
2432083: # 26 "/usr/include/m68k-linux-gnu/bits/struct_stat.h" 3 4
2432083: struct stat
2432083: {
2432083:
2432083: # 1 "/usr/include/m68k-linux-gnu/bits/struct_stat_time64_helper.h" 1 3 4
2432083: # 20 "/usr/include/m68k-linux-gnu/bits/struct_stat_time64_helper.h" 3 4
2432083: __dev_t st_dev;
2432083: __ino64_t st_ino;
2432083: __mode_t st_mode;
2432083: __nlink_t st_nlink;
2432083: __uid_t st_uid;
2432083: __gid_t st_gid;
2432083: __dev_t st_rdev;
2432083: __off64_t st_size;
2432083: __blksize_t st_blksize;
2432083: __blkcnt64_t st_blocks;
2432083: # 40 "/usr/include/m68k-linux-gnu/bits/struct_stat_time64_helper.h" 3 4
2432083: struct timespec st_atim;
2432083: struct timespec st_mtim;
2432083: struct timespec st_ctim;
2432083: # 30 "/usr/include/m68k-linux-gnu/bits/struct_stat.h" 2 3 4
2432083: # 84 "/usr/include/m68k-linux-gnu/bits/struct_stat.h" 3 4
2432083: };
2432083:
2432083:
2432083: struct stat64
2432083: {
2432083:
2432083: # 1 "/usr/include/m68k-linux-gnu/bits/struct_stat_time64_helper.h" 1 3 4
2432083: # 20 "/usr/include/m68k-linux-gnu/bits/struct_stat_time64_helper.h" 3 4
2432083: __dev_t st_dev;
2432083: __ino64_t st_ino;
2432083: __mode_t st_mode;
2432083: __nlink_t st_nlink;
2432083: __uid_t st_uid;
2432083: __gid_t st_gid;
2432083: __dev_t st_rdev;
2432083: __off64_t st_size;
2432083: __blksize_t st_blksize;
2432083: __blkcnt64_t st_blocks;
2432083: # 40 "/usr/include/m68k-linux-gnu/bits/struct_stat_time64_helper.h" 3 4
2432083: struct timespec st_atim;
2432083: struct timespec st_mtim;
2432083: struct timespec st_ctim;
2432083: # 91 "/usr/include/m68k-linux-gnu/bits/struct_stat.h" 2 3 4
2432083: # 126 "/usr/include/m68k-linux-gnu/bits/struct_stat.h" 3 4
2432083: };
2432083: # 26 "/usr/include/m68k-linux-gnu/bits/stat.h" 2 3 4
2432083: # 102 "/usr/include/m68k-linux-gnu/sys/stat.h" 2 3 4
2432083: # 214 "/usr/include/m68k-linux-gnu/sys/stat.h" 3 4
2432083: extern int stat (const char *__restrict __file, struct stat *__restrict __buf) __asm__ ("" "__stat64_time64") __attribute__ ((__nothrow__ , __leaf__))
2432083:
2432083:
2432083: __attribute__ ((__nonnull__ (1, 2)));
2432083: extern int fstat (int __fd, struct stat *__buf) __asm__ ("" "__fstat64_time64") __attribute__ ((__nothrow__ , __leaf__))
2432083:
2432083: __attribute__ ((__nonnull__ (2)));
2432083: # 245 "/usr/include/m68k-linux-gnu/sys/stat.h" 3 4
2432083: extern int stat64 (const char *__restrict __file, struct stat64 *__restrict __buf) __asm__ ("" "__stat64_time64") __attribute__ ((__nothrow__ , __leaf__))
2432083:
2432083:
2432083: __attribute__ ((__nonnull__ (1, 2)));
2432083: extern int fstat64 (int __fd, struct stat64 *__buf) __asm__ ("" "__fstat64_time64") __attribute__ ((__nothrow__ , __leaf__))
2432083:
2432083: __attribute__ ((__nonnull__ (2)));
2432083: # 270 "/usr/include/m68k-linux-gnu/sys/stat.h" 3 4
2432083: extern int fstatat (int __fd, const char *__restrict __file, struct stat *__restrict __buf, int __flag) __asm__ ("" "__fstatat64_time64") __attribute__ ((__nothrow__ , __leaf__))
2432083:
2432083:
2432083: __attribute__ ((__nonnull__ (2, 3)));
2432083: # 296 "/usr/include/m68k-linux-gnu/sys/stat.h" 3 4
2432083: extern int fstatat64 (int __fd, const char *__restrict __file, struct stat64 *__restrict __buf, int __flag) __asm__ ("" "__fstatat64_time64") __attribute__ ((__nothrow__ , __leaf__))
2432083:
2432083:
2432083:
2432083:
2432083: __attribute__ ((__nonnull__ (2, 3)));
2432083: # 318 "/usr/include/m68k-linux-gnu/sys/stat.h" 3 4
2432083: extern int lstat (const char *__restrict __file, struct stat *__restrict __buf) __asm__ ("" "__lstat64_time64") __attribute__ ((__nothrow__ , __leaf__))
2432083:
2432083:
2432083: __attribute__ ((__nonnull__ (1, 2)));
2432083: # 342 "/usr/include/m68k-linux-gnu/sys/stat.h" 3 4
2432083: extern int lstat64 (const char *__restrict __file, struct stat64 *__restrict __buf) __asm__ ("" "__lstat64_time64") __attribute__ ((__nothrow__ , __leaf__))
2432083:
2432083:
2432083: __attribute__ ((__nonnull__ (1, 2)));
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern int chmod (const char *__file, __mode_t __mode)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern int lchmod (const char *__file, __mode_t __mode)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
2432083:
2432083:
2432083:
2432083:
2432083: extern int fchmod (int __fd, __mode_t __mode) __attribute__ ((__nothrow__ , __leaf__));
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern int fchmodat (int __fd, const char *__file, __mode_t __mode,
2432083: int __flag)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))) __attribute__ ((__warn_unused_result__));
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern __mode_t umask (__mode_t __mask) __attribute__ ((__nothrow__ , __leaf__));
2432083:
2432083:
2432083:
2432083:
2432083: extern __mode_t getumask (void) __attribute__ ((__nothrow__ , __leaf__));
2432083:
2432083:
2432083:
2432083: extern int mkdir (const char *__path, __mode_t __mode)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern int mkdirat (int __fd, const char *__path, __mode_t __mode)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2)));
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern int mknod (const char *__path, __mode_t __mode, __dev_t __dev)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern int mknodat (int __fd, const char *__path, __mode_t __mode,
2432083: __dev_t __dev) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2)));
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern int mkfifo (const char *__path, __mode_t __mode)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern int mkfifoat (int __fd, const char *__path, __mode_t __mode)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2)));
2432083: # 439 "/usr/include/m68k-linux-gnu/sys/stat.h" 3 4
2432083: extern int utimensat (int fd, const char *__path, const struct timespec __times[2], int flags) __asm__ ("" "__utimensat64") __attribute__ ((__nothrow__ , __leaf__))
2432083:
2432083:
2432083: __attribute__ ((__nonnull__ (2)));
2432083: # 456 "/usr/include/m68k-linux-gnu/sys/stat.h" 3 4
2432083: extern int futimens (int fd, const struct timespec __times[2]) __asm__ ("" "__futimens64") __attribute__ ((__nothrow__ , __leaf__))
2432083: ;
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: # 1 "/usr/include/m68k-linux-gnu/bits/statx.h" 1 3 4
2432083: # 31 "/usr/include/m68k-linux-gnu/bits/statx.h" 3 4
2432083: # 1 "/usr/include/linux/stat.h" 1 3 4
2432083:
2432083:
2432083:
2432083:
2432083: # 1 "/usr/include/linux/types.h" 1 3 4
2432083:
2432083:
2432083:
2432083:
2432083: # 1 "/usr/lib/linux/uapi/m68k/asm/types.h" 1 3 4
2432083: # 1 "/usr/include/asm-generic/types.h" 1 3 4
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: # 1 "/usr/include/asm-generic/int-ll64.h" 1 3 4
2432083: # 12 "/usr/include/asm-generic/int-ll64.h" 3 4
2432083: # 1 "/usr/lib/linux/uapi/m68k/asm/bitsperlong.h" 1 3 4
2432083: # 13 "/usr/include/asm-generic/int-ll64.h" 2 3 4
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: typedef __signed__ char __s8;
2432083: typedef unsigned char __u8;
2432083:
2432083: typedef __signed__ short __s16;
2432083: typedef unsigned short __u16;
2432083:
2432083: typedef __signed__ int __s32;
2432083: typedef unsigned int __u32;
2432083:
2432083:
2432083: __extension__ typedef __signed__ long long __s64;
2432083: __extension__ typedef unsigned long long __u64;
2432083: # 8 "/usr/include/asm-generic/types.h" 2 3 4
2432083: # 2 "/usr/lib/linux/uapi/m68k/asm/types.h" 2 3 4
2432083: # 6 "/usr/include/linux/types.h" 2 3 4
2432083: # 31 "/usr/include/linux/types.h" 3 4
2432083: typedef __u16 __le16;
2432083: typedef __u16 __be16;
2432083: typedef __u32 __le32;
2432083: typedef __u32 __be32;
2432083: typedef __u64 __le64;
2432083: typedef __u64 __be64;
2432083:
2432083: typedef __u16 __sum16;
2432083: typedef __u32 __wsum;
2432083: # 54 "/usr/include/linux/types.h" 3 4
2432083: typedef unsigned __poll_t;
2432083: # 6 "/usr/include/linux/stat.h" 2 3 4
2432083: # 56 "/usr/include/linux/stat.h" 3 4
2432083: struct statx_timestamp {
2432083: __s64 tv_sec;
2432083: __u32 tv_nsec;
2432083: __s32 __reserved;
2432083: };
2432083: # 99 "/usr/include/linux/stat.h" 3 4
2432083: struct statx {
2432083:
2432083: __u32 stx_mask;
2432083: __u32 stx_blksize;
2432083: __u64 stx_attributes;
2432083:
2432083: __u32 stx_nlink;
2432083: __u32 stx_uid;
2432083: __u32 stx_gid;
2432083: __u16 stx_mode;
2432083: __u16 __spare0[1];
2432083:
2432083: __u64 stx_ino;
2432083: __u64 stx_size;
2432083: __u64 stx_blocks;
2432083: __u64 stx_attributes_mask;
2432083:
2432083: struct statx_timestamp stx_atime;
2432083: struct statx_timestamp stx_btime;
2432083: struct statx_timestamp stx_ctime;
2432083: struct statx_timestamp stx_mtime;
2432083:
2432083: __u32 stx_rdev_major;
2432083: __u32 stx_rdev_minor;
2432083: __u32 stx_dev_major;
2432083: __u32 stx_dev_minor;
2432083:
2432083: __u64 stx_mnt_id;
2432083: __u32 stx_dio_mem_align;
2432083: __u32 stx_dio_offset_align;
2432083:
2432083: __u64 __spare3[12];
2432083:
2432083: };
2432083: # 32 "/usr/include/m68k-linux-gnu/bits/statx.h" 2 3 4
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: # 1 "/usr/include/m68k-linux-gnu/bits/statx-generic.h" 1 3 4
2432083: # 25 "/usr/include/m68k-linux-gnu/bits/statx-generic.h" 3 4
2432083: # 1 "/usr/include/m68k-linux-gnu/bits/types/struct_statx_timestamp.h" 1 3 4
2432083: # 26 "/usr/include/m68k-linux-gnu/bits/statx-generic.h" 2 3 4
2432083: # 1 "/usr/include/m68k-linux-gnu/bits/types/struct_statx.h" 1 3 4
2432083: # 27 "/usr/include/m68k-linux-gnu/bits/statx-generic.h" 2 3 4
2432083: # 58 "/usr/include/m68k-linux-gnu/bits/statx-generic.h" 3 4
2432083:
2432083:
2432083:
2432083: int statx (int __dirfd, const char *__restrict __path, int __flags,
2432083: unsigned int __mask, struct statx *__restrict __buf)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2, 5)));
2432083:
2432083:
2432083: # 40 "/usr/include/m68k-linux-gnu/bits/statx.h" 2 3 4
2432083: # 466 "/usr/include/m68k-linux-gnu/sys/stat.h" 2 3 4
2432083:
2432083:
2432083:
2432083: # 91 "../../includes.h" 2
2432083:
2432083:
2432083: # 1 "/usr/include/m68k-linux-gnu/sys/sysmacros.h" 1 3 4
2432083: # 24 "/usr/include/m68k-linux-gnu/sys/sysmacros.h" 3 4
2432083: # 1 "/usr/include/m68k-linux-gnu/bits/sysmacros.h" 1 3 4
2432083: # 25 "/usr/include/m68k-linux-gnu/sys/sysmacros.h" 2 3 4
2432083: # 33 "/usr/include/m68k-linux-gnu/sys/sysmacros.h" 3 4
2432083:
2432083:
2432083: extern unsigned int gnu_dev_major (__dev_t __dev) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__));
2432083: extern unsigned int gnu_dev_minor (__dev_t __dev) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__));
2432083: extern __dev_t gnu_dev_makedev (unsigned int __major, unsigned int __minor) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__));
2432083:
2432083:
2432083:
2432083: __extension__ extern __inline __attribute__ ((__gnu_inline__)) __attribute__ ((__const__)) unsigned int __attribute__ ((__nothrow__ , __leaf__)) gnu_dev_major (__dev_t __dev) { unsigned int __major; __major = ((__dev & (__dev_t) 0x00000000000fff00u) >> 8); __major |= ((__dev & (__dev_t) 0xfffff00000000000u) >> 32); return __major; }
2432083: __extension__ extern __inline __attribute__ ((__gnu_inline__)) __attribute__ ((__const__)) unsigned int __attribute__ ((__nothrow__ , __leaf__)) gnu_dev_minor (__dev_t __dev) { unsigned int __minor; __minor = ((__dev & (__dev_t) 0x00000000000000ffu) >> 0); __minor |= ((__dev & (__dev_t) 0x00000ffffff00000u) >> 12); return __minor; }
2432083: __extension__ extern __inline __attribute__ ((__gnu_inline__)) __attribute__ ((__const__)) __dev_t __attribute__ ((__nothrow__ , __leaf__)) gnu_dev_makedev (unsigned int __major, unsigned int __minor) { __dev_t __dev; __dev = (((__dev_t) (__major & 0x00000fffu)) << 8); __dev |= (((__dev_t) (__major & 0xfffff000u)) << 32); __dev |= (((__dev_t) (__minor & 0x000000ffu)) << 0); __dev |= (((__dev_t) (__minor & 0xffffff00u)) << 12); return __dev; }
2432083:
2432083:
2432083:
2432083:
2432083: # 94 "../../includes.h" 2
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: # 1 "/usr/include/m68k-linux-gnu/sys/mman.h" 1 3 4
2432083: # 25 "/usr/include/m68k-linux-gnu/sys/mman.h" 3 4
2432083: # 1 "/usr/lib/gcc/m68k-linux-gnu/13/include/stddef.h" 1 3 4
2432083: # 26 "/usr/include/m68k-linux-gnu/sys/mman.h" 2 3 4
2432083: # 41 "/usr/include/m68k-linux-gnu/sys/mman.h" 3 4
2432083: # 1 "/usr/include/m68k-linux-gnu/bits/mman.h" 1 3 4
2432083: # 29 "/usr/include/m68k-linux-gnu/bits/mman.h" 3 4
2432083: # 1 "/usr/include/m68k-linux-gnu/bits/mman-map-flags-generic.h" 1 3 4
2432083: # 30 "/usr/include/m68k-linux-gnu/bits/mman.h" 2 3 4
2432083:
2432083:
2432083: # 1 "/usr/include/m68k-linux-gnu/bits/mman-linux.h" 1 3 4
2432083: # 116 "/usr/include/m68k-linux-gnu/bits/mman-linux.h" 3 4
2432083: # 1 "/usr/include/m68k-linux-gnu/bits/mman-shared.h" 1 3 4
2432083: # 47 "/usr/include/m68k-linux-gnu/bits/mman-shared.h" 3 4
2432083:
2432083:
2432083:
2432083:
2432083: int memfd_create (const char *__name, unsigned int __flags) __attribute__ ((__nothrow__ , __leaf__));
2432083:
2432083:
2432083:
2432083: int mlock2 (const void *__addr, size_t __length, unsigned int __flags) __attribute__ ((__nothrow__ , __leaf__));
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: int pkey_alloc (unsigned int __flags, unsigned int __access_rights) __attribute__ ((__nothrow__ , __leaf__));
2432083:
2432083:
2432083:
2432083: int pkey_set (int __key, unsigned int __access_rights) __attribute__ ((__nothrow__ , __leaf__));
2432083:
2432083:
2432083:
2432083: int pkey_get (int __key) __attribute__ ((__nothrow__ , __leaf__));
2432083:
2432083:
2432083:
2432083: int pkey_free (int __key) __attribute__ ((__nothrow__ , __leaf__));
2432083:
2432083:
2432083:
2432083: int pkey_mprotect (void *__addr, size_t __len, int __prot, int __pkey) __attribute__ ((__nothrow__ , __leaf__));
2432083:
2432083:
2432083: # 117 "/usr/include/m68k-linux-gnu/bits/mman-linux.h" 2 3 4
2432083: # 33 "/usr/include/m68k-linux-gnu/bits/mman.h" 2 3 4
2432083: # 42 "/usr/include/m68k-linux-gnu/sys/mman.h" 2 3 4
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: # 61 "/usr/include/m68k-linux-gnu/sys/mman.h" 3 4
2432083: extern void * mmap (void *__addr, size_t __len, int __prot, int __flags, int __fd, __off64_t __offset) __asm__ ("" "mmap64") __attribute__ ((__nothrow__ , __leaf__))
2432083:
2432083:
2432083: ;
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern void *mmap64 (void *__addr, size_t __len, int __prot,
2432083: int __flags, int __fd, __off64_t __offset) __attribute__ ((__nothrow__ , __leaf__));
2432083:
2432083:
2432083:
2432083:
2432083: extern int munmap (void *__addr, size_t __len) __attribute__ ((__nothrow__ , __leaf__));
2432083:
2432083:
2432083:
2432083:
2432083: extern int mprotect (void *__addr, size_t __len, int __prot) __attribute__ ((__nothrow__ , __leaf__));
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern int msync (void *__addr, size_t __len, int __flags);
2432083:
2432083:
2432083:
2432083:
2432083: extern int madvise (void *__addr, size_t __len, int __advice) __attribute__ ((__nothrow__ , __leaf__));
2432083:
2432083:
2432083:
2432083: extern int posix_madvise (void *__addr, size_t __len, int __advice) __attribute__ ((__nothrow__ , __leaf__));
2432083:
2432083:
2432083:
2432083:
2432083: extern int mlock (const void *__addr, size_t __len) __attribute__ ((__nothrow__ , __leaf__));
2432083:
2432083:
2432083: extern int munlock (const void *__addr, size_t __len) __attribute__ ((__nothrow__ , __leaf__));
2432083:
2432083:
2432083:
2432083:
2432083: extern int mlockall (int __flags) __attribute__ ((__nothrow__ , __leaf__));
2432083:
2432083:
2432083:
2432083: extern int munlockall (void) __attribute__ ((__nothrow__ , __leaf__));
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern int mincore (void *__start, size_t __len, unsigned char *__vec)
2432083: __attribute__ ((__nothrow__ , __leaf__));
2432083: # 133 "/usr/include/m68k-linux-gnu/sys/mman.h" 3 4
2432083: extern void *mremap (void *__addr, size_t __old_len, size_t __new_len,
2432083: int __flags, ...) __attribute__ ((__nothrow__ , __leaf__));
2432083:
2432083:
2432083:
2432083: extern int remap_file_pages (void *__start, size_t __size, int __prot,
2432083: size_t __pgoff, int __flags) __attribute__ ((__nothrow__ , __leaf__));
2432083:
2432083:
2432083:
2432083:
2432083: extern int shm_open (const char *__name, int __oflag, mode_t __mode);
2432083:
2432083:
2432083: extern int shm_unlink (const char *__name);
2432083:
2432083:
2432083: # 1 "/usr/include/m68k-linux-gnu/bits/mman_ext.h" 1 3 4
2432083: # 24 "/usr/include/m68k-linux-gnu/bits/mman_ext.h" 3 4
2432083: struct iovec;
2432083: extern __ssize_t process_madvise (int __pid_fd, const struct iovec *__iov,
2432083: size_t __count, int __advice,
2432083: unsigned __flags)
2432083: __attribute__ ((__nothrow__ , __leaf__));
2432083:
2432083: extern int process_mrelease (int pidfd, unsigned int flags) __attribute__ ((__nothrow__ , __leaf__));
2432083: # 151 "/usr/include/m68k-linux-gnu/sys/mman.h" 2 3 4
2432083:
2432083:
2432083: # 100 "../../includes.h" 2
2432083: # 111 "../../includes.h"
2432083: # 1 "/usr/include/netinet/in.h" 1 3 4
2432083: # 27 "/usr/include/netinet/in.h" 3 4
2432083:
2432083:
2432083:
2432083: typedef uint32_t in_addr_t;
2432083: struct in_addr
2432083: {
2432083: in_addr_t s_addr;
2432083: };
2432083:
2432083:
2432083: # 1 "/usr/include/m68k-linux-gnu/bits/in.h" 1 3 4
2432083: # 143 "/usr/include/m68k-linux-gnu/bits/in.h" 3 4
2432083: struct ip_opts
2432083: {
2432083: struct in_addr ip_dst;
2432083: char ip_opts[40];
2432083: };
2432083:
2432083:
2432083: struct in_pktinfo
2432083: {
2432083: int ipi_ifindex;
2432083: struct in_addr ipi_spec_dst;
2432083: struct in_addr ipi_addr;
2432083: };
2432083: # 38 "/usr/include/netinet/in.h" 2 3 4
2432083:
2432083:
2432083: enum
2432083: {
2432083: IPPROTO_IP = 0,
2432083:
2432083: IPPROTO_ICMP = 1,
2432083:
2432083: IPPROTO_IGMP = 2,
2432083:
2432083: IPPROTO_IPIP = 4,
2432083:
2432083: IPPROTO_TCP = 6,
2432083:
2432083: IPPROTO_EGP = 8,
2432083:
2432083: IPPROTO_PUP = 12,
2432083:
2432083: IPPROTO_UDP = 17,
2432083:
2432083: IPPROTO_IDP = 22,
2432083:
2432083: IPPROTO_TP = 29,
2432083:
2432083: IPPROTO_DCCP = 33,
2432083:
2432083: IPPROTO_IPV6 = 41,
2432083:
2432083: IPPROTO_RSVP = 46,
2432083:
2432083: IPPROTO_GRE = 47,
2432083:
2432083: IPPROTO_ESP = 50,
2432083:
2432083: IPPROTO_AH = 51,
2432083:
2432083: IPPROTO_MTP = 92,
2432083:
2432083: IPPROTO_BEETPH = 94,
2432083:
2432083: IPPROTO_ENCAP = 98,
2432083:
2432083: IPPROTO_PIM = 103,
2432083:
2432083: IPPROTO_COMP = 108,
2432083:
2432083: IPPROTO_L2TP = 115,
2432083:
2432083: IPPROTO_SCTP = 132,
2432083:
2432083: IPPROTO_UDPLITE = 136,
2432083:
2432083: IPPROTO_MPLS = 137,
2432083:
2432083: IPPROTO_ETHERNET = 143,
2432083:
2432083: IPPROTO_RAW = 255,
2432083:
2432083: IPPROTO_MPTCP = 262,
2432083:
2432083: IPPROTO_MAX
2432083: };
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: enum
2432083: {
2432083: IPPROTO_HOPOPTS = 0,
2432083:
2432083: IPPROTO_ROUTING = 43,
2432083:
2432083: IPPROTO_FRAGMENT = 44,
2432083:
2432083: IPPROTO_ICMPV6 = 58,
2432083:
2432083: IPPROTO_NONE = 59,
2432083:
2432083: IPPROTO_DSTOPTS = 60,
2432083:
2432083: IPPROTO_MH = 135
2432083:
2432083: };
2432083:
2432083:
2432083:
2432083: typedef uint16_t in_port_t;
2432083:
2432083:
2432083: enum
2432083: {
2432083: IPPORT_ECHO = 7,
2432083: IPPORT_DISCARD = 9,
2432083: IPPORT_SYSTAT = 11,
2432083: IPPORT_DAYTIME = 13,
2432083: IPPORT_NETSTAT = 15,
2432083: IPPORT_FTP = 21,
2432083: IPPORT_TELNET = 23,
2432083: IPPORT_SMTP = 25,
2432083: IPPORT_TIMESERVER = 37,
2432083: IPPORT_NAMESERVER = 42,
2432083: IPPORT_WHOIS = 43,
2432083: IPPORT_MTP = 57,
2432083:
2432083: IPPORT_TFTP = 69,
2432083: IPPORT_RJE = 77,
2432083: IPPORT_FINGER = 79,
2432083: IPPORT_TTYLINK = 87,
2432083: IPPORT_SUPDUP = 95,
2432083:
2432083:
2432083: IPPORT_EXECSERVER = 512,
2432083: IPPORT_LOGINSERVER = 513,
2432083: IPPORT_CMDSERVER = 514,
2432083: IPPORT_EFSSERVER = 520,
2432083:
2432083:
2432083: IPPORT_BIFFUDP = 512,
2432083: IPPORT_WHOSERVER = 513,
2432083: IPPORT_ROUTESERVER = 520,
2432083:
2432083:
2432083: IPPORT_RESERVED = 1024,
2432083:
2432083:
2432083: IPPORT_USERRESERVED = 5000
2432083: };
2432083: # 221 "/usr/include/netinet/in.h" 3 4
2432083: struct in6_addr
2432083: {
2432083: union
2432083: {
2432083: uint8_t __u6_addr8[16];
2432083: uint16_t __u6_addr16[8];
2432083: uint32_t __u6_addr32[4];
2432083: } __in6_u;
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: };
2432083:
2432083:
2432083: extern const struct in6_addr in6addr_any;
2432083: extern const struct in6_addr in6addr_loopback;
2432083: # 247 "/usr/include/netinet/in.h" 3 4
2432083: struct sockaddr_in
2432083: {
2432083: sa_family_t sin_family;
2432083: in_port_t sin_port;
2432083: struct in_addr sin_addr;
2432083:
2432083:
2432083: unsigned char sin_zero[sizeof (struct sockaddr)
2432083: - (sizeof (unsigned short int))
2432083: - sizeof (in_port_t)
2432083: - sizeof (struct in_addr)];
2432083: };
2432083:
2432083:
2432083:
2432083: struct sockaddr_in6
2432083: {
2432083: sa_family_t sin6_family;
2432083: in_port_t sin6_port;
2432083: uint32_t sin6_flowinfo;
2432083: struct in6_addr sin6_addr;
2432083: uint32_t sin6_scope_id;
2432083: };
2432083:
2432083:
2432083:
2432083:
2432083: struct ip_mreq
2432083: {
2432083:
2432083: struct in_addr imr_multiaddr;
2432083:
2432083:
2432083: struct in_addr imr_interface;
2432083: };
2432083:
2432083:
2432083: struct ip_mreqn
2432083: {
2432083:
2432083: struct in_addr imr_multiaddr;
2432083:
2432083:
2432083: struct in_addr imr_address;
2432083:
2432083:
2432083: int imr_ifindex;
2432083: };
2432083:
2432083: struct ip_mreq_source
2432083: {
2432083:
2432083: struct in_addr imr_multiaddr;
2432083:
2432083:
2432083: struct in_addr imr_interface;
2432083:
2432083:
2432083: struct in_addr imr_sourceaddr;
2432083: };
2432083:
2432083:
2432083:
2432083:
2432083: struct ipv6_mreq
2432083: {
2432083:
2432083: struct in6_addr ipv6mr_multiaddr;
2432083:
2432083:
2432083: unsigned int ipv6mr_interface;
2432083: };
2432083:
2432083:
2432083:
2432083:
2432083: struct group_req
2432083: {
2432083:
2432083: uint32_t gr_interface;
2432083:
2432083:
2432083: struct sockaddr_storage gr_group;
2432083: };
2432083:
2432083: struct group_source_req
2432083: {
2432083:
2432083: uint32_t gsr_interface;
2432083:
2432083:
2432083: struct sockaddr_storage gsr_group;
2432083:
2432083:
2432083: struct sockaddr_storage gsr_source;
2432083: };
2432083:
2432083:
2432083:
2432083: struct ip_msfilter
2432083: {
2432083:
2432083: struct in_addr imsf_multiaddr;
2432083:
2432083:
2432083: struct in_addr imsf_interface;
2432083:
2432083:
2432083: uint32_t imsf_fmode;
2432083:
2432083:
2432083: uint32_t imsf_numsrc;
2432083:
2432083: struct in_addr imsf_slist[1];
2432083: };
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: struct group_filter
2432083: {
2432083:
2432083: uint32_t gf_interface;
2432083:
2432083:
2432083: struct sockaddr_storage gf_group;
2432083:
2432083:
2432083: uint32_t gf_fmode;
2432083:
2432083:
2432083: uint32_t gf_numsrc;
2432083:
2432083: struct sockaddr_storage gf_slist[1];
2432083: };
2432083: # 397 "/usr/include/netinet/in.h" 3 4
2432083: extern uint32_t ntohl (uint32_t __netlong) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__));
2432083: extern uint16_t ntohs (uint16_t __netshort)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__));
2432083: extern uint32_t htonl (uint32_t __hostlong)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__));
2432083: extern uint16_t htons (uint16_t __hostshort)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__));
2432083:
2432083:
2432083:
2432083:
2432083: # 1 "/usr/include/m68k-linux-gnu/bits/byteswap.h" 1 3 4
2432083: # 409 "/usr/include/netinet/in.h" 2 3 4
2432083: # 1 "/usr/include/m68k-linux-gnu/bits/uintn-identity.h" 1 3 4
2432083: # 410 "/usr/include/netinet/in.h" 2 3 4
2432083: # 525 "/usr/include/netinet/in.h" 3 4
2432083: extern int bindresvport (int __sockfd, struct sockaddr_in *__sock_in) __attribute__ ((__nothrow__ , __leaf__));
2432083:
2432083:
2432083: extern int bindresvport6 (int __sockfd, struct sockaddr_in6 *__sock_in)
2432083: __attribute__ ((__nothrow__ , __leaf__));
2432083: # 555 "/usr/include/netinet/in.h" 3 4
2432083: struct cmsghdr;
2432083:
2432083:
2432083:
2432083: struct in6_pktinfo
2432083: {
2432083: struct in6_addr ipi6_addr;
2432083: unsigned int ipi6_ifindex;
2432083: };
2432083:
2432083:
2432083: struct ip6_mtuinfo
2432083: {
2432083: struct sockaddr_in6 ip6m_addr;
2432083: uint32_t ip6m_mtu;
2432083: };
2432083:
2432083:
2432083:
2432083: extern int inet6_option_space (int __nbytes)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__deprecated__));
2432083: extern int inet6_option_init (void *__bp, struct cmsghdr **__cmsgp,
2432083: int __type) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__deprecated__));
2432083: extern int inet6_option_append (struct cmsghdr *__cmsg,
2432083: const uint8_t *__typep, int __multx,
2432083: int __plusy) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__deprecated__));
2432083: extern uint8_t *inet6_option_alloc (struct cmsghdr *__cmsg, int __datalen,
2432083: int __multx, int __plusy)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__deprecated__));
2432083: extern int inet6_option_next (const struct cmsghdr *__cmsg,
2432083: uint8_t **__tptrp)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__deprecated__));
2432083: extern int inet6_option_find (const struct cmsghdr *__cmsg,
2432083: uint8_t **__tptrp, int __type)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__deprecated__));
2432083:
2432083:
2432083:
2432083: extern int inet6_opt_init (void *__extbuf, socklen_t __extlen) __attribute__ ((__nothrow__ , __leaf__));
2432083: extern int inet6_opt_append (void *__extbuf, socklen_t __extlen, int __offset,
2432083: uint8_t __type, socklen_t __len, uint8_t __align,
2432083: void **__databufp) __attribute__ ((__nothrow__ , __leaf__));
2432083: extern int inet6_opt_finish (void *__extbuf, socklen_t __extlen, int __offset)
2432083: __attribute__ ((__nothrow__ , __leaf__));
2432083: extern int inet6_opt_set_val (void *__databuf, int __offset, void *__val,
2432083: socklen_t __vallen) __attribute__ ((__nothrow__ , __leaf__));
2432083: extern int inet6_opt_next (void *__extbuf, socklen_t __extlen, int __offset,
2432083: uint8_t *__typep, socklen_t *__lenp,
2432083: void **__databufp) __attribute__ ((__nothrow__ , __leaf__));
2432083: extern int inet6_opt_find (void *__extbuf, socklen_t __extlen, int __offset,
2432083: uint8_t __type, socklen_t *__lenp,
2432083: void **__databufp) __attribute__ ((__nothrow__ , __leaf__));
2432083: extern int inet6_opt_get_val (void *__databuf, int __offset, void *__val,
2432083: socklen_t __vallen) __attribute__ ((__nothrow__ , __leaf__));
2432083:
2432083:
2432083:
2432083: extern socklen_t inet6_rth_space (int __type, int __segments) __attribute__ ((__nothrow__ , __leaf__));
2432083: extern void *inet6_rth_init (void *__bp, socklen_t __bp_len, int __type,
2432083: int __segments) __attribute__ ((__nothrow__ , __leaf__));
2432083: extern int inet6_rth_add (void *__bp, const struct in6_addr *__addr) __attribute__ ((__nothrow__ , __leaf__));
2432083: extern int inet6_rth_reverse (const void *__in, void *__out) __attribute__ ((__nothrow__ , __leaf__));
2432083: extern int inet6_rth_segments (const void *__bp) __attribute__ ((__nothrow__ , __leaf__));
2432083: extern struct in6_addr *inet6_rth_getaddr (const void *__bp, int __index)
2432083: __attribute__ ((__nothrow__ , __leaf__));
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern int getipv4sourcefilter (int __s, struct in_addr __interface_addr,
2432083: struct in_addr __group, uint32_t *__fmode,
2432083: uint32_t *__numsrc, struct in_addr *__slist)
2432083: __attribute__ ((__nothrow__ , __leaf__));
2432083:
2432083:
2432083: extern int setipv4sourcefilter (int __s, struct in_addr __interface_addr,
2432083: struct in_addr __group, uint32_t __fmode,
2432083: uint32_t __numsrc,
2432083: const struct in_addr *__slist)
2432083: __attribute__ ((__nothrow__ , __leaf__));
2432083:
2432083:
2432083:
2432083: extern int getsourcefilter (int __s, uint32_t __interface_addr,
2432083: const struct sockaddr *__group,
2432083: socklen_t __grouplen, uint32_t *__fmode,
2432083: uint32_t *__numsrc,
2432083: struct sockaddr_storage *__slist) __attribute__ ((__nothrow__ , __leaf__));
2432083:
2432083:
2432083: extern int setsourcefilter (int __s, uint32_t __interface_addr,
2432083: const struct sockaddr *__group,
2432083: socklen_t __grouplen, uint32_t __fmode,
2432083: uint32_t __numsrc,
2432083: const struct sockaddr_storage *__slist) __attribute__ ((__nothrow__ , __leaf__));
2432083:
2432083:
2432083:
2432083: # 112 "../../includes.h" 2
2432083: # 1 "/usr/include/netinet/in_systm.h" 1 3 4
2432083: # 25 "/usr/include/netinet/in_systm.h" 3 4
2432083:
2432083: # 34 "/usr/include/netinet/in_systm.h" 3 4
2432083: typedef uint16_t n_short;
2432083: typedef uint32_t n_long;
2432083: typedef uint32_t n_time;
2432083:
2432083:
2432083: # 113 "../../includes.h" 2
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: # 1 "/usr/include/security/pam_appl.h" 1 3 4
2432083: # 18 "/usr/include/security/pam_appl.h" 3 4
2432083: # 1 "/usr/include/security/_pam_types.h" 1 3 4
2432083: # 18 "/usr/include/security/_pam_types.h" 3 4
2432083: typedef struct pam_handle pam_handle_t;
2432083: # 177 "/usr/include/security/_pam_types.h" 3 4
2432083: extern int __attribute__((__nonnull__ (1)))
2432083: pam_set_item(pam_handle_t *pamh, int item_type, const void *item);
2432083:
2432083: extern int __attribute__((__nonnull__ (1)))
2432083: pam_get_item(const pam_handle_t *pamh, int item_type, const void **item);
2432083:
2432083: extern const char *
2432083: pam_strerror(pam_handle_t *pamh, int errnum);
2432083:
2432083: extern int __attribute__((__nonnull__ (1,2)))
2432083: pam_putenv(pam_handle_t *pamh, const char *name_value);
2432083:
2432083: extern const char * __attribute__((__nonnull__ (1,2)))
2432083: pam_getenv(pam_handle_t *pamh, const char *name);
2432083:
2432083: extern char ** __attribute__((__nonnull__ (1)))
2432083: pam_getenvlist(pam_handle_t *pamh);
2432083: # 223 "/usr/include/security/_pam_types.h" 3 4
2432083: extern int pam_fail_delay(pam_handle_t *pamh, unsigned int musec_delay);
2432083: # 254 "/usr/include/security/_pam_types.h" 3 4
2432083: struct pam_message {
2432083: int msg_style;
2432083: const char *msg;
2432083: };
2432083: # 279 "/usr/include/security/_pam_types.h" 3 4
2432083: struct pam_response {
2432083: char *resp;
2432083: int resp_retcode;
2432083: };
2432083:
2432083:
2432083:
2432083: struct pam_conv {
2432083: int (*conv)(int num_msg, const struct pam_message **msg,
2432083: struct pam_response **resp, void *appdata_ptr);
2432083: void *appdata_ptr;
2432083: };
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: struct pam_xauth_data {
2432083: int namelen;
2432083: char *name;
2432083: int datalen;
2432083: char *data;
2432083: };
2432083: # 19 "/usr/include/security/pam_appl.h" 2 3 4
2432083:
2432083:
2432083:
2432083: extern int __attribute__((__nonnull__ (1,3,4)))
2432083: pam_start(const char *service_name, const char *user,
2432083: const struct pam_conv *pam_conversation,
2432083: pam_handle_t **pamh);
2432083:
2432083: extern int __attribute__((__nonnull__ (1,3,5)))
2432083: pam_start_confdir(const char *service_name, const char *user,
2432083: const struct pam_conv *pam_conversation,
2432083: const char *confdir, pam_handle_t **pamh);
2432083:
2432083: extern int __attribute__((__nonnull__ (1)))
2432083: pam_end(pam_handle_t *pamh, int pam_status);
2432083:
2432083:
2432083:
2432083: extern int __attribute__((__nonnull__ (1)))
2432083: pam_authenticate(pam_handle_t *pamh, int flags);
2432083:
2432083: extern int __attribute__((__nonnull__ (1)))
2432083: pam_setcred(pam_handle_t *pamh, int flags);
2432083:
2432083:
2432083:
2432083: extern int __attribute__((__nonnull__ (1)))
2432083: pam_acct_mgmt(pam_handle_t *pamh, int flags);
2432083:
2432083:
2432083:
2432083: extern int __attribute__((__nonnull__ (1)))
2432083: pam_open_session(pam_handle_t *pamh, int flags);
2432083:
2432083: extern int __attribute__((__nonnull__ (1)))
2432083: pam_close_session(pam_handle_t *pamh, int flags);
2432083:
2432083:
2432083:
2432083: extern int __attribute__((__nonnull__ (1)))
2432083: pam_chauthtok(pam_handle_t *pamh, int flags);
2432083:
2432083:
2432083:
2432083: # 1 "/usr/include/security/_pam_compat.h" 1 3 4
2432083: # 64 "/usr/include/security/pam_appl.h" 2 3 4
2432083: # 119 "../../includes.h" 2
2432083: # 140 "../../includes.h"
2432083: # 1 "/usr/include/m68k-linux-gnu/bsd/libutil.h" 1 3 4
2432083: # 45 "/usr/include/m68k-linux-gnu/bsd/libutil.h" 3 4
2432083: # 1 "/usr/include/m68k-linux-gnu/bsd/sys/cdefs.h" 1 3 4
2432083: # 46 "/usr/include/m68k-linux-gnu/bsd/libutil.h" 2 3 4
2432083:
2432083:
2432083:
2432083: # 1 "/usr/include/stdio.h" 1 3 4
2432083: # 27 "/usr/include/stdio.h" 3 4
2432083: # 1 "/usr/include/m68k-linux-gnu/bits/libc-header-start.h" 1 3 4
2432083: # 28 "/usr/include/stdio.h" 2 3 4
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: # 1 "/usr/lib/gcc/m68k-linux-gnu/13/include/stddef.h" 1 3 4
2432083: # 34 "/usr/include/stdio.h" 2 3 4
2432083:
2432083:
2432083: # 1 "/usr/lib/gcc/m68k-linux-gnu/13/include/stdarg.h" 1 3 4
2432083: # 40 "/usr/lib/gcc/m68k-linux-gnu/13/include/stdarg.h" 3 4
2432083: typedef __builtin_va_list __gnuc_va_list;
2432083: # 37 "/usr/include/stdio.h" 2 3 4
2432083:
2432083:
2432083: # 1 "/usr/include/m68k-linux-gnu/bits/types/__fpos_t.h" 1 3 4
2432083:
2432083:
2432083:
2432083:
2432083: # 1 "/usr/include/m68k-linux-gnu/bits/types/__mbstate_t.h" 1 3 4
2432083: # 13 "/usr/include/m68k-linux-gnu/bits/types/__mbstate_t.h" 3 4
2432083: typedef struct
2432083: {
2432083: int __count;
2432083: union
2432083: {
2432083: unsigned int __wch;
2432083: char __wchb[4];
2432083: } __value;
2432083: } __mbstate_t;
2432083: # 6 "/usr/include/m68k-linux-gnu/bits/types/__fpos_t.h" 2 3 4
2432083:
2432083:
2432083:
2432083:
2432083: typedef struct _G_fpos_t
2432083: {
2432083: __off_t __pos;
2432083: __mbstate_t __state;
2432083: } __fpos_t;
2432083: # 40 "/usr/include/stdio.h" 2 3 4
2432083: # 1 "/usr/include/m68k-linux-gnu/bits/types/__fpos64_t.h" 1 3 4
2432083: # 10 "/usr/include/m68k-linux-gnu/bits/types/__fpos64_t.h" 3 4
2432083: typedef struct _G_fpos64_t
2432083: {
2432083: __off64_t __pos;
2432083: __mbstate_t __state;
2432083: } __fpos64_t;
2432083: # 41 "/usr/include/stdio.h" 2 3 4
2432083: # 1 "/usr/include/m68k-linux-gnu/bits/types/__FILE.h" 1 3 4
2432083:
2432083:
2432083:
2432083: struct _IO_FILE;
2432083: typedef struct _IO_FILE __FILE;
2432083: # 42 "/usr/include/stdio.h" 2 3 4
2432083: # 1 "/usr/include/m68k-linux-gnu/bits/types/FILE.h" 1 3 4
2432083:
2432083:
2432083:
2432083: struct _IO_FILE;
2432083:
2432083:
2432083: typedef struct _IO_FILE FILE;
2432083: # 43 "/usr/include/stdio.h" 2 3 4
2432083: # 1 "/usr/include/m68k-linux-gnu/bits/types/struct_FILE.h" 1 3 4
2432083: # 35 "/usr/include/m68k-linux-gnu/bits/types/struct_FILE.h" 3 4
2432083: struct _IO_FILE;
2432083: struct _IO_marker;
2432083: struct _IO_codecvt;
2432083: struct _IO_wide_data;
2432083:
2432083:
2432083:
2432083:
2432083: typedef void _IO_lock_t;
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: struct _IO_FILE
2432083: {
2432083: int _flags;
2432083:
2432083:
2432083: char *_IO_read_ptr;
2432083: char *_IO_read_end;
2432083: char *_IO_read_base;
2432083: char *_IO_write_base;
2432083: char *_IO_write_ptr;
2432083: char *_IO_write_end;
2432083: char *_IO_buf_base;
2432083: char *_IO_buf_end;
2432083:
2432083:
2432083: char *_IO_save_base;
2432083: char *_IO_backup_base;
2432083: char *_IO_save_end;
2432083:
2432083: struct _IO_marker *_markers;
2432083:
2432083: struct _IO_FILE *_chain;
2432083:
2432083: int _fileno;
2432083: int _flags2;
2432083: __off_t _old_offset;
2432083:
2432083:
2432083: unsigned short _cur_column;
2432083: signed char _vtable_offset;
2432083: char _shortbuf[1];
2432083:
2432083: _IO_lock_t *_lock;
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: __off64_t _offset;
2432083:
2432083: struct _IO_codecvt *_codecvt;
2432083: struct _IO_wide_data *_wide_data;
2432083: struct _IO_FILE *_freeres_list;
2432083: void *_freeres_buf;
2432083: size_t __pad5;
2432083: int _mode;
2432083:
2432083: char _unused2[15 * sizeof (int) - 4 * sizeof (void *) - sizeof (size_t)];
2432083: };
2432083: # 44 "/usr/include/stdio.h" 2 3 4
2432083:
2432083:
2432083: # 1 "/usr/include/m68k-linux-gnu/bits/types/cookie_io_functions_t.h" 1 3 4
2432083: # 27 "/usr/include/m68k-linux-gnu/bits/types/cookie_io_functions_t.h" 3 4
2432083: typedef __ssize_t cookie_read_function_t (void *__cookie, char *__buf,
2432083: size_t __nbytes);
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: typedef __ssize_t cookie_write_function_t (void *__cookie, const char *__buf,
2432083: size_t __nbytes);
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: typedef int cookie_seek_function_t (void *__cookie, __off64_t *__pos, int __w);
2432083:
2432083:
2432083: typedef int cookie_close_function_t (void *__cookie);
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: typedef struct _IO_cookie_io_functions_t
2432083: {
2432083: cookie_read_function_t *read;
2432083: cookie_write_function_t *write;
2432083: cookie_seek_function_t *seek;
2432083: cookie_close_function_t *close;
2432083: } cookie_io_functions_t;
2432083: # 47 "/usr/include/stdio.h" 2 3 4
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: typedef __gnuc_va_list va_list;
2432083: # 86 "/usr/include/stdio.h" 3 4
2432083: typedef __fpos64_t fpos_t;
2432083:
2432083:
2432083: typedef __fpos64_t fpos64_t;
2432083: # 133 "/usr/include/stdio.h" 3 4
2432083: # 1 "/usr/include/m68k-linux-gnu/bits/stdio_lim.h" 1 3 4
2432083: # 134 "/usr/include/stdio.h" 2 3 4
2432083: # 143 "/usr/include/stdio.h" 3 4
2432083: extern FILE *stdin;
2432083: extern FILE *stdout;
2432083: extern FILE *stderr;
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern int remove (const char *__filename) __attribute__ ((__nothrow__ , __leaf__));
2432083:
2432083: extern int rename (const char *__old, const char *__new) __attribute__ ((__nothrow__ , __leaf__));
2432083:
2432083:
2432083:
2432083: extern int renameat (int __oldfd, const char *__old, int __newfd,
2432083: const char *__new) __attribute__ ((__nothrow__ , __leaf__));
2432083: # 170 "/usr/include/stdio.h" 3 4
2432083: extern int renameat2 (int __oldfd, const char *__old, int __newfd,
2432083: const char *__new, unsigned int __flags) __attribute__ ((__nothrow__ , __leaf__));
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern int fclose (FILE *__stream);
2432083: # 192 "/usr/include/stdio.h" 3 4
2432083: extern FILE *tmpfile (void) __asm__ ("" "tmpfile64")
2432083: __attribute__ ((__malloc__)) __attribute__ ((__malloc__ (fclose, 1))) __attribute__ ((__warn_unused_result__));
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern FILE *tmpfile64 (void)
2432083: __attribute__ ((__malloc__)) __attribute__ ((__malloc__ (fclose, 1))) __attribute__ ((__warn_unused_result__));
2432083:
2432083:
2432083:
2432083: extern char *tmpnam (char[20]) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__));
2432083:
2432083:
2432083:
2432083:
2432083: extern char *tmpnam_r (char __s[20]) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__));
2432083: # 222 "/usr/include/stdio.h" 3 4
2432083: extern char *tempnam (const char *__dir, const char *__pfx)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__malloc__)) __attribute__ ((__warn_unused_result__)) __attribute__ ((__malloc__ (__builtin_free, 1)));
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern int fflush (FILE *__stream);
2432083: # 239 "/usr/include/stdio.h" 3 4
2432083: extern int fflush_unlocked (FILE *__stream);
2432083: # 249 "/usr/include/stdio.h" 3 4
2432083: extern int fcloseall (void);
2432083: # 270 "/usr/include/stdio.h" 3 4
2432083: extern FILE *fopen (const char *__restrict __filename, const char *__restrict __modes) __asm__ ("" "fopen64")
2432083:
2432083: __attribute__ ((__malloc__)) __attribute__ ((__malloc__ (fclose, 1))) __attribute__ ((__warn_unused_result__));
2432083: extern FILE *freopen (const char *__restrict __filename, const char *__restrict __modes, FILE *__restrict __stream) __asm__ ("" "freopen64")
2432083:
2432083:
2432083: __attribute__ ((__warn_unused_result__));
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern FILE *fopen64 (const char *__restrict __filename,
2432083: const char *__restrict __modes)
2432083: __attribute__ ((__malloc__)) __attribute__ ((__malloc__ (fclose, 1))) __attribute__ ((__warn_unused_result__));
2432083: extern FILE *freopen64 (const char *__restrict __filename,
2432083: const char *__restrict __modes,
2432083: FILE *__restrict __stream) __attribute__ ((__warn_unused_result__));
2432083:
2432083:
2432083:
2432083:
2432083: extern FILE *fdopen (int __fd, const char *__modes) __attribute__ ((__nothrow__ , __leaf__))
2432083: __attribute__ ((__malloc__)) __attribute__ ((__malloc__ (fclose, 1))) __attribute__ ((__warn_unused_result__));
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern FILE *fopencookie (void *__restrict __magic_cookie,
2432083: const char *__restrict __modes,
2432083: cookie_io_functions_t __io_funcs) __attribute__ ((__nothrow__ , __leaf__))
2432083: __attribute__ ((__malloc__)) __attribute__ ((__malloc__ (fclose, 1))) __attribute__ ((__warn_unused_result__));
2432083:
2432083:
2432083:
2432083:
2432083: extern FILE *fmemopen (void *__s, size_t __len, const char *__modes)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__malloc__)) __attribute__ ((__malloc__ (fclose, 1))) __attribute__ ((__warn_unused_result__));
2432083:
2432083:
2432083:
2432083:
2432083: extern FILE *open_memstream (char **__bufloc, size_t *__sizeloc) __attribute__ ((__nothrow__ , __leaf__))
2432083: __attribute__ ((__malloc__)) __attribute__ ((__malloc__ (fclose, 1))) __attribute__ ((__warn_unused_result__));
2432083: # 328 "/usr/include/stdio.h" 3 4
2432083: extern void setbuf (FILE *__restrict __stream, char *__restrict __buf) __attribute__ ((__nothrow__ , __leaf__));
2432083:
2432083:
2432083:
2432083: extern int setvbuf (FILE *__restrict __stream, char *__restrict __buf,
2432083: int __modes, size_t __n) __attribute__ ((__nothrow__ , __leaf__));
2432083:
2432083:
2432083:
2432083:
2432083: extern void setbuffer (FILE *__restrict __stream, char *__restrict __buf,
2432083: size_t __size) __attribute__ ((__nothrow__ , __leaf__));
2432083:
2432083:
2432083: extern void setlinebuf (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__));
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern int fprintf (FILE *__restrict __stream,
2432083: const char *__restrict __format, ...);
2432083:
2432083:
2432083:
2432083:
2432083: extern int printf (const char *__restrict __format, ...);
2432083:
2432083: extern int sprintf (char *__restrict __s,
2432083: const char *__restrict __format, ...) __attribute__ ((__nothrow__));
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern int vfprintf (FILE *__restrict __s, const char *__restrict __format,
2432083: __gnuc_va_list __arg);
2432083:
2432083:
2432083:
2432083:
2432083: extern int vprintf (const char *__restrict __format, __gnuc_va_list __arg);
2432083:
2432083: extern int vsprintf (char *__restrict __s, const char *__restrict __format,
2432083: __gnuc_va_list __arg) __attribute__ ((__nothrow__));
2432083:
2432083:
2432083:
2432083: extern int snprintf (char *__restrict __s, size_t __maxlen,
2432083: const char *__restrict __format, ...)
2432083: __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 3, 4)));
2432083:
2432083: extern int vsnprintf (char *__restrict __s, size_t __maxlen,
2432083: const char *__restrict __format, __gnuc_va_list __arg)
2432083: __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 3, 0)));
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern int vasprintf (char **__restrict __ptr, const char *__restrict __f,
2432083: __gnuc_va_list __arg)
2432083: __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 2, 0))) __attribute__ ((__warn_unused_result__));
2432083: extern int __asprintf (char **__restrict __ptr,
2432083: const char *__restrict __fmt, ...)
2432083: __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 2, 3))) __attribute__ ((__warn_unused_result__));
2432083: extern int asprintf (char **__restrict __ptr,
2432083: const char *__restrict __fmt, ...)
2432083: __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 2, 3))) __attribute__ ((__warn_unused_result__));
2432083:
2432083:
2432083:
2432083:
2432083: extern int vdprintf (int __fd, const char *__restrict __fmt,
2432083: __gnuc_va_list __arg)
2432083: __attribute__ ((__format__ (__printf__, 2, 0)));
2432083: extern int dprintf (int __fd, const char *__restrict __fmt, ...)
2432083: __attribute__ ((__format__ (__printf__, 2, 3)));
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern int fscanf (FILE *__restrict __stream,
2432083: const char *__restrict __format, ...) __attribute__ ((__warn_unused_result__));
2432083:
2432083:
2432083:
2432083:
2432083: extern int scanf (const char *__restrict __format, ...) __attribute__ ((__warn_unused_result__));
2432083:
2432083: extern int sscanf (const char *__restrict __s,
2432083: const char *__restrict __format, ...) __attribute__ ((__nothrow__ , __leaf__));
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: # 1 "/usr/include/m68k-linux-gnu/bits/floatn.h" 1 3 4
2432083: # 52 "/usr/include/m68k-linux-gnu/bits/floatn.h" 3 4
2432083: # 1 "/usr/include/m68k-linux-gnu/bits/floatn-common.h" 1 3 4
2432083: # 24 "/usr/include/m68k-linux-gnu/bits/floatn-common.h" 3 4
2432083: # 1 "/usr/include/m68k-linux-gnu/bits/long-double.h" 1 3 4
2432083: # 25 "/usr/include/m68k-linux-gnu/bits/floatn-common.h" 2 3 4
2432083: # 53 "/usr/include/m68k-linux-gnu/bits/floatn.h" 2 3 4
2432083: # 431 "/usr/include/stdio.h" 2 3 4
2432083:
2432083:
2432083:
2432083: extern int fscanf (FILE *__restrict __stream, const char *__restrict __format, ...) __asm__ ("" "__isoc99_fscanf")
2432083:
2432083: __attribute__ ((__warn_unused_result__));
2432083: extern int scanf (const char *__restrict __format, ...) __asm__ ("" "__isoc99_scanf")
2432083: __attribute__ ((__warn_unused_result__));
2432083: extern int sscanf (const char *__restrict __s, const char *__restrict __format, ...) __asm__ ("" "__isoc99_sscanf") __attribute__ ((__nothrow__ , __leaf__))
2432083:
2432083: ;
2432083: # 459 "/usr/include/stdio.h" 3 4
2432083: extern int vfscanf (FILE *__restrict __s, const char *__restrict __format,
2432083: __gnuc_va_list __arg)
2432083: __attribute__ ((__format__ (__scanf__, 2, 0))) __attribute__ ((__warn_unused_result__));
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern int vscanf (const char *__restrict __format, __gnuc_va_list __arg)
2432083: __attribute__ ((__format__ (__scanf__, 1, 0))) __attribute__ ((__warn_unused_result__));
2432083:
2432083:
2432083: extern int vsscanf (const char *__restrict __s,
2432083: const char *__restrict __format, __gnuc_va_list __arg)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__format__ (__scanf__, 2, 0)));
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern int vfscanf (FILE *__restrict __s, const char *__restrict __format, __gnuc_va_list __arg) __asm__ ("" "__isoc99_vfscanf")
2432083:
2432083:
2432083:
2432083: __attribute__ ((__format__ (__scanf__, 2, 0))) __attribute__ ((__warn_unused_result__));
2432083: extern int vscanf (const char *__restrict __format, __gnuc_va_list __arg) __asm__ ("" "__isoc99_vscanf")
2432083:
2432083: __attribute__ ((__format__ (__scanf__, 1, 0))) __attribute__ ((__warn_unused_result__));
2432083: extern int vsscanf (const char *__restrict __s, const char *__restrict __format, __gnuc_va_list __arg) __asm__ ("" "__isoc99_vsscanf") __attribute__ ((__nothrow__ , __leaf__))
2432083:
2432083:
2432083:
2432083: __attribute__ ((__format__ (__scanf__, 2, 0)));
2432083: # 513 "/usr/include/stdio.h" 3 4
2432083: extern int fgetc (FILE *__stream);
2432083: extern int getc (FILE *__stream);
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern int getchar (void);
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern int getc_unlocked (FILE *__stream);
2432083: extern int getchar_unlocked (void);
2432083: # 538 "/usr/include/stdio.h" 3 4
2432083: extern int fgetc_unlocked (FILE *__stream);
2432083: # 549 "/usr/include/stdio.h" 3 4
2432083: extern int fputc (int __c, FILE *__stream);
2432083: extern int putc (int __c, FILE *__stream);
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern int putchar (int __c);
2432083: # 565 "/usr/include/stdio.h" 3 4
2432083: extern int fputc_unlocked (int __c, FILE *__stream);
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern int putc_unlocked (int __c, FILE *__stream);
2432083: extern int putchar_unlocked (int __c);
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern int getw (FILE *__stream);
2432083:
2432083:
2432083: extern int putw (int __w, FILE *__stream);
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern char *fgets (char *__restrict __s, int __n, FILE *__restrict __stream)
2432083: __attribute__ ((__warn_unused_result__)) __attribute__ ((__access__ (__write_only__, 1, 2)));
2432083: # 615 "/usr/include/stdio.h" 3 4
2432083: extern char *fgets_unlocked (char *__restrict __s, int __n,
2432083: FILE *__restrict __stream) __attribute__ ((__warn_unused_result__))
2432083: __attribute__ ((__access__ (__write_only__, 1, 2)));
2432083: # 632 "/usr/include/stdio.h" 3 4
2432083: extern __ssize_t __getdelim (char **__restrict __lineptr,
2432083: size_t *__restrict __n, int __delimiter,
2432083: FILE *__restrict __stream) __attribute__ ((__warn_unused_result__));
2432083: extern __ssize_t getdelim (char **__restrict __lineptr,
2432083: size_t *__restrict __n, int __delimiter,
2432083: FILE *__restrict __stream) __attribute__ ((__warn_unused_result__));
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern __ssize_t getline (char **__restrict __lineptr,
2432083: size_t *__restrict __n,
2432083: FILE *__restrict __stream) __attribute__ ((__warn_unused_result__));
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern int fputs (const char *__restrict __s, FILE *__restrict __stream);
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern int puts (const char *__s);
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern int ungetc (int __c, FILE *__stream);
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern size_t fread (void *__restrict __ptr, size_t __size,
2432083: size_t __n, FILE *__restrict __stream) __attribute__ ((__warn_unused_result__));
2432083:
2432083:
2432083:
2432083:
2432083: extern size_t fwrite (const void *__restrict __ptr, size_t __size,
2432083: size_t __n, FILE *__restrict __s);
2432083: # 691 "/usr/include/stdio.h" 3 4
2432083: extern int fputs_unlocked (const char *__restrict __s,
2432083: FILE *__restrict __stream);
2432083: # 702 "/usr/include/stdio.h" 3 4
2432083: extern size_t fread_unlocked (void *__restrict __ptr, size_t __size,
2432083: size_t __n, FILE *__restrict __stream) __attribute__ ((__warn_unused_result__));
2432083: extern size_t fwrite_unlocked (const void *__restrict __ptr, size_t __size,
2432083: size_t __n, FILE *__restrict __stream);
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern int fseek (FILE *__stream, long int __off, int __whence);
2432083:
2432083:
2432083:
2432083:
2432083: extern long int ftell (FILE *__stream) __attribute__ ((__warn_unused_result__));
2432083:
2432083:
2432083:
2432083:
2432083: extern void rewind (FILE *__stream);
2432083: # 744 "/usr/include/stdio.h" 3 4
2432083: extern int fseeko (FILE *__stream, __off64_t __off, int __whence) __asm__ ("" "fseeko64")
2432083:
2432083: ;
2432083: extern __off64_t ftello (FILE *__stream) __asm__ ("" "ftello64");
2432083: # 768 "/usr/include/stdio.h" 3 4
2432083: extern int fgetpos (FILE *__restrict __stream, fpos_t *__restrict __pos) __asm__ ("" "fgetpos64")
2432083: ;
2432083: extern int fsetpos (FILE *__stream, const fpos_t *__pos) __asm__ ("" "fsetpos64")
2432083: ;
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern int fseeko64 (FILE *__stream, __off64_t __off, int __whence);
2432083: extern __off64_t ftello64 (FILE *__stream) __attribute__ ((__warn_unused_result__));
2432083: extern int fgetpos64 (FILE *__restrict __stream, fpos64_t *__restrict __pos);
2432083: extern int fsetpos64 (FILE *__stream, const fpos64_t *__pos);
2432083:
2432083:
2432083:
2432083: extern void clearerr (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__));
2432083:
2432083: extern int feof (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__));
2432083:
2432083: extern int ferror (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__));
2432083:
2432083:
2432083:
2432083: extern void clearerr_unlocked (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__));
2432083: extern int feof_unlocked (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__));
2432083: extern int ferror_unlocked (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__));
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern void perror (const char *__s);
2432083:
2432083:
2432083:
2432083:
2432083: extern int fileno (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__));
2432083:
2432083:
2432083:
2432083:
2432083: extern int fileno_unlocked (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__));
2432083: # 823 "/usr/include/stdio.h" 3 4
2432083: extern int pclose (FILE *__stream);
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern FILE *popen (const char *__command, const char *__modes)
2432083: __attribute__ ((__malloc__)) __attribute__ ((__malloc__ (pclose, 1))) __attribute__ ((__warn_unused_result__));
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern char *ctermid (char *__s) __attribute__ ((__nothrow__ , __leaf__))
2432083: __attribute__ ((__access__ (__write_only__, 1)));
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern char *cuserid (char *__s)
2432083: __attribute__ ((__access__ (__write_only__, 1)));
2432083:
2432083:
2432083:
2432083:
2432083: struct obstack;
2432083:
2432083:
2432083: extern int obstack_printf (struct obstack *__restrict __obstack,
2432083: const char *__restrict __format, ...)
2432083: __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 2, 3)));
2432083: extern int obstack_vprintf (struct obstack *__restrict __obstack,
2432083: const char *__restrict __format,
2432083: __gnuc_va_list __args)
2432083: __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 2, 0)));
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern void flockfile (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__));
2432083:
2432083:
2432083:
2432083: extern int ftrylockfile (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__));
2432083:
2432083:
2432083: extern void funlockfile (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__));
2432083: # 885 "/usr/include/stdio.h" 3 4
2432083: extern int __uflow (FILE *);
2432083: extern int __overflow (FILE *, int);
2432083:
2432083:
2432083:
2432083: # 1 "/usr/include/m68k-linux-gnu/bits/stdio2-decl.h" 1 3 4
2432083: # 26 "/usr/include/m68k-linux-gnu/bits/stdio2-decl.h" 3 4
2432083: extern int __sprintf_chk (char *__restrict __s, int __flag, size_t __slen,
2432083: const char *__restrict __format, ...) __attribute__ ((__nothrow__ , __leaf__))
2432083: __attribute__ ((__access__ (__write_only__, 1, 3)));
2432083: extern int __vsprintf_chk (char *__restrict __s, int __flag, size_t __slen,
2432083: const char *__restrict __format,
2432083: __gnuc_va_list __ap) __attribute__ ((__nothrow__ , __leaf__))
2432083: __attribute__ ((__access__ (__write_only__, 1, 3)));
2432083:
2432083:
2432083:
2432083: extern int __snprintf_chk (char *__restrict __s, size_t __n, int __flag,
2432083: size_t __slen, const char *__restrict __format,
2432083: ...) __attribute__ ((__nothrow__ , __leaf__))
2432083: __attribute__ ((__access__ (__write_only__, 1, 2)));
2432083: extern int __vsnprintf_chk (char *__restrict __s, size_t __n, int __flag,
2432083: size_t __slen, const char *__restrict __format,
2432083: __gnuc_va_list __ap) __attribute__ ((__nothrow__ , __leaf__))
2432083: __attribute__ ((__access__ (__write_only__, 1, 2)));
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern int __fprintf_chk (FILE *__restrict __stream, int __flag,
2432083: const char *__restrict __format, ...);
2432083: extern int __printf_chk (int __flag, const char *__restrict __format, ...);
2432083: extern int __vfprintf_chk (FILE *__restrict __stream, int __flag,
2432083: const char *__restrict __format, __gnuc_va_list __ap);
2432083: extern int __vprintf_chk (int __flag, const char *__restrict __format,
2432083: __gnuc_va_list __ap);
2432083:
2432083:
2432083: extern int __dprintf_chk (int __fd, int __flag, const char *__restrict __fmt,
2432083: ...) __attribute__ ((__format__ (__printf__, 3, 4)));
2432083: extern int __vdprintf_chk (int __fd, int __flag,
2432083: const char *__restrict __fmt, __gnuc_va_list __arg)
2432083: __attribute__ ((__format__ (__printf__, 3, 0)));
2432083:
2432083:
2432083:
2432083:
2432083: extern int __asprintf_chk (char **__restrict __ptr, int __flag,
2432083: const char *__restrict __fmt, ...)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__format__ (__printf__, 3, 4))) __attribute__ ((__warn_unused_result__));
2432083: extern int __vasprintf_chk (char **__restrict __ptr, int __flag,
2432083: const char *__restrict __fmt, __gnuc_va_list __arg)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__format__ (__printf__, 3, 0))) __attribute__ ((__warn_unused_result__));
2432083: extern int __obstack_printf_chk (struct obstack *__restrict __obstack,
2432083: int __flag, const char *__restrict __format,
2432083: ...)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__format__ (__printf__, 3, 4)));
2432083: extern int __obstack_vprintf_chk (struct obstack *__restrict __obstack,
2432083: int __flag,
2432083: const char *__restrict __format,
2432083: __gnuc_va_list __args)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__format__ (__printf__, 3, 0)));
2432083: # 90 "/usr/include/m68k-linux-gnu/bits/stdio2-decl.h" 3 4
2432083: extern char *__fgets_chk (char *__restrict __s, size_t __size, int __n,
2432083: FILE *__restrict __stream)
2432083: __attribute__ ((__warn_unused_result__)) __attribute__ ((__access__ (__write_only__, 1, 3)));
2432083:
2432083: extern size_t __fread_chk (void *__restrict __ptr, size_t __ptrlen,
2432083: size_t __size, size_t __n,
2432083: FILE *__restrict __stream) __attribute__ ((__warn_unused_result__));
2432083:
2432083:
2432083: extern char *__fgets_unlocked_chk (char *__restrict __s, size_t __size,
2432083: int __n, FILE *__restrict __stream)
2432083: __attribute__ ((__warn_unused_result__)) __attribute__ ((__access__ (__write_only__, 1, 3)));
2432083:
2432083:
2432083:
2432083:
2432083: extern size_t __fread_unlocked_chk (void *__restrict __ptr, size_t __ptrlen,
2432083: size_t __size, size_t __n,
2432083: FILE *__restrict __stream) __attribute__ ((__warn_unused_result__));
2432083: # 891 "/usr/include/stdio.h" 2 3 4
2432083: # 902 "/usr/include/stdio.h" 3 4
2432083: # 1 "/usr/include/m68k-linux-gnu/bits/stdio.h" 1 3 4
2432083: # 46 "/usr/include/m68k-linux-gnu/bits/stdio.h" 3 4
2432083: extern __inline __attribute__ ((__gnu_inline__)) int
2432083: getchar (void)
2432083: {
2432083: return getc (stdin);
2432083: }
2432083:
2432083:
2432083:
2432083:
2432083: extern __inline __attribute__ ((__gnu_inline__)) int
2432083: fgetc_unlocked (FILE *__fp)
2432083: {
2432083: return (__builtin_expect (((__fp)->_IO_read_ptr >= (__fp)->_IO_read_end), 0) ? __uflow (__fp) : *(unsigned char *) (__fp)->_IO_read_ptr++);
2432083: }
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern __inline __attribute__ ((__gnu_inline__)) int
2432083: getc_unlocked (FILE *__fp)
2432083: {
2432083: return (__builtin_expect (((__fp)->_IO_read_ptr >= (__fp)->_IO_read_end), 0) ? __uflow (__fp) : *(unsigned char *) (__fp)->_IO_read_ptr++);
2432083: }
2432083:
2432083:
2432083: extern __inline __attribute__ ((__gnu_inline__)) int
2432083: getchar_unlocked (void)
2432083: {
2432083: return (__builtin_expect (((stdin)->_IO_read_ptr >= (stdin)->_IO_read_end), 0) ? __uflow (stdin) : *(unsigned char *) (stdin)->_IO_read_ptr++);
2432083: }
2432083:
2432083:
2432083:
2432083:
2432083: extern __inline __attribute__ ((__gnu_inline__)) int
2432083: putchar (int __c)
2432083: {
2432083: return putc (__c, stdout);
2432083: }
2432083:
2432083:
2432083:
2432083:
2432083: extern __inline __attribute__ ((__gnu_inline__)) int
2432083: fputc_unlocked (int __c, FILE *__stream)
2432083: {
2432083: return (__builtin_expect (((__stream)->_IO_write_ptr >= (__stream)->_IO_write_end), 0) ? __overflow (__stream, (unsigned char) (__c)) : (unsigned char) (*(__stream)->_IO_write_ptr++ = (__c)));
2432083: }
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern __inline __attribute__ ((__gnu_inline__)) int
2432083: putc_unlocked (int __c, FILE *__stream)
2432083: {
2432083: return (__builtin_expect (((__stream)->_IO_write_ptr >= (__stream)->_IO_write_end), 0) ? __overflow (__stream, (unsigned char) (__c)) : (unsigned char) (*(__stream)->_IO_write_ptr++ = (__c)));
2432083: }
2432083:
2432083:
2432083: extern __inline __attribute__ ((__gnu_inline__)) int
2432083: putchar_unlocked (int __c)
2432083: {
2432083: return (__builtin_expect (((stdout)->_IO_write_ptr >= (stdout)->_IO_write_end), 0) ? __overflow (stdout, (unsigned char) (__c)) : (unsigned char) (*(stdout)->_IO_write_ptr++ = (__c)));
2432083: }
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern __inline __attribute__ ((__gnu_inline__)) __ssize_t
2432083: getline (char **__lineptr, size_t *__n, FILE *__stream)
2432083: {
2432083: return __getdelim (__lineptr, __n, '\n', __stream);
2432083: }
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern __inline __attribute__ ((__gnu_inline__)) int
2432083: __attribute__ ((__nothrow__ , __leaf__)) feof_unlocked (FILE *__stream)
2432083: {
2432083: return (((__stream)->_flags & 0x0010) != 0);
2432083: }
2432083:
2432083:
2432083: extern __inline __attribute__ ((__gnu_inline__)) int
2432083: __attribute__ ((__nothrow__ , __leaf__)) ferror_unlocked (FILE *__stream)
2432083: {
2432083: return (((__stream)->_flags & 0x0020) != 0);
2432083: }
2432083: # 903 "/usr/include/stdio.h" 2 3 4
2432083:
2432083:
2432083:
2432083: # 1 "/usr/include/m68k-linux-gnu/bits/stdio2.h" 1 3 4
2432083: # 27 "/usr/include/m68k-linux-gnu/bits/stdio2.h" 3 4
2432083: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) int
2432083: __attribute__ ((__nothrow__ , __leaf__)) sprintf (char *__restrict __s, const char *__restrict __fmt, ...)
2432083: {
2432083: return __builtin___sprintf_chk (__s, 2 - 1,
2432083: __builtin_object_size (__s, 2 > 1), __fmt,
2432083: __builtin_va_arg_pack ());
2432083: }
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) int
2432083: __attribute__ ((__nothrow__ , __leaf__)) vsprintf (char *__restrict __s, const char *__restrict __fmt, __gnuc_va_list __ap)
2432083:
2432083: {
2432083: return __builtin___vsprintf_chk (__s, 2 - 1,
2432083: __builtin_object_size (__s, 2 > 1), __fmt, __ap);
2432083: }
2432083:
2432083:
2432083:
2432083: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) int
2432083: __attribute__ ((__nothrow__ , __leaf__)) snprintf (char *__restrict __s, size_t __n, const char *__restrict __fmt, ...)
2432083:
2432083: {
2432083: return __builtin___snprintf_chk (__s, __n, 2 - 1,
2432083: __builtin_object_size (__s, 2 > 1), __fmt,
2432083: __builtin_va_arg_pack ());
2432083: }
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) int
2432083: __attribute__ ((__nothrow__ , __leaf__)) vsnprintf (char *__restrict __s, size_t __n, const char *__restrict __fmt, __gnuc_va_list __ap)
2432083:
2432083: {
2432083: return __builtin___vsnprintf_chk (__s, __n, 2 - 1,
2432083: __builtin_object_size (__s, 2 > 1), __fmt, __ap);
2432083: }
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) int
2432083: fprintf (FILE *__restrict __stream, const char *__restrict __fmt, ...)
2432083: {
2432083: return __fprintf_chk (__stream, 2 - 1, __fmt,
2432083: __builtin_va_arg_pack ());
2432083: }
2432083:
2432083: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) int
2432083: printf (const char *__restrict __fmt, ...)
2432083: {
2432083: return __printf_chk (2 - 1, __fmt, __builtin_va_arg_pack ());
2432083: }
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) int
2432083: vprintf (const char *__restrict __fmt, __gnuc_va_list __ap)
2432083: {
2432083:
2432083: return __vfprintf_chk (stdout, 2 - 1, __fmt, __ap);
2432083:
2432083:
2432083:
2432083: }
2432083:
2432083: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) int
2432083: vfprintf (FILE *__restrict __stream,
2432083: const char *__restrict __fmt, __gnuc_va_list __ap)
2432083: {
2432083: return __vfprintf_chk (__stream, 2 - 1, __fmt, __ap);
2432083: }
2432083:
2432083:
2432083:
2432083: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) int
2432083: dprintf (int __fd, const char *__restrict __fmt, ...)
2432083: {
2432083: return __dprintf_chk (__fd, 2 - 1, __fmt,
2432083: __builtin_va_arg_pack ());
2432083: }
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) int
2432083: vdprintf (int __fd, const char *__restrict __fmt, __gnuc_va_list __ap)
2432083: {
2432083: return __vdprintf_chk (__fd, 2 - 1, __fmt, __ap);
2432083: }
2432083:
2432083:
2432083:
2432083:
2432083: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) int
2432083: __attribute__ ((__nothrow__ , __leaf__)) asprintf (char **__restrict __ptr, const char *__restrict __fmt, ...)
2432083: {
2432083: return __asprintf_chk (__ptr, 2 - 1, __fmt,
2432083: __builtin_va_arg_pack ());
2432083: }
2432083:
2432083: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) int
2432083: __attribute__ ((__nothrow__ , __leaf__)) __asprintf (char **__restrict __ptr, const char *__restrict __fmt, ...)
2432083:
2432083: {
2432083: return __asprintf_chk (__ptr, 2 - 1, __fmt,
2432083: __builtin_va_arg_pack ());
2432083: }
2432083:
2432083: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) int
2432083: __attribute__ ((__nothrow__ , __leaf__)) obstack_printf (struct obstack *__restrict __obstack, const char *__restrict __fmt, ...)
2432083:
2432083: {
2432083: return __obstack_printf_chk (__obstack, 2 - 1, __fmt,
2432083: __builtin_va_arg_pack ());
2432083: }
2432083: # 165 "/usr/include/m68k-linux-gnu/bits/stdio2.h" 3 4
2432083: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) int
2432083: __attribute__ ((__nothrow__ , __leaf__)) vasprintf (char **__restrict __ptr, const char *__restrict __fmt, __gnuc_va_list __ap)
2432083:
2432083: {
2432083: return __vasprintf_chk (__ptr, 2 - 1, __fmt, __ap);
2432083: }
2432083:
2432083: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) int
2432083: __attribute__ ((__nothrow__ , __leaf__)) obstack_vprintf (struct obstack *__restrict __obstack, const char *__restrict __fmt, __gnuc_va_list __ap)
2432083:
2432083: {
2432083: return __obstack_vprintf_chk (__obstack, 2 - 1, __fmt,
2432083: __ap);
2432083: }
2432083: # 198 "/usr/include/m68k-linux-gnu/bits/stdio2.h" 3 4
2432083: extern char *__fgets_alias (char *__restrict __s, int __n, FILE *__restrict __stream) __asm__ ("" "fgets")
2432083:
2432083:
2432083: __attribute__ ((__warn_unused_result__)) __attribute__ ((__access__ (__write_only__, 1, 2)));
2432083: extern char *__fgets_chk_warn (char *__restrict __s, size_t __size, int __n, FILE *__restrict __stream) __asm__ ("" "__fgets_chk")
2432083:
2432083:
2432083: __attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("fgets called with bigger size than length " "of destination buffer")))
2432083: ;
2432083:
2432083: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) __attribute__ ((__warn_unused_result__)) __attribute__ ((__access__ (__write_only__, 1, 2))) char *
2432083: fgets (char *__restrict __s, int __n, FILE *__restrict __stream)
2432083: {
2432083: size_t sz = __builtin_object_size (__s, 2 > 1);
2432083: if (((__builtin_constant_p (sz) && (sz) == (unsigned int) -1) || (((__typeof (__n)) 0 < (__typeof (__n)) -1 || (__builtin_constant_p (__n) && (__n) > 0)) && __builtin_constant_p ((((unsigned int) (__n)) <= ((sz)) / ((sizeof (char))))) && (((unsigned int) (__n)) <= ((sz)) / ((sizeof (char)))))))
2432083: return __fgets_alias (__s, __n, __stream);
2432083: if ((((__typeof (__n)) 0 < (__typeof (__n)) -1 || (__builtin_constant_p (__n) && (__n) > 0)) && __builtin_constant_p ((((unsigned int) (__n)) <= (sz) / (sizeof (char)))) && !(((unsigned int) (__n)) <= (sz) / (sizeof (char)))))
2432083: return __fgets_chk_warn (__s, sz, __n, __stream);
2432083: return __fgets_chk (__s, sz, __n, __stream);
2432083: }
2432083:
2432083: extern size_t __fread_alias (void *__restrict __ptr, size_t __size, size_t __n, FILE *__restrict __stream) __asm__ ("" "fread")
2432083:
2432083:
2432083: __attribute__ ((__warn_unused_result__));
2432083: extern size_t __fread_chk_warn (void *__restrict __ptr, size_t __ptrlen, size_t __size, size_t __n, FILE *__restrict __stream) __asm__ ("" "__fread_chk")
2432083:
2432083:
2432083:
2432083:
2432083: __attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("fread called with bigger size * nmemb than length " "of destination buffer")))
2432083: ;
2432083:
2432083: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) __attribute__ ((__warn_unused_result__)) size_t
2432083: fread (void *__restrict __ptr, size_t __size, size_t __n,
2432083: FILE *__restrict __stream)
2432083: {
2432083: size_t sz = __builtin_object_size (__ptr, 0);
2432083: if (((__builtin_constant_p (sz) && (sz) == (unsigned int) -1) || (((__typeof (__n)) 0 < (__typeof (__n)) -1 || (__builtin_constant_p (__n) && (__n) > 0)) && __builtin_constant_p ((((unsigned int) (__n)) <= ((sz)) / ((__size)))) && (((unsigned int) (__n)) <= ((sz)) / ((__size))))))
2432083: return __fread_alias (__ptr, __size, __n, __stream);
2432083: if ((((__typeof (__n)) 0 < (__typeof (__n)) -1 || (__builtin_constant_p (__n) && (__n) > 0)) && __builtin_constant_p ((((unsigned int) (__n)) <= (sz) / (__size))) && !(((unsigned int) (__n)) <= (sz) / (__size))))
2432083: return __fread_chk_warn (__ptr, sz, __size, __n, __stream);
2432083: return __fread_chk (__ptr, sz, __size, __n, __stream);
2432083: }
2432083:
2432083:
2432083: extern char *__fgets_unlocked_alias (char *__restrict __s, int __n, FILE *__restrict __stream) __asm__ ("" "fgets_unlocked")
2432083:
2432083:
2432083: __attribute__ ((__warn_unused_result__)) __attribute__ ((__access__ (__write_only__, 1, 2)));
2432083: extern char *__fgets_unlocked_chk_warn (char *__restrict __s, size_t __size, int __n, FILE *__restrict __stream) __asm__ ("" "__fgets_unlocked_chk")
2432083:
2432083:
2432083: __attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("fgets_unlocked called with bigger size than length " "of destination buffer")))
2432083: ;
2432083:
2432083: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) __attribute__ ((__warn_unused_result__)) __attribute__ ((__access__ (__write_only__, 1, 2))) char *
2432083: fgets_unlocked (char *__restrict __s, int __n, FILE *__restrict __stream)
2432083: {
2432083: size_t sz = __builtin_object_size (__s, 2 > 1);
2432083: if (((__builtin_constant_p (sz) && (sz) == (unsigned int) -1) || (((__typeof (__n)) 0 < (__typeof (__n)) -1 || (__builtin_constant_p (__n) && (__n) > 0)) && __builtin_constant_p ((((unsigned int) (__n)) <= ((sz)) / ((sizeof (char))))) && (((unsigned int) (__n)) <= ((sz)) / ((sizeof (char)))))))
2432083: return __fgets_unlocked_alias (__s, __n, __stream);
2432083: if ((((__typeof (__n)) 0 < (__typeof (__n)) -1 || (__builtin_constant_p (__n) && (__n) > 0)) && __builtin_constant_p ((((unsigned int) (__n)) <= (sz) / (sizeof (char)))) && !(((unsigned int) (__n)) <= (sz) / (sizeof (char)))))
2432083: return __fgets_unlocked_chk_warn (__s, sz, __n, __stream);
2432083: return __fgets_unlocked_chk (__s, sz, __n, __stream);
2432083: }
2432083:
2432083:
2432083:
2432083:
2432083: extern size_t __fread_unlocked_alias (void *__restrict __ptr, size_t __size, size_t __n, FILE *__restrict __stream) __asm__ ("" "fread_unlocked")
2432083:
2432083:
2432083: __attribute__ ((__warn_unused_result__));
2432083: extern size_t __fread_unlocked_chk_warn (void *__restrict __ptr, size_t __ptrlen, size_t __size, size_t __n, FILE *__restrict __stream) __asm__ ("" "__fread_unlocked_chk")
2432083:
2432083:
2432083:
2432083:
2432083: __attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("fread_unlocked called with bigger size * nmemb than " "length of destination buffer")))
2432083: ;
2432083:
2432083: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) __attribute__ ((__warn_unused_result__)) size_t
2432083: fread_unlocked (void *__restrict __ptr, size_t __size, size_t __n,
2432083: FILE *__restrict __stream)
2432083: {
2432083: size_t sz = __builtin_object_size (__ptr, 0);
2432083: if (((__builtin_constant_p (sz) && (sz) == (unsigned int) -1) || (((__typeof (__n)) 0 < (__typeof (__n)) -1 || (__builtin_constant_p (__n) && (__n) > 0)) && __builtin_constant_p ((((unsigned int) (__n)) <= ((sz)) / ((__size)))) && (((unsigned int) (__n)) <= ((sz)) / ((__size))))))
2432083: {
2432083:
2432083: if (__builtin_constant_p (__size)
2432083: && __builtin_constant_p (__n)
2432083: && (__size | __n) < (((size_t) 1) << (8 * sizeof (size_t) / 2))
2432083: && __size * __n <= 8)
2432083: {
2432083: size_t __cnt = __size * __n;
2432083: char *__cptr = (char *) __ptr;
2432083: if (__cnt == 0)
2432083: return 0;
2432083:
2432083: for (; __cnt > 0; --__cnt)
2432083: {
2432083: int __c = getc_unlocked (__stream);
2432083: if (__c == (-1))
2432083: break;
2432083: *__cptr++ = __c;
2432083: }
2432083: return (__cptr - (char *) __ptr) / __size;
2432083: }
2432083:
2432083: return __fread_unlocked_alias (__ptr, __size, __n, __stream);
2432083: }
2432083: if ((((__typeof (__n)) 0 < (__typeof (__n)) -1 || (__builtin_constant_p (__n) && (__n) > 0)) && __builtin_constant_p ((((unsigned int) (__n)) <= (sz) / (__size))) && !(((unsigned int) (__n)) <= (sz) / (__size))))
2432083: return __fread_unlocked_chk_warn (__ptr, sz, __size, __n, __stream);
2432083: return __fread_unlocked_chk (__ptr, sz, __size, __n, __stream);
2432083:
2432083: }
2432083: # 907 "/usr/include/stdio.h" 2 3 4
2432083:
2432083:
2432083:
2432083: # 50 "/usr/include/m68k-linux-gnu/bsd/libutil.h" 2 3 4
2432083:
2432083: struct pidfh;
2432083:
2432083:
2432083: int humanize_number(char *buf, size_t len, int64_t bytes,
2432083: const char *suffix, int scale, int flags);
2432083: int expand_number(const char *_buf, uint64_t *_num);
2432083:
2432083: int flopen(const char *_path, int _flags, ...);
2432083: int flopenat(int dirfd, const char *path, int flags, ...);
2432083:
2432083: struct pidfh *pidfile_open(const char *path, mode_t mode, pid_t *pidptr);
2432083: int pidfile_fileno(const struct pidfh *pfh);
2432083: int pidfile_write(struct pidfh *pfh);
2432083: int pidfile_close(struct pidfh *pfh);
2432083: int pidfile_remove(struct pidfh *pfh);
2432083:
2432083: char *fparseln(FILE *, size_t *, size_t *, const char[3], int);
2432083:
2432083: # 141 "../../includes.h" 2
2432083: # 154 "../../includes.h"
2432083: # 1 "/usr/include/errno.h" 1 3 4
2432083: # 28 "/usr/include/errno.h" 3 4
2432083: # 1 "/usr/include/m68k-linux-gnu/bits/errno.h" 1 3 4
2432083: # 26 "/usr/include/m68k-linux-gnu/bits/errno.h" 3 4
2432083: # 1 "/usr/include/linux/errno.h" 1 3 4
2432083: # 1 "/usr/lib/linux/uapi/m68k/asm/errno.h" 1 3 4
2432083: # 1 "/usr/include/asm-generic/errno.h" 1 3 4
2432083:
2432083:
2432083:
2432083:
2432083: # 1 "/usr/include/asm-generic/errno-base.h" 1 3 4
2432083: # 6 "/usr/include/asm-generic/errno.h" 2 3 4
2432083: # 2 "/usr/lib/linux/uapi/m68k/asm/errno.h" 2 3 4
2432083: # 2 "/usr/include/linux/errno.h" 2 3 4
2432083: # 27 "/usr/include/m68k-linux-gnu/bits/errno.h" 2 3 4
2432083: # 29 "/usr/include/errno.h" 2 3 4
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern int *__errno_location (void) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__));
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern char *program_invocation_name;
2432083: extern char *program_invocation_short_name;
2432083:
2432083: # 1 "/usr/include/m68k-linux-gnu/bits/types/error_t.h" 1 3 4
2432083: # 22 "/usr/include/m68k-linux-gnu/bits/types/error_t.h" 3 4
2432083: typedef int error_t;
2432083: # 49 "/usr/include/errno.h" 2 3 4
2432083:
2432083:
2432083:
2432083:
2432083: # 155 "../../includes.h" 2
2432083: # 167 "../../includes.h"
2432083: # 1 "/usr/include/openssl/opensslv.h" 1 3 4
2432083: # 15 "/usr/include/openssl/opensslv.h" 3 4
2432083:
2432083: # 109 "/usr/include/openssl/opensslv.h" 3 4
2432083: # 1 "/usr/include/openssl/macros.h" 1 3 4
2432083: # 12 "/usr/include/openssl/macros.h" 3 4
2432083:
2432083:
2432083: # 1 "/usr/include/m68k-linux-gnu/openssl/opensslconf.h" 1 3 4
2432083: # 12 "/usr/include/m68k-linux-gnu/openssl/opensslconf.h" 3 4
2432083:
2432083:
2432083: # 1 "/usr/include/m68k-linux-gnu/openssl/configuration.h" 1 3 4
2432083: # 16 "/usr/include/m68k-linux-gnu/openssl/configuration.h" 3 4
2432083:
2432083: # 15 "/usr/include/m68k-linux-gnu/openssl/opensslconf.h" 2 3 4
2432083: # 15 "/usr/include/openssl/macros.h" 2 3 4
2432083: # 110 "/usr/include/openssl/opensslv.h" 2 3 4
2432083: # 168 "../../includes.h" 2
2432083:
2432083:
2432083: # 1 "../../defines.h" 1
2432083: # 59 "../../defines.h"
2432083: # 1 "/usr/include/netinet/ip.h" 1 3 4
2432083: # 26 "/usr/include/netinet/ip.h" 3 4
2432083:
2432083:
2432083: struct timestamp
2432083: {
2432083: uint8_t len;
2432083: uint8_t ptr;
2432083:
2432083:
2432083:
2432083:
2432083: unsigned int overflow:4;
2432083: unsigned int flags:4;
2432083:
2432083:
2432083:
2432083: uint32_t data[9];
2432083: };
2432083:
2432083: struct iphdr
2432083: {
2432083:
2432083:
2432083:
2432083:
2432083: unsigned int version:4;
2432083: unsigned int ihl:4;
2432083:
2432083:
2432083:
2432083: uint8_t tos;
2432083: uint16_t tot_len;
2432083: uint16_t id;
2432083: uint16_t frag_off;
2432083: uint8_t ttl;
2432083: uint8_t protocol;
2432083: uint16_t check;
2432083: uint32_t saddr;
2432083: uint32_t daddr;
2432083:
2432083: };
2432083: # 107 "/usr/include/netinet/ip.h" 3 4
2432083: struct ip
2432083: {
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: unsigned int ip_v:4;
2432083: unsigned int ip_hl:4;
2432083:
2432083: uint8_t ip_tos;
2432083: unsigned short ip_len;
2432083: unsigned short ip_id;
2432083: unsigned short ip_off;
2432083:
2432083:
2432083:
2432083:
2432083: uint8_t ip_ttl;
2432083: uint8_t ip_p;
2432083: unsigned short ip_sum;
2432083: struct in_addr ip_src, ip_dst;
2432083: };
2432083:
2432083:
2432083:
2432083:
2432083: struct ip_timestamp
2432083: {
2432083: uint8_t ipt_code;
2432083: uint8_t ipt_len;
2432083: uint8_t ipt_ptr;
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: unsigned int ipt_oflw:4;
2432083: unsigned int ipt_flg:4;
2432083:
2432083: uint32_t data[9];
2432083: };
2432083: # 300 "/usr/include/netinet/ip.h" 3 4
2432083:
2432083: # 60 "../../defines.h" 2
2432083: # 171 "../../includes.h" 2
2432083:
2432083: # 1 "../../platform.h" 1
2432083: # 19 "../../platform.h"
2432083: # 1 "/usr/include/pwd.h" 1 3 4
2432083: # 27 "/usr/include/pwd.h" 3 4
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: # 1 "/usr/lib/gcc/m68k-linux-gnu/13/include/stddef.h" 1 3 4
2432083: # 33 "/usr/include/pwd.h" 2 3 4
2432083: # 49 "/usr/include/pwd.h" 3 4
2432083: struct passwd
2432083: {
2432083: char *pw_name;
2432083: char *pw_passwd;
2432083:
2432083: __uid_t pw_uid;
2432083: __gid_t pw_gid;
2432083: char *pw_gecos;
2432083: char *pw_dir;
2432083: char *pw_shell;
2432083: };
2432083: # 72 "/usr/include/pwd.h" 3 4
2432083: extern void setpwent (void);
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern void endpwent (void);
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern struct passwd *getpwent (void);
2432083: # 94 "/usr/include/pwd.h" 3 4
2432083: extern struct passwd *fgetpwent (FILE *__stream) __attribute__ ((__nonnull__ (1)));
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern int putpwent (const struct passwd *__restrict __p,
2432083: FILE *__restrict __f);
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern struct passwd *getpwuid (__uid_t __uid);
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern struct passwd *getpwnam (const char *__name) __attribute__ ((__nonnull__ (1)));
2432083: # 139 "/usr/include/pwd.h" 3 4
2432083: extern int getpwent_r (struct passwd *__restrict __resultbuf,
2432083: char *__restrict __buffer, size_t __buflen,
2432083: struct passwd **__restrict __result)
2432083: __attribute__ ((__nonnull__ (1, 2, 4)))
2432083: __attribute__ ((__access__ (__write_only__, 2, 3)));
2432083:
2432083:
2432083: extern int getpwuid_r (__uid_t __uid,
2432083: struct passwd *__restrict __resultbuf,
2432083: char *__restrict __buffer, size_t __buflen,
2432083: struct passwd **__restrict __result)
2432083: __attribute__ ((__nonnull__ (2, 3, 5)))
2432083: __attribute__ ((__access__ (__write_only__, 3, 4)));
2432083:
2432083: extern int getpwnam_r (const char *__restrict __name,
2432083: struct passwd *__restrict __resultbuf,
2432083: char *__restrict __buffer, size_t __buflen,
2432083: struct passwd **__restrict __result)
2432083: __attribute__ ((__nonnull__ (1, 2, 3, 5)))
2432083: __attribute__ ((__access__ (__write_only__, 3, 4)));
2432083: # 169 "/usr/include/pwd.h" 3 4
2432083: extern int fgetpwent_r (FILE *__restrict __stream,
2432083: struct passwd *__restrict __resultbuf,
2432083: char *__restrict __buffer, size_t __buflen,
2432083: struct passwd **__restrict __result)
2432083: __attribute__ ((__nonnull__ (1, 2, 3, 5)))
2432083: __attribute__ ((__access__ (__write_only__, 3, 4)));
2432083: # 188 "/usr/include/pwd.h" 3 4
2432083: extern int getpw (__uid_t __uid, char *__buffer);
2432083:
2432083:
2432083:
2432083: # 20 "../../platform.h" 2
2432083:
2432083:
2432083: # 21 "../../platform.h"
2432083: void platform_pre_listen(void);
2432083: void platform_pre_fork(void);
2432083: void platform_pre_restart(void);
2432083: void platform_post_fork_parent(pid_t child_pid);
2432083: void platform_post_fork_child(void);
2432083: int platform_privileged_uidswap(void);
2432083: void platform_setusercontext(struct passwd *);
2432083: void platform_setusercontext_post_groups(struct passwd *, const char *);
2432083: char *platform_get_krb5_client(const char *);
2432083: char *platform_krb5_get_principal_name(const char *);
2432083: int platform_locked_account(struct passwd *);
2432083: int platform_sys_dir_uid(uid_t);
2432083: void platform_disable_tracing(int);
2432083:
2432083:
2432083: void platform_pledge_agent(void);
2432083: void platform_pledge_sftp_server(void);
2432083: void platform_pledge_mux(void);
2432083: # 173 "../../includes.h" 2
2432083: # 1 "../../openbsd-compat/openbsd-compat.h" 1
2432083: # 30 "../../openbsd-compat/openbsd-compat.h"
2432083: # 1 "../../includes.h" 1
2432083: # 31 "../../openbsd-compat/openbsd-compat.h" 2
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: # 1 "/usr/lib/gcc/m68k-linux-gnu/13/include/stddef.h" 1 3 4
2432083: # 145 "/usr/lib/gcc/m68k-linux-gnu/13/include/stddef.h" 3 4
2432083:
2432083: # 145 "/usr/lib/gcc/m68k-linux-gnu/13/include/stddef.h" 3 4
2432083: typedef int ptrdiff_t;
2432083: # 329 "/usr/lib/gcc/m68k-linux-gnu/13/include/stddef.h" 3 4
2432083: typedef long int wchar_t;
2432083: # 425 "/usr/lib/gcc/m68k-linux-gnu/13/include/stddef.h" 3 4
2432083: typedef struct {
2432083: long long __max_align_ll __attribute__((__aligned__(__alignof__(long long))));
2432083: long double __max_align_ld __attribute__((__aligned__(__alignof__(long double))));
2432083: # 436 "/usr/lib/gcc/m68k-linux-gnu/13/include/stddef.h" 3 4
2432083: } max_align_t;
2432083: # 38 "../../openbsd-compat/openbsd-compat.h" 2
2432083:
2432083:
2432083: # 1 "../../openbsd-compat/base64.h" 1
2432083: # 50 "../../openbsd-compat/base64.h"
2432083:
2432083: # 50 "../../openbsd-compat/base64.h"
2432083: int b64_ntop(u_char const *src, size_t srclength, char *target,
2432083: size_t targsize);
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: int b64_pton(char const *src, u_char *target, size_t targsize);
2432083: # 41 "../../openbsd-compat/openbsd-compat.h" 2
2432083: # 1 "../../openbsd-compat/sigact.h" 1
2432083: # 42 "../../openbsd-compat/openbsd-compat.h" 2
2432083: # 1 "../../openbsd-compat/readpassphrase.h" 1
2432083: # 40 "../../openbsd-compat/readpassphrase.h"
2432083: char * readpassphrase(const char *, char *, size_t, int);
2432083: # 43 "../../openbsd-compat/openbsd-compat.h" 2
2432083: # 1 "../../openbsd-compat/vis.h" 1
2432083: # 44 "../../openbsd-compat/vis.h"
2432083: # 1 "/usr/lib/gcc/m68k-linux-gnu/13/include/limits.h" 1 3 4
2432083: # 45 "../../openbsd-compat/vis.h" 2
2432083: # 84 "../../openbsd-compat/vis.h"
2432083: char *vis(char *, int, int, int);
2432083: int strvis(char *, const char *, int);
2432083: int stravis(char **, const char *, int);
2432083: int strnvis(char *, const char *, size_t, int)
2432083: __attribute__ (());
2432083: int strvisx(char *, const char *, size_t, int)
2432083: __attribute__ (());
2432083: int strunvis(char *, const char *);
2432083: int unvis(char *, char, int *, int);
2432083: ssize_t strnunvis(char *, const char *, size_t)
2432083: __attribute__ (());
2432083: # 44 "../../openbsd-compat/openbsd-compat.h" 2
2432083: # 1 "../../openbsd-compat/getrrsetbyname.h" 1
2432083: # 57 "../../openbsd-compat/getrrsetbyname.h"
2432083: # 1 "/usr/include/arpa/nameser.h" 1 3 4
2432083: # 51 "/usr/include/arpa/nameser.h" 3 4
2432083: # 1 "/usr/include/m68k-linux-gnu/sys/param.h" 1 3 4
2432083: # 23 "/usr/include/m68k-linux-gnu/sys/param.h" 3 4
2432083: # 1 "/usr/lib/gcc/m68k-linux-gnu/13/include/stddef.h" 1 3 4
2432083: # 24 "/usr/include/m68k-linux-gnu/sys/param.h" 2 3 4
2432083:
2432083:
2432083: # 1 "/usr/lib/gcc/m68k-linux-gnu/13/include/limits.h" 1 3 4
2432083: # 27 "/usr/include/m68k-linux-gnu/sys/param.h" 2 3 4
2432083:
2432083: # 1 "/usr/include/signal.h" 1 3 4
2432083: # 27 "/usr/include/signal.h" 3 4
2432083:
2432083:
2432083:
2432083: # 1 "/usr/include/m68k-linux-gnu/bits/signum-generic.h" 1 3 4
2432083: # 76 "/usr/include/m68k-linux-gnu/bits/signum-generic.h" 3 4
2432083: # 1 "/usr/include/m68k-linux-gnu/bits/signum-arch.h" 1 3 4
2432083: # 77 "/usr/include/m68k-linux-gnu/bits/signum-generic.h" 2 3 4
2432083: # 31 "/usr/include/signal.h" 2 3 4
2432083:
2432083: # 1 "/usr/include/m68k-linux-gnu/bits/types/sig_atomic_t.h" 1 3 4
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: # 8 "/usr/include/m68k-linux-gnu/bits/types/sig_atomic_t.h" 3 4
2432083: typedef __sig_atomic_t sig_atomic_t;
2432083: # 33 "/usr/include/signal.h" 2 3 4
2432083: # 57 "/usr/include/signal.h" 3 4
2432083: # 1 "/usr/include/m68k-linux-gnu/bits/types/siginfo_t.h" 1 3 4
2432083:
2432083:
2432083:
2432083: # 1 "/usr/include/m68k-linux-gnu/bits/wordsize.h" 1 3 4
2432083: # 5 "/usr/include/m68k-linux-gnu/bits/types/siginfo_t.h" 2 3 4
2432083:
2432083: # 1 "/usr/include/m68k-linux-gnu/bits/types/__sigval_t.h" 1 3 4
2432083: # 24 "/usr/include/m68k-linux-gnu/bits/types/__sigval_t.h" 3 4
2432083: union sigval
2432083: {
2432083: int sival_int;
2432083: void *sival_ptr;
2432083: };
2432083:
2432083: typedef union sigval __sigval_t;
2432083: # 7 "/usr/include/m68k-linux-gnu/bits/types/siginfo_t.h" 2 3 4
2432083: # 16 "/usr/include/m68k-linux-gnu/bits/types/siginfo_t.h" 3 4
2432083: # 1 "/usr/include/m68k-linux-gnu/bits/siginfo-arch.h" 1 3 4
2432083: # 17 "/usr/include/m68k-linux-gnu/bits/types/siginfo_t.h" 2 3 4
2432083: # 36 "/usr/include/m68k-linux-gnu/bits/types/siginfo_t.h" 3 4
2432083: typedef struct
2432083: {
2432083: int si_signo;
2432083:
2432083: int si_errno;
2432083:
2432083: int si_code;
2432083: # 51 "/usr/include/m68k-linux-gnu/bits/types/siginfo_t.h" 3 4
2432083: union
2432083: {
2432083: int _pad[((128 / sizeof (int)) - 3)];
2432083:
2432083:
2432083: struct
2432083: {
2432083: __pid_t si_pid;
2432083: __uid_t si_uid;
2432083: } _kill;
2432083:
2432083:
2432083: struct
2432083: {
2432083: int si_tid;
2432083: int si_overrun;
2432083: __sigval_t si_sigval;
2432083: } _timer;
2432083:
2432083:
2432083: struct
2432083: {
2432083: __pid_t si_pid;
2432083: __uid_t si_uid;
2432083: __sigval_t si_sigval;
2432083: } _rt;
2432083:
2432083:
2432083: struct
2432083: {
2432083: __pid_t si_pid;
2432083: __uid_t si_uid;
2432083: int si_status;
2432083: __clock_t si_utime;
2432083: __clock_t si_stime;
2432083: } _sigchld;
2432083:
2432083:
2432083: struct
2432083: {
2432083: void *si_addr;
2432083:
2432083: short int si_addr_lsb;
2432083: union
2432083: {
2432083:
2432083: struct
2432083: {
2432083: void *_lower;
2432083: void *_upper;
2432083: } _addr_bnd;
2432083:
2432083: __uint32_t _pkey;
2432083: } _bounds;
2432083: } _sigfault;
2432083:
2432083:
2432083: struct
2432083: {
2432083: long int si_band;
2432083: int si_fd;
2432083: } _sigpoll;
2432083:
2432083:
2432083:
2432083: struct
2432083: {
2432083: void *_call_addr;
2432083: int _syscall;
2432083: unsigned int _arch;
2432083: } _sigsys;
2432083:
2432083: } _sifields;
2432083: } siginfo_t ;
2432083: # 58 "/usr/include/signal.h" 2 3 4
2432083: # 1 "/usr/include/m68k-linux-gnu/bits/siginfo-consts.h" 1 3 4
2432083: # 35 "/usr/include/m68k-linux-gnu/bits/siginfo-consts.h" 3 4
2432083: enum
2432083: {
2432083: SI_ASYNCNL = -60,
2432083: SI_DETHREAD = -7,
2432083:
2432083: SI_TKILL,
2432083: SI_SIGIO,
2432083:
2432083: SI_ASYNCIO,
2432083: SI_MESGQ,
2432083: SI_TIMER,
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: SI_QUEUE,
2432083: SI_USER,
2432083: SI_KERNEL = 0x80
2432083: # 66 "/usr/include/m68k-linux-gnu/bits/siginfo-consts.h" 3 4
2432083: };
2432083:
2432083:
2432083:
2432083:
2432083: enum
2432083: {
2432083: ILL_ILLOPC = 1,
2432083:
2432083: ILL_ILLOPN,
2432083:
2432083: ILL_ILLADR,
2432083:
2432083: ILL_ILLTRP,
2432083:
2432083: ILL_PRVOPC,
2432083:
2432083: ILL_PRVREG,
2432083:
2432083: ILL_COPROC,
2432083:
2432083: ILL_BADSTK,
2432083:
2432083: ILL_BADIADDR
2432083:
2432083: };
2432083:
2432083:
2432083: enum
2432083: {
2432083: FPE_INTDIV = 1,
2432083:
2432083: FPE_INTOVF,
2432083:
2432083: FPE_FLTDIV,
2432083:
2432083: FPE_FLTOVF,
2432083:
2432083: FPE_FLTUND,
2432083:
2432083: FPE_FLTRES,
2432083:
2432083: FPE_FLTINV,
2432083:
2432083: FPE_FLTSUB,
2432083:
2432083: FPE_FLTUNK = 14,
2432083:
2432083: FPE_CONDTRAP
2432083:
2432083: };
2432083:
2432083:
2432083: enum
2432083: {
2432083: SEGV_MAPERR = 1,
2432083:
2432083: SEGV_ACCERR,
2432083:
2432083: SEGV_BNDERR,
2432083:
2432083: SEGV_PKUERR,
2432083:
2432083: SEGV_ACCADI,
2432083:
2432083: SEGV_ADIDERR,
2432083:
2432083: SEGV_ADIPERR,
2432083:
2432083: SEGV_MTEAERR,
2432083:
2432083: SEGV_MTESERR
2432083:
2432083: };
2432083:
2432083:
2432083: enum
2432083: {
2432083: BUS_ADRALN = 1,
2432083:
2432083: BUS_ADRERR,
2432083:
2432083: BUS_OBJERR,
2432083:
2432083: BUS_MCEERR_AR,
2432083:
2432083: BUS_MCEERR_AO
2432083:
2432083: };
2432083:
2432083:
2432083:
2432083:
2432083: enum
2432083: {
2432083: TRAP_BRKPT = 1,
2432083:
2432083: TRAP_TRACE,
2432083:
2432083: TRAP_BRANCH,
2432083:
2432083: TRAP_HWBKPT,
2432083:
2432083: TRAP_UNK
2432083:
2432083: };
2432083:
2432083:
2432083:
2432083:
2432083: enum
2432083: {
2432083: CLD_EXITED = 1,
2432083:
2432083: CLD_KILLED,
2432083:
2432083: CLD_DUMPED,
2432083:
2432083: CLD_TRAPPED,
2432083:
2432083: CLD_STOPPED,
2432083:
2432083: CLD_CONTINUED
2432083:
2432083: };
2432083:
2432083:
2432083: enum
2432083: {
2432083: POLL_IN = 1,
2432083:
2432083: POLL_OUT,
2432083:
2432083: POLL_MSG,
2432083:
2432083: POLL_ERR,
2432083:
2432083: POLL_PRI,
2432083:
2432083: POLL_HUP
2432083:
2432083: };
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: # 1 "/usr/include/m68k-linux-gnu/bits/siginfo-consts-arch.h" 1 3 4
2432083: # 214 "/usr/include/m68k-linux-gnu/bits/siginfo-consts.h" 2 3 4
2432083: # 59 "/usr/include/signal.h" 2 3 4
2432083:
2432083:
2432083:
2432083: # 1 "/usr/include/m68k-linux-gnu/bits/types/sigval_t.h" 1 3 4
2432083: # 16 "/usr/include/m68k-linux-gnu/bits/types/sigval_t.h" 3 4
2432083: typedef __sigval_t sigval_t;
2432083: # 63 "/usr/include/signal.h" 2 3 4
2432083:
2432083:
2432083:
2432083: # 1 "/usr/include/m68k-linux-gnu/bits/types/sigevent_t.h" 1 3 4
2432083:
2432083:
2432083:
2432083: # 1 "/usr/include/m68k-linux-gnu/bits/wordsize.h" 1 3 4
2432083: # 5 "/usr/include/m68k-linux-gnu/bits/types/sigevent_t.h" 2 3 4
2432083: # 22 "/usr/include/m68k-linux-gnu/bits/types/sigevent_t.h" 3 4
2432083: typedef struct sigevent
2432083: {
2432083: __sigval_t sigev_value;
2432083: int sigev_signo;
2432083: int sigev_notify;
2432083:
2432083: union
2432083: {
2432083: int _pad[((64 / sizeof (int)) - 3)];
2432083:
2432083:
2432083:
2432083: __pid_t _tid;
2432083:
2432083: struct
2432083: {
2432083: void (*_function) (__sigval_t);
2432083: pthread_attr_t *_attribute;
2432083: } _sigev_thread;
2432083: } _sigev_un;
2432083: } sigevent_t;
2432083: # 67 "/usr/include/signal.h" 2 3 4
2432083: # 1 "/usr/include/m68k-linux-gnu/bits/sigevent-consts.h" 1 3 4
2432083: # 27 "/usr/include/m68k-linux-gnu/bits/sigevent-consts.h" 3 4
2432083: enum
2432083: {
2432083: SIGEV_SIGNAL = 0,
2432083:
2432083: SIGEV_NONE,
2432083:
2432083: SIGEV_THREAD,
2432083:
2432083:
2432083: SIGEV_THREAD_ID = 4
2432083:
2432083:
2432083: };
2432083: # 68 "/usr/include/signal.h" 2 3 4
2432083:
2432083:
2432083:
2432083:
2432083: typedef void (*__sighandler_t) (int);
2432083:
2432083:
2432083:
2432083:
2432083: extern __sighandler_t __sysv_signal (int __sig, __sighandler_t __handler)
2432083: __attribute__ ((__nothrow__ , __leaf__));
2432083:
2432083: extern __sighandler_t sysv_signal (int __sig, __sighandler_t __handler)
2432083: __attribute__ ((__nothrow__ , __leaf__));
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern __sighandler_t signal (int __sig, __sighandler_t __handler)
2432083: __attribute__ ((__nothrow__ , __leaf__));
2432083: # 112 "/usr/include/signal.h" 3 4
2432083: extern int kill (__pid_t __pid, int __sig) __attribute__ ((__nothrow__ , __leaf__));
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern int killpg (__pid_t __pgrp, int __sig) __attribute__ ((__nothrow__ , __leaf__));
2432083:
2432083:
2432083:
2432083: extern int raise (int __sig) __attribute__ ((__nothrow__ , __leaf__));
2432083:
2432083:
2432083:
2432083: extern __sighandler_t ssignal (int __sig, __sighandler_t __handler)
2432083: __attribute__ ((__nothrow__ , __leaf__));
2432083: extern int gsignal (int __sig) __attribute__ ((__nothrow__ , __leaf__));
2432083:
2432083:
2432083:
2432083:
2432083: extern void psignal (int __sig, const char *__s);
2432083:
2432083:
2432083: extern void psiginfo (const siginfo_t *__pinfo, const char *__s);
2432083: # 151 "/usr/include/signal.h" 3 4
2432083: extern int sigpause (int __sig) __asm__ ("__xpg_sigpause")
2432083: __attribute__ ((__deprecated__ ("Use the sigsuspend function instead")));
2432083: # 173 "/usr/include/signal.h" 3 4
2432083: extern int sigblock (int __mask) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__deprecated__));
2432083:
2432083:
2432083: extern int sigsetmask (int __mask) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__deprecated__));
2432083:
2432083:
2432083: extern int siggetmask (void) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__deprecated__));
2432083: # 188 "/usr/include/signal.h" 3 4
2432083: typedef __sighandler_t sighandler_t;
2432083:
2432083:
2432083:
2432083:
2432083: typedef __sighandler_t sig_t;
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern int sigemptyset (sigset_t *__set) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
2432083:
2432083:
2432083: extern int sigfillset (sigset_t *__set) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
2432083:
2432083:
2432083: extern int sigaddset (sigset_t *__set, int __signo) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
2432083:
2432083:
2432083: extern int sigdelset (sigset_t *__set, int __signo) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
2432083:
2432083:
2432083: extern int sigismember (const sigset_t *__set, int __signo)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
2432083:
2432083:
2432083:
2432083: extern int sigisemptyset (const sigset_t *__set) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
2432083:
2432083:
2432083: extern int sigandset (sigset_t *__set, const sigset_t *__left,
2432083: const sigset_t *__right) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2, 3)));
2432083:
2432083:
2432083: extern int sigorset (sigset_t *__set, const sigset_t *__left,
2432083: const sigset_t *__right) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2, 3)));
2432083:
2432083:
2432083:
2432083:
2432083: # 1 "/usr/include/m68k-linux-gnu/bits/sigaction.h" 1 3 4
2432083: # 27 "/usr/include/m68k-linux-gnu/bits/sigaction.h" 3 4
2432083: struct sigaction
2432083: {
2432083:
2432083:
2432083: union
2432083: {
2432083:
2432083: __sighandler_t sa_handler;
2432083:
2432083: void (*sa_sigaction) (int, siginfo_t *, void *);
2432083: }
2432083: __sigaction_handler;
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: __sigset_t sa_mask;
2432083:
2432083:
2432083: int sa_flags;
2432083:
2432083:
2432083: void (*sa_restorer) (void);
2432083: };
2432083: # 230 "/usr/include/signal.h" 2 3 4
2432083:
2432083:
2432083: extern int sigprocmask (int __how, const sigset_t *__restrict __set,
2432083: sigset_t *__restrict __oset) __attribute__ ((__nothrow__ , __leaf__));
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern int sigsuspend (const sigset_t *__set) __attribute__ ((__nonnull__ (1)));
2432083:
2432083:
2432083: extern int sigaction (int __sig, const struct sigaction *__restrict __act,
2432083: struct sigaction *__restrict __oact) __attribute__ ((__nothrow__ , __leaf__));
2432083:
2432083:
2432083: extern int sigpending (sigset_t *__set) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern int sigwait (const sigset_t *__restrict __set, int *__restrict __sig)
2432083: __attribute__ ((__nonnull__ (1, 2)));
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern int sigwaitinfo (const sigset_t *__restrict __set,
2432083: siginfo_t *__restrict __info) __attribute__ ((__nonnull__ (1)));
2432083: # 279 "/usr/include/signal.h" 3 4
2432083: extern int sigtimedwait (const sigset_t *__restrict __set, siginfo_t *__restrict __info, const struct timespec *__restrict __timeout) __asm__ ("" "__sigtimedwait64")
2432083:
2432083:
2432083:
2432083:
2432083: __attribute__ ((__nonnull__ (1)));
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern int sigqueue (__pid_t __pid, int __sig, const union sigval __val)
2432083: __attribute__ ((__nothrow__ , __leaf__));
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: # 1 "/usr/include/m68k-linux-gnu/bits/sigcontext.h" 1 3 4
2432083: # 30 "/usr/include/m68k-linux-gnu/bits/sigcontext.h" 3 4
2432083: # 1 "/usr/lib/linux/uapi/m68k/asm/sigcontext.h" 1 3 4
2432083:
2432083:
2432083:
2432083:
2432083: struct sigcontext {
2432083: unsigned long sc_mask;
2432083: unsigned long sc_usp;
2432083: unsigned long sc_d0;
2432083: unsigned long sc_d1;
2432083: unsigned long sc_a0;
2432083: unsigned long sc_a1;
2432083:
2432083:
2432083:
2432083: unsigned short sc_sr;
2432083: unsigned long sc_pc;
2432083: unsigned short sc_formatvec;
2432083:
2432083: unsigned long sc_fpregs[2*3];
2432083: unsigned long sc_fpcntl[3];
2432083: unsigned char sc_fpstate[216];
2432083:
2432083: };
2432083: # 31 "/usr/include/m68k-linux-gnu/bits/sigcontext.h" 2 3 4
2432083:
2432083:
2432083:
2432083: # 1 "/usr/lib/gcc/m68k-linux-gnu/13/include/stddef.h" 1 3 4
2432083: # 35 "/usr/include/m68k-linux-gnu/bits/sigcontext.h" 2 3 4
2432083: # 302 "/usr/include/signal.h" 2 3 4
2432083:
2432083:
2432083: extern int sigreturn (struct sigcontext *__scp) __attribute__ ((__nothrow__ , __leaf__));
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: # 1 "/usr/lib/gcc/m68k-linux-gnu/13/include/stddef.h" 1 3 4
2432083: # 312 "/usr/include/signal.h" 2 3 4
2432083:
2432083: # 1 "/usr/include/m68k-linux-gnu/bits/types/stack_t.h" 1 3 4
2432083: # 23 "/usr/include/m68k-linux-gnu/bits/types/stack_t.h" 3 4
2432083: # 1 "/usr/lib/gcc/m68k-linux-gnu/13/include/stddef.h" 1 3 4
2432083: # 24 "/usr/include/m68k-linux-gnu/bits/types/stack_t.h" 2 3 4
2432083:
2432083:
2432083: typedef struct
2432083: {
2432083: void *ss_sp;
2432083: int ss_flags;
2432083: size_t ss_size;
2432083: } stack_t;
2432083: # 314 "/usr/include/signal.h" 2 3 4
2432083:
2432083:
2432083: # 1 "/usr/include/m68k-linux-gnu/sys/ucontext.h" 1 3 4
2432083: # 30 "/usr/include/m68k-linux-gnu/sys/ucontext.h" 3 4
2432083: typedef int greg_t;
2432083: # 39 "/usr/include/m68k-linux-gnu/sys/ucontext.h" 3 4
2432083: typedef greg_t gregset_t[18];
2432083:
2432083:
2432083:
2432083: enum
2432083: {
2432083: R_D0 = 0,
2432083:
2432083: R_D1 = 1,
2432083:
2432083: R_D2 = 2,
2432083:
2432083: R_D3 = 3,
2432083:
2432083: R_D4 = 4,
2432083:
2432083: R_D5 = 5,
2432083:
2432083: R_D6 = 6,
2432083:
2432083: R_D7 = 7,
2432083:
2432083: R_A0 = 8,
2432083:
2432083: R_A1 = 9,
2432083:
2432083: R_A2 = 10,
2432083:
2432083: R_A3 = 11,
2432083:
2432083: R_A4 = 12,
2432083:
2432083: R_A5 = 13,
2432083:
2432083: R_A6 = 14,
2432083:
2432083: R_A7 = 15,
2432083:
2432083: R_SP = 15,
2432083:
2432083: R_PC = 16,
2432083:
2432083: R_PS = 17
2432083:
2432083: };
2432083: # 93 "/usr/include/m68k-linux-gnu/sys/ucontext.h" 3 4
2432083: typedef struct
2432083: {
2432083: int f_pcr;
2432083: int f_psr;
2432083: int f_fpiaddr;
2432083:
2432083:
2432083:
2432083: int f_fpregs[8][3];
2432083:
2432083: } fpregset_t;
2432083:
2432083:
2432083: typedef struct
2432083: {
2432083: int version;
2432083: gregset_t gregs;
2432083: fpregset_t fpregs;
2432083: } mcontext_t;
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: typedef struct ucontext_t
2432083: {
2432083: unsigned long uc_flags;
2432083: struct ucontext_t *uc_link;
2432083: stack_t uc_stack;
2432083: mcontext_t uc_mcontext;
2432083: unsigned long __glibc_reserved1[80];
2432083: sigset_t uc_sigmask;
2432083: } ucontext_t;
2432083: # 317 "/usr/include/signal.h" 2 3 4
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern int siginterrupt (int __sig, int __interrupt) __attribute__ ((__nothrow__ , __leaf__))
2432083: __attribute__ ((__deprecated__ ("Use sigaction with SA_RESTART instead")));
2432083:
2432083: # 1 "/usr/include/m68k-linux-gnu/bits/sigstack.h" 1 3 4
2432083: # 328 "/usr/include/signal.h" 2 3 4
2432083: # 1 "/usr/include/m68k-linux-gnu/bits/sigstksz.h" 1 3 4
2432083: # 24 "/usr/include/m68k-linux-gnu/bits/sigstksz.h" 3 4
2432083: # 1 "/usr/include/unistd.h" 1 3 4
2432083: # 27 "/usr/include/unistd.h" 3 4
2432083:
2432083: # 202 "/usr/include/unistd.h" 3 4
2432083: # 1 "/usr/include/m68k-linux-gnu/bits/posix_opt.h" 1 3 4
2432083: # 203 "/usr/include/unistd.h" 2 3 4
2432083:
2432083:
2432083:
2432083: # 1 "/usr/include/m68k-linux-gnu/bits/environments.h" 1 3 4
2432083: # 22 "/usr/include/m68k-linux-gnu/bits/environments.h" 3 4
2432083: # 1 "/usr/include/m68k-linux-gnu/bits/wordsize.h" 1 3 4
2432083: # 23 "/usr/include/m68k-linux-gnu/bits/environments.h" 2 3 4
2432083: # 207 "/usr/include/unistd.h" 2 3 4
2432083: # 226 "/usr/include/unistd.h" 3 4
2432083: # 1 "/usr/lib/gcc/m68k-linux-gnu/13/include/stddef.h" 1 3 4
2432083: # 227 "/usr/include/unistd.h" 2 3 4
2432083: # 287 "/usr/include/unistd.h" 3 4
2432083: extern int access (const char *__name, int __type) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
2432083:
2432083:
2432083:
2432083:
2432083: extern int euidaccess (const char *__name, int __type)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
2432083:
2432083:
2432083: extern int eaccess (const char *__name, int __type)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
2432083:
2432083:
2432083: extern int execveat (int __fd, const char *__path, char *const __argv[],
2432083: char *const __envp[], int __flags)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2, 3)));
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern int faccessat (int __fd, const char *__file, int __type, int __flag)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))) __attribute__ ((__warn_unused_result__));
2432083: # 342 "/usr/include/unistd.h" 3 4
2432083: extern __off64_t lseek (int __fd, __off64_t __offset, int __whence) __asm__ ("" "lseek64") __attribute__ ((__nothrow__ , __leaf__))
2432083:
2432083: ;
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern __off64_t lseek64 (int __fd, __off64_t __offset, int __whence)
2432083: __attribute__ ((__nothrow__ , __leaf__));
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern int close (int __fd);
2432083:
2432083:
2432083:
2432083:
2432083: extern void closefrom (int __lowfd) __attribute__ ((__nothrow__ , __leaf__));
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern ssize_t read (int __fd, void *__buf, size_t __nbytes) __attribute__ ((__warn_unused_result__))
2432083: __attribute__ ((__access__ (__write_only__, 2, 3)));
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern ssize_t write (int __fd, const void *__buf, size_t __n) __attribute__ ((__warn_unused_result__))
2432083: __attribute__ ((__access__ (__read_only__, 2, 3)));
2432083: # 404 "/usr/include/unistd.h" 3 4
2432083: extern ssize_t pread (int __fd, void *__buf, size_t __nbytes, __off64_t __offset) __asm__ ("" "pread64")
2432083:
2432083: __attribute__ ((__warn_unused_result__))
2432083: __attribute__ ((__access__ (__write_only__, 2, 3)));
2432083: extern ssize_t pwrite (int __fd, const void *__buf, size_t __nbytes, __off64_t __offset) __asm__ ("" "pwrite64")
2432083:
2432083: __attribute__ ((__warn_unused_result__))
2432083: __attribute__ ((__access__ (__read_only__, 2, 3)));
2432083: # 422 "/usr/include/unistd.h" 3 4
2432083: extern ssize_t pread64 (int __fd, void *__buf, size_t __nbytes,
2432083: __off64_t __offset) __attribute__ ((__warn_unused_result__))
2432083: __attribute__ ((__access__ (__write_only__, 2, 3)));
2432083:
2432083:
2432083: extern ssize_t pwrite64 (int __fd, const void *__buf, size_t __n,
2432083: __off64_t __offset) __attribute__ ((__warn_unused_result__))
2432083: __attribute__ ((__access__ (__read_only__, 2, 3)));
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern int pipe (int __pipedes[2]) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__));
2432083:
2432083:
2432083:
2432083:
2432083: extern int pipe2 (int __pipedes[2], int __flags) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__));
2432083: # 452 "/usr/include/unistd.h" 3 4
2432083: extern unsigned int alarm (unsigned int __seconds) __attribute__ ((__nothrow__ , __leaf__));
2432083: # 464 "/usr/include/unistd.h" 3 4
2432083: extern unsigned int sleep (unsigned int __seconds);
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern __useconds_t ualarm (__useconds_t __value, __useconds_t __interval)
2432083: __attribute__ ((__nothrow__ , __leaf__));
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern int usleep (__useconds_t __useconds);
2432083: # 489 "/usr/include/unistd.h" 3 4
2432083: extern int pause (void);
2432083:
2432083:
2432083:
2432083: extern int chown (const char *__file, __uid_t __owner, __gid_t __group)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
2432083:
2432083:
2432083:
2432083: extern int fchown (int __fd, __uid_t __owner, __gid_t __group) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__));
2432083:
2432083:
2432083:
2432083:
2432083: extern int lchown (const char *__file, __uid_t __owner, __gid_t __group)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern int fchownat (int __fd, const char *__file, __uid_t __owner,
2432083: __gid_t __group, int __flag)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))) __attribute__ ((__warn_unused_result__));
2432083:
2432083:
2432083:
2432083: extern int chdir (const char *__path) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
2432083:
2432083:
2432083:
2432083: extern int fchdir (int __fd) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__));
2432083: # 531 "/usr/include/unistd.h" 3 4
2432083: extern char *getcwd (char *__buf, size_t __size) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__));
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern char *get_current_dir_name (void) __attribute__ ((__nothrow__ , __leaf__));
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern char *getwd (char *__buf)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__deprecated__)) __attribute__ ((__warn_unused_result__))
2432083: __attribute__ ((__access__ (__write_only__, 1)));
2432083:
2432083:
2432083:
2432083:
2432083: extern int dup (int __fd) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__));
2432083:
2432083:
2432083: extern int dup2 (int __fd, int __fd2) __attribute__ ((__nothrow__ , __leaf__));
2432083:
2432083:
2432083:
2432083:
2432083: extern int dup3 (int __fd, int __fd2, int __flags) __attribute__ ((__nothrow__ , __leaf__));
2432083:
2432083:
2432083:
2432083: extern char **__environ;
2432083:
2432083: extern char **environ;
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern int execve (const char *__path, char *const __argv[],
2432083: char *const __envp[]) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2)));
2432083:
2432083:
2432083:
2432083:
2432083: extern int fexecve (int __fd, char *const __argv[], char *const __envp[])
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2)));
2432083:
2432083:
2432083:
2432083:
2432083: extern int execv (const char *__path, char *const __argv[])
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2)));
2432083:
2432083:
2432083:
2432083: extern int execle (const char *__path, const char *__arg, ...)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2)));
2432083:
2432083:
2432083:
2432083: extern int execl (const char *__path, const char *__arg, ...)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2)));
2432083:
2432083:
2432083:
2432083: extern int execvp (const char *__file, char *const __argv[])
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2)));
2432083:
2432083:
2432083:
2432083:
2432083: extern int execlp (const char *__file, const char *__arg, ...)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2)));
2432083:
2432083:
2432083:
2432083:
2432083: extern int execvpe (const char *__file, char *const __argv[],
2432083: char *const __envp[])
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2)));
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern int nice (int __inc) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__));
2432083:
2432083:
2432083:
2432083:
2432083: extern void _exit (int __status) __attribute__ ((__noreturn__));
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: # 1 "/usr/include/m68k-linux-gnu/bits/confname.h" 1 3 4
2432083: # 24 "/usr/include/m68k-linux-gnu/bits/confname.h" 3 4
2432083: enum
2432083: {
2432083: _PC_LINK_MAX,
2432083:
2432083: _PC_MAX_CANON,
2432083:
2432083: _PC_MAX_INPUT,
2432083:
2432083: _PC_NAME_MAX,
2432083:
2432083: _PC_PATH_MAX,
2432083:
2432083: _PC_PIPE_BUF,
2432083:
2432083: _PC_CHOWN_RESTRICTED,
2432083:
2432083: _PC_NO_TRUNC,
2432083:
2432083: _PC_VDISABLE,
2432083:
2432083: _PC_SYNC_IO,
2432083:
2432083: _PC_ASYNC_IO,
2432083:
2432083: _PC_PRIO_IO,
2432083:
2432083: _PC_SOCK_MAXBUF,
2432083:
2432083: _PC_FILESIZEBITS,
2432083:
2432083: _PC_REC_INCR_XFER_SIZE,
2432083:
2432083: _PC_REC_MAX_XFER_SIZE,
2432083:
2432083: _PC_REC_MIN_XFER_SIZE,
2432083:
2432083: _PC_REC_XFER_ALIGN,
2432083:
2432083: _PC_ALLOC_SIZE_MIN,
2432083:
2432083: _PC_SYMLINK_MAX,
2432083:
2432083: _PC_2_SYMLINKS
2432083:
2432083: };
2432083:
2432083:
2432083: enum
2432083: {
2432083: _SC_ARG_MAX,
2432083:
2432083: _SC_CHILD_MAX,
2432083:
2432083: _SC_CLK_TCK,
2432083:
2432083: _SC_NGROUPS_MAX,
2432083:
2432083: _SC_OPEN_MAX,
2432083:
2432083: _SC_STREAM_MAX,
2432083:
2432083: _SC_TZNAME_MAX,
2432083:
2432083: _SC_JOB_CONTROL,
2432083:
2432083: _SC_SAVED_IDS,
2432083:
2432083: _SC_REALTIME_SIGNALS,
2432083:
2432083: _SC_PRIORITY_SCHEDULING,
2432083:
2432083: _SC_TIMERS,
2432083:
2432083: _SC_ASYNCHRONOUS_IO,
2432083:
2432083: _SC_PRIORITIZED_IO,
2432083:
2432083: _SC_SYNCHRONIZED_IO,
2432083:
2432083: _SC_FSYNC,
2432083:
2432083: _SC_MAPPED_FILES,
2432083:
2432083: _SC_MEMLOCK,
2432083:
2432083: _SC_MEMLOCK_RANGE,
2432083:
2432083: _SC_MEMORY_PROTECTION,
2432083:
2432083: _SC_MESSAGE_PASSING,
2432083:
2432083: _SC_SEMAPHORES,
2432083:
2432083: _SC_SHARED_MEMORY_OBJECTS,
2432083:
2432083: _SC_AIO_LISTIO_MAX,
2432083:
2432083: _SC_AIO_MAX,
2432083:
2432083: _SC_AIO_PRIO_DELTA_MAX,
2432083:
2432083: _SC_DELAYTIMER_MAX,
2432083:
2432083: _SC_MQ_OPEN_MAX,
2432083:
2432083: _SC_MQ_PRIO_MAX,
2432083:
2432083: _SC_VERSION,
2432083:
2432083: _SC_PAGESIZE,
2432083:
2432083:
2432083: _SC_RTSIG_MAX,
2432083:
2432083: _SC_SEM_NSEMS_MAX,
2432083:
2432083: _SC_SEM_VALUE_MAX,
2432083:
2432083: _SC_SIGQUEUE_MAX,
2432083:
2432083: _SC_TIMER_MAX,
2432083:
2432083:
2432083:
2432083:
2432083: _SC_BC_BASE_MAX,
2432083:
2432083: _SC_BC_DIM_MAX,
2432083:
2432083: _SC_BC_SCALE_MAX,
2432083:
2432083: _SC_BC_STRING_MAX,
2432083:
2432083: _SC_COLL_WEIGHTS_MAX,
2432083:
2432083: _SC_EQUIV_CLASS_MAX,
2432083:
2432083: _SC_EXPR_NEST_MAX,
2432083:
2432083: _SC_LINE_MAX,
2432083:
2432083: _SC_RE_DUP_MAX,
2432083:
2432083: _SC_CHARCLASS_NAME_MAX,
2432083:
2432083:
2432083: _SC_2_VERSION,
2432083:
2432083: _SC_2_C_BIND,
2432083:
2432083: _SC_2_C_DEV,
2432083:
2432083: _SC_2_FORT_DEV,
2432083:
2432083: _SC_2_FORT_RUN,
2432083:
2432083: _SC_2_SW_DEV,
2432083:
2432083: _SC_2_LOCALEDEF,
2432083:
2432083:
2432083: _SC_PII,
2432083:
2432083: _SC_PII_XTI,
2432083:
2432083: _SC_PII_SOCKET,
2432083:
2432083: _SC_PII_INTERNET,
2432083:
2432083: _SC_PII_OSI,
2432083:
2432083: _SC_POLL,
2432083:
2432083: _SC_SELECT,
2432083:
2432083: _SC_UIO_MAXIOV,
2432083:
2432083: _SC_IOV_MAX = _SC_UIO_MAXIOV,
2432083:
2432083: _SC_PII_INTERNET_STREAM,
2432083:
2432083: _SC_PII_INTERNET_DGRAM,
2432083:
2432083: _SC_PII_OSI_COTS,
2432083:
2432083: _SC_PII_OSI_CLTS,
2432083:
2432083: _SC_PII_OSI_M,
2432083:
2432083: _SC_T_IOV_MAX,
2432083:
2432083:
2432083:
2432083: _SC_THREADS,
2432083:
2432083: _SC_THREAD_SAFE_FUNCTIONS,
2432083:
2432083: _SC_GETGR_R_SIZE_MAX,
2432083:
2432083: _SC_GETPW_R_SIZE_MAX,
2432083:
2432083: _SC_LOGIN_NAME_MAX,
2432083:
2432083: _SC_TTY_NAME_MAX,
2432083:
2432083: _SC_THREAD_DESTRUCTOR_ITERATIONS,
2432083:
2432083: _SC_THREAD_KEYS_MAX,
2432083:
2432083: _SC_THREAD_STACK_MIN,
2432083:
2432083: _SC_THREAD_THREADS_MAX,
2432083:
2432083: _SC_THREAD_ATTR_STACKADDR,
2432083:
2432083: _SC_THREAD_ATTR_STACKSIZE,
2432083:
2432083: _SC_THREAD_PRIORITY_SCHEDULING,
2432083:
2432083: _SC_THREAD_PRIO_INHERIT,
2432083:
2432083: _SC_THREAD_PRIO_PROTECT,
2432083:
2432083: _SC_THREAD_PROCESS_SHARED,
2432083:
2432083:
2432083: _SC_NPROCESSORS_CONF,
2432083:
2432083: _SC_NPROCESSORS_ONLN,
2432083:
2432083: _SC_PHYS_PAGES,
2432083:
2432083: _SC_AVPHYS_PAGES,
2432083:
2432083: _SC_ATEXIT_MAX,
2432083:
2432083: _SC_PASS_MAX,
2432083:
2432083:
2432083: _SC_XOPEN_VERSION,
2432083:
2432083: _SC_XOPEN_XCU_VERSION,
2432083:
2432083: _SC_XOPEN_UNIX,
2432083:
2432083: _SC_XOPEN_CRYPT,
2432083:
2432083: _SC_XOPEN_ENH_I18N,
2432083:
2432083: _SC_XOPEN_SHM,
2432083:
2432083:
2432083: _SC_2_CHAR_TERM,
2432083:
2432083: _SC_2_C_VERSION,
2432083:
2432083: _SC_2_UPE,
2432083:
2432083:
2432083: _SC_XOPEN_XPG2,
2432083:
2432083: _SC_XOPEN_XPG3,
2432083:
2432083: _SC_XOPEN_XPG4,
2432083:
2432083:
2432083: _SC_CHAR_BIT,
2432083:
2432083: _SC_CHAR_MAX,
2432083:
2432083: _SC_CHAR_MIN,
2432083:
2432083: _SC_INT_MAX,
2432083:
2432083: _SC_INT_MIN,
2432083:
2432083: _SC_LONG_BIT,
2432083:
2432083: _SC_WORD_BIT,
2432083:
2432083: _SC_MB_LEN_MAX,
2432083:
2432083: _SC_NZERO,
2432083:
2432083: _SC_SSIZE_MAX,
2432083:
2432083: _SC_SCHAR_MAX,
2432083:
2432083: _SC_SCHAR_MIN,
2432083:
2432083: _SC_SHRT_MAX,
2432083:
2432083: _SC_SHRT_MIN,
2432083:
2432083: _SC_UCHAR_MAX,
2432083:
2432083: _SC_UINT_MAX,
2432083:
2432083: _SC_ULONG_MAX,
2432083:
2432083: _SC_USHRT_MAX,
2432083:
2432083:
2432083: _SC_NL_ARGMAX,
2432083:
2432083: _SC_NL_LANGMAX,
2432083:
2432083: _SC_NL_MSGMAX,
2432083:
2432083: _SC_NL_NMAX,
2432083:
2432083: _SC_NL_SETMAX,
2432083:
2432083: _SC_NL_TEXTMAX,
2432083:
2432083:
2432083: _SC_XBS5_ILP32_OFF32,
2432083:
2432083: _SC_XBS5_ILP32_OFFBIG,
2432083:
2432083: _SC_XBS5_LP64_OFF64,
2432083:
2432083: _SC_XBS5_LPBIG_OFFBIG,
2432083:
2432083:
2432083: _SC_XOPEN_LEGACY,
2432083:
2432083: _SC_XOPEN_REALTIME,
2432083:
2432083: _SC_XOPEN_REALTIME_THREADS,
2432083:
2432083:
2432083: _SC_ADVISORY_INFO,
2432083:
2432083: _SC_BARRIERS,
2432083:
2432083: _SC_BASE,
2432083:
2432083: _SC_C_LANG_SUPPORT,
2432083:
2432083: _SC_C_LANG_SUPPORT_R,
2432083:
2432083: _SC_CLOCK_SELECTION,
2432083:
2432083: _SC_CPUTIME,
2432083:
2432083: _SC_THREAD_CPUTIME,
2432083:
2432083: _SC_DEVICE_IO,
2432083:
2432083: _SC_DEVICE_SPECIFIC,
2432083:
2432083: _SC_DEVICE_SPECIFIC_R,
2432083:
2432083: _SC_FD_MGMT,
2432083:
2432083: _SC_FIFO,
2432083:
2432083: _SC_PIPE,
2432083:
2432083: _SC_FILE_ATTRIBUTES,
2432083:
2432083: _SC_FILE_LOCKING,
2432083:
2432083: _SC_FILE_SYSTEM,
2432083:
2432083: _SC_MONOTONIC_CLOCK,
2432083:
2432083: _SC_MULTI_PROCESS,
2432083:
2432083: _SC_SINGLE_PROCESS,
2432083:
2432083: _SC_NETWORKING,
2432083:
2432083: _SC_READER_WRITER_LOCKS,
2432083:
2432083: _SC_SPIN_LOCKS,
2432083:
2432083: _SC_REGEXP,
2432083:
2432083: _SC_REGEX_VERSION,
2432083:
2432083: _SC_SHELL,
2432083:
2432083: _SC_SIGNALS,
2432083:
2432083: _SC_SPAWN,
2432083:
2432083: _SC_SPORADIC_SERVER,
2432083:
2432083: _SC_THREAD_SPORADIC_SERVER,
2432083:
2432083: _SC_SYSTEM_DATABASE,
2432083:
2432083: _SC_SYSTEM_DATABASE_R,
2432083:
2432083: _SC_TIMEOUTS,
2432083:
2432083: _SC_TYPED_MEMORY_OBJECTS,
2432083:
2432083: _SC_USER_GROUPS,
2432083:
2432083: _SC_USER_GROUPS_R,
2432083:
2432083: _SC_2_PBS,
2432083:
2432083: _SC_2_PBS_ACCOUNTING,
2432083:
2432083: _SC_2_PBS_LOCATE,
2432083:
2432083: _SC_2_PBS_MESSAGE,
2432083:
2432083: _SC_2_PBS_TRACK,
2432083:
2432083: _SC_SYMLOOP_MAX,
2432083:
2432083: _SC_STREAMS,
2432083:
2432083: _SC_2_PBS_CHECKPOINT,
2432083:
2432083:
2432083: _SC_V6_ILP32_OFF32,
2432083:
2432083: _SC_V6_ILP32_OFFBIG,
2432083:
2432083: _SC_V6_LP64_OFF64,
2432083:
2432083: _SC_V6_LPBIG_OFFBIG,
2432083:
2432083:
2432083: _SC_HOST_NAME_MAX,
2432083:
2432083: _SC_TRACE,
2432083:
2432083: _SC_TRACE_EVENT_FILTER,
2432083:
2432083: _SC_TRACE_INHERIT,
2432083:
2432083: _SC_TRACE_LOG,
2432083:
2432083:
2432083: _SC_LEVEL1_ICACHE_SIZE,
2432083:
2432083: _SC_LEVEL1_ICACHE_ASSOC,
2432083:
2432083: _SC_LEVEL1_ICACHE_LINESIZE,
2432083:
2432083: _SC_LEVEL1_DCACHE_SIZE,
2432083:
2432083: _SC_LEVEL1_DCACHE_ASSOC,
2432083:
2432083: _SC_LEVEL1_DCACHE_LINESIZE,
2432083:
2432083: _SC_LEVEL2_CACHE_SIZE,
2432083:
2432083: _SC_LEVEL2_CACHE_ASSOC,
2432083:
2432083: _SC_LEVEL2_CACHE_LINESIZE,
2432083:
2432083: _SC_LEVEL3_CACHE_SIZE,
2432083:
2432083: _SC_LEVEL3_CACHE_ASSOC,
2432083:
2432083: _SC_LEVEL3_CACHE_LINESIZE,
2432083:
2432083: _SC_LEVEL4_CACHE_SIZE,
2432083:
2432083: _SC_LEVEL4_CACHE_ASSOC,
2432083:
2432083: _SC_LEVEL4_CACHE_LINESIZE,
2432083:
2432083:
2432083:
2432083: _SC_IPV6 = _SC_LEVEL1_ICACHE_SIZE + 50,
2432083:
2432083: _SC_RAW_SOCKETS,
2432083:
2432083:
2432083: _SC_V7_ILP32_OFF32,
2432083:
2432083: _SC_V7_ILP32_OFFBIG,
2432083:
2432083: _SC_V7_LP64_OFF64,
2432083:
2432083: _SC_V7_LPBIG_OFFBIG,
2432083:
2432083:
2432083: _SC_SS_REPL_MAX,
2432083:
2432083:
2432083: _SC_TRACE_EVENT_NAME_MAX,
2432083:
2432083: _SC_TRACE_NAME_MAX,
2432083:
2432083: _SC_TRACE_SYS_MAX,
2432083:
2432083: _SC_TRACE_USER_EVENT_MAX,
2432083:
2432083:
2432083: _SC_XOPEN_STREAMS,
2432083:
2432083:
2432083: _SC_THREAD_ROBUST_PRIO_INHERIT,
2432083:
2432083: _SC_THREAD_ROBUST_PRIO_PROTECT,
2432083:
2432083:
2432083: _SC_MINSIGSTKSZ,
2432083:
2432083:
2432083: _SC_SIGSTKSZ
2432083:
2432083: };
2432083:
2432083:
2432083: enum
2432083: {
2432083: _CS_PATH,
2432083:
2432083:
2432083: _CS_V6_WIDTH_RESTRICTED_ENVS,
2432083:
2432083:
2432083:
2432083: _CS_GNU_LIBC_VERSION,
2432083:
2432083: _CS_GNU_LIBPTHREAD_VERSION,
2432083:
2432083:
2432083: _CS_V5_WIDTH_RESTRICTED_ENVS,
2432083:
2432083:
2432083:
2432083: _CS_V7_WIDTH_RESTRICTED_ENVS,
2432083:
2432083:
2432083:
2432083: _CS_LFS_CFLAGS = 1000,
2432083:
2432083: _CS_LFS_LDFLAGS,
2432083:
2432083: _CS_LFS_LIBS,
2432083:
2432083: _CS_LFS_LINTFLAGS,
2432083:
2432083: _CS_LFS64_CFLAGS,
2432083:
2432083: _CS_LFS64_LDFLAGS,
2432083:
2432083: _CS_LFS64_LIBS,
2432083:
2432083: _CS_LFS64_LINTFLAGS,
2432083:
2432083:
2432083: _CS_XBS5_ILP32_OFF32_CFLAGS = 1100,
2432083:
2432083: _CS_XBS5_ILP32_OFF32_LDFLAGS,
2432083:
2432083: _CS_XBS5_ILP32_OFF32_LIBS,
2432083:
2432083: _CS_XBS5_ILP32_OFF32_LINTFLAGS,
2432083:
2432083: _CS_XBS5_ILP32_OFFBIG_CFLAGS,
2432083:
2432083: _CS_XBS5_ILP32_OFFBIG_LDFLAGS,
2432083:
2432083: _CS_XBS5_ILP32_OFFBIG_LIBS,
2432083:
2432083: _CS_XBS5_ILP32_OFFBIG_LINTFLAGS,
2432083:
2432083: _CS_XBS5_LP64_OFF64_CFLAGS,
2432083:
2432083: _CS_XBS5_LP64_OFF64_LDFLAGS,
2432083:
2432083: _CS_XBS5_LP64_OFF64_LIBS,
2432083:
2432083: _CS_XBS5_LP64_OFF64_LINTFLAGS,
2432083:
2432083: _CS_XBS5_LPBIG_OFFBIG_CFLAGS,
2432083:
2432083: _CS_XBS5_LPBIG_OFFBIG_LDFLAGS,
2432083:
2432083: _CS_XBS5_LPBIG_OFFBIG_LIBS,
2432083:
2432083: _CS_XBS5_LPBIG_OFFBIG_LINTFLAGS,
2432083:
2432083:
2432083: _CS_POSIX_V6_ILP32_OFF32_CFLAGS,
2432083:
2432083: _CS_POSIX_V6_ILP32_OFF32_LDFLAGS,
2432083:
2432083: _CS_POSIX_V6_ILP32_OFF32_LIBS,
2432083:
2432083: _CS_POSIX_V6_ILP32_OFF32_LINTFLAGS,
2432083:
2432083: _CS_POSIX_V6_ILP32_OFFBIG_CFLAGS,
2432083:
2432083: _CS_POSIX_V6_ILP32_OFFBIG_LDFLAGS,
2432083:
2432083: _CS_POSIX_V6_ILP32_OFFBIG_LIBS,
2432083:
2432083: _CS_POSIX_V6_ILP32_OFFBIG_LINTFLAGS,
2432083:
2432083: _CS_POSIX_V6_LP64_OFF64_CFLAGS,
2432083:
2432083: _CS_POSIX_V6_LP64_OFF64_LDFLAGS,
2432083:
2432083: _CS_POSIX_V6_LP64_OFF64_LIBS,
2432083:
2432083: _CS_POSIX_V6_LP64_OFF64_LINTFLAGS,
2432083:
2432083: _CS_POSIX_V6_LPBIG_OFFBIG_CFLAGS,
2432083:
2432083: _CS_POSIX_V6_LPBIG_OFFBIG_LDFLAGS,
2432083:
2432083: _CS_POSIX_V6_LPBIG_OFFBIG_LIBS,
2432083:
2432083: _CS_POSIX_V6_LPBIG_OFFBIG_LINTFLAGS,
2432083:
2432083:
2432083: _CS_POSIX_V7_ILP32_OFF32_CFLAGS,
2432083:
2432083: _CS_POSIX_V7_ILP32_OFF32_LDFLAGS,
2432083:
2432083: _CS_POSIX_V7_ILP32_OFF32_LIBS,
2432083:
2432083: _CS_POSIX_V7_ILP32_OFF32_LINTFLAGS,
2432083:
2432083: _CS_POSIX_V7_ILP32_OFFBIG_CFLAGS,
2432083:
2432083: _CS_POSIX_V7_ILP32_OFFBIG_LDFLAGS,
2432083:
2432083: _CS_POSIX_V7_ILP32_OFFBIG_LIBS,
2432083:
2432083: _CS_POSIX_V7_ILP32_OFFBIG_LINTFLAGS,
2432083:
2432083: _CS_POSIX_V7_LP64_OFF64_CFLAGS,
2432083:
2432083: _CS_POSIX_V7_LP64_OFF64_LDFLAGS,
2432083:
2432083: _CS_POSIX_V7_LP64_OFF64_LIBS,
2432083:
2432083: _CS_POSIX_V7_LP64_OFF64_LINTFLAGS,
2432083:
2432083: _CS_POSIX_V7_LPBIG_OFFBIG_CFLAGS,
2432083:
2432083: _CS_POSIX_V7_LPBIG_OFFBIG_LDFLAGS,
2432083:
2432083: _CS_POSIX_V7_LPBIG_OFFBIG_LIBS,
2432083:
2432083: _CS_POSIX_V7_LPBIG_OFFBIG_LINTFLAGS,
2432083:
2432083:
2432083: _CS_V6_ENV,
2432083:
2432083: _CS_V7_ENV
2432083:
2432083: };
2432083: # 631 "/usr/include/unistd.h" 2 3 4
2432083:
2432083:
2432083: extern long int pathconf (const char *__path, int __name)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
2432083:
2432083:
2432083: extern long int fpathconf (int __fd, int __name) __attribute__ ((__nothrow__ , __leaf__));
2432083:
2432083:
2432083: extern long int sysconf (int __name) __attribute__ ((__nothrow__ , __leaf__));
2432083:
2432083:
2432083:
2432083: extern size_t confstr (int __name, char *__buf, size_t __len) __attribute__ ((__nothrow__ , __leaf__))
2432083: __attribute__ ((__access__ (__write_only__, 2, 3)));
2432083:
2432083:
2432083:
2432083:
2432083: extern __pid_t getpid (void) __attribute__ ((__nothrow__ , __leaf__));
2432083:
2432083:
2432083: extern __pid_t getppid (void) __attribute__ ((__nothrow__ , __leaf__));
2432083:
2432083:
2432083: extern __pid_t getpgrp (void) __attribute__ ((__nothrow__ , __leaf__));
2432083:
2432083:
2432083: extern __pid_t __getpgid (__pid_t __pid) __attribute__ ((__nothrow__ , __leaf__));
2432083:
2432083: extern __pid_t getpgid (__pid_t __pid) __attribute__ ((__nothrow__ , __leaf__));
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern int setpgid (__pid_t __pid, __pid_t __pgid) __attribute__ ((__nothrow__ , __leaf__));
2432083: # 682 "/usr/include/unistd.h" 3 4
2432083: extern int setpgrp (void) __attribute__ ((__nothrow__ , __leaf__));
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern __pid_t setsid (void) __attribute__ ((__nothrow__ , __leaf__));
2432083:
2432083:
2432083:
2432083: extern __pid_t getsid (__pid_t __pid) __attribute__ ((__nothrow__ , __leaf__));
2432083:
2432083:
2432083:
2432083: extern __uid_t getuid (void) __attribute__ ((__nothrow__ , __leaf__));
2432083:
2432083:
2432083: extern __uid_t geteuid (void) __attribute__ ((__nothrow__ , __leaf__));
2432083:
2432083:
2432083: extern __gid_t getgid (void) __attribute__ ((__nothrow__ , __leaf__));
2432083:
2432083:
2432083: extern __gid_t getegid (void) __attribute__ ((__nothrow__ , __leaf__));
2432083:
2432083:
2432083:
2432083:
2432083: extern int getgroups (int __size, __gid_t __list[]) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__))
2432083: __attribute__ ((__access__ (__write_only__, 2, 1)));
2432083:
2432083:
2432083: extern int group_member (__gid_t __gid) __attribute__ ((__nothrow__ , __leaf__));
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern int setuid (__uid_t __uid) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__));
2432083:
2432083:
2432083:
2432083:
2432083: extern int setreuid (__uid_t __ruid, __uid_t __euid) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__));
2432083:
2432083:
2432083:
2432083:
2432083: extern int seteuid (__uid_t __uid) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__));
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern int setgid (__gid_t __gid) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__));
2432083:
2432083:
2432083:
2432083:
2432083: extern int setregid (__gid_t __rgid, __gid_t __egid) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__));
2432083:
2432083:
2432083:
2432083:
2432083: extern int setegid (__gid_t __gid) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__));
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern int getresuid (__uid_t *__ruid, __uid_t *__euid, __uid_t *__suid)
2432083: __attribute__ ((__nothrow__ , __leaf__));
2432083:
2432083:
2432083:
2432083: extern int getresgid (__gid_t *__rgid, __gid_t *__egid, __gid_t *__sgid)
2432083: __attribute__ ((__nothrow__ , __leaf__));
2432083:
2432083:
2432083:
2432083: extern int setresuid (__uid_t __ruid, __uid_t __euid, __uid_t __suid)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__));
2432083:
2432083:
2432083:
2432083: extern int setresgid (__gid_t __rgid, __gid_t __egid, __gid_t __sgid)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__));
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern __pid_t fork (void) __attribute__ ((__nothrow__));
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern __pid_t vfork (void) __attribute__ ((__nothrow__ , __leaf__));
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern __pid_t _Fork (void) __attribute__ ((__nothrow__ , __leaf__));
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern char *ttyname (int __fd) __attribute__ ((__nothrow__ , __leaf__));
2432083:
2432083:
2432083:
2432083: extern int ttyname_r (int __fd, char *__buf, size_t __buflen)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))) __attribute__ ((__warn_unused_result__))
2432083: __attribute__ ((__access__ (__write_only__, 2, 3)));
2432083:
2432083:
2432083:
2432083: extern int isatty (int __fd) __attribute__ ((__nothrow__ , __leaf__));
2432083:
2432083:
2432083:
2432083:
2432083: extern int ttyslot (void) __attribute__ ((__nothrow__ , __leaf__));
2432083:
2432083:
2432083:
2432083:
2432083: extern int link (const char *__from, const char *__to)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))) __attribute__ ((__warn_unused_result__));
2432083:
2432083:
2432083:
2432083:
2432083: extern int linkat (int __fromfd, const char *__from, int __tofd,
2432083: const char *__to, int __flags)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2, 4))) __attribute__ ((__warn_unused_result__));
2432083:
2432083:
2432083:
2432083:
2432083: extern int symlink (const char *__from, const char *__to)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))) __attribute__ ((__warn_unused_result__));
2432083:
2432083:
2432083:
2432083:
2432083: extern ssize_t readlink (const char *__restrict __path,
2432083: char *__restrict __buf, size_t __len)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))) __attribute__ ((__warn_unused_result__))
2432083: __attribute__ ((__access__ (__write_only__, 2, 3)));
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern int symlinkat (const char *__from, int __tofd,
2432083: const char *__to) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 3))) __attribute__ ((__warn_unused_result__));
2432083:
2432083:
2432083: extern ssize_t readlinkat (int __fd, const char *__restrict __path,
2432083: char *__restrict __buf, size_t __len)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2, 3))) __attribute__ ((__warn_unused_result__))
2432083: __attribute__ ((__access__ (__write_only__, 3, 4)));
2432083:
2432083:
2432083:
2432083: extern int unlink (const char *__name) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
2432083:
2432083:
2432083:
2432083: extern int unlinkat (int __fd, const char *__name, int __flag)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2)));
2432083:
2432083:
2432083:
2432083: extern int rmdir (const char *__path) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
2432083:
2432083:
2432083:
2432083: extern __pid_t tcgetpgrp (int __fd) __attribute__ ((__nothrow__ , __leaf__));
2432083:
2432083:
2432083: extern int tcsetpgrp (int __fd, __pid_t __pgrp_id) __attribute__ ((__nothrow__ , __leaf__));
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern char *getlogin (void);
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern int getlogin_r (char *__name, size_t __name_len) __attribute__ ((__nonnull__ (1)))
2432083: __attribute__ ((__access__ (__write_only__, 1, 2)));
2432083:
2432083:
2432083:
2432083:
2432083: extern int setlogin (const char *__name) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: # 1 "/usr/include/m68k-linux-gnu/bits/getopt_posix.h" 1 3 4
2432083: # 27 "/usr/include/m68k-linux-gnu/bits/getopt_posix.h" 3 4
2432083: # 1 "/usr/include/m68k-linux-gnu/bits/getopt_core.h" 1 3 4
2432083: # 28 "/usr/include/m68k-linux-gnu/bits/getopt_core.h" 3 4
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern char *
2432083: # 36 "/usr/include/m68k-linux-gnu/bits/getopt_core.h"
2432083: BSDoptarg
2432083: # 36 "/usr/include/m68k-linux-gnu/bits/getopt_core.h" 3 4
2432083: ;
2432083: # 50 "/usr/include/m68k-linux-gnu/bits/getopt_core.h" 3 4
2432083: extern int
2432083: # 50 "/usr/include/m68k-linux-gnu/bits/getopt_core.h"
2432083: BSDoptind
2432083: # 50 "/usr/include/m68k-linux-gnu/bits/getopt_core.h" 3 4
2432083: ;
2432083:
2432083:
2432083:
2432083:
2432083: extern int
2432083: # 55 "/usr/include/m68k-linux-gnu/bits/getopt_core.h"
2432083: BSDopterr
2432083: # 55 "/usr/include/m68k-linux-gnu/bits/getopt_core.h" 3 4
2432083: ;
2432083:
2432083:
2432083:
2432083: extern int
2432083: # 59 "/usr/include/m68k-linux-gnu/bits/getopt_core.h"
2432083: BSDoptopt
2432083: # 59 "/usr/include/m68k-linux-gnu/bits/getopt_core.h" 3 4
2432083: ;
2432083: # 91 "/usr/include/m68k-linux-gnu/bits/getopt_core.h" 3 4
2432083: extern int
2432083: # 91 "/usr/include/m68k-linux-gnu/bits/getopt_core.h"
2432083: BSDgetopt(
2432083: # 91 "/usr/include/m68k-linux-gnu/bits/getopt_core.h" 3 4
2432083: int ___argc
2432083: # 91 "/usr/include/m68k-linux-gnu/bits/getopt_core.h"
2432083: ,
2432083: # 91 "/usr/include/m68k-linux-gnu/bits/getopt_core.h" 3 4
2432083: char *const *___argv
2432083: # 91 "/usr/include/m68k-linux-gnu/bits/getopt_core.h"
2432083: ,
2432083: # 91 "/usr/include/m68k-linux-gnu/bits/getopt_core.h" 3 4
2432083: const char *__shortopts
2432083: # 91 "/usr/include/m68k-linux-gnu/bits/getopt_core.h"
2432083: )
2432083:
2432083: # 92 "/usr/include/m68k-linux-gnu/bits/getopt_core.h" 3 4
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2, 3)));
2432083:
2432083:
2432083: # 28 "/usr/include/m68k-linux-gnu/bits/getopt_posix.h" 2 3 4
2432083:
2432083:
2432083: # 49 "/usr/include/m68k-linux-gnu/bits/getopt_posix.h" 3 4
2432083:
2432083: # 904 "/usr/include/unistd.h" 2 3 4
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern int gethostname (char *__name, size_t __len) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)))
2432083: __attribute__ ((__access__ (__write_only__, 1, 2)));
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern int sethostname (const char *__name, size_t __len)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)) __attribute__ ((__access__ (__read_only__, 1, 2)));
2432083:
2432083:
2432083:
2432083: extern int sethostid (long int __id) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__));
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern int getdomainname (char *__name, size_t __len)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__))
2432083: __attribute__ ((__access__ (__write_only__, 1, 2)));
2432083: extern int setdomainname (const char *__name, size_t __len)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)) __attribute__ ((__access__ (__read_only__, 1, 2)));
2432083:
2432083:
2432083:
2432083:
2432083: extern int vhangup (void) __attribute__ ((__nothrow__ , __leaf__));
2432083:
2432083:
2432083: extern int revoke (const char *__file) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern int profil (unsigned short int *__sample_buffer, size_t __size,
2432083: size_t __offset, unsigned int __scale)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern int acct (const char *__name) __attribute__ ((__nothrow__ , __leaf__));
2432083:
2432083:
2432083:
2432083: extern char *getusershell (void) __attribute__ ((__nothrow__ , __leaf__));
2432083: extern void endusershell (void) __attribute__ ((__nothrow__ , __leaf__));
2432083: extern void setusershell (void) __attribute__ ((__nothrow__ , __leaf__));
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern int daemon (int __nochdir, int __noclose) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__));
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern int chroot (const char *__path) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
2432083:
2432083:
2432083:
2432083: extern char *getpass (const char *__prompt) __attribute__ ((__nonnull__ (1)));
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern int fsync (int __fd);
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern int syncfs (int __fd) __attribute__ ((__nothrow__ , __leaf__));
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern long int gethostid (void);
2432083:
2432083:
2432083: extern void sync (void) __attribute__ ((__nothrow__ , __leaf__));
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern int getpagesize (void) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__));
2432083:
2432083:
2432083:
2432083:
2432083: extern int getdtablesize (void) __attribute__ ((__nothrow__ , __leaf__));
2432083: # 1030 "/usr/include/unistd.h" 3 4
2432083: extern int truncate (const char *__file, __off64_t __length) __asm__ ("" "truncate64") __attribute__ ((__nothrow__ , __leaf__))
2432083:
2432083: __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern int truncate64 (const char *__file, __off64_t __length)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
2432083: # 1052 "/usr/include/unistd.h" 3 4
2432083: extern int ftruncate (int __fd, __off64_t __length) __asm__ ("" "ftruncate64") __attribute__ ((__nothrow__ , __leaf__))
2432083: __attribute__ ((__warn_unused_result__));
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern int ftruncate64 (int __fd, __off64_t __length) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__));
2432083: # 1070 "/usr/include/unistd.h" 3 4
2432083: extern int brk (void *__addr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__));
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern void *sbrk (intptr_t __delta) __attribute__ ((__nothrow__ , __leaf__));
2432083: # 1091 "/usr/include/unistd.h" 3 4
2432083: extern long int syscall (long int __sysno, ...) __attribute__ ((__nothrow__ , __leaf__));
2432083: # 1117 "/usr/include/unistd.h" 3 4
2432083: extern int lockf (int __fd, int __cmd, __off64_t __len) __asm__ ("" "lockf64")
2432083: __attribute__ ((__warn_unused_result__));
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern int lockf64 (int __fd, int __cmd, __off64_t __len) __attribute__ ((__warn_unused_result__));
2432083: # 1142 "/usr/include/unistd.h" 3 4
2432083: ssize_t copy_file_range (int __infd, __off64_t *__pinoff,
2432083: int __outfd, __off64_t *__poutoff,
2432083: size_t __length, unsigned int __flags);
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern int fdatasync (int __fildes);
2432083: # 1159 "/usr/include/unistd.h" 3 4
2432083: extern char *crypt (const char *__key, const char *__salt)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2)));
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern void swab (const void *__restrict __from, void *__restrict __to,
2432083: ssize_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2)))
2432083: __attribute__ ((__access__ (__read_only__, 1, 3)))
2432083: __attribute__ ((__access__ (__write_only__, 2, 3)));
2432083: # 1198 "/usr/include/unistd.h" 3 4
2432083: int getentropy (void *__buffer, size_t __length) __attribute__ ((__warn_unused_result__))
2432083: __attribute__ ((__access__ (__write_only__, 1, 2)));
2432083: # 1208 "/usr/include/unistd.h" 3 4
2432083: extern int close_range (unsigned int __fd, unsigned int __max_fd,
2432083: int __flags) __attribute__ ((__nothrow__ , __leaf__));
2432083:
2432083:
2432083:
2432083:
2432083: # 1 "/usr/include/m68k-linux-gnu/bits/unistd.h" 1 3 4
2432083: # 23 "/usr/include/m68k-linux-gnu/bits/unistd.h" 3 4
2432083: extern ssize_t __read_chk (int __fd, void *__buf, size_t __nbytes,
2432083: size_t __buflen)
2432083: __attribute__ ((__warn_unused_result__)) __attribute__ ((__access__ (__write_only__, 2, 3)));
2432083: extern ssize_t __read_alias (int __fd, void *__buf, size_t __nbytes) __asm__ ("" "read")
2432083:
2432083: __attribute__ ((__warn_unused_result__)) __attribute__ ((__access__ (__write_only__, 2, 3)));
2432083: extern ssize_t __read_chk_warn (int __fd, void *__buf, size_t __nbytes, size_t __buflen) __asm__ ("" "__read_chk")
2432083:
2432083:
2432083: __attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("read called with bigger length than size of " "the destination buffer")))
2432083: ;
2432083:
2432083: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) __attribute__ ((__warn_unused_result__)) ssize_t
2432083: read (int __fd, void *__buf, size_t __nbytes)
2432083: {
2432083: return (((__builtin_constant_p (__builtin_object_size (__buf, 0)) && (__builtin_object_size (__buf, 0)) == (unsigned int) -1) || (((__typeof (__nbytes)) 0 < (__typeof (__nbytes)) -1 || (__builtin_constant_p (__nbytes) && (__nbytes) > 0)) && __builtin_constant_p ((((unsigned int) (__nbytes)) <= ((__builtin_object_size (__buf, 0))) / ((sizeof (char))))) && (((unsigned int) (__nbytes)) <= ((__builtin_object_size (__buf, 0))) / ((sizeof (char)))))) ? __read_alias (__fd, __buf, __nbytes) : ((((__typeof (__nbytes)) 0 < (__typeof (__nbytes)) -1 || (__builtin_constant_p (__nbytes) && (__nbytes) > 0)) && __builtin_constant_p ((((unsigned int) (__nbytes)) <= (__builtin_object_size (__buf, 0)) / (sizeof (char)))) && !(((unsigned int) (__nbytes)) <= (__builtin_object_size (__buf, 0)) / (sizeof (char)))) ? __read_chk_warn (__fd, __buf, __nbytes, __builtin_object_size (__buf, 0)) : __read_chk (__fd, __buf, __nbytes, __builtin_object_size (__buf, 0))))
2432083:
2432083: ;
2432083: }
2432083:
2432083:
2432083: extern ssize_t __pread_chk (int __fd, void *__buf, size_t __nbytes,
2432083: __off_t __offset, size_t __bufsize)
2432083: __attribute__ ((__warn_unused_result__)) __attribute__ ((__access__ (__write_only__, 2, 3)));
2432083: extern ssize_t __pread64_chk (int __fd, void *__buf, size_t __nbytes,
2432083: __off64_t __offset, size_t __bufsize)
2432083: __attribute__ ((__warn_unused_result__)) __attribute__ ((__access__ (__write_only__, 2, 3)));
2432083: extern ssize_t __pread_alias (int __fd, void *__buf, size_t __nbytes, __off_t __offset) __asm__ ("" "pread")
2432083:
2432083:
2432083: __attribute__ ((__warn_unused_result__)) __attribute__ ((__access__ (__write_only__, 2, 3)));
2432083: extern ssize_t __pread64_alias (int __fd, void *__buf, size_t __nbytes, __off64_t __offset) __asm__ ("" "pread64")
2432083:
2432083:
2432083: __attribute__ ((__warn_unused_result__)) __attribute__ ((__access__ (__write_only__, 2, 3)));
2432083: extern ssize_t __pread_chk_warn (int __fd, void *__buf, size_t __nbytes, __off_t __offset, size_t __bufsize) __asm__ ("" "__pread_chk")
2432083:
2432083:
2432083: __attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("pread called with bigger length than size of " "the destination buffer")))
2432083: ;
2432083: extern ssize_t __pread64_chk_warn (int __fd, void *__buf, size_t __nbytes, __off64_t __offset, size_t __bufsize) __asm__ ("" "__pread64_chk")
2432083:
2432083:
2432083:
2432083: __attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("pread64 called with bigger length than size of " "the destination buffer")))
2432083: ;
2432083: # 79 "/usr/include/m68k-linux-gnu/bits/unistd.h" 3 4
2432083: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) __attribute__ ((__warn_unused_result__)) ssize_t
2432083: pread (int __fd, void *__buf, size_t __nbytes, __off64_t __offset)
2432083: {
2432083: return (((__builtin_constant_p (__builtin_object_size (__buf, 0)) && (__builtin_object_size (__buf, 0)) == (unsigned int) -1) || (((__typeof (__nbytes)) 0 < (__typeof (__nbytes)) -1 || (__builtin_constant_p (__nbytes) && (__nbytes) > 0)) && __builtin_constant_p ((((unsigned int) (__nbytes)) <= ((__builtin_object_size (__buf, 0))) / ((sizeof (char))))) && (((unsigned int) (__nbytes)) <= ((__builtin_object_size (__buf, 0))) / ((sizeof (char)))))) ? __pread64_alias (__fd, __buf, __nbytes, __offset) : ((((__typeof (__nbytes)) 0 < (__typeof (__nbytes)) -1 || (__builtin_constant_p (__nbytes) && (__nbytes) > 0)) && __builtin_constant_p ((((unsigned int) (__nbytes)) <= (__builtin_object_size (__buf, 0)) / (sizeof (char)))) && !(((unsigned int) (__nbytes)) <= (__builtin_object_size (__buf, 0)) / (sizeof (char)))) ? __pread64_chk_warn (__fd, __buf, __nbytes, __offset, __builtin_object_size (__buf, 0)) : __pread64_chk (__fd, __buf, __nbytes, __offset, __builtin_object_size (__buf, 0))))
2432083:
2432083: ;
2432083: }
2432083:
2432083:
2432083:
2432083: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) __attribute__ ((__warn_unused_result__)) ssize_t
2432083: pread64 (int __fd, void *__buf, size_t __nbytes, __off64_t __offset)
2432083: {
2432083: return (((__builtin_constant_p (__builtin_object_size (__buf, 0)) && (__builtin_object_size (__buf, 0)) == (unsigned int) -1) || (((__typeof (__nbytes)) 0 < (__typeof (__nbytes)) -1 || (__builtin_constant_p (__nbytes) && (__nbytes) > 0)) && __builtin_constant_p ((((unsigned int) (__nbytes)) <= ((__builtin_object_size (__buf, 0))) / ((sizeof (char))))) && (((unsigned int) (__nbytes)) <= ((__builtin_object_size (__buf, 0))) / ((sizeof (char)))))) ? __pread64_alias (__fd, __buf, __nbytes, __offset) : ((((__typeof (__nbytes)) 0 < (__typeof (__nbytes)) -1 || (__builtin_constant_p (__nbytes) && (__nbytes) > 0)) && __builtin_constant_p ((((unsigned int) (__nbytes)) <= (__builtin_object_size (__buf, 0)) / (sizeof (char)))) && !(((unsigned int) (__nbytes)) <= (__builtin_object_size (__buf, 0)) / (sizeof (char)))) ? __pread64_chk_warn (__fd, __buf, __nbytes, __offset, __builtin_object_size (__buf, 0)) : __pread64_chk (__fd, __buf, __nbytes, __offset, __builtin_object_size (__buf, 0))))
2432083:
2432083: ;
2432083: }
2432083:
2432083:
2432083:
2432083:
2432083: extern ssize_t __readlink_chk (const char *__restrict __path,
2432083: char *__restrict __buf, size_t __len,
2432083: size_t __buflen)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))) __attribute__ ((__warn_unused_result__)) __attribute__ ((__access__ (__write_only__, 2, 3)));
2432083: extern ssize_t __readlink_alias (const char *__restrict __path, char *__restrict __buf, size_t __len) __asm__ ("" "readlink") __attribute__ ((__nothrow__ , __leaf__))
2432083:
2432083:
2432083: __attribute__ ((__nonnull__ (1, 2))) __attribute__ ((__warn_unused_result__)) __attribute__ ((__access__ (__write_only__, 2, 3)));
2432083: extern ssize_t __readlink_chk_warn (const char *__restrict __path, char *__restrict __buf, size_t __len, size_t __buflen) __asm__ ("" "__readlink_chk") __attribute__ ((__nothrow__ , __leaf__))
2432083:
2432083:
2432083:
2432083: __attribute__ ((__nonnull__ (1, 2))) __attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("readlink called with bigger length " "than size of destination buffer")))
2432083: ;
2432083:
2432083: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) __attribute__ ((__nonnull__ (1, 2))) __attribute__ ((__warn_unused_result__)) ssize_t
2432083: __attribute__ ((__nothrow__ , __leaf__)) readlink (const char *__restrict __path, char *__restrict __buf, size_t __len)
2432083:
2432083: {
2432083: return (((__builtin_constant_p (__builtin_object_size (__buf, 2 > 1)) && (__builtin_object_size (__buf, 2 > 1)) == (unsigned int) -1) || (((__typeof (__len)) 0 < (__typeof (__len)) -1 || (__builtin_constant_p (__len) && (__len) > 0)) && __builtin_constant_p ((((unsigned int) (__len)) <= ((__builtin_object_size (__buf, 2 > 1))) / ((sizeof (char))))) && (((unsigned int) (__len)) <= ((__builtin_object_size (__buf, 2 > 1))) / ((sizeof (char)))))) ? __readlink_alias (__path, __buf, __len) : ((((__typeof (__len)) 0 < (__typeof (__len)) -1 || (__builtin_constant_p (__len) && (__len) > 0)) && __builtin_constant_p ((((unsigned int) (__len)) <= (__builtin_object_size (__buf, 2 > 1)) / (sizeof (char)))) && !(((unsigned int) (__len)) <= (__builtin_object_size (__buf, 2 > 1)) / (sizeof (char)))) ? __readlink_chk_warn (__path, __buf, __len, __builtin_object_size (__buf, 2 > 1)) : __readlink_chk (__path, __buf, __len, __builtin_object_size (__buf, 2 > 1))))
2432083:
2432083: ;
2432083: }
2432083:
2432083:
2432083:
2432083: extern ssize_t __readlinkat_chk (int __fd, const char *__restrict __path,
2432083: char *__restrict __buf, size_t __len,
2432083: size_t __buflen)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2, 3))) __attribute__ ((__warn_unused_result__)) __attribute__ ((__access__ (__write_only__, 3, 4)));
2432083: extern ssize_t __readlinkat_alias (int __fd, const char *__restrict __path, char *__restrict __buf, size_t __len) __asm__ ("" "readlinkat") __attribute__ ((__nothrow__ , __leaf__))
2432083:
2432083:
2432083:
2432083: __attribute__ ((__nonnull__ (2, 3))) __attribute__ ((__warn_unused_result__)) __attribute__ ((__access__ (__write_only__, 3, 4)));
2432083: extern ssize_t __readlinkat_chk_warn (int __fd, const char *__restrict __path, char *__restrict __buf, size_t __len, size_t __buflen) __asm__ ("" "__readlinkat_chk") __attribute__ ((__nothrow__ , __leaf__))
2432083:
2432083:
2432083:
2432083: __attribute__ ((__nonnull__ (2, 3))) __attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("readlinkat called with bigger " "length than size of destination " "buffer")))
2432083:
2432083: ;
2432083:
2432083: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) __attribute__ ((__nonnull__ (2, 3))) __attribute__ ((__warn_unused_result__)) ssize_t
2432083: __attribute__ ((__nothrow__ , __leaf__)) readlinkat (int __fd, const char *__restrict __path, char *__restrict __buf, size_t __len)
2432083:
2432083: {
2432083: return (((__builtin_constant_p (__builtin_object_size (__buf, 2 > 1)) && (__builtin_object_size (__buf, 2 > 1)) == (unsigned int) -1) || (((__typeof (__len)) 0 < (__typeof (__len)) -1 || (__builtin_constant_p (__len) && (__len) > 0)) && __builtin_constant_p ((((unsigned int) (__len)) <= ((__builtin_object_size (__buf, 2 > 1))) / ((sizeof (char))))) && (((unsigned int) (__len)) <= ((__builtin_object_size (__buf, 2 > 1))) / ((sizeof (char)))))) ? __readlinkat_alias (__fd, __path, __buf, __len) : ((((__typeof (__len)) 0 < (__typeof (__len)) -1 || (__builtin_constant_p (__len) && (__len) > 0)) && __builtin_constant_p ((((unsigned int) (__len)) <= (__builtin_object_size (__buf, 2 > 1)) / (sizeof (char)))) && !(((unsigned int) (__len)) <= (__builtin_object_size (__buf, 2 > 1)) / (sizeof (char)))) ? __readlinkat_chk_warn (__fd, __path, __buf, __len, __builtin_object_size (__buf, 2 > 1)) : __readlinkat_chk (__fd, __path, __buf, __len, __builtin_object_size (__buf, 2 > 1))))
2432083:
2432083: ;
2432083: }
2432083:
2432083:
2432083: extern char *__getcwd_chk (char *__buf, size_t __size, size_t __buflen)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__));
2432083: extern char *__getcwd_alias (char *__buf, size_t __size) __asm__ ("" "getcwd") __attribute__ ((__nothrow__ , __leaf__))
2432083: __attribute__ ((__warn_unused_result__));
2432083: extern char *__getcwd_chk_warn (char *__buf, size_t __size, size_t __buflen) __asm__ ("" "__getcwd_chk") __attribute__ ((__nothrow__ , __leaf__))
2432083:
2432083:
2432083: __attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("getcwd caller with bigger length than size of " "destination buffer")))
2432083: ;
2432083:
2432083: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) __attribute__ ((__warn_unused_result__)) char *
2432083: __attribute__ ((__nothrow__ , __leaf__)) getcwd (char *__buf, size_t __size)
2432083: {
2432083: return (((__builtin_constant_p (__builtin_object_size (__buf, 2 > 1)) && (__builtin_object_size (__buf, 2 > 1)) == (unsigned int) -1) || (((__typeof (__size)) 0 < (__typeof (__size)) -1 || (__builtin_constant_p (__size) && (__size) > 0)) && __builtin_constant_p ((((unsigned int) (__size)) <= ((__builtin_object_size (__buf, 2 > 1))) / ((sizeof (char))))) && (((unsigned int) (__size)) <= ((__builtin_object_size (__buf, 2 > 1))) / ((sizeof (char)))))) ? __getcwd_alias (__buf, __size) : ((((__typeof (__size)) 0 < (__typeof (__size)) -1 || (__builtin_constant_p (__size) && (__size) > 0)) && __builtin_constant_p ((((unsigned int) (__size)) <= (__builtin_object_size (__buf, 2 > 1)) / (sizeof (char)))) && !(((unsigned int) (__size)) <= (__builtin_object_size (__buf, 2 > 1)) / (sizeof (char)))) ? __getcwd_chk_warn (__buf, __size, __builtin_object_size (__buf, 2 > 1)) : __getcwd_chk (__buf, __size, __builtin_object_size (__buf, 2 > 1))))
2432083:
2432083: ;
2432083: }
2432083:
2432083:
2432083: extern char *__getwd_chk (char *__buf, size_t buflen)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)) __attribute__ ((__access__ (__write_only__, 1, 2)));
2432083: extern char *__getwd_warn (char *__buf) __asm__ ("" "getwd") __attribute__ ((__nothrow__ , __leaf__))
2432083: __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("please use getcwd instead, as getwd " "doesn't specify buffer size")))
2432083: ;
2432083:
2432083: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__deprecated__)) __attribute__ ((__warn_unused_result__)) char *
2432083: __attribute__ ((__nothrow__ , __leaf__)) getwd (char *__buf)
2432083: {
2432083: if (__builtin_object_size (__buf, 2 > 1) != (size_t) -1)
2432083: return __getwd_chk (__buf, __builtin_object_size (__buf, 2 > 1));
2432083: return __getwd_warn (__buf);
2432083: }
2432083:
2432083:
2432083: extern size_t __confstr_chk (int __name, char *__buf, size_t __len,
2432083: size_t __buflen) __attribute__ ((__nothrow__ , __leaf__))
2432083: __attribute__ ((__access__ (__write_only__, 2, 3)));
2432083: extern size_t __confstr_alias (int __name, char *__buf, size_t __len) __asm__ ("" "confstr") __attribute__ ((__nothrow__ , __leaf__))
2432083:
2432083: __attribute__ ((__access__ (__write_only__, 2, 3)));
2432083: extern size_t __confstr_chk_warn (int __name, char *__buf, size_t __len, size_t __buflen) __asm__ ("" "__confstr_chk") __attribute__ ((__nothrow__ , __leaf__))
2432083:
2432083:
2432083: __attribute__((__warning__ ("confstr called with bigger length than size of destination " "buffer")))
2432083: ;
2432083:
2432083: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) size_t
2432083: __attribute__ ((__nothrow__ , __leaf__)) confstr (int __name, char *__buf, size_t __len)
2432083: {
2432083: return (((__builtin_constant_p (__builtin_object_size (__buf, 2 > 1)) && (__builtin_object_size (__buf, 2 > 1)) == (unsigned int) -1) || (((__typeof (__len)) 0 < (__typeof (__len)) -1 || (__builtin_constant_p (__len) && (__len) > 0)) && __builtin_constant_p ((((unsigned int) (__len)) <= ((__builtin_object_size (__buf, 2 > 1))) / ((sizeof (char))))) && (((unsigned int) (__len)) <= ((__builtin_object_size (__buf, 2 > 1))) / ((sizeof (char)))))) ? __confstr_alias (__name, __buf, __len) : ((((__typeof (__len)) 0 < (__typeof (__len)) -1 || (__builtin_constant_p (__len) && (__len) > 0)) && __builtin_constant_p ((((unsigned int) (__len)) <= (__builtin_object_size (__buf, 2 > 1)) / (sizeof (char)))) && !(((unsigned int) (__len)) <= (__builtin_object_size (__buf, 2 > 1)) / (sizeof (char)))) ? __confstr_chk_warn (__name, __buf, __len, __builtin_object_size (__buf, 2 > 1)) : __confstr_chk (__name, __buf, __len, __builtin_object_size (__buf, 2 > 1))))
2432083:
2432083: ;
2432083: }
2432083:
2432083:
2432083: extern int __getgroups_chk (int __size, __gid_t __list[], size_t __listlen)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__)) __attribute__ ((__access__ (__write_only__, 2, 1)));
2432083: extern int __getgroups_alias (int __size, __gid_t __list[]) __asm__ ("" "getgroups") __attribute__ ((__nothrow__ , __leaf__))
2432083: __attribute__ ((__warn_unused_result__)) __attribute__ ((__access__ (__write_only__, 2, 1)));
2432083: extern int __getgroups_chk_warn (int __size, __gid_t __list[], size_t __listlen) __asm__ ("" "__getgroups_chk") __attribute__ ((__nothrow__ , __leaf__))
2432083:
2432083:
2432083: __attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("getgroups called with bigger group count than what " "can fit into destination buffer")))
2432083: ;
2432083:
2432083: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) int
2432083: __attribute__ ((__nothrow__ , __leaf__)) getgroups (int __size, __gid_t __list[])
2432083: {
2432083: return (((__builtin_constant_p (__builtin_object_size (__list, 2 > 1)) && (__builtin_object_size (__list, 2 > 1)) == (unsigned int) -1) || (((__typeof (__size)) 0 < (__typeof (__size)) -1 || (__builtin_constant_p (__size) && (__size) > 0)) && __builtin_constant_p ((((unsigned int) (__size)) <= ((__builtin_object_size (__list, 2 > 1))) / ((sizeof (__gid_t))))) && (((unsigned int) (__size)) <= ((__builtin_object_size (__list, 2 > 1))) / ((sizeof (__gid_t)))))) ? __getgroups_alias (__size, __list) : ((((__typeof (__size)) 0 < (__typeof (__size)) -1 || (__builtin_constant_p (__size) && (__size) > 0)) && __builtin_constant_p ((((unsigned int) (__size)) <= (__builtin_object_size (__list, 2 > 1)) / (sizeof (__gid_t)))) && !(((unsigned int) (__size)) <= (__builtin_object_size (__list, 2 > 1)) / (sizeof (__gid_t)))) ? __getgroups_chk_warn (__size, __list, __builtin_object_size (__list, 2 > 1)) : __getgroups_chk (__size, __list, __builtin_object_size (__list, 2 > 1))))
2432083:
2432083: ;
2432083: }
2432083:
2432083:
2432083: extern int __ttyname_r_chk (int __fd, char *__buf, size_t __buflen,
2432083: size_t __nreal) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2)))
2432083: __attribute__ ((__access__ (__write_only__, 2, 3)));
2432083: extern int __ttyname_r_alias (int __fd, char *__buf, size_t __buflen) __asm__ ("" "ttyname_r") __attribute__ ((__nothrow__ , __leaf__))
2432083:
2432083: __attribute__ ((__nonnull__ (2)));
2432083: extern int __ttyname_r_chk_warn (int __fd, char *__buf, size_t __buflen, size_t __nreal) __asm__ ("" "__ttyname_r_chk") __attribute__ ((__nothrow__ , __leaf__))
2432083:
2432083:
2432083: __attribute__ ((__nonnull__ (2))) __attribute__((__warning__ ("ttyname_r called with bigger buflen than " "size of destination buffer")))
2432083: ;
2432083:
2432083: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) int
2432083: __attribute__ ((__nothrow__ , __leaf__)) ttyname_r (int __fd, char *__buf, size_t __buflen)
2432083: {
2432083: return (((__builtin_constant_p (__builtin_object_size (__buf, 2 > 1)) && (__builtin_object_size (__buf, 2 > 1)) == (unsigned int) -1) || (((__typeof (__buflen)) 0 < (__typeof (__buflen)) -1 || (__builtin_constant_p (__buflen) && (__buflen) > 0)) && __builtin_constant_p ((((unsigned int) (__buflen)) <= ((__builtin_object_size (__buf, 2 > 1))) / ((sizeof (char))))) && (((unsigned int) (__buflen)) <= ((__builtin_object_size (__buf, 2 > 1))) / ((sizeof (char)))))) ? __ttyname_r_alias (__fd, __buf, __buflen) : ((((__typeof (__buflen)) 0 < (__typeof (__buflen)) -1 || (__builtin_constant_p (__buflen) && (__buflen) > 0)) && __builtin_constant_p ((((unsigned int) (__buflen)) <= (__builtin_object_size (__buf, 2 > 1)) / (sizeof (char)))) && !(((unsigned int) (__buflen)) <= (__builtin_object_size (__buf, 2 > 1)) / (sizeof (char)))) ? __ttyname_r_chk_warn (__fd, __buf, __buflen, __builtin_object_size (__buf, 2 > 1)) : __ttyname_r_chk (__fd, __buf, __buflen, __builtin_object_size (__buf, 2 > 1))))
2432083:
2432083: ;
2432083: }
2432083:
2432083:
2432083:
2432083: extern int __getlogin_r_chk (char *__buf, size_t __buflen, size_t __nreal)
2432083: __attribute__ ((__nonnull__ (1))) __attribute__ ((__access__ (__write_only__, 1, 2)));
2432083: extern int __getlogin_r_alias (char *__buf, size_t __buflen) __asm__ ("" "getlogin_r")
2432083: __attribute__ ((__nonnull__ (1)));
2432083: extern int __getlogin_r_chk_warn (char *__buf, size_t __buflen, size_t __nreal) __asm__ ("" "__getlogin_r_chk")
2432083:
2432083:
2432083: __attribute__ ((__nonnull__ (1))) __attribute__((__warning__ ("getlogin_r called with bigger buflen than " "size of destination buffer")))
2432083: ;
2432083:
2432083: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) int
2432083: getlogin_r (char *__buf, size_t __buflen)
2432083: {
2432083: return (((__builtin_constant_p (__builtin_object_size (__buf, 2 > 1)) && (__builtin_object_size (__buf, 2 > 1)) == (unsigned int) -1) || (((__typeof (__buflen)) 0 < (__typeof (__buflen)) -1 || (__builtin_constant_p (__buflen) && (__buflen) > 0)) && __builtin_constant_p ((((unsigned int) (__buflen)) <= ((__builtin_object_size (__buf, 2 > 1))) / ((sizeof (char))))) && (((unsigned int) (__buflen)) <= ((__builtin_object_size (__buf, 2 > 1))) / ((sizeof (char)))))) ? __getlogin_r_alias (__buf, __buflen) : ((((__typeof (__buflen)) 0 < (__typeof (__buflen)) -1 || (__builtin_constant_p (__buflen) && (__buflen) > 0)) && __builtin_constant_p ((((unsigned int) (__buflen)) <= (__builtin_object_size (__buf, 2 > 1)) / (sizeof (char)))) && !(((unsigned int) (__buflen)) <= (__builtin_object_size (__buf, 2 > 1)) / (sizeof (char)))) ? __getlogin_r_chk_warn (__buf, __buflen, __builtin_object_size (__buf, 2 > 1)) : __getlogin_r_chk (__buf, __buflen, __builtin_object_size (__buf, 2 > 1))))
2432083:
2432083: ;
2432083: }
2432083:
2432083:
2432083:
2432083:
2432083: extern int __gethostname_chk (char *__buf, size_t __buflen, size_t __nreal)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__access__ (__write_only__, 1, 2)));
2432083: extern int __gethostname_alias (char *__buf, size_t __buflen) __asm__ ("" "gethostname") __attribute__ ((__nothrow__ , __leaf__))
2432083:
2432083: __attribute__ ((__nonnull__ (1))) __attribute__ ((__access__ (__write_only__, 1, 2)));
2432083: extern int __gethostname_chk_warn (char *__buf, size_t __buflen, size_t __nreal) __asm__ ("" "__gethostname_chk") __attribute__ ((__nothrow__ , __leaf__))
2432083:
2432083:
2432083: __attribute__ ((__nonnull__ (1))) __attribute__((__warning__ ("gethostname called with bigger buflen than " "size of destination buffer")))
2432083: ;
2432083:
2432083: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) int
2432083: __attribute__ ((__nothrow__ , __leaf__)) gethostname (char *__buf, size_t __buflen)
2432083: {
2432083: return (((__builtin_constant_p (__builtin_object_size (__buf, 2 > 1)) && (__builtin_object_size (__buf, 2 > 1)) == (unsigned int) -1) || (((__typeof (__buflen)) 0 < (__typeof (__buflen)) -1 || (__builtin_constant_p (__buflen) && (__buflen) > 0)) && __builtin_constant_p ((((unsigned int) (__buflen)) <= ((__builtin_object_size (__buf, 2 > 1))) / ((sizeof (char))))) && (((unsigned int) (__buflen)) <= ((__builtin_object_size (__buf, 2 > 1))) / ((sizeof (char)))))) ? __gethostname_alias (__buf, __buflen) : ((((__typeof (__buflen)) 0 < (__typeof (__buflen)) -1 || (__builtin_constant_p (__buflen) && (__buflen) > 0)) && __builtin_constant_p ((((unsigned int) (__buflen)) <= (__builtin_object_size (__buf, 2 > 1)) / (sizeof (char)))) && !(((unsigned int) (__buflen)) <= (__builtin_object_size (__buf, 2 > 1)) / (sizeof (char)))) ? __gethostname_chk_warn (__buf, __buflen, __builtin_object_size (__buf, 2 > 1)) : __gethostname_chk (__buf, __buflen, __builtin_object_size (__buf, 2 > 1))))
2432083:
2432083: ;
2432083: }
2432083:
2432083:
2432083:
2432083:
2432083: extern int __getdomainname_chk (char *__buf, size_t __buflen, size_t __nreal)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)) __attribute__ ((__access__ (__write_only__, 1, 2)));
2432083: extern int __getdomainname_alias (char *__buf, size_t __buflen) __asm__ ("" "getdomainname") __attribute__ ((__nothrow__ , __leaf__))
2432083:
2432083: __attribute__ ((__nonnull__ (1)))
2432083: __attribute__ ((__warn_unused_result__)) __attribute__ ((__access__ (__write_only__, 1, 2)));
2432083: extern int __getdomainname_chk_warn (char *__buf, size_t __buflen, size_t __nreal) __asm__ ("" "__getdomainname_chk") __attribute__ ((__nothrow__ , __leaf__))
2432083:
2432083:
2432083: __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("getdomainname called with bigger " "buflen than size of destination " "buffer")))
2432083:
2432083: ;
2432083:
2432083: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) int
2432083: __attribute__ ((__nothrow__ , __leaf__)) getdomainname (char *__buf, size_t __buflen)
2432083: {
2432083: return (((__builtin_constant_p (__builtin_object_size (__buf, 2 > 1)) && (__builtin_object_size (__buf, 2 > 1)) == (unsigned int) -1) || (((__typeof (__buflen)) 0 < (__typeof (__buflen)) -1 || (__builtin_constant_p (__buflen) && (__buflen) > 0)) && __builtin_constant_p ((((unsigned int) (__buflen)) <= ((__builtin_object_size (__buf, 2 > 1))) / ((sizeof (char))))) && (((unsigned int) (__buflen)) <= ((__builtin_object_size (__buf, 2 > 1))) / ((sizeof (char)))))) ? __getdomainname_alias (__buf, __buflen) : ((((__typeof (__buflen)) 0 < (__typeof (__buflen)) -1 || (__builtin_constant_p (__buflen) && (__buflen) > 0)) && __builtin_constant_p ((((unsigned int) (__buflen)) <= (__builtin_object_size (__buf, 2 > 1)) / (sizeof (char)))) && !(((unsigned int) (__buflen)) <= (__builtin_object_size (__buf, 2 > 1)) / (sizeof (char)))) ? __getdomainname_chk_warn (__buf, __buflen, __builtin_object_size (__buf, 2 > 1)) : __getdomainname_chk (__buf, __buflen, __builtin_object_size (__buf, 2 > 1))))
2432083:
2432083: ;
2432083: }
2432083: # 1215 "/usr/include/unistd.h" 2 3 4
2432083:
2432083:
2432083:
2432083: # 1 "/usr/include/m68k-linux-gnu/bits/unistd_ext.h" 1 3 4
2432083: # 34 "/usr/include/m68k-linux-gnu/bits/unistd_ext.h" 3 4
2432083: extern __pid_t gettid (void) __attribute__ ((__nothrow__ , __leaf__));
2432083:
2432083:
2432083:
2432083: # 1 "/usr/include/linux/close_range.h" 1 3 4
2432083: # 39 "/usr/include/m68k-linux-gnu/bits/unistd_ext.h" 2 3 4
2432083: # 1219 "/usr/include/unistd.h" 2 3 4
2432083:
2432083:
2432083: # 25 "/usr/include/m68k-linux-gnu/bits/sigstksz.h" 2 3 4
2432083: # 329 "/usr/include/signal.h" 2 3 4
2432083: # 1 "/usr/include/m68k-linux-gnu/bits/ss_flags.h" 1 3 4
2432083: # 27 "/usr/include/m68k-linux-gnu/bits/ss_flags.h" 3 4
2432083: enum
2432083: {
2432083: SS_ONSTACK = 1,
2432083:
2432083: SS_DISABLE
2432083:
2432083: };
2432083: # 330 "/usr/include/signal.h" 2 3 4
2432083:
2432083:
2432083:
2432083: extern int sigaltstack (const stack_t *__restrict __ss,
2432083: stack_t *__restrict __oss) __attribute__ ((__nothrow__ , __leaf__));
2432083:
2432083:
2432083:
2432083:
2432083: # 1 "/usr/include/m68k-linux-gnu/bits/types/struct_sigstack.h" 1 3 4
2432083: # 23 "/usr/include/m68k-linux-gnu/bits/types/struct_sigstack.h" 3 4
2432083: struct sigstack
2432083: {
2432083: void *ss_sp;
2432083: int ss_onstack;
2432083: };
2432083: # 340 "/usr/include/signal.h" 2 3 4
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern int sigstack (struct sigstack *__ss, struct sigstack *__oss)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__deprecated__));
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern int sighold (int __sig) __attribute__ ((__nothrow__ , __leaf__))
2432083: __attribute__ ((__deprecated__ ("Use the sigprocmask function instead")));
2432083:
2432083:
2432083: extern int sigrelse (int __sig) __attribute__ ((__nothrow__ , __leaf__))
2432083: __attribute__ ((__deprecated__ ("Use the sigprocmask function instead")));
2432083:
2432083:
2432083: extern int sigignore (int __sig) __attribute__ ((__nothrow__ , __leaf__))
2432083: __attribute__ ((__deprecated__ ("Use the signal function instead")));
2432083:
2432083:
2432083: extern __sighandler_t sigset (int __sig, __sighandler_t __disp) __attribute__ ((__nothrow__ , __leaf__))
2432083: __attribute__ ((__deprecated__ ("Use the signal and sigprocmask functions instead")))
2432083: ;
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: # 1 "/usr/include/m68k-linux-gnu/bits/sigthread.h" 1 3 4
2432083: # 31 "/usr/include/m68k-linux-gnu/bits/sigthread.h" 3 4
2432083: extern int pthread_sigmask (int __how,
2432083: const __sigset_t *__restrict __newmask,
2432083: __sigset_t *__restrict __oldmask)__attribute__ ((__nothrow__ , __leaf__));
2432083:
2432083:
2432083: extern int pthread_kill (pthread_t __threadid, int __signo) __attribute__ ((__nothrow__ , __leaf__));
2432083:
2432083:
2432083:
2432083: extern int pthread_sigqueue (pthread_t __threadid, int __signo,
2432083: const union sigval __value) __attribute__ ((__nothrow__ , __leaf__));
2432083: # 377 "/usr/include/signal.h" 2 3 4
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern int __libc_current_sigrtmin (void) __attribute__ ((__nothrow__ , __leaf__));
2432083:
2432083: extern int __libc_current_sigrtmax (void) __attribute__ ((__nothrow__ , __leaf__));
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: # 1 "/usr/include/m68k-linux-gnu/bits/signal_ext.h" 1 3 4
2432083: # 29 "/usr/include/m68k-linux-gnu/bits/signal_ext.h" 3 4
2432083: extern int tgkill (__pid_t __tgid, __pid_t __tid, int __signal);
2432083: # 392 "/usr/include/signal.h" 2 3 4
2432083:
2432083:
2432083: # 29 "/usr/include/m68k-linux-gnu/sys/param.h" 2 3 4
2432083:
2432083:
2432083: # 1 "/usr/include/m68k-linux-gnu/bits/param.h" 1 3 4
2432083: # 28 "/usr/include/m68k-linux-gnu/bits/param.h" 3 4
2432083: # 1 "/usr/include/linux/param.h" 1 3 4
2432083:
2432083:
2432083:
2432083:
2432083: # 1 "/usr/lib/linux/uapi/m68k/asm/param.h" 1 3 4
2432083: # 11 "/usr/lib/linux/uapi/m68k/asm/param.h" 3 4
2432083: # 1 "/usr/include/asm-generic/param.h" 1 3 4
2432083: # 12 "/usr/lib/linux/uapi/m68k/asm/param.h" 2 3 4
2432083: # 6 "/usr/include/linux/param.h" 2 3 4
2432083: # 29 "/usr/include/m68k-linux-gnu/bits/param.h" 2 3 4
2432083: # 32 "/usr/include/m68k-linux-gnu/sys/param.h" 2 3 4
2432083: # 52 "/usr/include/arpa/nameser.h" 2 3 4
2432083: # 83 "/usr/include/arpa/nameser.h" 3 4
2432083: typedef enum __ns_sect {
2432083: ns_s_qd = 0,
2432083: ns_s_zn = 0,
2432083: ns_s_an = 1,
2432083: ns_s_pr = 1,
2432083: ns_s_ns = 2,
2432083: ns_s_ud = 2,
2432083: ns_s_ar = 3,
2432083: ns_s_max = 4
2432083: } ns_sect;
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: typedef struct __ns_msg {
2432083: const unsigned char *_msg, *_eom;
2432083: uint16_t _id, _flags, _counts[ns_s_max];
2432083: const unsigned char *_sections[ns_s_max];
2432083: ns_sect _sect;
2432083: int _rrnum;
2432083: const unsigned char *_msg_ptr;
2432083: } ns_msg;
2432083:
2432083:
2432083: struct _ns_flagdata { int mask, shift; };
2432083: extern const struct _ns_flagdata _ns_flagdata[];
2432083: # 123 "/usr/include/arpa/nameser.h" 3 4
2432083: typedef struct __ns_rr {
2432083: char name[1025];
2432083: uint16_t type;
2432083: uint16_t rr_class;
2432083: uint32_t ttl;
2432083: uint16_t rdlength;
2432083: const unsigned char * rdata;
2432083: } ns_rr;
2432083: # 145 "/usr/include/arpa/nameser.h" 3 4
2432083: typedef enum __ns_flag {
2432083: ns_f_qr,
2432083: ns_f_opcode,
2432083: ns_f_aa,
2432083: ns_f_tc,
2432083: ns_f_rd,
2432083: ns_f_ra,
2432083: ns_f_z,
2432083: ns_f_ad,
2432083: ns_f_cd,
2432083: ns_f_rcode,
2432083: ns_f_max
2432083: } ns_flag;
2432083:
2432083:
2432083:
2432083:
2432083: typedef enum __ns_opcode {
2432083: ns_o_query = 0,
2432083: ns_o_iquery = 1,
2432083: ns_o_status = 2,
2432083:
2432083: ns_o_notify = 4,
2432083: ns_o_update = 5,
2432083: ns_o_max = 6
2432083: } ns_opcode;
2432083:
2432083:
2432083:
2432083:
2432083: typedef enum __ns_rcode {
2432083: ns_r_noerror = 0,
2432083: ns_r_formerr = 1,
2432083: ns_r_servfail = 2,
2432083: ns_r_nxdomain = 3,
2432083: ns_r_notimpl = 4,
2432083: ns_r_refused = 5,
2432083:
2432083: ns_r_yxdomain = 6,
2432083: ns_r_yxrrset = 7,
2432083: ns_r_nxrrset = 8,
2432083: ns_r_notauth = 9,
2432083: ns_r_notzone = 10,
2432083: ns_r_max = 11,
2432083:
2432083: ns_r_badvers = 16,
2432083:
2432083: ns_r_badsig = 16,
2432083: ns_r_badkey = 17,
2432083: ns_r_badtime = 18
2432083: } ns_rcode;
2432083:
2432083:
2432083: typedef enum __ns_update_operation {
2432083: ns_uop_delete = 0,
2432083: ns_uop_add = 1,
2432083: ns_uop_max = 2
2432083: } ns_update_operation;
2432083:
2432083:
2432083:
2432083:
2432083: struct ns_tsig_key {
2432083: char name[1025], alg[1025];
2432083: unsigned char *data;
2432083: int len;
2432083: };
2432083: typedef struct ns_tsig_key ns_tsig_key;
2432083:
2432083:
2432083:
2432083:
2432083: struct ns_tcp_tsig_state {
2432083: int counter;
2432083: struct dst_key *key;
2432083: void *ctx;
2432083: unsigned char sig[512];
2432083: int siglen;
2432083: };
2432083: typedef struct ns_tcp_tsig_state ns_tcp_tsig_state;
2432083: # 237 "/usr/include/arpa/nameser.h" 3 4
2432083: typedef enum __ns_type
2432083: {
2432083: ns_t_invalid = 0,
2432083:
2432083: ns_t_a = 1,
2432083: ns_t_ns = 2,
2432083: ns_t_md = 3,
2432083: ns_t_mf = 4,
2432083: ns_t_cname = 5,
2432083: ns_t_soa = 6,
2432083: ns_t_mb = 7,
2432083: ns_t_mg = 8,
2432083: ns_t_mr = 9,
2432083: ns_t_null = 10,
2432083: ns_t_wks = 11,
2432083: ns_t_ptr = 12,
2432083: ns_t_hinfo = 13,
2432083: ns_t_minfo = 14,
2432083: ns_t_mx = 15,
2432083: ns_t_txt = 16,
2432083: ns_t_rp = 17,
2432083: ns_t_afsdb = 18,
2432083: ns_t_x25 = 19,
2432083: ns_t_isdn = 20,
2432083: ns_t_rt = 21,
2432083: ns_t_nsap = 22,
2432083: ns_t_nsap_ptr = 23,
2432083: ns_t_sig = 24,
2432083: ns_t_key = 25,
2432083: ns_t_px = 26,
2432083: ns_t_gpos = 27,
2432083: ns_t_aaaa = 28,
2432083: ns_t_loc = 29,
2432083: ns_t_nxt = 30,
2432083: ns_t_eid = 31,
2432083: ns_t_nimloc = 32,
2432083: ns_t_srv = 33,
2432083: ns_t_atma = 34,
2432083: ns_t_naptr = 35,
2432083: ns_t_kx = 36,
2432083: ns_t_cert = 37,
2432083: ns_t_a6 = 38,
2432083: ns_t_dname = 39,
2432083: ns_t_sink = 40,
2432083: ns_t_opt = 41,
2432083: ns_t_apl = 42,
2432083: ns_t_ds = 43,
2432083: ns_t_sshfp = 44,
2432083: ns_t_ipseckey = 45,
2432083: ns_t_rrsig = 46,
2432083: ns_t_nsec = 47,
2432083: ns_t_dnskey = 48,
2432083: ns_t_dhcid = 49,
2432083: ns_t_nsec3 = 50,
2432083: ns_t_nsec3param = 51,
2432083: ns_t_tlsa = 52,
2432083: ns_t_smimea = 53,
2432083: ns_t_hip = 55,
2432083: ns_t_ninfo = 56,
2432083: ns_t_rkey = 57,
2432083: ns_t_talink = 58,
2432083: ns_t_cds = 59,
2432083: ns_t_cdnskey = 60,
2432083: ns_t_openpgpkey = 61,
2432083: ns_t_csync = 62,
2432083: ns_t_spf = 99,
2432083: ns_t_uinfo = 100,
2432083: ns_t_uid = 101,
2432083: ns_t_gid = 102,
2432083: ns_t_unspec = 103,
2432083: ns_t_nid = 104,
2432083: ns_t_l32 = 105,
2432083: ns_t_l64 = 106,
2432083: ns_t_lp = 107,
2432083: ns_t_eui48 = 108,
2432083: ns_t_eui64 = 109,
2432083: ns_t_tkey = 249,
2432083: ns_t_tsig = 250,
2432083: ns_t_ixfr = 251,
2432083: ns_t_axfr = 252,
2432083: ns_t_mailb = 253,
2432083: ns_t_maila = 254,
2432083: ns_t_any = 255,
2432083: ns_t_uri = 256,
2432083: ns_t_caa = 257,
2432083: ns_t_avc = 258,
2432083: ns_t_ta = 32768,
2432083: ns_t_dlv = 32769,
2432083:
2432083: ns_t_max = 65536
2432083: } ns_type;
2432083:
2432083:
2432083:
2432083:
2432083: typedef enum __ns_class {
2432083: ns_c_invalid = 0,
2432083: ns_c_in = 1,
2432083: ns_c_2 = 2,
2432083: ns_c_chaos = 3,
2432083: ns_c_hs = 4,
2432083:
2432083: ns_c_none = 254,
2432083: ns_c_any = 255,
2432083: ns_c_max = 65536
2432083: } ns_class;
2432083:
2432083:
2432083: typedef enum __ns_cert_types {
2432083: cert_t_pkix = 1,
2432083: cert_t_spki = 2,
2432083: cert_t_pgp = 3,
2432083: cert_t_url = 253,
2432083: cert_t_oid = 254
2432083: } ns_cert_types;
2432083: # 398 "/usr/include/arpa/nameser.h" 3 4
2432083:
2432083: int ns_msg_getflag (ns_msg, int) __attribute__ ((__nothrow__ , __leaf__));
2432083: unsigned int ns_get16 (const unsigned char *) __attribute__ ((__nothrow__ , __leaf__));
2432083: unsigned long ns_get32 (const unsigned char *) __attribute__ ((__nothrow__ , __leaf__));
2432083: void ns_put16 (unsigned int, unsigned char *) __attribute__ ((__nothrow__ , __leaf__));
2432083: void ns_put32 (unsigned long, unsigned char *) __attribute__ ((__nothrow__ , __leaf__));
2432083: int ns_initparse (const unsigned char *, int, ns_msg *) __attribute__ ((__nothrow__ , __leaf__));
2432083: int ns_skiprr (const unsigned char *, const unsigned char *,
2432083: ns_sect, int) __attribute__ ((__nothrow__ , __leaf__));
2432083: int ns_parserr (ns_msg *, ns_sect, int, ns_rr *) __attribute__ ((__nothrow__ , __leaf__));
2432083: int ns_sprintrr (const ns_msg *, const ns_rr *,
2432083: const char *, const char *, char *, size_t)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__deprecated__));
2432083: int ns_sprintrrf (const unsigned char *, size_t, const char *,
2432083: ns_class, ns_type, unsigned long,
2432083: const unsigned char *, size_t, const char *,
2432083: const char *, char *, size_t)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__deprecated__));
2432083: int ns_format_ttl (unsigned long, char *, size_t)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__deprecated__));
2432083: int ns_parse_ttl (const char *, unsigned long *)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__deprecated__));
2432083: uint32_t ns_datetosecs (const char *, int *)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__deprecated__));
2432083: int ns_name_ntol (const unsigned char *, unsigned char *, size_t)
2432083: __attribute__ ((__nothrow__ , __leaf__));
2432083: int ns_name_ntop (const unsigned char *, char *, size_t) __attribute__ ((__nothrow__ , __leaf__));
2432083: int ns_name_pton (const char *, unsigned char *, size_t) __attribute__ ((__nothrow__ , __leaf__));
2432083: int ns_name_unpack (const unsigned char *, const unsigned char *,
2432083: const unsigned char *, unsigned char *, size_t)
2432083: __attribute__ ((__nothrow__ , __leaf__));
2432083: int ns_name_pack (const unsigned char *, unsigned char *, int,
2432083: const unsigned char **, const unsigned char **)
2432083: __attribute__ ((__nothrow__ , __leaf__));
2432083: int ns_name_uncompress (const unsigned char *,
2432083: const unsigned char *,
2432083: const unsigned char *,
2432083: char *, size_t) __attribute__ ((__nothrow__ , __leaf__));
2432083: int ns_name_compress (const char *, unsigned char *, size_t,
2432083: const unsigned char **,
2432083: const unsigned char **) __attribute__ ((__nothrow__ , __leaf__));
2432083: int ns_name_skip (const unsigned char **, const unsigned char *)
2432083: __attribute__ ((__nothrow__ , __leaf__));
2432083: void ns_name_rollback (const unsigned char *,
2432083: const unsigned char **,
2432083: const unsigned char **) __attribute__ ((__nothrow__ , __leaf__));
2432083:
2432083: int ns_samedomain (const char *, const char *) __attribute__ ((__nothrow__ , __leaf__))
2432083: __attribute__ ((__deprecated__));
2432083: int ns_subdomain (const char *, const char *) __attribute__ ((__nothrow__ , __leaf__))
2432083: __attribute__ ((__deprecated__));
2432083: int ns_makecanon (const char *, char *, size_t) __attribute__ ((__nothrow__ , __leaf__))
2432083: __attribute__ ((__deprecated__));
2432083: int ns_samename (const char *, const char *) __attribute__ ((__nothrow__ , __leaf__))
2432083: __attribute__ ((__deprecated__));
2432083:
2432083:
2432083: # 1 "/usr/include/arpa/nameser_compat.h" 1 3 4
2432083: # 41 "/usr/include/arpa/nameser_compat.h" 3 4
2432083: typedef struct {
2432083: unsigned id :16;
2432083:
2432083:
2432083: unsigned qr: 1;
2432083: unsigned opcode: 4;
2432083: unsigned aa: 1;
2432083: unsigned tc: 1;
2432083: unsigned rd: 1;
2432083:
2432083: unsigned ra: 1;
2432083: unsigned unused :1;
2432083: unsigned ad: 1;
2432083: unsigned cd: 1;
2432083: unsigned rcode :4;
2432083: # 72 "/usr/include/arpa/nameser_compat.h" 3 4
2432083: unsigned qdcount :16;
2432083: unsigned ancount :16;
2432083: unsigned nscount :16;
2432083: unsigned arcount :16;
2432083: } HEADER;
2432083: # 456 "/usr/include/arpa/nameser.h" 2 3 4
2432083: # 58 "../../openbsd-compat/getrrsetbyname.h" 2
2432083: # 1 "/usr/include/netdb.h" 1 3 4
2432083: # 32 "/usr/include/netdb.h" 3 4
2432083: # 1 "/usr/include/rpc/netdb.h" 1 3 4
2432083: # 42 "/usr/include/rpc/netdb.h" 3 4
2432083: # 1 "/usr/lib/gcc/m68k-linux-gnu/13/include/stddef.h" 1 3 4
2432083: # 43 "/usr/include/rpc/netdb.h" 2 3 4
2432083:
2432083:
2432083:
2432083: struct rpcent
2432083: {
2432083: char *r_name;
2432083: char **r_aliases;
2432083: int r_number;
2432083: };
2432083:
2432083: extern void setrpcent (int __stayopen) __attribute__ ((__nothrow__ , __leaf__));
2432083: extern void endrpcent (void) __attribute__ ((__nothrow__ , __leaf__));
2432083: extern struct rpcent *getrpcbyname (const char *__name) __attribute__ ((__nothrow__ , __leaf__));
2432083: extern struct rpcent *getrpcbynumber (int __number) __attribute__ ((__nothrow__ , __leaf__));
2432083: extern struct rpcent *getrpcent (void) __attribute__ ((__nothrow__ , __leaf__));
2432083:
2432083:
2432083: extern int getrpcbyname_r (const char *__name, struct rpcent *__result_buf,
2432083: char *__buffer, size_t __buflen,
2432083: struct rpcent **__result) __attribute__ ((__nothrow__ , __leaf__));
2432083:
2432083: extern int getrpcbynumber_r (int __number, struct rpcent *__result_buf,
2432083: char *__buffer, size_t __buflen,
2432083: struct rpcent **__result) __attribute__ ((__nothrow__ , __leaf__));
2432083:
2432083: extern int getrpcent_r (struct rpcent *__result_buf, char *__buffer,
2432083: size_t __buflen, struct rpcent **__result) __attribute__ ((__nothrow__ , __leaf__));
2432083:
2432083:
2432083:
2432083: # 33 "/usr/include/netdb.h" 2 3 4
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: # 1 "/usr/include/m68k-linux-gnu/bits/netdb.h" 1 3 4
2432083: # 26 "/usr/include/m68k-linux-gnu/bits/netdb.h" 3 4
2432083: struct netent
2432083: {
2432083: char *n_name;
2432083: char **n_aliases;
2432083: int n_addrtype;
2432083: uint32_t n_net;
2432083: };
2432083: # 41 "/usr/include/netdb.h" 2 3 4
2432083: # 51 "/usr/include/netdb.h" 3 4
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern int *__h_errno_location (void) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__));
2432083: # 90 "/usr/include/netdb.h" 3 4
2432083: extern void herror (const char *__str) __attribute__ ((__nothrow__ , __leaf__));
2432083:
2432083:
2432083: extern const char *hstrerror (int __err_num) __attribute__ ((__nothrow__ , __leaf__));
2432083:
2432083:
2432083:
2432083:
2432083: struct hostent
2432083: {
2432083: char *h_name;
2432083: char **h_aliases;
2432083: int h_addrtype;
2432083: int h_length;
2432083: char **h_addr_list;
2432083:
2432083:
2432083:
2432083: };
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern void sethostent (int __stay_open);
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern void endhostent (void);
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern struct hostent *gethostent (void);
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern struct hostent *gethostbyaddr (const void *__addr, __socklen_t __len,
2432083: int __type);
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern struct hostent *gethostbyname (const char *__name);
2432083: # 153 "/usr/include/netdb.h" 3 4
2432083: extern struct hostent *gethostbyname2 (const char *__name, int __af);
2432083: # 165 "/usr/include/netdb.h" 3 4
2432083: extern int gethostent_r (struct hostent *__restrict __result_buf,
2432083: char *__restrict __buf, size_t __buflen,
2432083: struct hostent **__restrict __result,
2432083: int *__restrict __h_errnop);
2432083:
2432083: extern int gethostbyaddr_r (const void *__restrict __addr, __socklen_t __len,
2432083: int __type,
2432083: struct hostent *__restrict __result_buf,
2432083: char *__restrict __buf, size_t __buflen,
2432083: struct hostent **__restrict __result,
2432083: int *__restrict __h_errnop);
2432083:
2432083: extern int gethostbyname_r (const char *__restrict __name,
2432083: struct hostent *__restrict __result_buf,
2432083: char *__restrict __buf, size_t __buflen,
2432083: struct hostent **__restrict __result,
2432083: int *__restrict __h_errnop);
2432083:
2432083: extern int gethostbyname2_r (const char *__restrict __name, int __af,
2432083: struct hostent *__restrict __result_buf,
2432083: char *__restrict __buf, size_t __buflen,
2432083: struct hostent **__restrict __result,
2432083: int *__restrict __h_errnop);
2432083: # 196 "/usr/include/netdb.h" 3 4
2432083: extern void setnetent (int __stay_open);
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern void endnetent (void);
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern struct netent *getnetent (void);
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern struct netent *getnetbyaddr (uint32_t __net, int __type);
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern struct netent *getnetbyname (const char *__name);
2432083: # 235 "/usr/include/netdb.h" 3 4
2432083: extern int getnetent_r (struct netent *__restrict __result_buf,
2432083: char *__restrict __buf, size_t __buflen,
2432083: struct netent **__restrict __result,
2432083: int *__restrict __h_errnop);
2432083:
2432083: extern int getnetbyaddr_r (uint32_t __net, int __type,
2432083: struct netent *__restrict __result_buf,
2432083: char *__restrict __buf, size_t __buflen,
2432083: struct netent **__restrict __result,
2432083: int *__restrict __h_errnop);
2432083:
2432083: extern int getnetbyname_r (const char *__restrict __name,
2432083: struct netent *__restrict __result_buf,
2432083: char *__restrict __buf, size_t __buflen,
2432083: struct netent **__restrict __result,
2432083: int *__restrict __h_errnop);
2432083:
2432083:
2432083:
2432083:
2432083: struct servent
2432083: {
2432083: char *s_name;
2432083: char **s_aliases;
2432083: int s_port;
2432083: char *s_proto;
2432083: };
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern void setservent (int __stay_open);
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern void endservent (void);
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern struct servent *getservent (void);
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern struct servent *getservbyname (const char *__name, const char *__proto);
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern struct servent *getservbyport (int __port, const char *__proto);
2432083: # 306 "/usr/include/netdb.h" 3 4
2432083: extern int getservent_r (struct servent *__restrict __result_buf,
2432083: char *__restrict __buf, size_t __buflen,
2432083: struct servent **__restrict __result);
2432083:
2432083: extern int getservbyname_r (const char *__restrict __name,
2432083: const char *__restrict __proto,
2432083: struct servent *__restrict __result_buf,
2432083: char *__restrict __buf, size_t __buflen,
2432083: struct servent **__restrict __result);
2432083:
2432083: extern int getservbyport_r (int __port, const char *__restrict __proto,
2432083: struct servent *__restrict __result_buf,
2432083: char *__restrict __buf, size_t __buflen,
2432083: struct servent **__restrict __result);
2432083:
2432083:
2432083:
2432083:
2432083: struct protoent
2432083: {
2432083: char *p_name;
2432083: char **p_aliases;
2432083: int p_proto;
2432083: };
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern void setprotoent (int __stay_open);
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern void endprotoent (void);
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern struct protoent *getprotoent (void);
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern struct protoent *getprotobyname (const char *__name);
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern struct protoent *getprotobynumber (int __proto);
2432083: # 372 "/usr/include/netdb.h" 3 4
2432083: extern int getprotoent_r (struct protoent *__restrict __result_buf,
2432083: char *__restrict __buf, size_t __buflen,
2432083: struct protoent **__restrict __result);
2432083:
2432083: extern int getprotobyname_r (const char *__restrict __name,
2432083: struct protoent *__restrict __result_buf,
2432083: char *__restrict __buf, size_t __buflen,
2432083: struct protoent **__restrict __result);
2432083:
2432083: extern int getprotobynumber_r (int __proto,
2432083: struct protoent *__restrict __result_buf,
2432083: char *__restrict __buf, size_t __buflen,
2432083: struct protoent **__restrict __result);
2432083: # 393 "/usr/include/netdb.h" 3 4
2432083: extern int setnetgrent (const char *__netgroup);
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern void endnetgrent (void);
2432083: # 410 "/usr/include/netdb.h" 3 4
2432083: extern int getnetgrent (char **__restrict __hostp,
2432083: char **__restrict __userp,
2432083: char **__restrict __domainp);
2432083: # 421 "/usr/include/netdb.h" 3 4
2432083: extern int innetgr (const char *__netgroup, const char *__host,
2432083: const char *__user, const char *__domain);
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern int getnetgrent_r (char **__restrict __hostp,
2432083: char **__restrict __userp,
2432083: char **__restrict __domainp,
2432083: char *__restrict __buffer, size_t __buflen);
2432083: # 449 "/usr/include/netdb.h" 3 4
2432083: extern int rcmd (char **__restrict __ahost, unsigned short int __rport,
2432083: const char *__restrict __locuser,
2432083: const char *__restrict __remuser,
2432083: const char *__restrict __cmd, int *__restrict __fd2p);
2432083: # 461 "/usr/include/netdb.h" 3 4
2432083: extern int rcmd_af (char **__restrict __ahost, unsigned short int __rport,
2432083: const char *__restrict __locuser,
2432083: const char *__restrict __remuser,
2432083: const char *__restrict __cmd, int *__restrict __fd2p,
2432083: sa_family_t __af);
2432083: # 477 "/usr/include/netdb.h" 3 4
2432083: extern int rexec (char **__restrict __ahost, int __rport,
2432083: const char *__restrict __name,
2432083: const char *__restrict __pass,
2432083: const char *__restrict __cmd, int *__restrict __fd2p);
2432083: # 489 "/usr/include/netdb.h" 3 4
2432083: extern int rexec_af (char **__restrict __ahost, int __rport,
2432083: const char *__restrict __name,
2432083: const char *__restrict __pass,
2432083: const char *__restrict __cmd, int *__restrict __fd2p,
2432083: sa_family_t __af);
2432083: # 503 "/usr/include/netdb.h" 3 4
2432083: extern int ruserok (const char *__rhost, int __suser,
2432083: const char *__remuser, const char *__locuser);
2432083: # 513 "/usr/include/netdb.h" 3 4
2432083: extern int ruserok_af (const char *__rhost, int __suser,
2432083: const char *__remuser, const char *__locuser,
2432083: sa_family_t __af);
2432083: # 526 "/usr/include/netdb.h" 3 4
2432083: extern int iruserok (uint32_t __raddr, int __suser,
2432083: const char *__remuser, const char *__locuser);
2432083: # 537 "/usr/include/netdb.h" 3 4
2432083: extern int iruserok_af (const void *__raddr, int __suser,
2432083: const char *__remuser, const char *__locuser,
2432083: sa_family_t __af);
2432083: # 549 "/usr/include/netdb.h" 3 4
2432083: extern int rresvport (int *__alport);
2432083: # 558 "/usr/include/netdb.h" 3 4
2432083: extern int rresvport_af (int *__alport, sa_family_t __af);
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: struct addrinfo
2432083: {
2432083: int ai_flags;
2432083: int ai_family;
2432083: int ai_socktype;
2432083: int ai_protocol;
2432083: socklen_t ai_addrlen;
2432083: struct sockaddr *ai_addr;
2432083: char *ai_canonname;
2432083: struct addrinfo *ai_next;
2432083: };
2432083:
2432083:
2432083:
2432083: struct gaicb
2432083: {
2432083: const char *ar_name;
2432083: const char *ar_service;
2432083: const struct addrinfo *ar_request;
2432083: struct addrinfo *ar_result;
2432083:
2432083: int __return;
2432083: int __glibc_reserved[5];
2432083: };
2432083: # 660 "/usr/include/netdb.h" 3 4
2432083: extern int getaddrinfo (const char *__restrict __name,
2432083: const char *__restrict __service,
2432083: const struct addrinfo *__restrict __req,
2432083: struct addrinfo **__restrict __pai);
2432083:
2432083:
2432083: extern void freeaddrinfo (struct addrinfo *__ai) __attribute__ ((__nothrow__ , __leaf__));
2432083:
2432083:
2432083: extern const char *gai_strerror (int __ecode) __attribute__ ((__nothrow__ , __leaf__));
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern int getnameinfo (const struct sockaddr *__restrict __sa,
2432083: socklen_t __salen, char *__restrict __host,
2432083: socklen_t __hostlen, char *__restrict __serv,
2432083: socklen_t __servlen, int __flags);
2432083: # 690 "/usr/include/netdb.h" 3 4
2432083: extern int getaddrinfo_a (int __mode, struct gaicb *__list[__restrict],
2432083: int __ent, struct sigevent *__restrict __sig);
2432083: # 701 "/usr/include/netdb.h" 3 4
2432083: extern int gai_suspend (const struct gaicb *const __list[], int __ent,
2432083: const struct timespec *__timeout);
2432083:
2432083:
2432083:
2432083: extern int gai_suspend (const struct gaicb *const __list[], int __ent, const struct timespec *__timeout) __asm__ ("" "__gai_suspend_time64")
2432083:
2432083:
2432083: ;
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern int gai_error (struct gaicb *__req) __attribute__ ((__nothrow__ , __leaf__));
2432083:
2432083:
2432083: extern int gai_cancel (struct gaicb *__gaicbp) __attribute__ ((__nothrow__ , __leaf__));
2432083:
2432083:
2432083:
2432083: # 59 "../../openbsd-compat/getrrsetbyname.h" 2
2432083: # 1 "/usr/include/resolv.h" 1 3 4
2432083: # 61 "/usr/include/resolv.h" 3 4
2432083: # 1 "/usr/include/m68k-linux-gnu/bits/types/res_state.h" 1 3 4
2432083: # 13 "/usr/include/m68k-linux-gnu/bits/types/res_state.h" 3 4
2432083: struct __res_state {
2432083: int retrans;
2432083: int retry;
2432083: unsigned long options;
2432083: int nscount;
2432083: struct sockaddr_in
2432083: nsaddr_list[3];
2432083: unsigned short id;
2432083:
2432083: char *dnsrch[6 +1];
2432083: char defdname[256];
2432083: unsigned long pfcode;
2432083: unsigned ndots:4;
2432083: unsigned nsort:4;
2432083: unsigned ipv6_unavail:1;
2432083: unsigned unused:23;
2432083: struct {
2432083: struct in_addr addr;
2432083: uint32_t mask;
2432083: } sort_list[10];
2432083:
2432083: void * __glibc_unused_qhook;
2432083: void * __glibc_unused_rhook;
2432083: int res_h_errno;
2432083: int _vcsock;
2432083: unsigned int _flags;
2432083:
2432083: union {
2432083: char pad[52];
2432083: struct {
2432083: uint16_t nscount;
2432083: uint16_t nsmap[3];
2432083: int nssocks[3];
2432083: uint16_t nscount6;
2432083: uint16_t nsinit;
2432083: struct sockaddr_in6 *nsaddrs[3];
2432083:
2432083:
2432083:
2432083:
2432083: unsigned int __glibc_reserved[2];
2432083:
2432083: } _ext;
2432083: } _u;
2432083: };
2432083:
2432083: typedef struct __res_state *res_state;
2432083: # 62 "/usr/include/resolv.h" 2 3 4
2432083: # 97 "/usr/include/resolv.h" 3 4
2432083: struct res_sym {
2432083: int number;
2432083: char * name;
2432083: char * humanname;
2432083: };
2432083: # 160 "/usr/include/resolv.h" 3 4
2432083:
2432083: extern struct __res_state *__res_state(void) __attribute__ ((__const__));
2432083:
2432083: # 181 "/usr/include/resolv.h" 3 4
2432083:
2432083: void __fp_nquery (const unsigned char *, int, FILE *) __attribute__ ((__nothrow__ , __leaf__))
2432083: __attribute__ ((__deprecated__));
2432083: void __fp_query (const unsigned char *, FILE *) __attribute__ ((__nothrow__ , __leaf__))
2432083: __attribute__ ((__deprecated__));
2432083: const char * __hostalias (const char *) __attribute__ ((__nothrow__ , __leaf__))
2432083: __attribute__ ((__deprecated__ ("use getaddrinfo instead")));
2432083: void __p_query (const unsigned char *) __attribute__ ((__nothrow__ , __leaf__))
2432083: __attribute__ ((__deprecated__));
2432083: void __res_close (void) __attribute__ ((__nothrow__ , __leaf__));
2432083: int __res_init (void) __attribute__ ((__nothrow__ , __leaf__));
2432083: int __res_isourserver (const struct sockaddr_in *) __attribute__ ((__nothrow__ , __leaf__))
2432083: __attribute__ ((__deprecated__));
2432083: int res_mkquery (int, const char *, int, int,
2432083: const unsigned char *, int, const unsigned char *,
2432083: unsigned char *, int) __attribute__ ((__nothrow__ , __leaf__));
2432083: int res_query (const char *, int, int, unsigned char *, int)
2432083: __attribute__ ((__nothrow__ , __leaf__));
2432083: int res_querydomain (const char *, const char *, int, int,
2432083: unsigned char *, int) __attribute__ ((__nothrow__ , __leaf__));
2432083: int res_search (const char *, int, int, unsigned char *, int)
2432083: __attribute__ ((__nothrow__ , __leaf__));
2432083: int res_send (const unsigned char *, int, unsigned char *, int)
2432083: __attribute__ ((__nothrow__ , __leaf__));
2432083:
2432083: # 233 "/usr/include/resolv.h" 3 4
2432083:
2432083: int res_hnok (const char *) __attribute__ ((__nothrow__ , __leaf__));
2432083: int res_ownok (const char *) __attribute__ ((__nothrow__ , __leaf__));
2432083: int res_mailok (const char *) __attribute__ ((__nothrow__ , __leaf__));
2432083: int res_dnok (const char *) __attribute__ ((__nothrow__ , __leaf__));
2432083: int __sym_ston (const struct res_sym *, const char *, int *) __attribute__ ((__nothrow__ , __leaf__))
2432083: __attribute__ ((__deprecated__));
2432083: const char * __sym_ntos (const struct res_sym *, int, int *) __attribute__ ((__nothrow__ , __leaf__))
2432083: __attribute__ ((__deprecated__));
2432083: const char * __sym_ntop (const struct res_sym *, int, int *) __attribute__ ((__nothrow__ , __leaf__))
2432083: __attribute__ ((__deprecated__));
2432083: int __b64_ntop
2432083: # 244 "/usr/include/resolv.h"
2432083: (
2432083: # 244 "/usr/include/resolv.h" 3 4
2432083: const unsigned char *
2432083: # 244 "/usr/include/resolv.h"
2432083: ,
2432083: # 244 "/usr/include/resolv.h" 3 4
2432083: size_t
2432083: # 244 "/usr/include/resolv.h"
2432083: ,
2432083: # 244 "/usr/include/resolv.h" 3 4
2432083: char *
2432083: # 244 "/usr/include/resolv.h"
2432083: ,
2432083: # 244 "/usr/include/resolv.h" 3 4
2432083: size_t
2432083: # 244 "/usr/include/resolv.h"
2432083: )
2432083:
2432083: # 245 "/usr/include/resolv.h" 3 4
2432083: __attribute__ ((__nothrow__ , __leaf__));
2432083: int __b64_pton
2432083: # 246 "/usr/include/resolv.h"
2432083: (
2432083: # 246 "/usr/include/resolv.h" 3 4
2432083: char const *
2432083: # 246 "/usr/include/resolv.h"
2432083: ,
2432083: # 246 "/usr/include/resolv.h" 3 4
2432083: unsigned char *
2432083: # 246 "/usr/include/resolv.h"
2432083: ,
2432083: # 246 "/usr/include/resolv.h" 3 4
2432083: size_t
2432083: # 246 "/usr/include/resolv.h"
2432083: )
2432083: # 246 "/usr/include/resolv.h" 3 4
2432083: __attribute__ ((__nothrow__ , __leaf__));
2432083: int __loc_aton (const char *__ascii, unsigned char *__binary) __attribute__ ((__nothrow__ , __leaf__))
2432083: __attribute__ ((__deprecated__));
2432083: const char * __loc_ntoa (const unsigned char *__binary, char *__ascii) __attribute__ ((__nothrow__ , __leaf__))
2432083: __attribute__ ((__deprecated__));
2432083: int dn_skipname (const unsigned char *, const unsigned char *)
2432083: __attribute__ ((__nothrow__ , __leaf__));
2432083: void __putlong (uint32_t, unsigned char *) __attribute__ ((__nothrow__ , __leaf__))
2432083: __attribute__ ((__deprecated__ ("use NS_PUT16 instead")));
2432083: void __putshort (uint16_t, unsigned char *) __attribute__ ((__nothrow__ , __leaf__))
2432083: __attribute__ ((__deprecated__ ("use NS_PUT32 instead")));
2432083: const char * __p_class (int) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__deprecated__));
2432083: const char * __p_time (uint32_t) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__deprecated__));
2432083: const char * __p_type (int) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__deprecated__));
2432083: const char * __p_rcode (int) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__deprecated__));
2432083: const unsigned char * __p_cdnname (const unsigned char *, const unsigned char *,
2432083: int, FILE *) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__deprecated__));
2432083: const unsigned char * __p_cdname (const unsigned char *, const unsigned char *,
2432083: FILE *) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__deprecated__));
2432083: const unsigned char * __p_fqnname (const unsigned char *__cp,
2432083: const unsigned char *__msg,
2432083: int, char *, int) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__deprecated__));
2432083: const unsigned char * __p_fqname (const unsigned char *, const unsigned char *,
2432083: FILE *) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__deprecated__));
2432083: const char * __p_option (unsigned long __option) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__deprecated__));
2432083: int __dn_count_labels (const char *) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__deprecated__));
2432083: int dn_comp (const char *, unsigned char *, int, unsigned char **,
2432083: unsigned char **) __attribute__ ((__nothrow__ , __leaf__));
2432083: int dn_expand (const unsigned char *, const unsigned char *,
2432083: const unsigned char *, char *, int) __attribute__ ((__nothrow__ , __leaf__));
2432083: unsigned int __res_randomid (void) __attribute__ ((__nothrow__ , __leaf__))
2432083: __attribute__ ((__deprecated__ ("use getentropy instead")));
2432083: int __res_nameinquery (const char *, int, int,
2432083: const unsigned char *,
2432083: const unsigned char *) __attribute__ ((__nothrow__ , __leaf__))
2432083: __attribute__ ((__deprecated__));
2432083: int __res_queriesmatch (const unsigned char *,
2432083: const unsigned char *,
2432083: const unsigned char *,
2432083: const unsigned char *) __attribute__ ((__nothrow__ , __leaf__))
2432083: __attribute__ ((__deprecated__));
2432083:
2432083: int __res_ninit (res_state) __attribute__ ((__nothrow__ , __leaf__));
2432083: void __fp_resstat (const res_state, FILE *) __attribute__ ((__nothrow__ , __leaf__))
2432083: __attribute__ ((__deprecated__));
2432083: const char * __res_hostalias (const res_state, const char *, char *, size_t)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__deprecated__ ("use getaddrinfo instead")));
2432083: int res_nquery (res_state, const char *, int, int,
2432083: unsigned char *, int) __attribute__ ((__nothrow__ , __leaf__));
2432083: int res_nsearch (res_state, const char *, int, int,
2432083: unsigned char *, int) __attribute__ ((__nothrow__ , __leaf__));
2432083: int res_nquerydomain (res_state, const char *, const char *, int,
2432083: int, unsigned char *, int) __attribute__ ((__nothrow__ , __leaf__));
2432083: int res_nmkquery (res_state, int, const char *, int, int,
2432083: const unsigned char *, int,
2432083: const unsigned char *, unsigned char *, int)
2432083: __attribute__ ((__nothrow__ , __leaf__));
2432083: int res_nsend (res_state, const unsigned char *, int,
2432083: unsigned char *, int) __attribute__ ((__nothrow__ , __leaf__));
2432083: void __res_nclose (res_state) __attribute__ ((__nothrow__ , __leaf__));
2432083:
2432083:
2432083: # 60 "../../openbsd-compat/getrrsetbyname.h" 2
2432083: # 91 "../../openbsd-compat/getrrsetbyname.h"
2432083:
2432083: # 91 "../../openbsd-compat/getrrsetbyname.h"
2432083: struct rdatainfo {
2432083: unsigned int rdi_length;
2432083: unsigned char *rdi_data;
2432083: };
2432083:
2432083: struct rrsetinfo {
2432083: unsigned int rri_flags;
2432083: unsigned int rri_rdclass;
2432083: unsigned int rri_rdtype;
2432083: unsigned int rri_ttl;
2432083: unsigned int rri_nrdatas;
2432083: unsigned int rri_nsigs;
2432083: char *rri_name;
2432083: struct rdatainfo *rri_rdatas;
2432083: struct rdatainfo *rri_sigs;
2432083: };
2432083:
2432083: int getrrsetbyname(const char *, unsigned int, unsigned int, unsigned int, struct rrsetinfo **);
2432083: void freerrset(struct rrsetinfo *);
2432083: # 45 "../../openbsd-compat/openbsd-compat.h" 2
2432083: # 1 "../../openbsd-compat/sha1.h" 1
2432083: # 46 "../../openbsd-compat/openbsd-compat.h" 2
2432083: # 1 "../../openbsd-compat/sha2.h" 1
2432083: # 47 "../../openbsd-compat/openbsd-compat.h" 2
2432083: # 1 "../../openbsd-compat/md5.h" 1
2432083: # 48 "../../openbsd-compat/openbsd-compat.h" 2
2432083: # 1 "../../openbsd-compat/blf.h" 1
2432083: # 50 "../../openbsd-compat/blf.h"
2432083: typedef struct BlowfishContext {
2432083: u_int32_t S[4][256];
2432083: u_int32_t P[16 + 2];
2432083: } blf_ctx;
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: void Blowfish_encipher(blf_ctx *, u_int32_t *, u_int32_t *);
2432083: void Blowfish_decipher(blf_ctx *, u_int32_t *, u_int32_t *);
2432083: void Blowfish_initstate(blf_ctx *);
2432083: void Blowfish_expand0state(blf_ctx *, const u_int8_t *, u_int16_t);
2432083: void Blowfish_expandstate
2432083: (blf_ctx *, const u_int8_t *, u_int16_t, const u_int8_t *, u_int16_t);
2432083:
2432083:
2432083:
2432083: void blf_key(blf_ctx *, const u_int8_t *, u_int16_t);
2432083: void blf_enc(blf_ctx *, u_int32_t *, u_int16_t);
2432083: void blf_dec(blf_ctx *, u_int32_t *, u_int16_t);
2432083:
2432083: void blf_ecb_encrypt(blf_ctx *, u_int8_t *, u_int32_t);
2432083: void blf_ecb_decrypt(blf_ctx *, u_int8_t *, u_int32_t);
2432083:
2432083: void blf_cbc_encrypt(blf_ctx *, u_int8_t *, u_int8_t *, u_int32_t);
2432083: void blf_cbc_decrypt(blf_ctx *, u_int8_t *, u_int8_t *, u_int32_t);
2432083:
2432083:
2432083: u_int32_t Blowfish_stream2word(const u_int8_t *, u_int16_t , u_int16_t *);
2432083: # 49 "../../openbsd-compat/openbsd-compat.h" 2
2432083: # 1 "../../openbsd-compat/fnmatch.h" 1
2432083: # 50 "../../openbsd-compat/openbsd-compat.h" 2
2432083: # 69 "../../openbsd-compat/openbsd-compat.h"
2432083: int bindresvport_sa(int sd, struct sockaddr *sa);
2432083: # 106 "../../openbsd-compat/openbsd-compat.h"
2432083: void *recallocarray(void *, size_t, size_t, size_t);
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: size_t strlcpy(char *dst, const char *src, size_t siz);
2432083:
2432083:
2432083:
2432083: size_t strlcat(char *dst, const char *src, size_t siz);
2432083: # 138 "../../openbsd-compat/openbsd-compat.h"
2432083: void strmode(int mode, char *p);
2432083: # 147 "../../openbsd-compat/openbsd-compat.h"
2432083: int mkstemps(char *path, int slen);
2432083: int mkstemp(char *path);
2432083: char *mkdtemp(char *path);
2432083:
2432083:
2432083:
2432083: int _ssh_mkstemp(char *);
2432083: # 165 "../../openbsd-compat/openbsd-compat.h"
2432083: int fmt_scaled(long long number, char *result);
2432083:
2432083:
2432083:
2432083: int scan_scaled(char *, long long *);
2432083: # 189 "../../openbsd-compat/openbsd-compat.h"
2432083: void setproctitle(const char *fmt, ...);
2432083: void compat_init_setproctitle(int argc, char *argv[]);
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: int BSDgetopt(int argc, char * const *argv, const char *opts)
2432083: # 198 "../../openbsd-compat/openbsd-compat.h" 3 4
2432083: __attribute__ ((__nothrow__ , __leaf__))
2432083: # 198 "../../openbsd-compat/openbsd-compat.h"
2432083: ;
2432083: # 1 "../../openbsd-compat/getopt.h" 1
2432083: # 74 "../../openbsd-compat/getopt.h"
2432083: int BSDgetopt(int, char * const *, const char *)
2432083: # 74 "../../openbsd-compat/getopt.h" 3 4
2432083: __attribute__ ((__nothrow__ , __leaf__))
2432083: # 74 "../../openbsd-compat/getopt.h"
2432083: ;
2432083: int getsubopt(char **, char * const *, char **)
2432083: # 75 "../../openbsd-compat/getopt.h" 3 4
2432083: __attribute__ ((__nothrow__ , __leaf__))
2432083: # 75 "../../openbsd-compat/getopt.h"
2432083: ;
2432083:
2432083: extern char *BSDoptarg;
2432083: extern int BSDopterr;
2432083: extern int BSDoptind;
2432083: extern int BSDoptopt;
2432083: extern int BSDoptreset;
2432083: extern char *suboptarg;
2432083: # 200 "../../openbsd-compat/openbsd-compat.h" 2
2432083: # 217 "../../openbsd-compat/openbsd-compat.h"
2432083: # 1 "../../openbsd-compat/bsd-signal.h" 1
2432083: # 218 "../../openbsd-compat/openbsd-compat.h" 2
2432083: # 1 "../../openbsd-compat/bsd-misc.h" 1
2432083: # 22 "../../openbsd-compat/bsd-misc.h"
2432083: char *ssh_get_progname(char *);
2432083: int seed_from_prngd(unsigned char *, size_t);
2432083: # 34 "../../openbsd-compat/bsd-misc.h"
2432083: int setlogin(const char *);
2432083: # 147 "../../openbsd-compat/bsd-misc.h"
2432083: int pledge(const char *promises, const char *paths[]);
2432083: # 219 "../../openbsd-compat/openbsd-compat.h" 2
2432083: # 1 "../../openbsd-compat/bsd-setres_id.h" 1
2432083: # 220 "../../openbsd-compat/openbsd-compat.h" 2
2432083: # 1 "../../openbsd-compat/bsd-statvfs.h" 1
2432083: # 221 "../../openbsd-compat/openbsd-compat.h" 2
2432083: # 1 "../../openbsd-compat/bsd-waitpid.h" 1
2432083: # 222 "../../openbsd-compat/openbsd-compat.h" 2
2432083: # 1 "../../openbsd-compat/bsd-poll.h" 1
2432083: # 35 "../../openbsd-compat/bsd-poll.h"
2432083: # 1 "/usr/include/poll.h" 1 3 4
2432083: # 1 "/usr/include/m68k-linux-gnu/sys/poll.h" 1 3 4
2432083: # 25 "/usr/include/m68k-linux-gnu/sys/poll.h" 3 4
2432083: # 1 "/usr/include/m68k-linux-gnu/bits/poll.h" 1 3 4
2432083: # 26 "/usr/include/m68k-linux-gnu/sys/poll.h" 2 3 4
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: # 33 "/usr/include/m68k-linux-gnu/sys/poll.h" 3 4
2432083: typedef unsigned long int nfds_t;
2432083:
2432083:
2432083: struct pollfd
2432083: {
2432083: int fd;
2432083: short int events;
2432083: short int revents;
2432083: };
2432083:
2432083:
2432083:
2432083: # 54 "/usr/include/m68k-linux-gnu/sys/poll.h" 3 4
2432083: extern int poll (struct pollfd *__fds, nfds_t __nfds, int __timeout)
2432083: __attribute__ ((__access__ (__write_only__, 1, 2)));
2432083: # 64 "/usr/include/m68k-linux-gnu/sys/poll.h" 3 4
2432083: extern int ppoll (struct pollfd *__fds, nfds_t __nfds,
2432083: const struct timespec *__timeout,
2432083: const __sigset_t *__ss)
2432083: __attribute__ ((__access__ (__write_only__, 1, 2)));
2432083:
2432083:
2432083:
2432083: extern int ppoll (struct pollfd *__fds, nfds_t __nfds, const struct timespec *__timeout, const __sigset_t *__ss) __asm__ ("" "__ppoll64")
2432083:
2432083:
2432083:
2432083: __attribute__ ((__access__ (__write_only__, 1, 2)));
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: # 1 "/usr/include/m68k-linux-gnu/bits/poll2.h" 1 3 4
2432083: # 24 "/usr/include/m68k-linux-gnu/bits/poll2.h" 3 4
2432083:
2432083:
2432083: extern int __poll_alias (struct pollfd *__fds, nfds_t __nfds, int __timeout) __asm__ ("" "poll")
2432083: ;
2432083: extern int __poll_chk (struct pollfd *__fds, nfds_t __nfds, int __timeout,
2432083: unsigned int __fdslen)
2432083: __attribute__ ((__access__ (__write_only__, 1, 2)));
2432083: extern int __poll_chk_warn (struct pollfd *__fds, nfds_t __nfds, int __timeout, unsigned int __fdslen) __asm__ ("" "__poll_chk")
2432083:
2432083:
2432083: __attribute__((__warning__ ("poll called with fds buffer too small file nfds entries")));
2432083:
2432083: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) __attribute__ ((__access__ (__write_only__, 1, 2))) int
2432083: poll (struct pollfd *__fds, nfds_t __nfds, int __timeout)
2432083: {
2432083: return (((__builtin_constant_p (__builtin_object_size (__fds, 2 > 1)) && (__builtin_object_size (__fds, 2 > 1)) == (unsigned int) -1) || (((__typeof (__nfds)) 0 < (__typeof (__nfds)) -1 || (__builtin_constant_p (__nfds) && (__nfds) > 0)) && __builtin_constant_p ((((unsigned int) (__nfds)) <= ((__builtin_object_size (__fds, 2 > 1))) / ((sizeof (*__fds))))) && (((unsigned int) (__nfds)) <= ((__builtin_object_size (__fds, 2 > 1))) / ((sizeof (*__fds)))))) ? __poll_alias (__fds, __nfds, __timeout) : ((((__typeof (__nfds)) 0 < (__typeof (__nfds)) -1 || (__builtin_constant_p (__nfds) && (__nfds) > 0)) && __builtin_constant_p ((((unsigned int) (__nfds)) <= (__builtin_object_size (__fds, 2 > 1)) / (sizeof (*__fds)))) && !(((unsigned int) (__nfds)) <= (__builtin_object_size (__fds, 2 > 1)) / (sizeof (*__fds)))) ? __poll_chk_warn (__fds, __nfds, __timeout, __builtin_object_size (__fds, 2 > 1)) : __poll_chk (__fds, __nfds, __timeout, __builtin_object_size (__fds, 2 > 1))))
2432083:
2432083: ;
2432083: }
2432083:
2432083:
2432083:
2432083:
2432083: extern int __ppoll64_alias (struct pollfd *__fds, nfds_t __nfds, const struct timespec *__timeout, const __sigset_t *__ss) __asm__ ("" "__ppoll64")
2432083:
2432083: ;
2432083: extern int __ppoll64_chk (struct pollfd *__fds, nfds_t __nfds,
2432083: const struct timespec *__timeout,
2432083: const __sigset_t *__ss, unsigned int __fdslen)
2432083: __attribute__ ((__access__ (__write_only__, 1, 2)));
2432083: extern int __ppoll64_chk_warn (struct pollfd *__fds, nfds_t __n, const struct timespec *__timeout, const __sigset_t *__ss, unsigned int __fdslen) __asm__ ("" "__ppoll64_chk")
2432083:
2432083:
2432083:
2432083:
2432083: __attribute__((__warning__ ("ppoll called with fds buffer too small file nfds entries")));
2432083:
2432083: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) __attribute__ ((__access__ (__write_only__, 1, 2))) int
2432083: ppoll (struct pollfd *__fds, nfds_t __nfds, const struct timespec *__timeout,
2432083: const __sigset_t *__ss)
2432083: {
2432083: return (((__builtin_constant_p (__builtin_object_size (__fds, 2 > 1)) && (__builtin_object_size (__fds, 2 > 1)) == (unsigned int) -1) || (((__typeof (__nfds)) 0 < (__typeof (__nfds)) -1 || (__builtin_constant_p (__nfds) && (__nfds) > 0)) && __builtin_constant_p ((((unsigned int) (__nfds)) <= ((__builtin_object_size (__fds, 2 > 1))) / ((sizeof (*__fds))))) && (((unsigned int) (__nfds)) <= ((__builtin_object_size (__fds, 2 > 1))) / ((sizeof (*__fds)))))) ? __ppoll64_alias (__fds, __nfds, __timeout, __ss) : ((((__typeof (__nfds)) 0 < (__typeof (__nfds)) -1 || (__builtin_constant_p (__nfds) && (__nfds) > 0)) && __builtin_constant_p ((((unsigned int) (__nfds)) <= (__builtin_object_size (__fds, 2 > 1)) / (sizeof (*__fds)))) && !(((unsigned int) (__nfds)) <= (__builtin_object_size (__fds, 2 > 1)) / (sizeof (*__fds)))) ? __ppoll64_chk_warn (__fds, __nfds, __timeout, __ss, __builtin_object_size (__fds, 2 > 1)) : __ppoll64_chk (__fds, __nfds, __timeout, __ss, __builtin_object_size (__fds, 2 > 1))))
2432083:
2432083: ;
2432083: }
2432083: # 95 "/usr/include/m68k-linux-gnu/bits/poll2.h" 3 4
2432083:
2432083: # 88 "/usr/include/m68k-linux-gnu/sys/poll.h" 2 3 4
2432083: # 2 "/usr/include/poll.h" 2 3 4
2432083: # 36 "../../openbsd-compat/bsd-poll.h" 2
2432083: # 223 "../../openbsd-compat/openbsd-compat.h" 2
2432083:
2432083:
2432083:
2432083: # 225 "../../openbsd-compat/openbsd-compat.h"
2432083: int getpeereid(int , uid_t *, gid_t *);
2432083: # 270 "../../openbsd-compat/openbsd-compat.h"
2432083: long long strtonum(const char *, long long, long long, const char **);
2432083: # 324 "../../openbsd-compat/openbsd-compat.h"
2432083: char *user_from_uid(uid_t, int);
2432083:
2432083:
2432083:
2432083: char *group_from_gid(gid_t, int);
2432083:
2432083:
2432083:
2432083: int timingsafe_bcmp(const void *, const void *, size_t);
2432083:
2432083:
2432083:
2432083: int bcrypt_pbkdf(const char *, size_t, const uint8_t *, size_t,
2432083: uint8_t *, size_t, unsigned int);
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: void freezero(void *, size_t);
2432083: # 357 "../../openbsd-compat/openbsd-compat.h"
2432083: char *xcrypt(const char *password, const char *salt);
2432083: char *shadow_pw(struct passwd *pw);
2432083:
2432083:
2432083: # 1 "../../openbsd-compat/fake-rfc2553.h" 1
2432083: # 362 "../../openbsd-compat/openbsd-compat.h" 2
2432083:
2432083:
2432083: # 1 "../../openbsd-compat/bsd-cygwin_util.h" 1
2432083: # 365 "../../openbsd-compat/openbsd-compat.h" 2
2432083:
2432083: # 1 "../../openbsd-compat/port-aix.h" 1
2432083: # 367 "../../openbsd-compat/openbsd-compat.h" 2
2432083: # 1 "../../openbsd-compat/port-irix.h" 1
2432083: # 368 "../../openbsd-compat/openbsd-compat.h" 2
2432083: # 1 "../../openbsd-compat/port-linux.h" 1
2432083: # 21 "../../openbsd-compat/port-linux.h"
2432083: int ssh_selinux_enabled(void);
2432083: void ssh_selinux_setup_pty(char *, const char *, const char *);
2432083: void ssh_selinux_setup_exec_context(char *, const char *);
2432083: void ssh_selinux_change_context(const char *);
2432083: void ssh_selinux_setfscreatecon(const char *);
2432083:
2432083:
2432083:
2432083: void oom_adjust_restore(void);
2432083: void oom_adjust_setup(void);
2432083: # 369 "../../openbsd-compat/openbsd-compat.h" 2
2432083: # 1 "../../openbsd-compat/port-solaris.h" 1
2432083: # 23 "../../openbsd-compat/port-solaris.h"
2432083: void solaris_contract_pre_fork(void);
2432083: void solaris_contract_post_fork_child(void);
2432083: void solaris_contract_post_fork_parent(pid_t pid);
2432083: void solaris_set_default_project(struct passwd *);
2432083: # 370 "../../openbsd-compat/openbsd-compat.h" 2
2432083: # 1 "../../openbsd-compat/port-net.h" 1
2432083: # 20 "../../openbsd-compat/port-net.h"
2432083: struct Channel;
2432083: struct ssh;
2432083:
2432083:
2432083:
2432083: int sys_tun_open(int, int, char **);
2432083:
2432083:
2432083:
2432083:
2432083: int sys_tun_infilter(struct ssh *, struct Channel *, char *, int);
2432083: u_char *sys_tun_outfilter(struct ssh *, struct Channel *, u_char **, size_t *);
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: char *sys_get_rdomain(int fd);
2432083: int sys_set_rdomain(int fd, const char *name);
2432083: int sys_valid_rdomain(const char *name);
2432083: # 371 "../../openbsd-compat/openbsd-compat.h" 2
2432083: # 1 "../../openbsd-compat/port-uw.h" 1
2432083: # 372 "../../openbsd-compat/openbsd-compat.h" 2
2432083: # 383 "../../openbsd-compat/openbsd-compat.h"
2432083: void kludge_FD_SET(int, fd_set *);
2432083: int kludge_FD_ISSET(int, fd_set *);
2432083: # 174 "../../includes.h" 2
2432083: # 1 "../../openbsd-compat/bsd-nextstep.h" 1
2432083: # 175 "../../includes.h" 2
2432083:
2432083: # 1 "../../entropy.h" 1
2432083: # 28 "../../entropy.h"
2432083: struct sshbuf;
2432083:
2432083: void seed_rng(void);
2432083: void rexec_send_rng_seed(struct sshbuf *);
2432083: void rexec_recv_rng_seed(struct sshbuf *);
2432083: # 177 "../../includes.h" 2
2432083: # 41 "../../moduli.c" 2
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: # 1 "/usr/include/openssl/bn.h" 1 3 4
2432083: # 13 "/usr/include/openssl/bn.h" 3 4
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: # 1 "/usr/include/openssl/e_os2.h" 1 3 4
2432083: # 12 "/usr/include/openssl/e_os2.h" 3 4
2432083:
2432083: # 234 "/usr/include/openssl/e_os2.h" 3 4
2432083: # 1 "/usr/include/inttypes.h" 1 3 4
2432083: # 34 "/usr/include/inttypes.h" 3 4
2432083:
2432083: # 34 "/usr/include/inttypes.h" 3 4
2432083: typedef long int __gwchar_t;
2432083: # 266 "/usr/include/inttypes.h" 3 4
2432083:
2432083: # 280 "/usr/include/inttypes.h" 3 4
2432083: typedef struct
2432083: {
2432083: __extension__ long long int quot;
2432083: __extension__ long long int rem;
2432083: } imaxdiv_t;
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern intmax_t imaxabs (intmax_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__));
2432083:
2432083:
2432083: extern imaxdiv_t imaxdiv (intmax_t __numer, intmax_t __denom)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__));
2432083:
2432083:
2432083: extern intmax_t strtoimax (const char *__restrict __nptr,
2432083: char **__restrict __endptr, int __base) __attribute__ ((__nothrow__ , __leaf__));
2432083:
2432083:
2432083: extern uintmax_t strtoumax (const char *__restrict __nptr,
2432083: char ** __restrict __endptr, int __base) __attribute__ ((__nothrow__ , __leaf__));
2432083:
2432083:
2432083: extern intmax_t wcstoimax (const __gwchar_t *__restrict __nptr,
2432083: __gwchar_t **__restrict __endptr, int __base)
2432083: __attribute__ ((__nothrow__ , __leaf__));
2432083:
2432083:
2432083: extern uintmax_t wcstoumax (const __gwchar_t *__restrict __nptr,
2432083: __gwchar_t ** __restrict __endptr, int __base)
2432083: __attribute__ ((__nothrow__ , __leaf__));
2432083:
2432083:
2432083: # 235 "/usr/include/openssl/e_os2.h" 2 3 4
2432083: # 260 "/usr/include/openssl/e_os2.h" 3 4
2432083: typedef intmax_t ossl_intmax_t;
2432083: typedef uintmax_t ossl_uintmax_t;
2432083: # 21 "/usr/include/openssl/bn.h" 2 3 4
2432083:
2432083:
2432083:
2432083:
2432083: # 1 "/usr/include/openssl/types.h" 1 3 4
2432083: # 26 "/usr/include/openssl/types.h" 3 4
2432083: # 1 "/usr/lib/gcc/m68k-linux-gnu/13/include/limits.h" 1 3 4
2432083: # 27 "/usr/include/openssl/types.h" 2 3 4
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: # 1 "/usr/include/openssl/safestack.h" 1 3 4
2432083: # 17 "/usr/include/openssl/safestack.h" 3 4
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: # 1 "/usr/include/openssl/stack.h" 1 3 4
2432083: # 12 "/usr/include/openssl/stack.h" 3 4
2432083:
2432083: # 23 "/usr/include/openssl/stack.h" 3 4
2432083: typedef struct stack_st OPENSSL_STACK;
2432083:
2432083: typedef int (*OPENSSL_sk_compfunc)(const void *, const void *);
2432083: typedef void (*OPENSSL_sk_freefunc)(void *);
2432083: typedef void *(*OPENSSL_sk_copyfunc)(const void *);
2432083:
2432083: int OPENSSL_sk_num(const OPENSSL_STACK *);
2432083: void *OPENSSL_sk_value(const OPENSSL_STACK *, int);
2432083:
2432083: void *OPENSSL_sk_set(OPENSSL_STACK *st, int i, const void *data);
2432083:
2432083: OPENSSL_STACK *OPENSSL_sk_new(OPENSSL_sk_compfunc cmp);
2432083: OPENSSL_STACK *OPENSSL_sk_new_null(void);
2432083: OPENSSL_STACK *OPENSSL_sk_new_reserve(OPENSSL_sk_compfunc c, int n);
2432083: int OPENSSL_sk_reserve(OPENSSL_STACK *st, int n);
2432083: void OPENSSL_sk_free(OPENSSL_STACK *);
2432083: void OPENSSL_sk_pop_free(OPENSSL_STACK *st, void (*func) (void *));
2432083: OPENSSL_STACK *OPENSSL_sk_deep_copy(const OPENSSL_STACK *,
2432083: OPENSSL_sk_copyfunc c,
2432083: OPENSSL_sk_freefunc f);
2432083: int OPENSSL_sk_insert(OPENSSL_STACK *sk, const void *data, int where);
2432083: void *OPENSSL_sk_delete(OPENSSL_STACK *st, int loc);
2432083: void *OPENSSL_sk_delete_ptr(OPENSSL_STACK *st, const void *p);
2432083: int OPENSSL_sk_find(OPENSSL_STACK *st, const void *data);
2432083: int OPENSSL_sk_find_ex(OPENSSL_STACK *st, const void *data);
2432083: int OPENSSL_sk_find_all(OPENSSL_STACK *st, const void *data, int *pnum);
2432083: int OPENSSL_sk_push(OPENSSL_STACK *st, const void *data);
2432083: int OPENSSL_sk_unshift(OPENSSL_STACK *st, const void *data);
2432083: void *OPENSSL_sk_shift(OPENSSL_STACK *st);
2432083: void *OPENSSL_sk_pop(OPENSSL_STACK *st);
2432083: void OPENSSL_sk_zero(OPENSSL_STACK *st);
2432083: OPENSSL_sk_compfunc OPENSSL_sk_set_cmp_func(OPENSSL_STACK *sk,
2432083: OPENSSL_sk_compfunc cmp);
2432083: OPENSSL_STACK *OPENSSL_sk_dup(const OPENSSL_STACK *st);
2432083: void OPENSSL_sk_sort(OPENSSL_STACK *st);
2432083: int OPENSSL_sk_is_sorted(const OPENSSL_STACK *st);
2432083: # 25 "/usr/include/openssl/safestack.h" 2 3 4
2432083: # 195 "/usr/include/openssl/safestack.h" 3 4
2432083: typedef char *OPENSSL_STRING;
2432083: typedef const char *OPENSSL_CSTRING;
2432083: # 205 "/usr/include/openssl/safestack.h" 3 4
2432083: struct stack_st_OPENSSL_STRING; typedef int (*sk_OPENSSL_STRING_compfunc)(const char * const *a, const char *const *b); typedef void (*sk_OPENSSL_STRING_freefunc)(char *a); typedef char * (*sk_OPENSSL_STRING_copyfunc)(const char *a); static __attribute__((unused)) inline char *ossl_check_OPENSSL_STRING_type(char *ptr) { return ptr; } static __attribute__((unused)) inline const OPENSSL_STACK *ossl_check_const_OPENSSL_STRING_sk_type(const struct stack_st_OPENSSL_STRING *sk) { return (const OPENSSL_STACK *)sk; } static __attribute__((unused)) inline OPENSSL_STACK *ossl_check_OPENSSL_STRING_sk_type(struct stack_st_OPENSSL_STRING *sk) { return (OPENSSL_STACK *)sk; } static __attribute__((unused)) inline OPENSSL_sk_compfunc ossl_check_OPENSSL_STRING_compfunc_type(sk_OPENSSL_STRING_compfunc cmp) { return (OPENSSL_sk_compfunc)cmp; } static __attribute__((unused)) inline OPENSSL_sk_copyfunc ossl_check_OPENSSL_STRING_copyfunc_type(sk_OPENSSL_STRING_copyfunc cpy) { return (OPENSSL_sk_copyfunc)cpy; } static __attribute__((unused)) inline OPENSSL_sk_freefunc ossl_check_OPENSSL_STRING_freefunc_type(sk_OPENSSL_STRING_freefunc fr) { return (OPENSSL_sk_freefunc)fr; }
2432083: # 231 "/usr/include/openssl/safestack.h" 3 4
2432083: struct stack_st_OPENSSL_CSTRING; typedef int (*sk_OPENSSL_CSTRING_compfunc)(const char * const *a, const char *const *b); typedef void (*sk_OPENSSL_CSTRING_freefunc)(char *a); typedef char * (*sk_OPENSSL_CSTRING_copyfunc)(const char *a); static __attribute__((unused)) inline const char *ossl_check_OPENSSL_CSTRING_type(const char *ptr) { return ptr; } static __attribute__((unused)) inline const OPENSSL_STACK *ossl_check_const_OPENSSL_CSTRING_sk_type(const struct stack_st_OPENSSL_CSTRING *sk) { return (const OPENSSL_STACK *)sk; } static __attribute__((unused)) inline OPENSSL_STACK *ossl_check_OPENSSL_CSTRING_sk_type(struct stack_st_OPENSSL_CSTRING *sk) { return (OPENSSL_STACK *)sk; } static __attribute__((unused)) inline OPENSSL_sk_compfunc ossl_check_OPENSSL_CSTRING_compfunc_type(sk_OPENSSL_CSTRING_compfunc cmp) { return (OPENSSL_sk_compfunc)cmp; } static __attribute__((unused)) inline OPENSSL_sk_copyfunc ossl_check_OPENSSL_CSTRING_copyfunc_type(sk_OPENSSL_CSTRING_copyfunc cpy) { return (OPENSSL_sk_copyfunc)cpy; } static __attribute__((unused)) inline OPENSSL_sk_freefunc ossl_check_OPENSSL_CSTRING_freefunc_type(sk_OPENSSL_CSTRING_freefunc fr) { return (OPENSSL_sk_freefunc)fr; }
2432083: # 264 "/usr/include/openssl/safestack.h" 3 4
2432083: typedef void *OPENSSL_BLOCK;
2432083: struct stack_st_OPENSSL_BLOCK; typedef int (*sk_OPENSSL_BLOCK_compfunc)(const void * const *a, const void *const *b); typedef void (*sk_OPENSSL_BLOCK_freefunc)(void *a); typedef void * (*sk_OPENSSL_BLOCK_copyfunc)(const void *a); static __attribute__((unused)) inline void *ossl_check_OPENSSL_BLOCK_type(void *ptr) { return ptr; } static __attribute__((unused)) inline const OPENSSL_STACK *ossl_check_const_OPENSSL_BLOCK_sk_type(const struct stack_st_OPENSSL_BLOCK *sk) { return (const OPENSSL_STACK *)sk; } static __attribute__((unused)) inline OPENSSL_STACK *ossl_check_OPENSSL_BLOCK_sk_type(struct stack_st_OPENSSL_BLOCK *sk) { return (OPENSSL_STACK *)sk; } static __attribute__((unused)) inline OPENSSL_sk_compfunc ossl_check_OPENSSL_BLOCK_compfunc_type(sk_OPENSSL_BLOCK_compfunc cmp) { return (OPENSSL_sk_compfunc)cmp; } static __attribute__((unused)) inline OPENSSL_sk_copyfunc ossl_check_OPENSSL_BLOCK_copyfunc_type(sk_OPENSSL_BLOCK_copyfunc cpy) { return (OPENSSL_sk_copyfunc)cpy; } static __attribute__((unused)) inline OPENSSL_sk_freefunc ossl_check_OPENSSL_BLOCK_freefunc_type(sk_OPENSSL_BLOCK_freefunc fr) { return (OPENSSL_sk_freefunc)fr; }
2432083: # 34 "/usr/include/openssl/types.h" 2 3 4
2432083:
2432083:
2432083: typedef struct ossl_provider_st OSSL_PROVIDER;
2432083: # 57 "/usr/include/openssl/types.h" 3 4
2432083: typedef struct asn1_string_st ASN1_INTEGER;
2432083: typedef struct asn1_string_st ASN1_ENUMERATED;
2432083: typedef struct asn1_string_st ASN1_BIT_STRING;
2432083: typedef struct asn1_string_st ASN1_OCTET_STRING;
2432083: typedef struct asn1_string_st ASN1_PRINTABLESTRING;
2432083: typedef struct asn1_string_st ASN1_T61STRING;
2432083: typedef struct asn1_string_st ASN1_IA5STRING;
2432083: typedef struct asn1_string_st ASN1_GENERALSTRING;
2432083: typedef struct asn1_string_st ASN1_UNIVERSALSTRING;
2432083: typedef struct asn1_string_st ASN1_BMPSTRING;
2432083: typedef struct asn1_string_st ASN1_UTCTIME;
2432083: typedef struct asn1_string_st ASN1_TIME;
2432083: typedef struct asn1_string_st ASN1_GENERALIZEDTIME;
2432083: typedef struct asn1_string_st ASN1_VISIBLESTRING;
2432083: typedef struct asn1_string_st ASN1_UTF8STRING;
2432083: typedef struct asn1_string_st ASN1_STRING;
2432083: typedef int ASN1_BOOLEAN;
2432083: typedef int ASN1_NULL;
2432083:
2432083:
2432083: typedef struct asn1_type_st ASN1_TYPE;
2432083: typedef struct asn1_object_st ASN1_OBJECT;
2432083: typedef struct asn1_string_table_st ASN1_STRING_TABLE;
2432083:
2432083: typedef struct ASN1_ITEM_st ASN1_ITEM;
2432083: typedef struct asn1_pctx_st ASN1_PCTX;
2432083: typedef struct asn1_sctx_st ASN1_SCTX;
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: typedef struct bio_st BIO;
2432083: typedef struct bignum_st BIGNUM;
2432083: typedef struct bignum_ctx BN_CTX;
2432083: typedef struct bn_blinding_st BN_BLINDING;
2432083: typedef struct bn_mont_ctx_st BN_MONT_CTX;
2432083: typedef struct bn_recp_ctx_st BN_RECP_CTX;
2432083: typedef struct bn_gencb_st BN_GENCB;
2432083:
2432083: typedef struct buf_mem_st BUF_MEM;
2432083:
2432083: struct stack_st_BIGNUM;
2432083: struct stack_st_BIGNUM_const;
2432083:
2432083: typedef struct err_state_st ERR_STATE;
2432083:
2432083: typedef struct evp_cipher_st EVP_CIPHER;
2432083: typedef struct evp_cipher_ctx_st EVP_CIPHER_CTX;
2432083: typedef struct evp_md_st EVP_MD;
2432083: typedef struct evp_md_ctx_st EVP_MD_CTX;
2432083: typedef struct evp_mac_st EVP_MAC;
2432083: typedef struct evp_mac_ctx_st EVP_MAC_CTX;
2432083: typedef struct evp_pkey_st EVP_PKEY;
2432083:
2432083: typedef struct evp_pkey_asn1_method_st EVP_PKEY_ASN1_METHOD;
2432083:
2432083: typedef struct evp_pkey_method_st EVP_PKEY_METHOD;
2432083: typedef struct evp_pkey_ctx_st EVP_PKEY_CTX;
2432083:
2432083: typedef struct evp_keymgmt_st EVP_KEYMGMT;
2432083:
2432083: typedef struct evp_kdf_st EVP_KDF;
2432083: typedef struct evp_kdf_ctx_st EVP_KDF_CTX;
2432083:
2432083: typedef struct evp_rand_st EVP_RAND;
2432083: typedef struct evp_rand_ctx_st EVP_RAND_CTX;
2432083:
2432083: typedef struct evp_keyexch_st EVP_KEYEXCH;
2432083:
2432083: typedef struct evp_signature_st EVP_SIGNATURE;
2432083:
2432083: typedef struct evp_asym_cipher_st EVP_ASYM_CIPHER;
2432083:
2432083: typedef struct evp_kem_st EVP_KEM;
2432083:
2432083: typedef struct evp_Encode_Ctx_st EVP_ENCODE_CTX;
2432083:
2432083: typedef struct hmac_ctx_st HMAC_CTX;
2432083:
2432083: typedef struct dh_st DH;
2432083: typedef struct dh_method DH_METHOD;
2432083:
2432083:
2432083: typedef struct dsa_st DSA;
2432083: typedef struct dsa_method DSA_METHOD;
2432083:
2432083:
2432083:
2432083: typedef struct rsa_st RSA;
2432083: typedef struct rsa_meth_st RSA_METHOD;
2432083:
2432083: typedef struct rsa_pss_params_st RSA_PSS_PARAMS;
2432083:
2432083:
2432083: typedef struct ec_key_st EC_KEY;
2432083: typedef struct ec_key_method_st EC_KEY_METHOD;
2432083:
2432083:
2432083: typedef struct rand_meth_st RAND_METHOD;
2432083: typedef struct rand_drbg_st RAND_DRBG;
2432083:
2432083: typedef struct ssl_dane_st SSL_DANE;
2432083: typedef struct x509_st X509;
2432083: typedef struct X509_algor_st X509_ALGOR;
2432083: typedef struct X509_crl_st X509_CRL;
2432083: typedef struct x509_crl_method_st X509_CRL_METHOD;
2432083: typedef struct x509_revoked_st X509_REVOKED;
2432083: typedef struct X509_name_st X509_NAME;
2432083: typedef struct X509_pubkey_st X509_PUBKEY;
2432083: typedef struct x509_store_st X509_STORE;
2432083: typedef struct x509_store_ctx_st X509_STORE_CTX;
2432083:
2432083: typedef struct x509_object_st X509_OBJECT;
2432083: typedef struct x509_lookup_st X509_LOOKUP;
2432083: typedef struct x509_lookup_method_st X509_LOOKUP_METHOD;
2432083: typedef struct X509_VERIFY_PARAM_st X509_VERIFY_PARAM;
2432083:
2432083: typedef struct x509_sig_info_st X509_SIG_INFO;
2432083:
2432083: typedef struct pkcs8_priv_key_info_st PKCS8_PRIV_KEY_INFO;
2432083:
2432083: typedef struct v3_ext_ctx X509V3_CTX;
2432083: typedef struct conf_st CONF;
2432083: typedef struct ossl_init_settings_st OPENSSL_INIT_SETTINGS;
2432083:
2432083: typedef struct ui_st UI;
2432083: typedef struct ui_method_st UI_METHOD;
2432083:
2432083: typedef struct engine_st ENGINE;
2432083: typedef struct ssl_st SSL;
2432083: typedef struct ssl_ctx_st SSL_CTX;
2432083:
2432083: typedef struct comp_ctx_st COMP_CTX;
2432083: typedef struct comp_method_st COMP_METHOD;
2432083:
2432083: typedef struct X509_POLICY_NODE_st X509_POLICY_NODE;
2432083: typedef struct X509_POLICY_LEVEL_st X509_POLICY_LEVEL;
2432083: typedef struct X509_POLICY_TREE_st X509_POLICY_TREE;
2432083: typedef struct X509_POLICY_CACHE_st X509_POLICY_CACHE;
2432083:
2432083: typedef struct AUTHORITY_KEYID_st AUTHORITY_KEYID;
2432083: typedef struct DIST_POINT_st DIST_POINT;
2432083: typedef struct ISSUING_DIST_POINT_st ISSUING_DIST_POINT;
2432083: typedef struct NAME_CONSTRAINTS_st NAME_CONSTRAINTS;
2432083:
2432083: typedef struct crypto_ex_data_st CRYPTO_EX_DATA;
2432083:
2432083: typedef struct ossl_http_req_ctx_st OSSL_HTTP_REQ_CTX;
2432083: typedef struct ocsp_response_st OCSP_RESPONSE;
2432083: typedef struct ocsp_responder_id_st OCSP_RESPID;
2432083:
2432083: typedef struct sct_st SCT;
2432083: typedef struct sct_ctx_st SCT_CTX;
2432083: typedef struct ctlog_st CTLOG;
2432083: typedef struct ctlog_store_st CTLOG_STORE;
2432083: typedef struct ct_policy_eval_ctx_st CT_POLICY_EVAL_CTX;
2432083:
2432083: typedef struct ossl_store_info_st OSSL_STORE_INFO;
2432083: typedef struct ossl_store_search_st OSSL_STORE_SEARCH;
2432083:
2432083: typedef struct ossl_lib_ctx_st OSSL_LIB_CTX;
2432083:
2432083: typedef struct ossl_dispatch_st OSSL_DISPATCH;
2432083: typedef struct ossl_item_st OSSL_ITEM;
2432083: typedef struct ossl_algorithm_st OSSL_ALGORITHM;
2432083: typedef struct ossl_param_st OSSL_PARAM;
2432083: typedef struct ossl_param_bld_st OSSL_PARAM_BLD;
2432083:
2432083: typedef int pem_password_cb (char *buf, int size, int rwflag, void *userdata);
2432083:
2432083: typedef struct ossl_encoder_st OSSL_ENCODER;
2432083: typedef struct ossl_encoder_ctx_st OSSL_ENCODER_CTX;
2432083: typedef struct ossl_decoder_st OSSL_DECODER;
2432083: typedef struct ossl_decoder_ctx_st OSSL_DECODER_CTX;
2432083:
2432083: typedef struct ossl_self_test_st OSSL_SELF_TEST;
2432083: # 26 "/usr/include/openssl/bn.h" 2 3 4
2432083: # 1 "/usr/include/openssl/crypto.h" 1 3 4
2432083: # 18 "/usr/include/openssl/crypto.h" 3 4
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: # 1 "/usr/include/stdlib.h" 1 3 4
2432083: # 26 "/usr/include/stdlib.h" 3 4
2432083: # 1 "/usr/include/m68k-linux-gnu/bits/libc-header-start.h" 1 3 4
2432083: # 27 "/usr/include/stdlib.h" 2 3 4
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: # 1 "/usr/lib/gcc/m68k-linux-gnu/13/include/stddef.h" 1 3 4
2432083: # 33 "/usr/include/stdlib.h" 2 3 4
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: # 1 "/usr/include/m68k-linux-gnu/bits/waitflags.h" 1 3 4
2432083: # 41 "/usr/include/stdlib.h" 2 3 4
2432083: # 1 "/usr/include/m68k-linux-gnu/bits/waitstatus.h" 1 3 4
2432083: # 42 "/usr/include/stdlib.h" 2 3 4
2432083: # 56 "/usr/include/stdlib.h" 3 4
2432083: # 1 "/usr/include/m68k-linux-gnu/bits/floatn.h" 1 3 4
2432083: # 57 "/usr/include/stdlib.h" 2 3 4
2432083:
2432083:
2432083: typedef struct
2432083: {
2432083: int quot;
2432083: int rem;
2432083: } div_t;
2432083:
2432083:
2432083:
2432083: typedef struct
2432083: {
2432083: long int quot;
2432083: long int rem;
2432083: } ldiv_t;
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: __extension__ typedef struct
2432083: {
2432083: long long int quot;
2432083: long long int rem;
2432083: } lldiv_t;
2432083: # 98 "/usr/include/stdlib.h" 3 4
2432083: extern size_t __ctype_get_mb_cur_max (void) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__));
2432083:
2432083:
2432083:
2432083: extern double atof (const char *__nptr)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
2432083:
2432083: extern int atoi (const char *__nptr)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
2432083:
2432083: extern long int atol (const char *__nptr)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
2432083:
2432083:
2432083:
2432083: __extension__ extern long long int atoll (const char *__nptr)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
2432083:
2432083:
2432083:
2432083: extern double strtod (const char *__restrict __nptr,
2432083: char **__restrict __endptr)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
2432083:
2432083:
2432083:
2432083: extern float strtof (const char *__restrict __nptr,
2432083: char **__restrict __endptr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
2432083:
2432083: extern long double strtold (const char *__restrict __nptr,
2432083: char **__restrict __endptr)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
2432083: # 141 "/usr/include/stdlib.h" 3 4
2432083: extern _Float32 strtof32 (const char *__restrict __nptr,
2432083: char **__restrict __endptr)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
2432083:
2432083:
2432083:
2432083: extern _Float64 strtof64 (const char *__restrict __nptr,
2432083: char **__restrict __endptr)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
2432083: # 159 "/usr/include/stdlib.h" 3 4
2432083: extern _Float32x strtof32x (const char *__restrict __nptr,
2432083: char **__restrict __endptr)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
2432083: # 177 "/usr/include/stdlib.h" 3 4
2432083: extern long int strtol (const char *__restrict __nptr,
2432083: char **__restrict __endptr, int __base)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
2432083:
2432083: extern unsigned long int strtoul (const char *__restrict __nptr,
2432083: char **__restrict __endptr, int __base)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
2432083:
2432083:
2432083:
2432083: __extension__
2432083: extern long long int strtoq (const char *__restrict __nptr,
2432083: char **__restrict __endptr, int __base)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
2432083:
2432083: __extension__
2432083: extern unsigned long long int strtouq (const char *__restrict __nptr,
2432083: char **__restrict __endptr, int __base)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
2432083:
2432083:
2432083:
2432083:
2432083: __extension__
2432083: extern long long int strtoll (const char *__restrict __nptr,
2432083: char **__restrict __endptr, int __base)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
2432083:
2432083: __extension__
2432083: extern unsigned long long int strtoull (const char *__restrict __nptr,
2432083: char **__restrict __endptr, int __base)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
2432083:
2432083:
2432083:
2432083:
2432083: extern int strfromd (char *__dest, size_t __size, const char *__format,
2432083: double __f)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3)));
2432083:
2432083: extern int strfromf (char *__dest, size_t __size, const char *__format,
2432083: float __f)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3)));
2432083:
2432083: extern int strfroml (char *__dest, size_t __size, const char *__format,
2432083: long double __f)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3)));
2432083: # 233 "/usr/include/stdlib.h" 3 4
2432083: extern int strfromf32 (char *__dest, size_t __size, const char * __format,
2432083: _Float32 __f)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3)));
2432083:
2432083:
2432083:
2432083: extern int strfromf64 (char *__dest, size_t __size, const char * __format,
2432083: _Float64 __f)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3)));
2432083: # 251 "/usr/include/stdlib.h" 3 4
2432083: extern int strfromf32x (char *__dest, size_t __size, const char * __format,
2432083: _Float32x __f)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3)));
2432083: # 275 "/usr/include/stdlib.h" 3 4
2432083: extern long int strtol_l (const char *__restrict __nptr,
2432083: char **__restrict __endptr, int __base,
2432083: locale_t __loc) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 4)));
2432083:
2432083: extern unsigned long int strtoul_l (const char *__restrict __nptr,
2432083: char **__restrict __endptr,
2432083: int __base, locale_t __loc)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 4)));
2432083:
2432083: __extension__
2432083: extern long long int strtoll_l (const char *__restrict __nptr,
2432083: char **__restrict __endptr, int __base,
2432083: locale_t __loc)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 4)));
2432083:
2432083: __extension__
2432083: extern unsigned long long int strtoull_l (const char *__restrict __nptr,
2432083: char **__restrict __endptr,
2432083: int __base, locale_t __loc)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 4)));
2432083:
2432083: extern double strtod_l (const char *__restrict __nptr,
2432083: char **__restrict __endptr, locale_t __loc)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 3)));
2432083:
2432083: extern float strtof_l (const char *__restrict __nptr,
2432083: char **__restrict __endptr, locale_t __loc)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 3)));
2432083:
2432083: extern long double strtold_l (const char *__restrict __nptr,
2432083: char **__restrict __endptr,
2432083: locale_t __loc)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 3)));
2432083: # 317 "/usr/include/stdlib.h" 3 4
2432083: extern _Float32 strtof32_l (const char *__restrict __nptr,
2432083: char **__restrict __endptr,
2432083: locale_t __loc)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 3)));
2432083:
2432083:
2432083:
2432083: extern _Float64 strtof64_l (const char *__restrict __nptr,
2432083: char **__restrict __endptr,
2432083: locale_t __loc)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 3)));
2432083: # 338 "/usr/include/stdlib.h" 3 4
2432083: extern _Float32x strtof32x_l (const char *__restrict __nptr,
2432083: char **__restrict __endptr,
2432083: locale_t __loc)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 3)));
2432083: # 361 "/usr/include/stdlib.h" 3 4
2432083: extern __inline __attribute__ ((__gnu_inline__)) int
2432083: __attribute__ ((__nothrow__ , __leaf__)) atoi (const char *__nptr)
2432083: {
2432083: return (int) strtol (__nptr, (char **) ((void *)0), 10);
2432083: }
2432083: extern __inline __attribute__ ((__gnu_inline__)) long int
2432083: __attribute__ ((__nothrow__ , __leaf__)) atol (const char *__nptr)
2432083: {
2432083: return strtol (__nptr, (char **) ((void *)0), 10);
2432083: }
2432083:
2432083:
2432083: __extension__ extern __inline __attribute__ ((__gnu_inline__)) long long int
2432083: __attribute__ ((__nothrow__ , __leaf__)) atoll (const char *__nptr)
2432083: {
2432083: return strtoll (__nptr, (char **) ((void *)0), 10);
2432083: }
2432083: # 386 "/usr/include/stdlib.h" 3 4
2432083: extern char *l64a (long int __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__));
2432083:
2432083:
2432083: extern long int a64l (const char *__s)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
2432083: # 402 "/usr/include/stdlib.h" 3 4
2432083: extern long int random (void) __attribute__ ((__nothrow__ , __leaf__));
2432083:
2432083:
2432083: extern void srandom (unsigned int __seed) __attribute__ ((__nothrow__ , __leaf__));
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern char *initstate (unsigned int __seed, char *__statebuf,
2432083: size_t __statelen) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2)));
2432083:
2432083:
2432083:
2432083: extern char *setstate (char *__statebuf) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: struct random_data
2432083: {
2432083: int32_t *fptr;
2432083: int32_t *rptr;
2432083: int32_t *state;
2432083: int rand_type;
2432083: int rand_deg;
2432083: int rand_sep;
2432083: int32_t *end_ptr;
2432083: };
2432083:
2432083: extern int random_r (struct random_data *__restrict __buf,
2432083: int32_t *__restrict __result) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2)));
2432083:
2432083: extern int srandom_r (unsigned int __seed, struct random_data *__buf)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2)));
2432083:
2432083: extern int initstate_r (unsigned int __seed, char *__restrict __statebuf,
2432083: size_t __statelen,
2432083: struct random_data *__restrict __buf)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2, 4)));
2432083:
2432083: extern int setstate_r (char *__restrict __statebuf,
2432083: struct random_data *__restrict __buf)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2)));
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern int rand (void) __attribute__ ((__nothrow__ , __leaf__));
2432083:
2432083: extern void srand (unsigned int __seed) __attribute__ ((__nothrow__ , __leaf__));
2432083:
2432083:
2432083:
2432083: extern int rand_r (unsigned int *__seed) __attribute__ ((__nothrow__ , __leaf__));
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern double drand48 (void) __attribute__ ((__nothrow__ , __leaf__));
2432083: extern double erand48 (unsigned short int __xsubi[3]) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
2432083:
2432083:
2432083: extern long int lrand48 (void) __attribute__ ((__nothrow__ , __leaf__));
2432083: extern long int nrand48 (unsigned short int __xsubi[3])
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
2432083:
2432083:
2432083: extern long int mrand48 (void) __attribute__ ((__nothrow__ , __leaf__));
2432083: extern long int jrand48 (unsigned short int __xsubi[3])
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
2432083:
2432083:
2432083: extern void srand48 (long int __seedval) __attribute__ ((__nothrow__ , __leaf__));
2432083: extern unsigned short int *seed48 (unsigned short int __seed16v[3])
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
2432083: extern void lcong48 (unsigned short int __param[7]) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: struct drand48_data
2432083: {
2432083: unsigned short int __x[3];
2432083: unsigned short int __old_x[3];
2432083: unsigned short int __c;
2432083: unsigned short int __init;
2432083: __extension__ unsigned long long int __a;
2432083:
2432083: };
2432083:
2432083:
2432083: extern int drand48_r (struct drand48_data *__restrict __buffer,
2432083: double *__restrict __result) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2)));
2432083: extern int erand48_r (unsigned short int __xsubi[3],
2432083: struct drand48_data *__restrict __buffer,
2432083: double *__restrict __result) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2)));
2432083:
2432083:
2432083: extern int lrand48_r (struct drand48_data *__restrict __buffer,
2432083: long int *__restrict __result)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2)));
2432083: extern int nrand48_r (unsigned short int __xsubi[3],
2432083: struct drand48_data *__restrict __buffer,
2432083: long int *__restrict __result)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2)));
2432083:
2432083:
2432083: extern int mrand48_r (struct drand48_data *__restrict __buffer,
2432083: long int *__restrict __result)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2)));
2432083: extern int jrand48_r (unsigned short int __xsubi[3],
2432083: struct drand48_data *__restrict __buffer,
2432083: long int *__restrict __result)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2)));
2432083:
2432083:
2432083: extern int srand48_r (long int __seedval, struct drand48_data *__buffer)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2)));
2432083:
2432083: extern int seed48_r (unsigned short int __seed16v[3],
2432083: struct drand48_data *__buffer) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2)));
2432083:
2432083: extern int lcong48_r (unsigned short int __param[7],
2432083: struct drand48_data *__buffer)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2)));
2432083:
2432083:
2432083: extern __uint32_t arc4random (void)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__));
2432083:
2432083:
2432083: extern void arc4random_buf (void *__buf, size_t __size)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
2432083:
2432083:
2432083:
2432083: extern __uint32_t arc4random_uniform (__uint32_t __upper_bound)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__));
2432083:
2432083:
2432083:
2432083:
2432083: extern void *malloc (size_t __size) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__malloc__))
2432083: __attribute__ ((__alloc_size__ (1))) __attribute__ ((__warn_unused_result__));
2432083:
2432083: extern void *calloc (size_t __nmemb, size_t __size)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__malloc__)) __attribute__ ((__alloc_size__ (1, 2))) __attribute__ ((__warn_unused_result__));
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern void *realloc (void *__ptr, size_t __size)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__)) __attribute__ ((__alloc_size__ (2)));
2432083:
2432083:
2432083: extern void free (void *__ptr) __attribute__ ((__nothrow__ , __leaf__));
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern void *reallocarray (void *__ptr, size_t __nmemb, size_t __size)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__))
2432083: __attribute__ ((__alloc_size__ (2, 3)))
2432083: __attribute__ ((__malloc__ (__builtin_free, 1)));
2432083:
2432083:
2432083: extern void *reallocarray (void *__ptr, size_t __nmemb, size_t __size)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__malloc__ (reallocarray, 1)));
2432083:
2432083:
2432083:
2432083: # 1 "/usr/include/alloca.h" 1 3 4
2432083: # 24 "/usr/include/alloca.h" 3 4
2432083: # 1 "/usr/lib/gcc/m68k-linux-gnu/13/include/stddef.h" 1 3 4
2432083: # 25 "/usr/include/alloca.h" 2 3 4
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern void *alloca (size_t __size) __attribute__ ((__nothrow__ , __leaf__));
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: # 588 "/usr/include/stdlib.h" 2 3 4
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern void *valloc (size_t __size) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__malloc__))
2432083: __attribute__ ((__alloc_size__ (1))) __attribute__ ((__warn_unused_result__));
2432083:
2432083:
2432083:
2432083:
2432083: extern int posix_memalign (void **__memptr, size_t __alignment, size_t __size)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
2432083:
2432083:
2432083:
2432083:
2432083: extern void *aligned_alloc (size_t __alignment, size_t __size)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__malloc__)) __attribute__ ((__alloc_align__ (1)))
2432083: __attribute__ ((__alloc_size__ (2))) __attribute__ ((__warn_unused_result__));
2432083:
2432083:
2432083:
2432083: extern void abort (void) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__noreturn__));
2432083:
2432083:
2432083:
2432083: extern int atexit (void (*__func) (void)) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern int at_quick_exit (void (*__func) (void)) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern int on_exit (void (*__func) (int __status, void *__arg), void *__arg)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern void exit (int __status) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__noreturn__));
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern void quick_exit (int __status) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__noreturn__));
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern void _Exit (int __status) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__noreturn__));
2432083:
2432083:
2432083:
2432083:
2432083: extern char *getenv (const char *__name) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
2432083:
2432083:
2432083:
2432083:
2432083: extern char *secure_getenv (const char *__name)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern int putenv (char *__string) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern int setenv (const char *__name, const char *__value, int __replace)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2)));
2432083:
2432083:
2432083: extern int unsetenv (const char *__name) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern int clearenv (void) __attribute__ ((__nothrow__ , __leaf__));
2432083: # 695 "/usr/include/stdlib.h" 3 4
2432083: extern char *mktemp (char *__template) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
2432083: # 711 "/usr/include/stdlib.h" 3 4
2432083: extern int
2432083: # 711 "/usr/include/stdlib.h"
2432083: _ssh_mkstemp(
2432083: # 711 "/usr/include/stdlib.h" 3 4
2432083: char *__template
2432083: # 711 "/usr/include/stdlib.h"
2432083: )
2432083: # 711 "/usr/include/stdlib.h" 3 4
2432083: __asm__ ("" "mkstemp64")
2432083: __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern int mkstemp64 (char *__template) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
2432083: # 733 "/usr/include/stdlib.h" 3 4
2432083: extern int mkstemps (char *__template, int __suffixlen) __asm__ ("" "mkstemps64")
2432083: __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern int mkstemps64 (char *__template, int __suffixlen)
2432083: __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
2432083: # 751 "/usr/include/stdlib.h" 3 4
2432083: extern char *mkdtemp (char *__template) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
2432083: # 765 "/usr/include/stdlib.h" 3 4
2432083: extern int mkostemp (char *__template, int __flags) __asm__ ("" "mkostemp64")
2432083: __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern int mkostemp64 (char *__template, int __flags) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
2432083: # 786 "/usr/include/stdlib.h" 3 4
2432083: extern int mkostemps (char *__template, int __suffixlen, int __flags) __asm__ ("" "mkostemps64")
2432083:
2432083: __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern int mkostemps64 (char *__template, int __suffixlen, int __flags)
2432083: __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
2432083: # 804 "/usr/include/stdlib.h" 3 4
2432083: extern int system (const char *__command) __attribute__ ((__warn_unused_result__));
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern char *canonicalize_file_name (const char *__name)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__malloc__))
2432083: __attribute__ ((__malloc__ (__builtin_free, 1))) __attribute__ ((__warn_unused_result__));
2432083: # 821 "/usr/include/stdlib.h" 3 4
2432083: extern char *realpath (const char *__restrict __name,
2432083: char *__restrict __resolved) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__));
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: typedef int (*__compar_fn_t) (const void *, const void *);
2432083:
2432083:
2432083: typedef __compar_fn_t comparison_fn_t;
2432083:
2432083:
2432083:
2432083: typedef int (*__compar_d_fn_t) (const void *, const void *, void *);
2432083:
2432083:
2432083:
2432083:
2432083: extern void *bsearch (const void *__key, const void *__base,
2432083: size_t __nmemb, size_t __size, __compar_fn_t __compar)
2432083: __attribute__ ((__nonnull__ (1, 2, 5))) __attribute__ ((__warn_unused_result__));
2432083:
2432083:
2432083: # 1 "/usr/include/m68k-linux-gnu/bits/stdlib-bsearch.h" 1 3 4
2432083: # 19 "/usr/include/m68k-linux-gnu/bits/stdlib-bsearch.h" 3 4
2432083: extern __inline __attribute__ ((__gnu_inline__)) void *
2432083: bsearch (const void *__key, const void *__base, size_t __nmemb, size_t __size,
2432083: __compar_fn_t __compar)
2432083: {
2432083: size_t __l, __u, __idx;
2432083: const void *__p;
2432083: int __comparison;
2432083:
2432083: __l = 0;
2432083: __u = __nmemb;
2432083: while (__l < __u)
2432083: {
2432083: __idx = (__l + __u) / 2;
2432083: __p = (const void *) (((const char *) __base) + (__idx * __size));
2432083: __comparison = (*__compar) (__key, __p);
2432083: if (__comparison < 0)
2432083: __u = __idx;
2432083: else if (__comparison > 0)
2432083: __l = __idx + 1;
2432083: else
2432083: {
2432083:
2432083: #pragma GCC diagnostic push
2432083: #pragma GCC diagnostic ignored "-Wcast-qual"
2432083:
2432083: return (void *) __p;
2432083:
2432083: #pragma GCC diagnostic pop
2432083:
2432083: }
2432083: }
2432083:
2432083: return ((void *)0);
2432083: }
2432083: # 847 "/usr/include/stdlib.h" 2 3 4
2432083:
2432083:
2432083:
2432083:
2432083: extern void qsort (void *__base, size_t __nmemb, size_t __size,
2432083: __compar_fn_t __compar) __attribute__ ((__nonnull__ (1, 4)));
2432083:
2432083: extern void qsort_r (void *__base, size_t __nmemb, size_t __size,
2432083: __compar_d_fn_t __compar, void *__arg)
2432083: __attribute__ ((__nonnull__ (1, 4)));
2432083:
2432083:
2432083:
2432083:
2432083: extern int abs (int __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)) __attribute__ ((__warn_unused_result__));
2432083: extern long int labs (long int __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)) __attribute__ ((__warn_unused_result__));
2432083:
2432083:
2432083: __extension__ extern long long int llabs (long long int __x)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)) __attribute__ ((__warn_unused_result__));
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern div_t div (int __numer, int __denom)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)) __attribute__ ((__warn_unused_result__));
2432083: extern ldiv_t ldiv (long int __numer, long int __denom)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)) __attribute__ ((__warn_unused_result__));
2432083:
2432083:
2432083: __extension__ extern lldiv_t lldiv (long long int __numer,
2432083: long long int __denom)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)) __attribute__ ((__warn_unused_result__));
2432083: # 893 "/usr/include/stdlib.h" 3 4
2432083: extern char *ecvt (double __value, int __ndigit, int *__restrict __decpt,
2432083: int *__restrict __sign) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3, 4))) __attribute__ ((__warn_unused_result__));
2432083:
2432083:
2432083:
2432083:
2432083: extern char *fcvt (double __value, int __ndigit, int *__restrict __decpt,
2432083: int *__restrict __sign) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3, 4))) __attribute__ ((__warn_unused_result__));
2432083:
2432083:
2432083:
2432083:
2432083: extern char *gcvt (double __value, int __ndigit, char *__buf)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3))) __attribute__ ((__warn_unused_result__));
2432083:
2432083:
2432083:
2432083:
2432083: extern char *qecvt (long double __value, int __ndigit,
2432083: int *__restrict __decpt, int *__restrict __sign)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3, 4))) __attribute__ ((__warn_unused_result__));
2432083: extern char *qfcvt (long double __value, int __ndigit,
2432083: int *__restrict __decpt, int *__restrict __sign)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3, 4))) __attribute__ ((__warn_unused_result__));
2432083: extern char *qgcvt (long double __value, int __ndigit, char *__buf)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3))) __attribute__ ((__warn_unused_result__));
2432083:
2432083:
2432083:
2432083:
2432083: extern int ecvt_r (double __value, int __ndigit, int *__restrict __decpt,
2432083: int *__restrict __sign, char *__restrict __buf,
2432083: size_t __len) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3, 4, 5)));
2432083: extern int fcvt_r (double __value, int __ndigit, int *__restrict __decpt,
2432083: int *__restrict __sign, char *__restrict __buf,
2432083: size_t __len) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3, 4, 5)));
2432083:
2432083: extern int qecvt_r (long double __value, int __ndigit,
2432083: int *__restrict __decpt, int *__restrict __sign,
2432083: char *__restrict __buf, size_t __len)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3, 4, 5)));
2432083: extern int qfcvt_r (long double __value, int __ndigit,
2432083: int *__restrict __decpt, int *__restrict __sign,
2432083: char *__restrict __buf, size_t __len)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3, 4, 5)));
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern int mblen (const char *__s, size_t __n) __attribute__ ((__nothrow__ , __leaf__));
2432083:
2432083:
2432083: extern int mbtowc (wchar_t *__restrict __pwc,
2432083: const char *__restrict __s, size_t __n) __attribute__ ((__nothrow__ , __leaf__));
2432083:
2432083:
2432083: extern int wctomb (char *__s, wchar_t __wchar) __attribute__ ((__nothrow__ , __leaf__));
2432083:
2432083:
2432083:
2432083: extern size_t mbstowcs (wchar_t *__restrict __pwcs,
2432083: const char *__restrict __s, size_t __n) __attribute__ ((__nothrow__ , __leaf__))
2432083: __attribute__ ((__access__ (__read_only__, 2)));
2432083:
2432083: extern size_t wcstombs (char *__restrict __s,
2432083: const wchar_t *__restrict __pwcs, size_t __n)
2432083: __attribute__ ((__nothrow__ , __leaf__))
2432083: __attribute__ ((__access__ (__write_only__, 1, 3)))
2432083: __attribute__ ((__access__ (__read_only__, 2)));
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern int rpmatch (const char *__response) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
2432083: # 980 "/usr/include/stdlib.h" 3 4
2432083: extern int getsubopt (char **__restrict __optionp,
2432083: char *const *__restrict __tokens,
2432083: char **__restrict __valuep)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2, 3))) __attribute__ ((__warn_unused_result__));
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern int posix_openpt (int __oflag) __attribute__ ((__warn_unused_result__));
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern int grantpt (int __fd) __attribute__ ((__nothrow__ , __leaf__));
2432083:
2432083:
2432083:
2432083: extern int unlockpt (int __fd) __attribute__ ((__nothrow__ , __leaf__));
2432083:
2432083:
2432083:
2432083:
2432083: extern char *ptsname (int __fd) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__));
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern int ptsname_r (int __fd, char *__buf, size_t __buflen)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))) __attribute__ ((__access__ (__write_only__, 2, 3)));
2432083:
2432083:
2432083: extern int getpt (void);
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern int getloadavg (double __loadavg[], int __nelem)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
2432083: # 1036 "/usr/include/stdlib.h" 3 4
2432083: # 1 "/usr/include/m68k-linux-gnu/bits/stdlib-float.h" 1 3 4
2432083: # 24 "/usr/include/m68k-linux-gnu/bits/stdlib-float.h" 3 4
2432083: extern __inline __attribute__ ((__gnu_inline__)) double
2432083: __attribute__ ((__nothrow__ , __leaf__)) atof (const char *__nptr)
2432083: {
2432083: return strtod (__nptr, (char **) ((void *)0));
2432083: }
2432083: # 1037 "/usr/include/stdlib.h" 2 3 4
2432083:
2432083:
2432083:
2432083: # 1 "/usr/include/m68k-linux-gnu/bits/stdlib.h" 1 3 4
2432083: # 23 "/usr/include/m68k-linux-gnu/bits/stdlib.h" 3 4
2432083: extern char *__realpath_chk (const char *__restrict __name,
2432083: char *__restrict __resolved,
2432083: size_t __resolvedlen) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__));
2432083: extern char *__realpath_alias (const char *__restrict __name, char *__restrict __resolved) __asm__ ("" "realpath") __attribute__ ((__nothrow__ , __leaf__))
2432083:
2432083: __attribute__ ((__warn_unused_result__));
2432083: extern char *__realpath_chk_warn (const char *__restrict __name, char *__restrict __resolved, size_t __resolvedlen) __asm__ ("" "__realpath_chk") __attribute__ ((__nothrow__ , __leaf__))
2432083:
2432083:
2432083: __attribute__ ((__warn_unused_result__))
2432083: __attribute__((__warning__ ("second argument of realpath must be either NULL or at " "least PATH_MAX bytes long buffer")))
2432083: ;
2432083:
2432083: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) __attribute__ ((__warn_unused_result__)) char *
2432083: __attribute__ ((__nothrow__ , __leaf__)) realpath (const char *__restrict __name, char *__restrict __resolved)
2432083: {
2432083: size_t sz = __builtin_object_size (__resolved, 2 > 1);
2432083:
2432083: if (sz == (size_t) -1)
2432083: return __realpath_alias (__name, __resolved);
2432083:
2432083:
2432083: if ((((__typeof (4096)) 0 < (__typeof (4096)) -1 || (__builtin_constant_p (4096) && (4096) > 0)) && __builtin_constant_p ((((unsigned int) (4096)) <= (sz) / (sizeof (char)))) && !(((unsigned int) (4096)) <= (sz) / (sizeof (char)))))
2432083: return __realpath_chk_warn (__name, __resolved, sz);
2432083:
2432083: return __realpath_chk (__name, __resolved, sz);
2432083: }
2432083:
2432083:
2432083: extern int __ptsname_r_chk (int __fd, char *__buf, size_t __buflen,
2432083: size_t __nreal) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2)))
2432083: __attribute__ ((__access__ (__write_only__, 2, 3)));
2432083: extern int __ptsname_r_alias (int __fd, char *__buf, size_t __buflen) __asm__ ("" "ptsname_r") __attribute__ ((__nothrow__ , __leaf__))
2432083:
2432083: __attribute__ ((__nonnull__ (2))) __attribute__ ((__access__ (__write_only__, 2, 3)));
2432083: extern int __ptsname_r_chk_warn (int __fd, char *__buf, size_t __buflen, size_t __nreal) __asm__ ("" "__ptsname_r_chk") __attribute__ ((__nothrow__ , __leaf__))
2432083:
2432083:
2432083: __attribute__ ((__nonnull__ (2))) __attribute__((__warning__ ("ptsname_r called with buflen bigger than " "size of buf")))
2432083: ;
2432083:
2432083: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) int
2432083: __attribute__ ((__nothrow__ , __leaf__)) ptsname_r (int __fd, char *__buf, size_t __buflen)
2432083: {
2432083: return (((__builtin_constant_p (__builtin_object_size (__buf, 2 > 1)) && (__builtin_object_size (__buf, 2 > 1)) == (unsigned int) -1) || (((__typeof (__buflen)) 0 < (__typeof (__buflen)) -1 || (__builtin_constant_p (__buflen) && (__buflen) > 0)) && __builtin_constant_p ((((unsigned int) (__buflen)) <= ((__builtin_object_size (__buf, 2 > 1))) / ((sizeof (char))))) && (((unsigned int) (__buflen)) <= ((__builtin_object_size (__buf, 2 > 1))) / ((sizeof (char)))))) ? __ptsname_r_alias (__fd, __buf, __buflen) : ((((__typeof (__buflen)) 0 < (__typeof (__buflen)) -1 || (__builtin_constant_p (__buflen) && (__buflen) > 0)) && __builtin_constant_p ((((unsigned int) (__buflen)) <= (__builtin_object_size (__buf, 2 > 1)) / (sizeof (char)))) && !(((unsigned int) (__buflen)) <= (__builtin_object_size (__buf, 2 > 1)) / (sizeof (char)))) ? __ptsname_r_chk_warn (__fd, __buf, __buflen, __builtin_object_size (__buf, 2 > 1)) : __ptsname_r_chk (__fd, __buf, __buflen, __builtin_object_size (__buf, 2 > 1))))
2432083:
2432083: ;
2432083: }
2432083:
2432083:
2432083: extern int __wctomb_chk (char *__s, wchar_t __wchar, size_t __buflen)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__));
2432083: extern int __wctomb_alias (char *__s, wchar_t __wchar) __asm__ ("" "wctomb") __attribute__ ((__nothrow__ , __leaf__))
2432083: __attribute__ ((__warn_unused_result__));
2432083:
2432083: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) __attribute__ ((__warn_unused_result__)) int
2432083: __attribute__ ((__nothrow__ , __leaf__)) wctomb (char *__s, wchar_t __wchar)
2432083: {
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: if (__builtin_object_size (__s, 2 > 1) != (size_t) -1
2432083: && 16 > __builtin_object_size (__s, 2 > 1))
2432083: return __wctomb_chk (__s, __wchar, __builtin_object_size (__s, 2 > 1));
2432083: return __wctomb_alias (__s, __wchar);
2432083: }
2432083:
2432083:
2432083: extern size_t __mbstowcs_chk (wchar_t *__restrict __dst,
2432083: const char *__restrict __src,
2432083: size_t __len, size_t __dstlen) __attribute__ ((__nothrow__ , __leaf__))
2432083: __attribute__ ((__access__ (__write_only__, 1, 3))) __attribute__ ((__access__ (__read_only__, 2)));
2432083: extern size_t __mbstowcs_nulldst (wchar_t *__restrict __dst, const char *__restrict __src, size_t __len) __asm__ ("" "mbstowcs") __attribute__ ((__nothrow__ , __leaf__))
2432083:
2432083:
2432083:
2432083: __attribute__ ((__access__ (__read_only__, 2)));
2432083: extern size_t __mbstowcs_alias (wchar_t *__restrict __dst, const char *__restrict __src, size_t __len) __asm__ ("" "mbstowcs") __attribute__ ((__nothrow__ , __leaf__))
2432083:
2432083:
2432083:
2432083: __attribute__ ((__access__ (__write_only__, 1, 3))) __attribute__ ((__access__ (__read_only__, 2)));
2432083: extern size_t __mbstowcs_chk_warn (wchar_t *__restrict __dst, const char *__restrict __src, size_t __len, size_t __dstlen) __asm__ ("" "__mbstowcs_chk") __attribute__ ((__nothrow__ , __leaf__))
2432083:
2432083:
2432083:
2432083: __attribute__((__warning__ ("mbstowcs called with dst buffer smaller than len " "* sizeof (wchar_t)")))
2432083: ;
2432083:
2432083: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) size_t
2432083: __attribute__ ((__nothrow__ , __leaf__)) mbstowcs (wchar_t *__restrict __dst, const char *__restrict __src, size_t __len)
2432083:
2432083: {
2432083: if (__builtin_constant_p (__dst == ((void *)0)) && __dst == ((void *)0))
2432083: return __mbstowcs_nulldst (__dst, __src, __len);
2432083: else
2432083: return (((__builtin_constant_p (__builtin_object_size (__dst, 2 > 1)) && (__builtin_object_size (__dst, 2 > 1)) == (unsigned int) -1) || (((__typeof (__len)) 0 < (__typeof (__len)) -1 || (__builtin_constant_p (__len) && (__len) > 0)) && __builtin_constant_p ((((unsigned int) (__len)) <= ((__builtin_object_size (__dst, 2 > 1))) / ((sizeof (wchar_t))))) && (((unsigned int) (__len)) <= ((__builtin_object_size (__dst, 2 > 1))) / ((sizeof (wchar_t)))))) ? __mbstowcs_alias (__dst, __src, __len) : ((((__typeof (__len)) 0 < (__typeof (__len)) -1 || (__builtin_constant_p (__len) && (__len) > 0)) && __builtin_constant_p ((((unsigned int) (__len)) <= (__builtin_object_size (__dst, 2 > 1)) / (sizeof (wchar_t)))) && !(((unsigned int) (__len)) <= (__builtin_object_size (__dst, 2 > 1)) / (sizeof (wchar_t)))) ? __mbstowcs_chk_warn (__dst, __src, __len, (__builtin_object_size (__dst, 2 > 1)) / (sizeof (wchar_t))) : __mbstowcs_chk (__dst, __src, __len, (__builtin_object_size (__dst, 2 > 1)) / (sizeof (wchar_t)))))
2432083: ;
2432083: }
2432083:
2432083: extern size_t __wcstombs_chk (char *__restrict __dst,
2432083: const wchar_t *__restrict __src,
2432083: size_t __len, size_t __dstlen) __attribute__ ((__nothrow__ , __leaf__))
2432083: __attribute__ ((__access__ (__write_only__, 1, 3))) __attribute__ ((__access__ (__read_only__, 2)));
2432083: extern size_t __wcstombs_alias (char *__restrict __dst, const wchar_t *__restrict __src, size_t __len) __asm__ ("" "wcstombs") __attribute__ ((__nothrow__ , __leaf__))
2432083:
2432083:
2432083:
2432083: __attribute__ ((__access__ (__write_only__, 1, 3))) __attribute__ ((__access__ (__read_only__, 2)));
2432083: extern size_t __wcstombs_chk_warn (char *__restrict __dst, const wchar_t *__restrict __src, size_t __len, size_t __dstlen) __asm__ ("" "__wcstombs_chk") __attribute__ ((__nothrow__ , __leaf__))
2432083:
2432083:
2432083:
2432083: __attribute__((__warning__ ("wcstombs called with dst buffer smaller than len")));
2432083:
2432083: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) size_t
2432083: __attribute__ ((__nothrow__ , __leaf__)) wcstombs (char *__restrict __dst, const wchar_t *__restrict __src, size_t __len)
2432083:
2432083: {
2432083: return (((__builtin_constant_p (__builtin_object_size (__dst, 2 > 1)) && (__builtin_object_size (__dst, 2 > 1)) == (unsigned int) -1) || (((__typeof (__len)) 0 < (__typeof (__len)) -1 || (__builtin_constant_p (__len) && (__len) > 0)) && __builtin_constant_p ((((unsigned int) (__len)) <= ((__builtin_object_size (__dst, 2 > 1))) / ((sizeof (char))))) && (((unsigned int) (__len)) <= ((__builtin_object_size (__dst, 2 > 1))) / ((sizeof (char)))))) ? __wcstombs_alias (__dst, __src, __len) : ((((__typeof (__len)) 0 < (__typeof (__len)) -1 || (__builtin_constant_p (__len) && (__len) > 0)) && __builtin_constant_p ((((unsigned int) (__len)) <= (__builtin_object_size (__dst, 2 > 1)) / (sizeof (char)))) && !(((unsigned int) (__len)) <= (__builtin_object_size (__dst, 2 > 1)) / (sizeof (char)))) ? __wcstombs_chk_warn (__dst, __src, __len, __builtin_object_size (__dst, 2 > 1)) : __wcstombs_chk (__dst, __src, __len, __builtin_object_size (__dst, 2 > 1))))
2432083:
2432083: ;
2432083: }
2432083: # 1041 "/usr/include/stdlib.h" 2 3 4
2432083:
2432083:
2432083: # 1 "/usr/include/m68k-linux-gnu/bits/floatn.h" 1 3 4
2432083: # 1044 "/usr/include/stdlib.h" 2 3 4
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: # 26 "/usr/include/openssl/crypto.h" 2 3 4
2432083: # 1 "/usr/include/time.h" 1 3 4
2432083: # 29 "/usr/include/time.h" 3 4
2432083: # 1 "/usr/lib/gcc/m68k-linux-gnu/13/include/stddef.h" 1 3 4
2432083: # 30 "/usr/include/time.h" 2 3 4
2432083:
2432083:
2432083:
2432083: # 1 "/usr/include/m68k-linux-gnu/bits/time.h" 1 3 4
2432083: # 73 "/usr/include/m68k-linux-gnu/bits/time.h" 3 4
2432083: # 1 "/usr/include/m68k-linux-gnu/bits/timex.h" 1 3 4
2432083: # 26 "/usr/include/m68k-linux-gnu/bits/timex.h" 3 4
2432083: struct timex
2432083: {
2432083:
2432083: unsigned int modes;
2432083: int :32;
2432083: long long offset;
2432083: long long freq;
2432083: long long maxerror;
2432083: long long esterror;
2432083: int status;
2432083: int :32;
2432083: long long constant;
2432083: long long precision;
2432083: long long tolerance;
2432083: struct timeval time;
2432083: long long tick;
2432083: long long ppsfreq;
2432083: long long jitter;
2432083: int shift;
2432083: int :32;
2432083: long long stabil;
2432083: long long jitcnt;
2432083: long long calcnt;
2432083: long long errcnt;
2432083: long long stbcnt;
2432083:
2432083: int tai;
2432083:
2432083: int :32; int :32; int :32; int :32;
2432083: int :32; int :32; int :32; int :32;
2432083: int :32; int :32; int :32;
2432083: # 85 "/usr/include/m68k-linux-gnu/bits/timex.h" 3 4
2432083: };
2432083: # 74 "/usr/include/m68k-linux-gnu/bits/time.h" 2 3 4
2432083:
2432083:
2432083:
2432083:
2432083: extern int clock_adjtime (__clockid_t __clock_id, struct timex *__utx) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2)));
2432083:
2432083:
2432083:
2432083: extern int clock_adjtime (__clockid_t __clock_id, struct timex *__utx) __asm__ ("" "__clock_adjtime64") __attribute__ ((__nothrow__ , __leaf__))
2432083:
2432083: __attribute__ ((__nonnull__ (2)));
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: # 34 "/usr/include/time.h" 2 3 4
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: # 1 "/usr/include/m68k-linux-gnu/bits/types/struct_tm.h" 1 3 4
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: struct tm
2432083: {
2432083: int tm_sec;
2432083: int tm_min;
2432083: int tm_hour;
2432083: int tm_mday;
2432083: int tm_mon;
2432083: int tm_year;
2432083: int tm_wday;
2432083: int tm_yday;
2432083: int tm_isdst;
2432083:
2432083:
2432083: long int tm_gmtoff;
2432083: const char *tm_zone;
2432083:
2432083:
2432083:
2432083:
2432083: };
2432083: # 40 "/usr/include/time.h" 2 3 4
2432083: # 48 "/usr/include/time.h" 3 4
2432083: # 1 "/usr/include/m68k-linux-gnu/bits/types/struct_itimerspec.h" 1 3 4
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: struct itimerspec
2432083: {
2432083: struct timespec it_interval;
2432083: struct timespec it_value;
2432083: };
2432083: # 49 "/usr/include/time.h" 2 3 4
2432083: struct sigevent;
2432083: # 68 "/usr/include/time.h" 3 4
2432083:
2432083:
2432083:
2432083:
2432083: extern clock_t clock (void) __attribute__ ((__nothrow__ , __leaf__));
2432083: # 86 "/usr/include/time.h" 3 4
2432083: extern time_t time (time_t *__timer) __asm__ ("" "__time64") __attribute__ ((__nothrow__ , __leaf__));
2432083: extern double difftime (time_t __time1, time_t __time0) __asm__ ("" "__difftime64") __attribute__ ((__nothrow__ , __leaf__))
2432083: __attribute__ ((__const__));
2432083: extern time_t mktime (struct tm *__tp) __asm__ ("" "__mktime64") __attribute__ ((__nothrow__ , __leaf__));
2432083: # 100 "/usr/include/time.h" 3 4
2432083: extern size_t strftime (char *__restrict __s, size_t __maxsize,
2432083: const char *__restrict __format,
2432083: const struct tm *__restrict __tp) __attribute__ ((__nothrow__ , __leaf__));
2432083:
2432083:
2432083:
2432083:
2432083: extern char *strptime (const char *__restrict __s,
2432083: const char *__restrict __fmt, struct tm *__tp)
2432083: __attribute__ ((__nothrow__ , __leaf__));
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern size_t strftime_l (char *__restrict __s, size_t __maxsize,
2432083: const char *__restrict __format,
2432083: const struct tm *__restrict __tp,
2432083: locale_t __loc) __attribute__ ((__nothrow__ , __leaf__));
2432083:
2432083:
2432083:
2432083: extern char *strptime_l (const char *__restrict __s,
2432083: const char *__restrict __fmt, struct tm *__tp,
2432083: locale_t __loc) __attribute__ ((__nothrow__ , __leaf__));
2432083: # 140 "/usr/include/time.h" 3 4
2432083: extern struct tm*gmtime (const time_t *__timer) __asm__ ("" "__gmtime64") __attribute__ ((__nothrow__ , __leaf__));
2432083: extern struct tm *localtime (const time_t *__timer) __asm__ ("" "__localtime64") __attribute__ ((__nothrow__ , __leaf__))
2432083: ;
2432083: # 163 "/usr/include/time.h" 3 4
2432083: extern struct tm*gmtime_r (const time_t *__restrict __timer, struct tm *__restrict __tp) __asm__ ("" "__gmtime64_r") __attribute__ ((__nothrow__ , __leaf__))
2432083:
2432083: ;
2432083:
2432083: extern struct tm*localtime_r (const time_t *__restrict __t, struct tm *__restrict __tp) __asm__ ("" "__localtime64_r") __attribute__ ((__nothrow__ , __leaf__))
2432083:
2432083: ;
2432083: # 179 "/usr/include/time.h" 3 4
2432083: extern char *asctime (const struct tm *__tp) __attribute__ ((__nothrow__ , __leaf__));
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern char *ctime (const time_t *__timer) __asm__ ("" "__ctime64") __attribute__ ((__nothrow__ , __leaf__));
2432083: # 197 "/usr/include/time.h" 3 4
2432083: extern char *asctime_r (const struct tm *__restrict __tp,
2432083: char *__restrict __buf) __attribute__ ((__nothrow__ , __leaf__));
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern char *ctime_r (const time_t *__restrict __timer, char *__restrict __buf) __asm__ ("" "__ctime64_r") __attribute__ ((__nothrow__ , __leaf__))
2432083: ;
2432083: # 217 "/usr/include/time.h" 3 4
2432083: extern char *__tzname[2];
2432083: extern int __daylight;
2432083: extern long int __timezone;
2432083:
2432083:
2432083:
2432083:
2432083: extern char *tzname[2];
2432083:
2432083:
2432083:
2432083: extern void tzset (void) __attribute__ ((__nothrow__ , __leaf__));
2432083:
2432083:
2432083:
2432083: extern int daylight;
2432083: extern long int timezone;
2432083: # 249 "/usr/include/time.h" 3 4
2432083: extern time_t timegm (struct tm *__tp) __asm__ ("" "__timegm64") __attribute__ ((__nothrow__ , __leaf__));
2432083: # 266 "/usr/include/time.h" 3 4
2432083: extern time_t timelocal (struct tm *__tp) __asm__ ("" "__mktime64") __attribute__ ((__nothrow__ , __leaf__));
2432083:
2432083:
2432083:
2432083:
2432083: extern int dysize (int __year) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__));
2432083: # 296 "/usr/include/time.h" 3 4
2432083: extern int nanosleep (const struct timespec *__requested_time, struct timespec *__remaining) __asm__ ("" "__nanosleep64")
2432083:
2432083: ;
2432083: extern int clock_getres (clockid_t __clock_id, struct timespec *__res) __asm__ ("" "__clock_getres64") __attribute__ ((__nothrow__ , __leaf__))
2432083:
2432083: ;
2432083: extern int clock_gettime (clockid_t __clock_id, struct timespec *__tp) __asm__ ("" "__clock_gettime64") __attribute__ ((__nothrow__ , __leaf__))
2432083:
2432083: __attribute__ ((__nonnull__ (2)));
2432083: extern int clock_settime (clockid_t __clock_id, const struct timespec *__tp) __asm__ ("" "__clock_settime64") __attribute__ ((__nothrow__ , __leaf__))
2432083:
2432083: __attribute__ ((__nonnull__ (2)));
2432083: # 328 "/usr/include/time.h" 3 4
2432083: extern int clock_nanosleep (clockid_t __clock_id, int __flags, const struct timespec *__req, struct timespec *__rem) __asm__ ("" "__clock_nanosleep_time64")
2432083:
2432083:
2432083: ;
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern int clock_getcpuclockid (pid_t __pid, clockid_t *__clock_id) __attribute__ ((__nothrow__ , __leaf__));
2432083:
2432083:
2432083:
2432083:
2432083: extern int timer_create (clockid_t __clock_id,
2432083: struct sigevent *__restrict __evp,
2432083: timer_t *__restrict __timerid) __attribute__ ((__nothrow__ , __leaf__));
2432083:
2432083:
2432083: extern int timer_delete (timer_t __timerid) __attribute__ ((__nothrow__ , __leaf__));
2432083: # 361 "/usr/include/time.h" 3 4
2432083: extern int timer_settime (timer_t __timerid, int __flags, const struct itimerspec *__restrict __value, struct itimerspec *__restrict __ovalue) __asm__ ("" "__timer_settime64") __attribute__ ((__nothrow__ , __leaf__))
2432083:
2432083:
2432083: ;
2432083:
2432083: extern int timer_gettime (timer_t __timerid, struct itimerspec *__value) __asm__ ("" "__timer_gettime64") __attribute__ ((__nothrow__ , __leaf__))
2432083:
2432083: ;
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern int timer_getoverrun (timer_t __timerid) __attribute__ ((__nothrow__ , __leaf__));
2432083: # 387 "/usr/include/time.h" 3 4
2432083: extern int timespec_get (struct timespec *__ts, int __base) __asm__ ("" "__timespec_get64") __attribute__ ((__nothrow__ , __leaf__))
2432083: __attribute__ ((__nonnull__ (1)));
2432083: # 403 "/usr/include/time.h" 3 4
2432083: extern int timespec_getres (struct timespec *__ts, int __base) __asm__ ("" "__timespec_getres64") __attribute__ ((__nothrow__ , __leaf__))
2432083:
2432083: ;
2432083: # 425 "/usr/include/time.h" 3 4
2432083: extern int getdate_err;
2432083: # 434 "/usr/include/time.h" 3 4
2432083: extern struct tm *getdate (const char *__string);
2432083: # 448 "/usr/include/time.h" 3 4
2432083: extern int getdate_r (const char *__restrict __string,
2432083: struct tm *__restrict __resbufp);
2432083:
2432083:
2432083:
2432083: # 27 "/usr/include/openssl/crypto.h" 2 3 4
2432083: # 36 "/usr/include/openssl/crypto.h" 3 4
2432083: # 1 "/usr/include/openssl/types.h" 1 3 4
2432083: # 37 "/usr/include/openssl/crypto.h" 2 3 4
2432083:
2432083: # 1 "/usr/include/openssl/cryptoerr.h" 1 3 4
2432083: # 13 "/usr/include/openssl/cryptoerr.h" 3 4
2432083:
2432083:
2432083:
2432083: # 1 "/usr/include/openssl/symhacks.h" 1 3 4
2432083: # 12 "/usr/include/openssl/symhacks.h" 3 4
2432083:
2432083: # 17 "/usr/include/openssl/cryptoerr.h" 2 3 4
2432083: # 1 "/usr/include/openssl/cryptoerr_legacy.h" 1 3 4
2432083: # 19 "/usr/include/openssl/cryptoerr_legacy.h" 3 4
2432083:
2432083: # 29 "/usr/include/openssl/cryptoerr_legacy.h" 3 4
2432083: int ERR_load_ASN1_strings(void);
2432083: int ERR_load_ASYNC_strings(void);
2432083: int ERR_load_BIO_strings(void);
2432083: int ERR_load_BN_strings(void);
2432083: int ERR_load_BUF_strings(void);
2432083:
2432083: int ERR_load_CMS_strings(void);
2432083:
2432083:
2432083: int ERR_load_COMP_strings(void);
2432083:
2432083: int ERR_load_CONF_strings(void);
2432083: int ERR_load_CRYPTO_strings(void);
2432083:
2432083: int ERR_load_CT_strings(void);
2432083:
2432083:
2432083: int ERR_load_DH_strings(void);
2432083:
2432083:
2432083: int ERR_load_DSA_strings(void);
2432083:
2432083:
2432083: int ERR_load_EC_strings(void);
2432083:
2432083:
2432083: int ERR_load_ENGINE_strings(void);
2432083:
2432083: int ERR_load_ERR_strings(void);
2432083: int ERR_load_EVP_strings(void);
2432083: int ERR_load_KDF_strings(void);
2432083: int ERR_load_OBJ_strings(void);
2432083:
2432083: int ERR_load_OCSP_strings(void);
2432083:
2432083: int ERR_load_PEM_strings(void);
2432083: int ERR_load_PKCS12_strings(void);
2432083: int ERR_load_PKCS7_strings(void);
2432083: int ERR_load_RAND_strings(void);
2432083: int ERR_load_RSA_strings(void);
2432083: int ERR_load_OSSL_STORE_strings(void);
2432083:
2432083: int ERR_load_TS_strings(void);
2432083:
2432083: int ERR_load_UI_strings(void);
2432083: int ERR_load_X509_strings(void);
2432083: int ERR_load_X509V3_strings(void);
2432083: # 18 "/usr/include/openssl/cryptoerr.h" 2 3 4
2432083: # 39 "/usr/include/openssl/crypto.h" 2 3 4
2432083: # 1 "/usr/include/openssl/core.h" 1 3 4
2432083: # 12 "/usr/include/openssl/core.h" 3 4
2432083:
2432083:
2432083: # 1 "/usr/lib/gcc/m68k-linux-gnu/13/include/stddef.h" 1 3 4
2432083: # 15 "/usr/include/openssl/core.h" 2 3 4
2432083: # 1 "/usr/include/openssl/types.h" 1 3 4
2432083: # 16 "/usr/include/openssl/core.h" 2 3 4
2432083: # 30 "/usr/include/openssl/core.h" 3 4
2432083: typedef struct ossl_core_handle_st OSSL_CORE_HANDLE;
2432083: typedef struct openssl_core_ctx_st OPENSSL_CORE_CTX;
2432083: typedef struct ossl_core_bio_st OSSL_CORE_BIO;
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: struct ossl_dispatch_st {
2432083: int function_id;
2432083: void (*function)(void);
2432083: };
2432083: # 58 "/usr/include/openssl/core.h" 3 4
2432083: struct ossl_item_st {
2432083: unsigned int id;
2432083: void *ptr;
2432083: };
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: struct ossl_algorithm_st {
2432083: const char *algorithm_names;
2432083: const char *property_definition;
2432083: const OSSL_DISPATCH *implementation;
2432083: const char *algorithm_description;
2432083: };
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: struct ossl_param_st {
2432083: const char *key;
2432083: unsigned int data_type;
2432083: void *data;
2432083: size_t data_size;
2432083: size_t return_size;
2432083: };
2432083: # 169 "/usr/include/openssl/core.h" 3 4
2432083: typedef void (*OSSL_thread_stop_handler_fn)(void *arg);
2432083: # 190 "/usr/include/openssl/core.h" 3 4
2432083: typedef int (OSSL_provider_init_fn)(const OSSL_CORE_HANDLE *handle,
2432083: const OSSL_DISPATCH *in,
2432083: const OSSL_DISPATCH **out,
2432083: void **provctx);
2432083:
2432083:
2432083:
2432083:
2432083: extern OSSL_provider_init_fn OSSL_provider_init;
2432083: # 216 "/usr/include/openssl/core.h" 3 4
2432083: typedef int (OSSL_CALLBACK)(const OSSL_PARAM params[], void *arg);
2432083: typedef int (OSSL_INOUT_CALLBACK)(const OSSL_PARAM in_params[],
2432083: OSSL_PARAM out_params[], void *arg);
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: typedef int (OSSL_PASSPHRASE_CALLBACK)(char *pass, size_t pass_size,
2432083: size_t *pass_len,
2432083: const OSSL_PARAM params[], void *arg);
2432083: # 40 "/usr/include/openssl/crypto.h" 2 3 4
2432083: # 73 "/usr/include/openssl/crypto.h" 3 4
2432083: typedef struct {
2432083: int dummy;
2432083: } CRYPTO_dynlock;
2432083:
2432083:
2432083:
2432083: typedef void CRYPTO_RWLOCK;
2432083:
2432083: CRYPTO_RWLOCK *CRYPTO_THREAD_lock_new(void);
2432083: int CRYPTO_THREAD_read_lock(CRYPTO_RWLOCK *lock);
2432083: int CRYPTO_THREAD_write_lock(CRYPTO_RWLOCK *lock);
2432083: int CRYPTO_THREAD_unlock(CRYPTO_RWLOCK *lock);
2432083: void CRYPTO_THREAD_lock_free(CRYPTO_RWLOCK *lock);
2432083:
2432083: int CRYPTO_atomic_add(int *val, int amount, int *ret, CRYPTO_RWLOCK *lock);
2432083: int CRYPTO_atomic_or(uint64_t *val, uint64_t op, uint64_t *ret,
2432083: CRYPTO_RWLOCK *lock);
2432083: int CRYPTO_atomic_load(uint64_t *val, uint64_t *ret, CRYPTO_RWLOCK *lock);
2432083: # 124 "/usr/include/openssl/crypto.h" 3 4
2432083: size_t OPENSSL_strlcpy(char *dst, const char *src, size_t siz);
2432083: size_t OPENSSL_strlcat(char *dst, const char *src, size_t siz);
2432083: size_t OPENSSL_strnlen(const char *str, size_t maxlen);
2432083: int OPENSSL_buf2hexstr_ex(char *str, size_t str_n, size_t *strlength,
2432083: const unsigned char *buf, size_t buflen,
2432083: const char sep);
2432083: char *OPENSSL_buf2hexstr(const unsigned char *buf, long buflen);
2432083: int OPENSSL_hexstr2buf_ex(unsigned char *buf, size_t buf_n, size_t *buflen,
2432083: const char *str, const char sep);
2432083: unsigned char *OPENSSL_hexstr2buf(const char *str, long *buflen);
2432083: int OPENSSL_hexchar2int(unsigned char c);
2432083: int OPENSSL_strcasecmp(const char *s1, const char *s2);
2432083: int OPENSSL_strncasecmp(const char *s1, const char *s2, size_t n);
2432083: # 145 "/usr/include/openssl/crypto.h" 3 4
2432083: unsigned int OPENSSL_version_major(void);
2432083: unsigned int OPENSSL_version_minor(void);
2432083: unsigned int OPENSSL_version_patch(void);
2432083: const char *OPENSSL_version_pre_release(void);
2432083: const char *OPENSSL_version_build_metadata(void);
2432083:
2432083: unsigned long OpenSSL_version_num(void);
2432083: const char *OpenSSL_version(int type);
2432083: # 164 "/usr/include/openssl/crypto.h" 3 4
2432083: const char *OPENSSL_info(int type);
2432083: # 178 "/usr/include/openssl/crypto.h" 3 4
2432083: int OPENSSL_issetugid(void);
2432083:
2432083: struct crypto_ex_data_st {
2432083: OSSL_LIB_CTX *ctx;
2432083: struct stack_st_void *sk;
2432083: };
2432083:
2432083: struct stack_st_void; typedef int (*sk_void_compfunc)(const void * const *a, const void *const *b); typedef void (*sk_void_freefunc)(void *a); typedef void * (*sk_void_copyfunc)(const void *a); static __attribute__((unused)) inline void *ossl_check_void_type(void *ptr) { return ptr; } static __attribute__((unused)) inline const OPENSSL_STACK *ossl_check_const_void_sk_type(const struct stack_st_void *sk) { return (const OPENSSL_STACK *)sk; } static __attribute__((unused)) inline OPENSSL_STACK *ossl_check_void_sk_type(struct stack_st_void *sk) { return (OPENSSL_STACK *)sk; } static __attribute__((unused)) inline OPENSSL_sk_compfunc ossl_check_void_compfunc_type(sk_void_compfunc cmp) { return (OPENSSL_sk_compfunc)cmp; } static __attribute__((unused)) inline OPENSSL_sk_copyfunc ossl_check_void_copyfunc_type(sk_void_copyfunc cpy) { return (OPENSSL_sk_copyfunc)cpy; } static __attribute__((unused)) inline OPENSSL_sk_freefunc ossl_check_void_freefunc_type(sk_void_freefunc fr) { return (OPENSSL_sk_freefunc)fr; }
2432083: # 238 "/usr/include/openssl/crypto.h" 3 4
2432083: typedef void CRYPTO_EX_new (void *parent, void *ptr, CRYPTO_EX_DATA *ad,
2432083: int idx, long argl, void *argp);
2432083: typedef void CRYPTO_EX_free (void *parent, void *ptr, CRYPTO_EX_DATA *ad,
2432083: int idx, long argl, void *argp);
2432083: typedef int CRYPTO_EX_dup (CRYPTO_EX_DATA *to, const CRYPTO_EX_DATA *from,
2432083: void **from_d, int idx, long argl, void *argp);
2432083: int CRYPTO_get_ex_new_index(int class_index, long argl, void *argp,
2432083: CRYPTO_EX_new *new_func,
2432083: CRYPTO_EX_dup *dup_func,
2432083: CRYPTO_EX_free *free_func);
2432083:
2432083: int CRYPTO_free_ex_index(int class_index, int idx);
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: int CRYPTO_new_ex_data(int class_index, void *obj, CRYPTO_EX_DATA *ad);
2432083: int CRYPTO_dup_ex_data(int class_index, CRYPTO_EX_DATA *to,
2432083: const CRYPTO_EX_DATA *from);
2432083:
2432083: void CRYPTO_free_ex_data(int class_index, void *obj, CRYPTO_EX_DATA *ad);
2432083:
2432083:
2432083: int CRYPTO_alloc_ex_data(int class_index, void *obj, CRYPTO_EX_DATA *ad,
2432083: int idx);
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: int CRYPTO_set_ex_data(CRYPTO_EX_DATA *ad, int idx, void *val);
2432083: void *CRYPTO_get_ex_data(const CRYPTO_EX_DATA *ad, int idx);
2432083: # 306 "/usr/include/openssl/crypto.h" 3 4
2432083: typedef struct crypto_threadid_st {
2432083: int dummy;
2432083: } CRYPTO_THREADID;
2432083: # 333 "/usr/include/openssl/crypto.h" 3 4
2432083: typedef void *(*CRYPTO_malloc_fn)(size_t num, const char *file, int line);
2432083: typedef void *(*CRYPTO_realloc_fn)(void *addr, size_t num, const char *file,
2432083: int line);
2432083: typedef void (*CRYPTO_free_fn)(void *addr, const char *file, int line);
2432083: int CRYPTO_set_mem_functions(CRYPTO_malloc_fn malloc_fn,
2432083: CRYPTO_realloc_fn realloc_fn,
2432083: CRYPTO_free_fn free_fn);
2432083: void CRYPTO_get_mem_functions(CRYPTO_malloc_fn *malloc_fn,
2432083: CRYPTO_realloc_fn *realloc_fn,
2432083: CRYPTO_free_fn *free_fn);
2432083:
2432083: __attribute__((__malloc__)) void *CRYPTO_malloc(size_t num, const char *file, int line);
2432083: __attribute__((__malloc__)) void *CRYPTO_zalloc(size_t num, const char *file, int line);
2432083: __attribute__((__malloc__)) void *CRYPTO_memdup(const void *str, size_t siz, const char *file, int line);
2432083: __attribute__((__malloc__)) char *CRYPTO_strdup(const char *str, const char *file, int line);
2432083: __attribute__((__malloc__)) char *CRYPTO_strndup(const char *str, size_t s, const char *file, int line);
2432083: void CRYPTO_free(void *ptr, const char *file, int line);
2432083: void CRYPTO_clear_free(void *ptr, size_t num, const char *file, int line);
2432083: void *CRYPTO_realloc(void *addr, size_t num, const char *file, int line);
2432083: void *CRYPTO_clear_realloc(void *addr, size_t old_num, size_t num,
2432083: const char *file, int line);
2432083:
2432083: int CRYPTO_secure_malloc_init(size_t sz, size_t minsize);
2432083: int CRYPTO_secure_malloc_done(void);
2432083: __attribute__((__malloc__)) void *CRYPTO_secure_malloc(size_t num, const char *file, int line);
2432083: __attribute__((__malloc__)) void *CRYPTO_secure_zalloc(size_t num, const char *file, int line);
2432083: void CRYPTO_secure_free(void *ptr, const char *file, int line);
2432083: void CRYPTO_secure_clear_free(void *ptr, size_t num,
2432083: const char *file, int line);
2432083: int CRYPTO_secure_allocated(const void *ptr);
2432083: int CRYPTO_secure_malloc_initialized(void);
2432083: size_t CRYPTO_secure_actual_size(void *ptr);
2432083: size_t CRYPTO_secure_used(void);
2432083:
2432083: void OPENSSL_cleanse(void *ptr, size_t len);
2432083: # 415 "/usr/include/openssl/crypto.h" 3 4
2432083: _Noreturn void OPENSSL_die(const char *assertion, const char *file, int line);
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: int OPENSSL_isservice(void);
2432083:
2432083: void OPENSSL_init(void);
2432083:
2432083:
2432083: void OPENSSL_fork_prepare(void);
2432083: void OPENSSL_fork_parent(void);
2432083: void OPENSSL_fork_child(void);
2432083:
2432083:
2432083:
2432083: struct tm *OPENSSL_gmtime(const time_t *timer, struct tm *result);
2432083: int OPENSSL_gmtime_adj(struct tm *tm, int offset_day, long offset_sec);
2432083: int OPENSSL_gmtime_diff(int *pday, int *psec,
2432083: const struct tm *from, const struct tm *to);
2432083: # 445 "/usr/include/openssl/crypto.h" 3 4
2432083: int CRYPTO_memcmp(const void * in_a, const void * in_b, size_t len);
2432083: # 484 "/usr/include/openssl/crypto.h" 3 4
2432083: void OPENSSL_cleanup(void);
2432083: int OPENSSL_init_crypto(uint64_t opts, const OPENSSL_INIT_SETTINGS *settings);
2432083: int OPENSSL_atexit(void (*handler)(void));
2432083: void OPENSSL_thread_stop(void);
2432083: void OPENSSL_thread_stop_ex(OSSL_LIB_CTX *ctx);
2432083:
2432083:
2432083: OPENSSL_INIT_SETTINGS *OPENSSL_INIT_new(void);
2432083:
2432083: int OPENSSL_INIT_set_config_filename(OPENSSL_INIT_SETTINGS *settings,
2432083: const char *config_filename);
2432083: void OPENSSL_INIT_set_config_file_flags(OPENSSL_INIT_SETTINGS *settings,
2432083: unsigned long flags);
2432083: int OPENSSL_INIT_set_config_appname(OPENSSL_INIT_SETTINGS *settings,
2432083: const char *config_appname);
2432083:
2432083: void OPENSSL_INIT_free(OPENSSL_INIT_SETTINGS *settings);
2432083: # 518 "/usr/include/openssl/crypto.h" 3 4
2432083: # 1 "/usr/include/pthread.h" 1 3 4
2432083: # 22 "/usr/include/pthread.h" 3 4
2432083: # 1 "/usr/include/sched.h" 1 3 4
2432083: # 29 "/usr/include/sched.h" 3 4
2432083: # 1 "/usr/lib/gcc/m68k-linux-gnu/13/include/stddef.h" 1 3 4
2432083: # 30 "/usr/include/sched.h" 2 3 4
2432083: # 43 "/usr/include/sched.h" 3 4
2432083: # 1 "/usr/include/m68k-linux-gnu/bits/sched.h" 1 3 4
2432083: # 80 "/usr/include/m68k-linux-gnu/bits/sched.h" 3 4
2432083: # 1 "/usr/include/m68k-linux-gnu/bits/types/struct_sched_param.h" 1 3 4
2432083: # 23 "/usr/include/m68k-linux-gnu/bits/types/struct_sched_param.h" 3 4
2432083: struct sched_param
2432083: {
2432083: int sched_priority;
2432083: };
2432083: # 81 "/usr/include/m68k-linux-gnu/bits/sched.h" 2 3 4
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern int clone (int (*__fn) (void *__arg), void *__child_stack,
2432083: int __flags, void *__arg, ...) __attribute__ ((__nothrow__ , __leaf__));
2432083:
2432083:
2432083: extern int unshare (int __flags) __attribute__ ((__nothrow__ , __leaf__));
2432083:
2432083:
2432083: extern int sched_getcpu (void) __attribute__ ((__nothrow__ , __leaf__));
2432083:
2432083:
2432083: extern int getcpu (unsigned int *, unsigned int *) __attribute__ ((__nothrow__ , __leaf__));
2432083:
2432083:
2432083: extern int setns (int __fd, int __nstype) __attribute__ ((__nothrow__ , __leaf__));
2432083:
2432083:
2432083:
2432083: # 44 "/usr/include/sched.h" 2 3 4
2432083: # 1 "/usr/include/m68k-linux-gnu/bits/cpu-set.h" 1 3 4
2432083: # 32 "/usr/include/m68k-linux-gnu/bits/cpu-set.h" 3 4
2432083: typedef unsigned long int __cpu_mask;
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: typedef struct
2432083: {
2432083: __cpu_mask __bits[1024 / (8 * sizeof (__cpu_mask))];
2432083: } cpu_set_t;
2432083: # 115 "/usr/include/m68k-linux-gnu/bits/cpu-set.h" 3 4
2432083:
2432083:
2432083: extern int __sched_cpucount (size_t __setsize, const cpu_set_t *__setp)
2432083: __attribute__ ((__nothrow__ , __leaf__));
2432083: extern cpu_set_t *__sched_cpualloc (size_t __count) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__));
2432083: extern void __sched_cpufree (cpu_set_t *__set) __attribute__ ((__nothrow__ , __leaf__));
2432083:
2432083:
2432083: # 45 "/usr/include/sched.h" 2 3 4
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern int sched_setparam (__pid_t __pid, const struct sched_param *__param)
2432083: __attribute__ ((__nothrow__ , __leaf__));
2432083:
2432083:
2432083: extern int sched_getparam (__pid_t __pid, struct sched_param *__param) __attribute__ ((__nothrow__ , __leaf__));
2432083:
2432083:
2432083: extern int sched_setscheduler (__pid_t __pid, int __policy,
2432083: const struct sched_param *__param) __attribute__ ((__nothrow__ , __leaf__));
2432083:
2432083:
2432083: extern int sched_getscheduler (__pid_t __pid) __attribute__ ((__nothrow__ , __leaf__));
2432083:
2432083:
2432083: extern int sched_yield (void) __attribute__ ((__nothrow__ , __leaf__));
2432083:
2432083:
2432083: extern int sched_get_priority_max (int __algorithm) __attribute__ ((__nothrow__ , __leaf__));
2432083:
2432083:
2432083: extern int sched_get_priority_min (int __algorithm) __attribute__ ((__nothrow__ , __leaf__));
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern int sched_rr_get_interval (__pid_t __pid, struct timespec *__t) __asm__ ("" "__sched_rr_get_interval64") __attribute__ ((__nothrow__ , __leaf__))
2432083:
2432083: ;
2432083: # 130 "/usr/include/sched.h" 3 4
2432083: extern int sched_setaffinity (__pid_t __pid, size_t __cpusetsize,
2432083: const cpu_set_t *__cpuset) __attribute__ ((__nothrow__ , __leaf__));
2432083:
2432083:
2432083: extern int sched_getaffinity (__pid_t __pid, size_t __cpusetsize,
2432083: cpu_set_t *__cpuset) __attribute__ ((__nothrow__ , __leaf__));
2432083:
2432083:
2432083:
2432083: # 23 "/usr/include/pthread.h" 2 3 4
2432083:
2432083:
2432083:
2432083:
2432083: # 1 "/usr/include/m68k-linux-gnu/bits/setjmp.h" 1 3 4
2432083: # 26 "/usr/include/m68k-linux-gnu/bits/setjmp.h" 3 4
2432083: typedef struct __jmp_buf_internal_tag
2432083: {
2432083:
2432083: long int __dregs[7];
2432083:
2432083:
2432083: int *__aregs[6];
2432083: int *__fp;
2432083: int *__sp;
2432083:
2432083:
2432083:
2432083:
2432083: char __fpregs[8 * (96 / 8)];
2432083:
2432083:
2432083:
2432083:
2432083: } __jmp_buf[1];
2432083: # 28 "/usr/include/pthread.h" 2 3 4
2432083: # 1 "/usr/include/m68k-linux-gnu/bits/wordsize.h" 1 3 4
2432083: # 29 "/usr/include/pthread.h" 2 3 4
2432083:
2432083:
2432083: # 1 "/usr/include/m68k-linux-gnu/bits/types/struct___jmp_buf_tag.h" 1 3 4
2432083: # 26 "/usr/include/m68k-linux-gnu/bits/types/struct___jmp_buf_tag.h" 3 4
2432083: struct __jmp_buf_tag
2432083: {
2432083:
2432083:
2432083:
2432083:
2432083: __jmp_buf __jmpbuf;
2432083: int __mask_was_saved;
2432083: __sigset_t __saved_mask;
2432083: };
2432083: # 32 "/usr/include/pthread.h" 2 3 4
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: enum
2432083: {
2432083: PTHREAD_CREATE_JOINABLE,
2432083:
2432083: PTHREAD_CREATE_DETACHED
2432083:
2432083: };
2432083:
2432083:
2432083:
2432083: enum
2432083: {
2432083: PTHREAD_MUTEX_TIMED_NP,
2432083: PTHREAD_MUTEX_RECURSIVE_NP,
2432083: PTHREAD_MUTEX_ERRORCHECK_NP,
2432083: PTHREAD_MUTEX_ADAPTIVE_NP
2432083:
2432083: ,
2432083: PTHREAD_MUTEX_NORMAL = PTHREAD_MUTEX_TIMED_NP,
2432083: PTHREAD_MUTEX_RECURSIVE = PTHREAD_MUTEX_RECURSIVE_NP,
2432083: PTHREAD_MUTEX_ERRORCHECK = PTHREAD_MUTEX_ERRORCHECK_NP,
2432083: PTHREAD_MUTEX_DEFAULT = PTHREAD_MUTEX_NORMAL
2432083:
2432083:
2432083:
2432083: , PTHREAD_MUTEX_FAST_NP = PTHREAD_MUTEX_TIMED_NP
2432083:
2432083: };
2432083:
2432083:
2432083:
2432083:
2432083: enum
2432083: {
2432083: PTHREAD_MUTEX_STALLED,
2432083: PTHREAD_MUTEX_STALLED_NP = PTHREAD_MUTEX_STALLED,
2432083: PTHREAD_MUTEX_ROBUST,
2432083: PTHREAD_MUTEX_ROBUST_NP = PTHREAD_MUTEX_ROBUST
2432083: };
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: enum
2432083: {
2432083: PTHREAD_PRIO_NONE,
2432083: PTHREAD_PRIO_INHERIT,
2432083: PTHREAD_PRIO_PROTECT
2432083: };
2432083: # 104 "/usr/include/pthread.h" 3 4
2432083: enum
2432083: {
2432083: PTHREAD_RWLOCK_PREFER_READER_NP,
2432083: PTHREAD_RWLOCK_PREFER_WRITER_NP,
2432083: PTHREAD_RWLOCK_PREFER_WRITER_NONRECURSIVE_NP,
2432083: PTHREAD_RWLOCK_DEFAULT_NP = PTHREAD_RWLOCK_PREFER_READER_NP
2432083: };
2432083: # 124 "/usr/include/pthread.h" 3 4
2432083: enum
2432083: {
2432083: PTHREAD_INHERIT_SCHED,
2432083:
2432083: PTHREAD_EXPLICIT_SCHED
2432083:
2432083: };
2432083:
2432083:
2432083:
2432083: enum
2432083: {
2432083: PTHREAD_SCOPE_SYSTEM,
2432083:
2432083: PTHREAD_SCOPE_PROCESS
2432083:
2432083: };
2432083:
2432083:
2432083:
2432083: enum
2432083: {
2432083: PTHREAD_PROCESS_PRIVATE,
2432083:
2432083: PTHREAD_PROCESS_SHARED
2432083:
2432083: };
2432083: # 159 "/usr/include/pthread.h" 3 4
2432083: struct _pthread_cleanup_buffer
2432083: {
2432083: void (*__routine) (void *);
2432083: void *__arg;
2432083: int __canceltype;
2432083: struct _pthread_cleanup_buffer *__prev;
2432083: };
2432083:
2432083:
2432083: enum
2432083: {
2432083: PTHREAD_CANCEL_ENABLE,
2432083:
2432083: PTHREAD_CANCEL_DISABLE
2432083:
2432083: };
2432083: enum
2432083: {
2432083: PTHREAD_CANCEL_DEFERRED,
2432083:
2432083: PTHREAD_CANCEL_ASYNCHRONOUS
2432083:
2432083: };
2432083: # 197 "/usr/include/pthread.h" 3 4
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern int pthread_create (pthread_t *__restrict __newthread,
2432083: const pthread_attr_t *__restrict __attr,
2432083: void *(*__start_routine) (void *),
2432083: void *__restrict __arg) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 3)));
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern void pthread_exit (void *__retval) __attribute__ ((__noreturn__));
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern int pthread_join (pthread_t __th, void **__thread_return);
2432083:
2432083:
2432083:
2432083:
2432083: extern int pthread_tryjoin_np (pthread_t __th, void **__thread_return) __attribute__ ((__nothrow__ , __leaf__));
2432083: # 248 "/usr/include/pthread.h" 3 4
2432083: extern int pthread_timedjoin_np (pthread_t __th, void **__thread_return, const struct timespec *__abstime) __asm__ ("" "__pthread_timedjoin_np64")
2432083:
2432083:
2432083: ;
2432083:
2432083: extern int pthread_clockjoin_np (pthread_t __th, void **__thread_return, clockid_t __clockid, const struct timespec *__abstime) __asm__ ("" "__pthread_clockjoin_np64")
2432083:
2432083:
2432083:
2432083: ;
2432083: # 269 "/usr/include/pthread.h" 3 4
2432083: extern int pthread_detach (pthread_t __th) __attribute__ ((__nothrow__ , __leaf__));
2432083:
2432083:
2432083:
2432083: extern pthread_t pthread_self (void) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__));
2432083:
2432083:
2432083: extern int pthread_equal (pthread_t __thread1, pthread_t __thread2)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__));
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern int pthread_attr_init (pthread_attr_t *__attr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
2432083:
2432083:
2432083: extern int pthread_attr_destroy (pthread_attr_t *__attr)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
2432083:
2432083:
2432083: extern int pthread_attr_getdetachstate (const pthread_attr_t *__attr,
2432083: int *__detachstate)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2)));
2432083:
2432083:
2432083: extern int pthread_attr_setdetachstate (pthread_attr_t *__attr,
2432083: int __detachstate)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
2432083:
2432083:
2432083:
2432083: extern int pthread_attr_getguardsize (const pthread_attr_t *__attr,
2432083: size_t *__guardsize)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2)));
2432083:
2432083:
2432083: extern int pthread_attr_setguardsize (pthread_attr_t *__attr,
2432083: size_t __guardsize)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
2432083:
2432083:
2432083:
2432083: extern int pthread_attr_getschedparam (const pthread_attr_t *__restrict __attr,
2432083: struct sched_param *__restrict __param)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2)));
2432083:
2432083:
2432083: extern int pthread_attr_setschedparam (pthread_attr_t *__restrict __attr,
2432083: const struct sched_param *__restrict
2432083: __param) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2)));
2432083:
2432083:
2432083: extern int pthread_attr_getschedpolicy (const pthread_attr_t *__restrict
2432083: __attr, int *__restrict __policy)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2)));
2432083:
2432083:
2432083: extern int pthread_attr_setschedpolicy (pthread_attr_t *__attr, int __policy)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
2432083:
2432083:
2432083: extern int pthread_attr_getinheritsched (const pthread_attr_t *__restrict
2432083: __attr, int *__restrict __inherit)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2)));
2432083:
2432083:
2432083: extern int pthread_attr_setinheritsched (pthread_attr_t *__attr,
2432083: int __inherit)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
2432083:
2432083:
2432083:
2432083: extern int pthread_attr_getscope (const pthread_attr_t *__restrict __attr,
2432083: int *__restrict __scope)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2)));
2432083:
2432083:
2432083: extern int pthread_attr_setscope (pthread_attr_t *__attr, int __scope)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
2432083:
2432083:
2432083: extern int pthread_attr_getstackaddr (const pthread_attr_t *__restrict
2432083: __attr, void **__restrict __stackaddr)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))) __attribute__ ((__deprecated__));
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern int pthread_attr_setstackaddr (pthread_attr_t *__attr,
2432083: void *__stackaddr)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__deprecated__));
2432083:
2432083:
2432083: extern int pthread_attr_getstacksize (const pthread_attr_t *__restrict
2432083: __attr, size_t *__restrict __stacksize)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2)));
2432083:
2432083:
2432083:
2432083:
2432083: extern int pthread_attr_setstacksize (pthread_attr_t *__attr,
2432083: size_t __stacksize)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
2432083:
2432083:
2432083:
2432083: extern int pthread_attr_getstack (const pthread_attr_t *__restrict __attr,
2432083: void **__restrict __stackaddr,
2432083: size_t *__restrict __stacksize)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2, 3)));
2432083:
2432083:
2432083:
2432083:
2432083: extern int pthread_attr_setstack (pthread_attr_t *__attr, void *__stackaddr,
2432083: size_t __stacksize) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern int pthread_attr_setaffinity_np (pthread_attr_t *__attr,
2432083: size_t __cpusetsize,
2432083: const cpu_set_t *__cpuset)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 3)));
2432083:
2432083:
2432083:
2432083: extern int pthread_attr_getaffinity_np (const pthread_attr_t *__attr,
2432083: size_t __cpusetsize,
2432083: cpu_set_t *__cpuset)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 3)));
2432083:
2432083:
2432083: extern int pthread_getattr_default_np (pthread_attr_t *__attr)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
2432083:
2432083:
2432083: extern int pthread_attr_setsigmask_np (pthread_attr_t *__attr,
2432083: const __sigset_t *sigmask);
2432083:
2432083:
2432083:
2432083:
2432083: extern int pthread_attr_getsigmask_np (const pthread_attr_t *__attr,
2432083: __sigset_t *sigmask);
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern int pthread_setattr_default_np (const pthread_attr_t *__attr)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
2432083:
2432083:
2432083:
2432083:
2432083: extern int pthread_getattr_np (pthread_t __th, pthread_attr_t *__attr)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2)));
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern int pthread_setschedparam (pthread_t __target_thread, int __policy,
2432083: const struct sched_param *__param)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3)));
2432083:
2432083:
2432083: extern int pthread_getschedparam (pthread_t __target_thread,
2432083: int *__restrict __policy,
2432083: struct sched_param *__restrict __param)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2, 3)));
2432083:
2432083:
2432083: extern int pthread_setschedprio (pthread_t __target_thread, int __prio)
2432083: __attribute__ ((__nothrow__ , __leaf__));
2432083:
2432083:
2432083:
2432083:
2432083: extern int pthread_getname_np (pthread_t __target_thread, char *__buf,
2432083: size_t __buflen)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2)));
2432083:
2432083:
2432083: extern int pthread_setname_np (pthread_t __target_thread, const char *__name)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2)));
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern int pthread_getconcurrency (void) __attribute__ ((__nothrow__ , __leaf__));
2432083:
2432083:
2432083: extern int pthread_setconcurrency (int __level) __attribute__ ((__nothrow__ , __leaf__));
2432083:
2432083:
2432083:
2432083: extern int pthread_yield (void) __attribute__ ((__nothrow__ , __leaf__));
2432083:
2432083: extern int pthread_yield (void) __asm__ ("" "sched_yield") __attribute__ ((__nothrow__ , __leaf__))
2432083: __attribute__ ((__deprecated__ ("pthread_yield is deprecated, use sched_yield instead")))
2432083: ;
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern int pthread_setaffinity_np (pthread_t __th, size_t __cpusetsize,
2432083: const cpu_set_t *__cpuset)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3)));
2432083:
2432083:
2432083: extern int pthread_getaffinity_np (pthread_t __th, size_t __cpusetsize,
2432083: cpu_set_t *__cpuset)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3)));
2432083: # 509 "/usr/include/pthread.h" 3 4
2432083: extern int pthread_once (pthread_once_t *__once_control,
2432083: void (*__init_routine) (void)) __attribute__ ((__nonnull__ (1, 2)));
2432083: # 521 "/usr/include/pthread.h" 3 4
2432083: extern int pthread_setcancelstate (int __state, int *__oldstate);
2432083:
2432083:
2432083:
2432083: extern int pthread_setcanceltype (int __type, int *__oldtype);
2432083:
2432083:
2432083: extern int pthread_cancel (pthread_t __th);
2432083:
2432083:
2432083:
2432083:
2432083: extern void pthread_testcancel (void);
2432083:
2432083:
2432083:
2432083:
2432083: struct __cancel_jmp_buf_tag
2432083: {
2432083: __jmp_buf __cancel_jmp_buf;
2432083: int __mask_was_saved;
2432083: };
2432083:
2432083: typedef struct
2432083: {
2432083: struct __cancel_jmp_buf_tag __cancel_jmp_buf[1];
2432083: void *__pad[4];
2432083: } __pthread_unwind_buf_t __attribute__ ((__aligned__));
2432083: # 557 "/usr/include/pthread.h" 3 4
2432083: struct __pthread_cleanup_frame
2432083: {
2432083: void (*__cancel_routine) (void *);
2432083: void *__cancel_arg;
2432083: int __do_it;
2432083: int __cancel_type;
2432083: };
2432083: # 697 "/usr/include/pthread.h" 3 4
2432083: extern void __pthread_register_cancel (__pthread_unwind_buf_t *__buf)
2432083: ;
2432083: # 709 "/usr/include/pthread.h" 3 4
2432083: extern void __pthread_unregister_cancel (__pthread_unwind_buf_t *__buf)
2432083: ;
2432083: # 732 "/usr/include/pthread.h" 3 4
2432083: extern void __pthread_register_cancel_defer (__pthread_unwind_buf_t *__buf)
2432083: ;
2432083: # 745 "/usr/include/pthread.h" 3 4
2432083: extern void __pthread_unregister_cancel_restore (__pthread_unwind_buf_t *__buf)
2432083: ;
2432083:
2432083:
2432083:
2432083: extern void __pthread_unwind_next (__pthread_unwind_buf_t *__buf)
2432083: __attribute__ ((__noreturn__))
2432083:
2432083: __attribute__ ((__weak__))
2432083:
2432083: ;
2432083: # 766 "/usr/include/pthread.h" 3 4
2432083: extern int __sigsetjmp_cancel (struct __cancel_jmp_buf_tag __env[1], int __savemask) __asm__ ("" "__sigsetjmp") __attribute__ ((__nothrow__))
2432083:
2432083:
2432083: __attribute__ ((__returns_twice__));
2432083: # 781 "/usr/include/pthread.h" 3 4
2432083: extern int pthread_mutex_init (pthread_mutex_t *__mutex,
2432083: const pthread_mutexattr_t *__mutexattr)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
2432083:
2432083:
2432083: extern int pthread_mutex_destroy (pthread_mutex_t *__mutex)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
2432083:
2432083:
2432083: extern int pthread_mutex_trylock (pthread_mutex_t *__mutex)
2432083: __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
2432083:
2432083:
2432083: extern int pthread_mutex_lock (pthread_mutex_t *__mutex)
2432083: __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
2432083: # 805 "/usr/include/pthread.h" 3 4
2432083: extern int pthread_mutex_timedlock (pthread_mutex_t *__restrict __mutex, const struct timespec *__restrict __abstime) __asm__ ("" "__pthread_mutex_timedlock64") __attribute__ ((__nothrow__))
2432083:
2432083:
2432083: __attribute__ ((__nonnull__ (1, 2)));
2432083: # 823 "/usr/include/pthread.h" 3 4
2432083: extern int pthread_mutex_clocklock (pthread_mutex_t *__restrict __mutex, clockid_t __clockid, const struct timespec *__restrict __abstime) __asm__ ("" "__pthread_mutex_clocklock64") __attribute__ ((__nothrow__))
2432083:
2432083:
2432083:
2432083: __attribute__ ((__nonnull__ (1, 3)));
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern int pthread_mutex_unlock (pthread_mutex_t *__mutex)
2432083: __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
2432083:
2432083:
2432083:
2432083: extern int pthread_mutex_getprioceiling (const pthread_mutex_t *
2432083: __restrict __mutex,
2432083: int *__restrict __prioceiling)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2)));
2432083:
2432083:
2432083:
2432083: extern int pthread_mutex_setprioceiling (pthread_mutex_t *__restrict __mutex,
2432083: int __prioceiling,
2432083: int *__restrict __old_ceiling)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 3)));
2432083:
2432083:
2432083:
2432083:
2432083: extern int pthread_mutex_consistent (pthread_mutex_t *__mutex)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
2432083:
2432083:
2432083: extern int pthread_mutex_consistent_np (pthread_mutex_t *) __asm__ ("" "pthread_mutex_consistent") __attribute__ ((__nothrow__ , __leaf__))
2432083: __attribute__ ((__nonnull__ (1)))
2432083: __attribute__ ((__deprecated__ ("pthread_mutex_consistent_np is deprecated, use pthread_mutex_consistent")))
2432083: ;
2432083: # 874 "/usr/include/pthread.h" 3 4
2432083: extern int pthread_mutexattr_init (pthread_mutexattr_t *__attr)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
2432083:
2432083:
2432083: extern int pthread_mutexattr_destroy (pthread_mutexattr_t *__attr)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
2432083:
2432083:
2432083: extern int pthread_mutexattr_getpshared (const pthread_mutexattr_t *
2432083: __restrict __attr,
2432083: int *__restrict __pshared)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2)));
2432083:
2432083:
2432083: extern int pthread_mutexattr_setpshared (pthread_mutexattr_t *__attr,
2432083: int __pshared)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
2432083:
2432083:
2432083:
2432083: extern int pthread_mutexattr_gettype (const pthread_mutexattr_t *__restrict
2432083: __attr, int *__restrict __kind)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2)));
2432083:
2432083:
2432083:
2432083:
2432083: extern int pthread_mutexattr_settype (pthread_mutexattr_t *__attr, int __kind)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
2432083:
2432083:
2432083:
2432083: extern int pthread_mutexattr_getprotocol (const pthread_mutexattr_t *
2432083: __restrict __attr,
2432083: int *__restrict __protocol)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2)));
2432083:
2432083:
2432083:
2432083: extern int pthread_mutexattr_setprotocol (pthread_mutexattr_t *__attr,
2432083: int __protocol)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
2432083:
2432083:
2432083: extern int pthread_mutexattr_getprioceiling (const pthread_mutexattr_t *
2432083: __restrict __attr,
2432083: int *__restrict __prioceiling)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2)));
2432083:
2432083:
2432083: extern int pthread_mutexattr_setprioceiling (pthread_mutexattr_t *__attr,
2432083: int __prioceiling)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
2432083:
2432083:
2432083:
2432083: extern int pthread_mutexattr_getrobust (const pthread_mutexattr_t *__attr,
2432083: int *__robustness)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2)));
2432083:
2432083:
2432083: extern int pthread_mutexattr_getrobust_np (pthread_mutexattr_t *, int *) __asm__ ("" "pthread_mutexattr_getrobust") __attribute__ ((__nothrow__ , __leaf__))
2432083:
2432083: __attribute__ ((__nonnull__ (1)))
2432083: __attribute__ ((__deprecated__ ("pthread_mutexattr_getrobust_np is deprecated, use pthread_mutexattr_getrobust")))
2432083: ;
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern int pthread_mutexattr_setrobust (pthread_mutexattr_t *__attr,
2432083: int __robustness)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
2432083:
2432083:
2432083: extern int pthread_mutexattr_setrobust_np (pthread_mutexattr_t *, int) __asm__ ("" "pthread_mutexattr_setrobust") __attribute__ ((__nothrow__ , __leaf__))
2432083:
2432083: __attribute__ ((__nonnull__ (1)))
2432083: __attribute__ ((__deprecated__ ("pthread_mutexattr_setrobust_np is deprecated, use pthread_mutexattr_setrobust")))
2432083: ;
2432083: # 967 "/usr/include/pthread.h" 3 4
2432083: extern int pthread_rwlock_init (pthread_rwlock_t *__restrict __rwlock,
2432083: const pthread_rwlockattr_t *__restrict
2432083: __attr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
2432083:
2432083:
2432083: extern int pthread_rwlock_destroy (pthread_rwlock_t *__rwlock)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
2432083:
2432083:
2432083: extern int pthread_rwlock_rdlock (pthread_rwlock_t *__rwlock)
2432083: __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
2432083:
2432083:
2432083: extern int pthread_rwlock_tryrdlock (pthread_rwlock_t *__rwlock)
2432083: __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
2432083: # 991 "/usr/include/pthread.h" 3 4
2432083: extern int pthread_rwlock_timedrdlock (pthread_rwlock_t *__restrict __rwlock, const struct timespec *__restrict __abstime) __asm__ ("" "__pthread_rwlock_timedrdlock64") __attribute__ ((__nothrow__))
2432083:
2432083:
2432083:
2432083: __attribute__ ((__nonnull__ (1, 2)));
2432083: # 1010 "/usr/include/pthread.h" 3 4
2432083: extern int pthread_rwlock_clockrdlock (pthread_rwlock_t *__restrict __rwlock, clockid_t __clockid, const struct timespec *__restrict __abstime) __asm__ ("" "__pthread_rwlock_clockrdlock64") __attribute__ ((__nothrow__))
2432083:
2432083:
2432083:
2432083:
2432083: __attribute__ ((__nonnull__ (1, 3)));
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern int pthread_rwlock_wrlock (pthread_rwlock_t *__rwlock)
2432083: __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
2432083:
2432083:
2432083: extern int pthread_rwlock_trywrlock (pthread_rwlock_t *__rwlock)
2432083: __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
2432083: # 1038 "/usr/include/pthread.h" 3 4
2432083: extern int pthread_rwlock_timedwrlock (pthread_rwlock_t *__restrict __rwlock, const struct timespec *__restrict __abstime) __asm__ ("" "__pthread_rwlock_timedwrlock64") __attribute__ ((__nothrow__))
2432083:
2432083:
2432083:
2432083: __attribute__ ((__nonnull__ (1, 2)));
2432083: # 1058 "/usr/include/pthread.h" 3 4
2432083: extern int pthread_rwlock_clockwrlock (pthread_rwlock_t *__restrict __rwlock, clockid_t __clockid, const struct timespec *__restrict __abstime) __asm__ ("" "__pthread_rwlock_clockwrlock64") __attribute__ ((__nothrow__))
2432083:
2432083:
2432083:
2432083:
2432083: __attribute__ ((__nonnull__ (1, 3)));
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern int pthread_rwlock_unlock (pthread_rwlock_t *__rwlock)
2432083: __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern int pthread_rwlockattr_init (pthread_rwlockattr_t *__attr)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
2432083:
2432083:
2432083: extern int pthread_rwlockattr_destroy (pthread_rwlockattr_t *__attr)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
2432083:
2432083:
2432083: extern int pthread_rwlockattr_getpshared (const pthread_rwlockattr_t *
2432083: __restrict __attr,
2432083: int *__restrict __pshared)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2)));
2432083:
2432083:
2432083: extern int pthread_rwlockattr_setpshared (pthread_rwlockattr_t *__attr,
2432083: int __pshared)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
2432083:
2432083:
2432083: extern int pthread_rwlockattr_getkind_np (const pthread_rwlockattr_t *
2432083: __restrict __attr,
2432083: int *__restrict __pref)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2)));
2432083:
2432083:
2432083: extern int pthread_rwlockattr_setkind_np (pthread_rwlockattr_t *__attr,
2432083: int __pref) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern int pthread_cond_init (pthread_cond_t *__restrict __cond,
2432083: const pthread_condattr_t *__restrict __cond_attr)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
2432083:
2432083:
2432083: extern int pthread_cond_destroy (pthread_cond_t *__cond)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
2432083:
2432083:
2432083: extern int pthread_cond_signal (pthread_cond_t *__cond)
2432083: __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
2432083:
2432083:
2432083: extern int pthread_cond_broadcast (pthread_cond_t *__cond)
2432083: __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern int pthread_cond_wait (pthread_cond_t *__restrict __cond,
2432083: pthread_mutex_t *__restrict __mutex)
2432083: __attribute__ ((__nonnull__ (1, 2)));
2432083: # 1151 "/usr/include/pthread.h" 3 4
2432083: extern int pthread_cond_timedwait (pthread_cond_t *__restrict __cond, pthread_mutex_t *__restrict __mutex, const struct timespec *__restrict __abstime) __asm__ ("" "__pthread_cond_timedwait64")
2432083:
2432083:
2432083:
2432083:
2432083: __attribute__ ((__nonnull__ (1, 2, 3)));
2432083: # 1178 "/usr/include/pthread.h" 3 4
2432083: extern int pthread_cond_clockwait (pthread_cond_t *__restrict __cond, pthread_mutex_t *__restrict __mutex, __clockid_t __clock_id, const struct timespec *__restrict __abstime) __asm__ ("" "__pthread_cond_clockwait64")
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: __attribute__ ((__nonnull__ (1, 2, 4)));
2432083: # 1194 "/usr/include/pthread.h" 3 4
2432083: extern int pthread_condattr_init (pthread_condattr_t *__attr)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
2432083:
2432083:
2432083: extern int pthread_condattr_destroy (pthread_condattr_t *__attr)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
2432083:
2432083:
2432083: extern int pthread_condattr_getpshared (const pthread_condattr_t *
2432083: __restrict __attr,
2432083: int *__restrict __pshared)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2)));
2432083:
2432083:
2432083: extern int pthread_condattr_setpshared (pthread_condattr_t *__attr,
2432083: int __pshared) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
2432083:
2432083:
2432083:
2432083: extern int pthread_condattr_getclock (const pthread_condattr_t *
2432083: __restrict __attr,
2432083: __clockid_t *__restrict __clock_id)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2)));
2432083:
2432083:
2432083: extern int pthread_condattr_setclock (pthread_condattr_t *__attr,
2432083: __clockid_t __clock_id)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
2432083: # 1230 "/usr/include/pthread.h" 3 4
2432083: extern int pthread_spin_init (pthread_spinlock_t *__lock, int __pshared)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
2432083:
2432083:
2432083: extern int pthread_spin_destroy (pthread_spinlock_t *__lock)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
2432083:
2432083:
2432083: extern int pthread_spin_lock (pthread_spinlock_t *__lock)
2432083: __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
2432083:
2432083:
2432083: extern int pthread_spin_trylock (pthread_spinlock_t *__lock)
2432083: __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
2432083:
2432083:
2432083: extern int pthread_spin_unlock (pthread_spinlock_t *__lock)
2432083: __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern int pthread_barrier_init (pthread_barrier_t *__restrict __barrier,
2432083: const pthread_barrierattr_t *__restrict
2432083: __attr, unsigned int __count)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
2432083:
2432083:
2432083: extern int pthread_barrier_destroy (pthread_barrier_t *__barrier)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
2432083:
2432083:
2432083: extern int pthread_barrier_wait (pthread_barrier_t *__barrier)
2432083: __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
2432083:
2432083:
2432083:
2432083: extern int pthread_barrierattr_init (pthread_barrierattr_t *__attr)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
2432083:
2432083:
2432083: extern int pthread_barrierattr_destroy (pthread_barrierattr_t *__attr)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
2432083:
2432083:
2432083: extern int pthread_barrierattr_getpshared (const pthread_barrierattr_t *
2432083: __restrict __attr,
2432083: int *__restrict __pshared)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2)));
2432083:
2432083:
2432083: extern int pthread_barrierattr_setpshared (pthread_barrierattr_t *__attr,
2432083: int __pshared)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
2432083: # 1297 "/usr/include/pthread.h" 3 4
2432083: extern int pthread_key_create (pthread_key_t *__key,
2432083: void (*__destr_function) (void *))
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
2432083:
2432083:
2432083: extern int pthread_key_delete (pthread_key_t __key) __attribute__ ((__nothrow__ , __leaf__));
2432083:
2432083:
2432083: extern void *pthread_getspecific (pthread_key_t __key) __attribute__ ((__nothrow__ , __leaf__));
2432083:
2432083:
2432083: extern int pthread_setspecific (pthread_key_t __key,
2432083: const void *__pointer)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__access__ (__none__, 2)));
2432083:
2432083:
2432083:
2432083:
2432083: extern int pthread_getcpuclockid (pthread_t __thread_id,
2432083: __clockid_t *__clock_id)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2)));
2432083: # 1332 "/usr/include/pthread.h" 3 4
2432083: extern int pthread_atfork (void (*__prepare) (void),
2432083: void (*__parent) (void),
2432083: void (*__child) (void)) __attribute__ ((__nothrow__ , __leaf__));
2432083:
2432083:
2432083:
2432083:
2432083: extern __inline __attribute__ ((__gnu_inline__)) int
2432083: __attribute__ ((__nothrow__ , __leaf__)) pthread_equal (pthread_t __thread1, pthread_t __thread2)
2432083: {
2432083: return __thread1 == __thread2;
2432083: }
2432083:
2432083:
2432083:
2432083: # 519 "/usr/include/openssl/crypto.h" 2 3 4
2432083:
2432083: typedef pthread_once_t CRYPTO_ONCE;
2432083: typedef pthread_key_t CRYPTO_THREAD_LOCAL;
2432083: typedef pthread_t CRYPTO_THREAD_ID;
2432083: # 535 "/usr/include/openssl/crypto.h" 3 4
2432083: int CRYPTO_THREAD_run_once(CRYPTO_ONCE *once, void (*init)(void));
2432083:
2432083: int CRYPTO_THREAD_init_local(CRYPTO_THREAD_LOCAL *key, void (*cleanup)(void *));
2432083: void *CRYPTO_THREAD_get_local(CRYPTO_THREAD_LOCAL *key);
2432083: int CRYPTO_THREAD_set_local(CRYPTO_THREAD_LOCAL *key, void *val);
2432083: int CRYPTO_THREAD_cleanup_local(CRYPTO_THREAD_LOCAL *key);
2432083:
2432083: CRYPTO_THREAD_ID CRYPTO_THREAD_get_current_id(void);
2432083: int CRYPTO_THREAD_compare_id(CRYPTO_THREAD_ID a, CRYPTO_THREAD_ID b);
2432083:
2432083: OSSL_LIB_CTX *OSSL_LIB_CTX_new(void);
2432083: OSSL_LIB_CTX *OSSL_LIB_CTX_new_from_dispatch(const OSSL_CORE_HANDLE *handle,
2432083: const OSSL_DISPATCH *in);
2432083: OSSL_LIB_CTX *OSSL_LIB_CTX_new_child(const OSSL_CORE_HANDLE *handle,
2432083: const OSSL_DISPATCH *in);
2432083: int OSSL_LIB_CTX_load_config(OSSL_LIB_CTX *ctx, const char *config_file);
2432083: void OSSL_LIB_CTX_free(OSSL_LIB_CTX *);
2432083: OSSL_LIB_CTX *OSSL_LIB_CTX_get0_global_default(void);
2432083: OSSL_LIB_CTX *OSSL_LIB_CTX_set0_default(OSSL_LIB_CTX *libctx);
2432083: # 27 "/usr/include/openssl/bn.h" 2 3 4
2432083: # 1 "/usr/include/openssl/bnerr.h" 1 3 4
2432083: # 13 "/usr/include/openssl/bnerr.h" 3 4
2432083:
2432083: # 28 "/usr/include/openssl/bn.h" 2 3 4
2432083: # 76 "/usr/include/openssl/bn.h" 3 4
2432083: void BN_set_flags(BIGNUM *b, int n);
2432083: int BN_get_flags(const BIGNUM *b, int n);
2432083: # 94 "/usr/include/openssl/bn.h" 3 4
2432083: void BN_with_flags(BIGNUM *dest, const BIGNUM *b, int flags);
2432083:
2432083:
2432083: int BN_GENCB_call(BN_GENCB *cb, int a, int b);
2432083:
2432083: BN_GENCB *BN_GENCB_new(void);
2432083: void BN_GENCB_free(BN_GENCB *cb);
2432083:
2432083:
2432083: void BN_GENCB_set_old(BN_GENCB *gencb, void (*callback) (int, int, void *),
2432083: void *cb_arg);
2432083:
2432083:
2432083: void BN_GENCB_set(BN_GENCB *gencb, int (*callback) (int, int, BN_GENCB *),
2432083: void *cb_arg);
2432083:
2432083: void *BN_GENCB_get_arg(BN_GENCB *cb);
2432083: # 191 "/usr/include/openssl/bn.h" 3 4
2432083: int BN_abs_is_word(const BIGNUM *a, const unsigned int w);
2432083: int BN_is_zero(const BIGNUM *a);
2432083: int BN_is_one(const BIGNUM *a);
2432083: int BN_is_word(const BIGNUM *a, const unsigned int w);
2432083: int BN_is_odd(const BIGNUM *a);
2432083:
2432083:
2432083:
2432083: void BN_zero_ex(BIGNUM *a);
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: const BIGNUM *BN_value_one(void);
2432083: char *BN_options(void);
2432083: BN_CTX *BN_CTX_new_ex(OSSL_LIB_CTX *ctx);
2432083: BN_CTX *BN_CTX_new(void);
2432083: BN_CTX *BN_CTX_secure_new_ex(OSSL_LIB_CTX *ctx);
2432083: BN_CTX *BN_CTX_secure_new(void);
2432083: void BN_CTX_free(BN_CTX *c);
2432083: void BN_CTX_start(BN_CTX *ctx);
2432083: BIGNUM *BN_CTX_get(BN_CTX *ctx);
2432083: void BN_CTX_end(BN_CTX *ctx);
2432083: int BN_rand_ex(BIGNUM *rnd, int bits, int top, int bottom,
2432083: unsigned int strength, BN_CTX *ctx);
2432083: int BN_rand(BIGNUM *rnd, int bits, int top, int bottom);
2432083: int BN_priv_rand_ex(BIGNUM *rnd, int bits, int top, int bottom,
2432083: unsigned int strength, BN_CTX *ctx);
2432083: int BN_priv_rand(BIGNUM *rnd, int bits, int top, int bottom);
2432083: int BN_rand_range_ex(BIGNUM *r, const BIGNUM *range, unsigned int strength,
2432083: BN_CTX *ctx);
2432083: int BN_rand_range(BIGNUM *rnd, const BIGNUM *range);
2432083: int BN_priv_rand_range_ex(BIGNUM *r, const BIGNUM *range,
2432083: unsigned int strength, BN_CTX *ctx);
2432083: int BN_priv_rand_range(BIGNUM *rnd, const BIGNUM *range);
2432083:
2432083:
2432083: int BN_pseudo_rand(BIGNUM *rnd, int bits, int top, int bottom);
2432083:
2432083: int BN_pseudo_rand_range(BIGNUM *rnd, const BIGNUM *range);
2432083:
2432083: int BN_num_bits(const BIGNUM *a);
2432083: int BN_num_bits_word(unsigned int l);
2432083: int BN_security_bits(int L, int N);
2432083: BIGNUM *BN_new(void);
2432083: BIGNUM *BN_secure_new(void);
2432083: void BN_clear_free(BIGNUM *a);
2432083: BIGNUM *BN_copy(BIGNUM *a, const BIGNUM *b);
2432083: void BN_swap(BIGNUM *a, BIGNUM *b);
2432083: BIGNUM *BN_bin2bn(const unsigned char *s, int len, BIGNUM *ret);
2432083: int BN_bn2bin(const BIGNUM *a, unsigned char *to);
2432083: int BN_bn2binpad(const BIGNUM *a, unsigned char *to, int tolen);
2432083: BIGNUM *BN_lebin2bn(const unsigned char *s, int len, BIGNUM *ret);
2432083: int BN_bn2lebinpad(const BIGNUM *a, unsigned char *to, int tolen);
2432083: BIGNUM *BN_native2bn(const unsigned char *s, int len, BIGNUM *ret);
2432083: int BN_bn2nativepad(const BIGNUM *a, unsigned char *to, int tolen);
2432083: BIGNUM *BN_mpi2bn(const unsigned char *s, int len, BIGNUM *ret);
2432083: int BN_bn2mpi(const BIGNUM *a, unsigned char *to);
2432083: int BN_sub(BIGNUM *r, const BIGNUM *a, const BIGNUM *b);
2432083: int BN_usub(BIGNUM *r, const BIGNUM *a, const BIGNUM *b);
2432083: int BN_uadd(BIGNUM *r, const BIGNUM *a, const BIGNUM *b);
2432083: int BN_add(BIGNUM *r, const BIGNUM *a, const BIGNUM *b);
2432083: int BN_mul(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx);
2432083: int BN_sqr(BIGNUM *r, const BIGNUM *a, BN_CTX *ctx);
2432083:
2432083:
2432083:
2432083:
2432083: void BN_set_negative(BIGNUM *b, int n);
2432083:
2432083:
2432083:
2432083:
2432083: int BN_is_negative(const BIGNUM *b);
2432083:
2432083: int BN_div(BIGNUM *dv, BIGNUM *rem, const BIGNUM *m, const BIGNUM *d,
2432083: BN_CTX *ctx);
2432083:
2432083: int BN_nnmod(BIGNUM *r, const BIGNUM *m, const BIGNUM *d, BN_CTX *ctx);
2432083: int BN_mod_add(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, const BIGNUM *m,
2432083: BN_CTX *ctx);
2432083: int BN_mod_add_quick(BIGNUM *r, const BIGNUM *a, const BIGNUM *b,
2432083: const BIGNUM *m);
2432083: int BN_mod_sub(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, const BIGNUM *m,
2432083: BN_CTX *ctx);
2432083: int BN_mod_sub_quick(BIGNUM *r, const BIGNUM *a, const BIGNUM *b,
2432083: const BIGNUM *m);
2432083: int BN_mod_mul(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, const BIGNUM *m,
2432083: BN_CTX *ctx);
2432083: int BN_mod_sqr(BIGNUM *r, const BIGNUM *a, const BIGNUM *m, BN_CTX *ctx);
2432083: int BN_mod_lshift1(BIGNUM *r, const BIGNUM *a, const BIGNUM *m, BN_CTX *ctx);
2432083: int BN_mod_lshift1_quick(BIGNUM *r, const BIGNUM *a, const BIGNUM *m);
2432083: int BN_mod_lshift(BIGNUM *r, const BIGNUM *a, int n, const BIGNUM *m,
2432083: BN_CTX *ctx);
2432083: int BN_mod_lshift_quick(BIGNUM *r, const BIGNUM *a, int n, const BIGNUM *m);
2432083:
2432083: unsigned int BN_mod_word(const BIGNUM *a, unsigned int w);
2432083: unsigned int BN_div_word(BIGNUM *a, unsigned int w);
2432083: int BN_mul_word(BIGNUM *a, unsigned int w);
2432083: int BN_add_word(BIGNUM *a, unsigned int w);
2432083: int BN_sub_word(BIGNUM *a, unsigned int w);
2432083: int BN_set_word(BIGNUM *a, unsigned int w);
2432083: unsigned int BN_get_word(const BIGNUM *a);
2432083:
2432083: int BN_cmp(const BIGNUM *a, const BIGNUM *b);
2432083: void BN_free(BIGNUM *a);
2432083: int BN_is_bit_set(const BIGNUM *a, int n);
2432083: int BN_lshift(BIGNUM *r, const BIGNUM *a, int n);
2432083: int BN_lshift1(BIGNUM *r, const BIGNUM *a);
2432083: int BN_exp(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, BN_CTX *ctx);
2432083:
2432083: int BN_mod_exp(BIGNUM *r, const BIGNUM *a, const BIGNUM *p,
2432083: const BIGNUM *m, BN_CTX *ctx);
2432083: int BN_mod_exp_mont(BIGNUM *r, const BIGNUM *a, const BIGNUM *p,
2432083: const BIGNUM *m, BN_CTX *ctx, BN_MONT_CTX *m_ctx);
2432083: int BN_mod_exp_mont_consttime(BIGNUM *rr, const BIGNUM *a, const BIGNUM *p,
2432083: const BIGNUM *m, BN_CTX *ctx,
2432083: BN_MONT_CTX *in_mont);
2432083: int BN_mod_exp_mont_word(BIGNUM *r, unsigned int a, const BIGNUM *p,
2432083: const BIGNUM *m, BN_CTX *ctx, BN_MONT_CTX *m_ctx);
2432083: int BN_mod_exp2_mont(BIGNUM *r, const BIGNUM *a1, const BIGNUM *p1,
2432083: const BIGNUM *a2, const BIGNUM *p2, const BIGNUM *m,
2432083: BN_CTX *ctx, BN_MONT_CTX *m_ctx);
2432083: int BN_mod_exp_simple(BIGNUM *r, const BIGNUM *a, const BIGNUM *p,
2432083: const BIGNUM *m, BN_CTX *ctx);
2432083: int BN_mod_exp_mont_consttime_x2(BIGNUM *rr1, const BIGNUM *a1, const BIGNUM *p1,
2432083: const BIGNUM *m1, BN_MONT_CTX *in_mont1,
2432083: BIGNUM *rr2, const BIGNUM *a2, const BIGNUM *p2,
2432083: const BIGNUM *m2, BN_MONT_CTX *in_mont2,
2432083: BN_CTX *ctx);
2432083:
2432083: int BN_mask_bits(BIGNUM *a, int n);
2432083:
2432083: int BN_print_fp(FILE *fp, const BIGNUM *a);
2432083:
2432083: int BN_print(BIO *bio, const BIGNUM *a);
2432083: int BN_reciprocal(BIGNUM *r, const BIGNUM *m, int len, BN_CTX *ctx);
2432083: int BN_rshift(BIGNUM *r, const BIGNUM *a, int n);
2432083: int BN_rshift1(BIGNUM *r, const BIGNUM *a);
2432083: void BN_clear(BIGNUM *a);
2432083: BIGNUM *BN_dup(const BIGNUM *a);
2432083: int BN_ucmp(const BIGNUM *a, const BIGNUM *b);
2432083: int BN_set_bit(BIGNUM *a, int n);
2432083: int BN_clear_bit(BIGNUM *a, int n);
2432083: char *BN_bn2hex(const BIGNUM *a);
2432083: char *BN_bn2dec(const BIGNUM *a);
2432083: int BN_hex2bn(BIGNUM **a, const char *str);
2432083: int BN_dec2bn(BIGNUM **a, const char *str);
2432083: int BN_asc2bn(BIGNUM **a, const char *str);
2432083: int BN_gcd(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx);
2432083: int BN_kronecker(const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx);
2432083:
2432083:
2432083: int BN_are_coprime(BIGNUM *a, const BIGNUM *b, BN_CTX *ctx);
2432083: BIGNUM *BN_mod_inverse(BIGNUM *ret,
2432083: const BIGNUM *a, const BIGNUM *n, BN_CTX *ctx);
2432083: BIGNUM *BN_mod_sqrt(BIGNUM *ret,
2432083: const BIGNUM *a, const BIGNUM *n, BN_CTX *ctx);
2432083:
2432083: void BN_consttime_swap(unsigned int swap, BIGNUM *a, BIGNUM *b, int nwords);
2432083:
2432083:
2432083:
2432083: __attribute__((deprecated("Since OpenSSL " "0.9.8")))
2432083: BIGNUM *BN_generate_prime(BIGNUM *ret, int bits, int safe,
2432083: const BIGNUM *add, const BIGNUM *rem,
2432083: void (*callback) (int, int, void *),
2432083: void *cb_arg);
2432083: __attribute__((deprecated("Since OpenSSL " "0.9.8")))
2432083: int BN_is_prime(const BIGNUM *p, int nchecks,
2432083: void (*callback) (int, int, void *),
2432083: BN_CTX *ctx, void *cb_arg);
2432083: __attribute__((deprecated("Since OpenSSL " "0.9.8")))
2432083: int BN_is_prime_fasttest(const BIGNUM *p, int nchecks,
2432083: void (*callback) (int, int, void *),
2432083: BN_CTX *ctx, void *cb_arg,
2432083: int do_trial_division);
2432083:
2432083:
2432083:
2432083: int BN_is_prime_ex(const BIGNUM *p, int nchecks, BN_CTX *ctx, BN_GENCB *cb);
2432083:
2432083: int BN_is_prime_fasttest_ex(const BIGNUM *p, int nchecks, BN_CTX *ctx,
2432083: int do_trial_division, BN_GENCB *cb);
2432083:
2432083:
2432083: int BN_generate_prime_ex2(BIGNUM *ret, int bits, int safe,
2432083: const BIGNUM *add, const BIGNUM *rem, BN_GENCB *cb,
2432083: BN_CTX *ctx);
2432083: int BN_generate_prime_ex(BIGNUM *ret, int bits, int safe, const BIGNUM *add,
2432083: const BIGNUM *rem, BN_GENCB *cb);
2432083: int BN_check_prime(const BIGNUM *p, BN_CTX *ctx, BN_GENCB *cb);
2432083:
2432083:
2432083:
2432083: int BN_X931_generate_Xpq(BIGNUM *Xp, BIGNUM *Xq, int nbits, BN_CTX *ctx);
2432083:
2432083:
2432083: int BN_X931_derive_prime_ex(BIGNUM *p, BIGNUM *p1, BIGNUM *p2,
2432083: const BIGNUM *Xp, const BIGNUM *Xp1,
2432083: const BIGNUM *Xp2, const BIGNUM *e, BN_CTX *ctx,
2432083: BN_GENCB *cb);
2432083:
2432083: int BN_X931_generate_prime_ex(BIGNUM *p, BIGNUM *p1, BIGNUM *p2, BIGNUM *Xp1,
2432083: BIGNUM *Xp2, const BIGNUM *Xp, const BIGNUM *e,
2432083: BN_CTX *ctx, BN_GENCB *cb);
2432083:
2432083:
2432083: BN_MONT_CTX *BN_MONT_CTX_new(void);
2432083: int BN_mod_mul_montgomery(BIGNUM *r, const BIGNUM *a, const BIGNUM *b,
2432083: BN_MONT_CTX *mont, BN_CTX *ctx);
2432083: int BN_to_montgomery(BIGNUM *r, const BIGNUM *a, BN_MONT_CTX *mont,
2432083: BN_CTX *ctx);
2432083: int BN_from_montgomery(BIGNUM *r, const BIGNUM *a, BN_MONT_CTX *mont,
2432083: BN_CTX *ctx);
2432083: void BN_MONT_CTX_free(BN_MONT_CTX *mont);
2432083: int BN_MONT_CTX_set(BN_MONT_CTX *mont, const BIGNUM *mod, BN_CTX *ctx);
2432083: BN_MONT_CTX *BN_MONT_CTX_copy(BN_MONT_CTX *to, BN_MONT_CTX *from);
2432083: BN_MONT_CTX *BN_MONT_CTX_set_locked(BN_MONT_CTX **pmont, CRYPTO_RWLOCK *lock,
2432083: const BIGNUM *mod, BN_CTX *ctx);
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: BN_BLINDING *BN_BLINDING_new(const BIGNUM *A, const BIGNUM *Ai, BIGNUM *mod);
2432083: void BN_BLINDING_free(BN_BLINDING *b);
2432083: int BN_BLINDING_update(BN_BLINDING *b, BN_CTX *ctx);
2432083: int BN_BLINDING_convert(BIGNUM *n, BN_BLINDING *b, BN_CTX *ctx);
2432083: int BN_BLINDING_invert(BIGNUM *n, BN_BLINDING *b, BN_CTX *ctx);
2432083: int BN_BLINDING_convert_ex(BIGNUM *n, BIGNUM *r, BN_BLINDING *b, BN_CTX *);
2432083: int BN_BLINDING_invert_ex(BIGNUM *n, const BIGNUM *r, BN_BLINDING *b,
2432083: BN_CTX *);
2432083:
2432083: int BN_BLINDING_is_current_thread(BN_BLINDING *b);
2432083: void BN_BLINDING_set_current_thread(BN_BLINDING *b);
2432083: int BN_BLINDING_lock(BN_BLINDING *b);
2432083: int BN_BLINDING_unlock(BN_BLINDING *b);
2432083:
2432083: unsigned long BN_BLINDING_get_flags(const BN_BLINDING *);
2432083: void BN_BLINDING_set_flags(BN_BLINDING *, unsigned long);
2432083: BN_BLINDING *BN_BLINDING_create_param(BN_BLINDING *b,
2432083: const BIGNUM *e, BIGNUM *m, BN_CTX *ctx,
2432083: int (*bn_mod_exp) (BIGNUM *r,
2432083: const BIGNUM *a,
2432083: const BIGNUM *p,
2432083: const BIGNUM *m,
2432083: BN_CTX *ctx,
2432083: BN_MONT_CTX *m_ctx),
2432083: BN_MONT_CTX *m_ctx);
2432083:
2432083: __attribute__((deprecated("Since OpenSSL " "0.9.8")))
2432083: void BN_set_params(int mul, int high, int low, int mont);
2432083: __attribute__((deprecated("Since OpenSSL " "0.9.8")))
2432083: int BN_get_params(int which);
2432083:
2432083:
2432083: BN_RECP_CTX *BN_RECP_CTX_new(void);
2432083: void BN_RECP_CTX_free(BN_RECP_CTX *recp);
2432083: int BN_RECP_CTX_set(BN_RECP_CTX *recp, const BIGNUM *rdiv, BN_CTX *ctx);
2432083: int BN_mod_mul_reciprocal(BIGNUM *r, const BIGNUM *x, const BIGNUM *y,
2432083: BN_RECP_CTX *recp, BN_CTX *ctx);
2432083: int BN_mod_exp_recp(BIGNUM *r, const BIGNUM *a, const BIGNUM *p,
2432083: const BIGNUM *m, BN_CTX *ctx);
2432083: int BN_div_recp(BIGNUM *dv, BIGNUM *rem, const BIGNUM *m,
2432083: BN_RECP_CTX *recp, BN_CTX *ctx);
2432083: # 473 "/usr/include/openssl/bn.h" 3 4
2432083: int BN_GF2m_add(BIGNUM *r, const BIGNUM *a, const BIGNUM *b);
2432083:
2432083:
2432083:
2432083:
2432083: int BN_GF2m_mod(BIGNUM *r, const BIGNUM *a, const BIGNUM *p);
2432083:
2432083: int BN_GF2m_mod_mul(BIGNUM *r, const BIGNUM *a, const BIGNUM *b,
2432083: const BIGNUM *p, BN_CTX *ctx);
2432083:
2432083: int BN_GF2m_mod_sqr(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, BN_CTX *ctx);
2432083:
2432083: int BN_GF2m_mod_inv(BIGNUM *r, const BIGNUM *b, const BIGNUM *p, BN_CTX *ctx);
2432083:
2432083: int BN_GF2m_mod_div(BIGNUM *r, const BIGNUM *a, const BIGNUM *b,
2432083: const BIGNUM *p, BN_CTX *ctx);
2432083:
2432083: int BN_GF2m_mod_exp(BIGNUM *r, const BIGNUM *a, const BIGNUM *b,
2432083: const BIGNUM *p, BN_CTX *ctx);
2432083:
2432083: int BN_GF2m_mod_sqrt(BIGNUM *r, const BIGNUM *a, const BIGNUM *p,
2432083: BN_CTX *ctx);
2432083:
2432083: int BN_GF2m_mod_solve_quad(BIGNUM *r, const BIGNUM *a, const BIGNUM *p,
2432083: BN_CTX *ctx);
2432083: # 506 "/usr/include/openssl/bn.h" 3 4
2432083: int BN_GF2m_mod_arr(BIGNUM *r, const BIGNUM *a, const int p[]);
2432083:
2432083: int BN_GF2m_mod_mul_arr(BIGNUM *r, const BIGNUM *a, const BIGNUM *b,
2432083: const int p[], BN_CTX *ctx);
2432083:
2432083: int BN_GF2m_mod_sqr_arr(BIGNUM *r, const BIGNUM *a, const int p[],
2432083: BN_CTX *ctx);
2432083:
2432083: int BN_GF2m_mod_inv_arr(BIGNUM *r, const BIGNUM *b, const int p[],
2432083: BN_CTX *ctx);
2432083:
2432083: int BN_GF2m_mod_div_arr(BIGNUM *r, const BIGNUM *a, const BIGNUM *b,
2432083: const int p[], BN_CTX *ctx);
2432083:
2432083: int BN_GF2m_mod_exp_arr(BIGNUM *r, const BIGNUM *a, const BIGNUM *b,
2432083: const int p[], BN_CTX *ctx);
2432083:
2432083: int BN_GF2m_mod_sqrt_arr(BIGNUM *r, const BIGNUM *a,
2432083: const int p[], BN_CTX *ctx);
2432083:
2432083: int BN_GF2m_mod_solve_quad_arr(BIGNUM *r, const BIGNUM *a,
2432083: const int p[], BN_CTX *ctx);
2432083: int BN_GF2m_poly2arr(const BIGNUM *a, int p[], int max);
2432083: int BN_GF2m_arr2poly(const int p[], BIGNUM *a);
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: int BN_nist_mod_192(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, BN_CTX *ctx);
2432083: int BN_nist_mod_224(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, BN_CTX *ctx);
2432083: int BN_nist_mod_256(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, BN_CTX *ctx);
2432083: int BN_nist_mod_384(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, BN_CTX *ctx);
2432083: int BN_nist_mod_521(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, BN_CTX *ctx);
2432083:
2432083: const BIGNUM *BN_get0_nist_prime_192(void);
2432083: const BIGNUM *BN_get0_nist_prime_224(void);
2432083: const BIGNUM *BN_get0_nist_prime_256(void);
2432083: const BIGNUM *BN_get0_nist_prime_384(void);
2432083: const BIGNUM *BN_get0_nist_prime_521(void);
2432083:
2432083: int (*BN_nist_mod_func(const BIGNUM *p)) (BIGNUM *r, const BIGNUM *a,
2432083: const BIGNUM *field, BN_CTX *ctx);
2432083:
2432083: int BN_generate_dsa_nonce(BIGNUM *out, const BIGNUM *range,
2432083: const BIGNUM *priv, const unsigned char *message,
2432083: size_t message_len, BN_CTX *ctx);
2432083:
2432083:
2432083: BIGNUM *BN_get_rfc2409_prime_768(BIGNUM *bn);
2432083: BIGNUM *BN_get_rfc2409_prime_1024(BIGNUM *bn);
2432083:
2432083:
2432083: BIGNUM *BN_get_rfc3526_prime_1536(BIGNUM *bn);
2432083: BIGNUM *BN_get_rfc3526_prime_2048(BIGNUM *bn);
2432083: BIGNUM *BN_get_rfc3526_prime_3072(BIGNUM *bn);
2432083: BIGNUM *BN_get_rfc3526_prime_4096(BIGNUM *bn);
2432083: BIGNUM *BN_get_rfc3526_prime_6144(BIGNUM *bn);
2432083: BIGNUM *BN_get_rfc3526_prime_8192(BIGNUM *bn);
2432083: # 578 "/usr/include/openssl/bn.h" 3 4
2432083: int BN_bntest_rand(BIGNUM *rnd, int bits, int top, int bottom);
2432083: # 47 "../../moduli.c" 2
2432083: # 1 "/usr/include/openssl/dh.h" 1 3 4
2432083: # 12 "/usr/include/openssl/dh.h" 3 4
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: # 1 "/usr/include/openssl/types.h" 1 3 4
2432083: # 21 "/usr/include/openssl/dh.h" 2 3 4
2432083: # 34 "/usr/include/openssl/dh.h" 3 4
2432083: int EVP_PKEY_CTX_set_dh_paramgen_type(EVP_PKEY_CTX *ctx, int typ);
2432083: int EVP_PKEY_CTX_set_dh_paramgen_gindex(EVP_PKEY_CTX *ctx, int gindex);
2432083: int EVP_PKEY_CTX_set_dh_paramgen_seed(EVP_PKEY_CTX *ctx,
2432083: const unsigned char *seed,
2432083: size_t seedlen);
2432083: int EVP_PKEY_CTX_set_dh_paramgen_prime_len(EVP_PKEY_CTX *ctx, int pbits);
2432083: int EVP_PKEY_CTX_set_dh_paramgen_subprime_len(EVP_PKEY_CTX *ctx, int qlen);
2432083: int EVP_PKEY_CTX_set_dh_paramgen_generator(EVP_PKEY_CTX *ctx, int gen);
2432083: int EVP_PKEY_CTX_set_dh_nid(EVP_PKEY_CTX *ctx, int nid);
2432083: int EVP_PKEY_CTX_set_dh_rfc5114(EVP_PKEY_CTX *ctx, int gen);
2432083: int EVP_PKEY_CTX_set_dhx_rfc5114(EVP_PKEY_CTX *ctx, int gen);
2432083: int EVP_PKEY_CTX_set_dh_pad(EVP_PKEY_CTX *ctx, int pad);
2432083:
2432083: int EVP_PKEY_CTX_set_dh_kdf_type(EVP_PKEY_CTX *ctx, int kdf);
2432083: int EVP_PKEY_CTX_get_dh_kdf_type(EVP_PKEY_CTX *ctx);
2432083: int EVP_PKEY_CTX_set0_dh_kdf_oid(EVP_PKEY_CTX *ctx, ASN1_OBJECT *oid);
2432083: int EVP_PKEY_CTX_get0_dh_kdf_oid(EVP_PKEY_CTX *ctx, ASN1_OBJECT **oid);
2432083: int EVP_PKEY_CTX_set_dh_kdf_md(EVP_PKEY_CTX *ctx, const EVP_MD *md);
2432083: int EVP_PKEY_CTX_get_dh_kdf_md(EVP_PKEY_CTX *ctx, const EVP_MD **md);
2432083: int EVP_PKEY_CTX_set_dh_kdf_outlen(EVP_PKEY_CTX *ctx, int len);
2432083: int EVP_PKEY_CTX_get_dh_kdf_outlen(EVP_PKEY_CTX *ctx, int *len);
2432083: int EVP_PKEY_CTX_set0_dh_kdf_ukm(EVP_PKEY_CTX *ctx, unsigned char *ukm, int len);
2432083:
2432083:
2432083: int EVP_PKEY_CTX_get0_dh_kdf_ukm(EVP_PKEY_CTX *ctx, unsigned char **ukm);
2432083: # 87 "/usr/include/openssl/dh.h" 3 4
2432083: # 1 "/usr/include/openssl/bio.h" 1 3 4
2432083: # 16 "/usr/include/openssl/bio.h" 3 4
2432083:
2432083: # 28 "/usr/include/openssl/bio.h" 3 4
2432083: # 1 "/usr/lib/gcc/m68k-linux-gnu/13/include/stdarg.h" 1 3 4
2432083: # 29 "/usr/include/openssl/bio.h" 2 3 4
2432083:
2432083:
2432083: # 1 "/usr/include/openssl/bioerr.h" 1 3 4
2432083: # 13 "/usr/include/openssl/bioerr.h" 3 4
2432083:
2432083: # 32 "/usr/include/openssl/bio.h" 2 3 4
2432083: # 213 "/usr/include/openssl/bio.h" 3 4
2432083: typedef union bio_addr_st BIO_ADDR;
2432083: typedef struct bio_addrinfo_st BIO_ADDRINFO;
2432083:
2432083: int BIO_get_new_index(void);
2432083: void BIO_set_flags(BIO *b, int flags);
2432083: int BIO_test_flags(const BIO *b, int flags);
2432083: void BIO_clear_flags(BIO *b, int flags);
2432083: # 276 "/usr/include/openssl/bio.h" 3 4
2432083: typedef long (*BIO_callback_fn)(BIO *b, int oper, const char *argp, int argi,
2432083: long argl, long ret);
2432083: BIO_callback_fn BIO_get_callback(const BIO *b);
2432083: void BIO_set_callback(BIO *b, BIO_callback_fn callback);
2432083: long BIO_debug_callback(BIO *bio, int cmd,
2432083: const char *argp, int argi,
2432083: long argl, long ret);
2432083:
2432083:
2432083: typedef long (*BIO_callback_fn_ex)(BIO *b, int oper, const char *argp,
2432083: size_t len, int argi,
2432083: long argl, int ret, size_t *processed);
2432083: BIO_callback_fn_ex BIO_get_callback_ex(const BIO *b);
2432083: void BIO_set_callback_ex(BIO *b, BIO_callback_fn_ex callback);
2432083: long BIO_debug_callback_ex(BIO *bio, int oper, const char *argp, size_t len,
2432083: int argi, long argl, int ret, size_t *processed);
2432083:
2432083: char *BIO_get_callback_arg(const BIO *b);
2432083: void BIO_set_callback_arg(BIO *b, char *arg);
2432083:
2432083: typedef struct bio_method_st BIO_METHOD;
2432083:
2432083: const char *BIO_method_name(const BIO *b);
2432083: int BIO_method_type(const BIO *b);
2432083:
2432083: typedef int BIO_info_cb(BIO *, int, int);
2432083: typedef BIO_info_cb bio_info_cb;
2432083:
2432083: struct stack_st_BIO; typedef int (*sk_BIO_compfunc)(const BIO * const *a, const BIO *const *b); typedef void (*sk_BIO_freefunc)(BIO *a); typedef BIO * (*sk_BIO_copyfunc)(const BIO *a); static __attribute__((unused)) inline BIO *ossl_check_BIO_type(BIO *ptr) { return ptr; } static __attribute__((unused)) inline const OPENSSL_STACK *ossl_check_const_BIO_sk_type(const struct stack_st_BIO *sk) { return (const OPENSSL_STACK *)sk; } static __attribute__((unused)) inline OPENSSL_STACK *ossl_check_BIO_sk_type(struct stack_st_BIO *sk) { return (OPENSSL_STACK *)sk; } static __attribute__((unused)) inline OPENSSL_sk_compfunc ossl_check_BIO_compfunc_type(sk_BIO_compfunc cmp) { return (OPENSSL_sk_compfunc)cmp; } static __attribute__((unused)) inline OPENSSL_sk_copyfunc ossl_check_BIO_copyfunc_type(sk_BIO_copyfunc cpy) { return (OPENSSL_sk_copyfunc)cpy; } static __attribute__((unused)) inline OPENSSL_sk_freefunc ossl_check_BIO_freefunc_type(sk_BIO_freefunc fr) { return (OPENSSL_sk_freefunc)fr; }
2432083: # 334 "/usr/include/openssl/bio.h" 3 4
2432083: typedef int asn1_ps_func (BIO *b, unsigned char **pbuf, int *plen,
2432083: void *parg);
2432083:
2432083: typedef void (*BIO_dgram_sctp_notification_handler_fn) (BIO *b,
2432083: void *context,
2432083: void *buf);
2432083: # 562 "/usr/include/openssl/bio.h" 3 4
2432083: size_t BIO_ctrl_pending(BIO *b);
2432083: size_t BIO_ctrl_wpending(BIO *b);
2432083: # 582 "/usr/include/openssl/bio.h" 3 4
2432083: size_t BIO_ctrl_get_write_guarantee(BIO *b);
2432083: size_t BIO_ctrl_get_read_request(BIO *b);
2432083: int BIO_ctrl_reset_read_request(BIO *b);
2432083: # 609 "/usr/include/openssl/bio.h" 3 4
2432083: int BIO_set_ex_data(BIO *bio, int idx, void *data);
2432083: void *BIO_get_ex_data(const BIO *bio, int idx);
2432083: uint64_t BIO_number_read(BIO *bio);
2432083: uint64_t BIO_number_written(BIO *bio);
2432083:
2432083:
2432083: int BIO_asn1_set_prefix(BIO *b, asn1_ps_func *prefix,
2432083: asn1_ps_func *prefix_free);
2432083: int BIO_asn1_get_prefix(BIO *b, asn1_ps_func **pprefix,
2432083: asn1_ps_func **pprefix_free);
2432083: int BIO_asn1_set_suffix(BIO *b, asn1_ps_func *suffix,
2432083: asn1_ps_func *suffix_free);
2432083: int BIO_asn1_get_suffix(BIO *b, asn1_ps_func **psuffix,
2432083: asn1_ps_func **psuffix_free);
2432083:
2432083: const BIO_METHOD *BIO_s_file(void);
2432083: BIO *BIO_new_file(const char *filename, const char *mode);
2432083: BIO *BIO_new_from_core_bio(OSSL_LIB_CTX *libctx, OSSL_CORE_BIO *corebio);
2432083:
2432083: BIO *BIO_new_fp(FILE *stream, int close_flag);
2432083:
2432083: BIO *BIO_new_ex(OSSL_LIB_CTX *libctx, const BIO_METHOD *method);
2432083: BIO *BIO_new(const BIO_METHOD *type);
2432083: int BIO_free(BIO *a);
2432083: void BIO_set_data(BIO *a, void *ptr);
2432083: void *BIO_get_data(BIO *a);
2432083: void BIO_set_init(BIO *a, int init);
2432083: int BIO_get_init(BIO *a);
2432083: void BIO_set_shutdown(BIO *a, int shut);
2432083: int BIO_get_shutdown(BIO *a);
2432083: void BIO_vfree(BIO *a);
2432083: int BIO_up_ref(BIO *a);
2432083: int BIO_read(BIO *b, void *data, int dlen);
2432083: int BIO_read_ex(BIO *b, void *data, size_t dlen, size_t *readbytes);
2432083: int BIO_gets(BIO *bp, char *buf, int size);
2432083: int BIO_get_line(BIO *bio, char *buf, int size);
2432083: int BIO_write(BIO *b, const void *data, int dlen);
2432083: int BIO_write_ex(BIO *b, const void *data, size_t dlen, size_t *written);
2432083: int BIO_puts(BIO *bp, const char *buf);
2432083: int BIO_indent(BIO *b, int indent, int max);
2432083: long BIO_ctrl(BIO *bp, int cmd, long larg, void *parg);
2432083: long BIO_callback_ctrl(BIO *b, int cmd, BIO_info_cb *fp);
2432083: void *BIO_ptr_ctrl(BIO *bp, int cmd, long larg);
2432083: long BIO_int_ctrl(BIO *bp, int cmd, long larg, int iarg);
2432083: BIO *BIO_push(BIO *b, BIO *append);
2432083: BIO *BIO_pop(BIO *b);
2432083: void BIO_free_all(BIO *a);
2432083: BIO *BIO_find_type(BIO *b, int bio_type);
2432083: BIO *BIO_next(BIO *b);
2432083: void BIO_set_next(BIO *b, BIO *next);
2432083: BIO *BIO_get_retry_BIO(BIO *bio, int *reason);
2432083: int BIO_get_retry_reason(BIO *bio);
2432083: void BIO_set_retry_reason(BIO *bio, int reason);
2432083: BIO *BIO_dup_chain(BIO *in);
2432083:
2432083: int BIO_nread0(BIO *bio, char **buf);
2432083: int BIO_nread(BIO *bio, char **buf, int num);
2432083: int BIO_nwrite0(BIO *bio, char **buf);
2432083: int BIO_nwrite(BIO *bio, char **buf, int num);
2432083:
2432083: const BIO_METHOD *BIO_s_mem(void);
2432083: const BIO_METHOD *BIO_s_secmem(void);
2432083: BIO *BIO_new_mem_buf(const void *buf, int len);
2432083:
2432083: const BIO_METHOD *BIO_s_socket(void);
2432083: const BIO_METHOD *BIO_s_connect(void);
2432083: const BIO_METHOD *BIO_s_accept(void);
2432083:
2432083: const BIO_METHOD *BIO_s_fd(void);
2432083: const BIO_METHOD *BIO_s_log(void);
2432083: const BIO_METHOD *BIO_s_bio(void);
2432083: const BIO_METHOD *BIO_s_null(void);
2432083: const BIO_METHOD *BIO_f_null(void);
2432083: const BIO_METHOD *BIO_f_buffer(void);
2432083: const BIO_METHOD *BIO_f_readbuffer(void);
2432083: const BIO_METHOD *BIO_f_linebuffer(void);
2432083: const BIO_METHOD *BIO_f_nbio_test(void);
2432083: const BIO_METHOD *BIO_f_prefix(void);
2432083: const BIO_METHOD *BIO_s_core(void);
2432083:
2432083: const BIO_METHOD *BIO_s_datagram(void);
2432083: int BIO_dgram_non_fatal_error(int error);
2432083: BIO *BIO_new_dgram(int fd, int close_flag);
2432083: # 705 "/usr/include/openssl/bio.h" 3 4
2432083: int BIO_sock_should_retry(int i);
2432083: int BIO_sock_non_fatal_error(int error);
2432083: int BIO_socket_wait(int fd, int for_read, time_t max_time);
2432083:
2432083: int BIO_wait(BIO *bio, time_t max_time, unsigned int nap_milliseconds);
2432083: int BIO_do_connect_retry(BIO *bio, int timeout, int nap_milliseconds);
2432083:
2432083: int BIO_fd_should_retry(int i);
2432083: int BIO_fd_non_fatal_error(int error);
2432083: int BIO_dump_cb(int (*cb) (const void *data, size_t len, void *u),
2432083: void *u, const void *s, int len);
2432083: int BIO_dump_indent_cb(int (*cb) (const void *data, size_t len, void *u),
2432083: void *u, const void *s, int len, int indent);
2432083: int BIO_dump(BIO *b, const void *bytes, int len);
2432083: int BIO_dump_indent(BIO *b, const void *bytes, int len, int indent);
2432083:
2432083: int BIO_dump_fp(FILE *fp, const void *s, int len);
2432083: int BIO_dump_indent_fp(FILE *fp, const void *s, int len, int indent);
2432083:
2432083: int BIO_hex_string(BIO *out, int indent, int width, const void *data,
2432083: int datalen);
2432083:
2432083:
2432083: BIO_ADDR *BIO_ADDR_new(void);
2432083: int BIO_ADDR_rawmake(BIO_ADDR *ap, int family,
2432083: const void *where, size_t wherelen, unsigned short port);
2432083: void BIO_ADDR_free(BIO_ADDR *);
2432083: void BIO_ADDR_clear(BIO_ADDR *ap);
2432083: int BIO_ADDR_family(const BIO_ADDR *ap);
2432083: int BIO_ADDR_rawaddress(const BIO_ADDR *ap, void *p, size_t *l);
2432083: unsigned short BIO_ADDR_rawport(const BIO_ADDR *ap);
2432083: char *BIO_ADDR_hostname_string(const BIO_ADDR *ap, int numeric);
2432083: char *BIO_ADDR_service_string(const BIO_ADDR *ap, int numeric);
2432083: char *BIO_ADDR_path_string(const BIO_ADDR *ap);
2432083:
2432083: const BIO_ADDRINFO *BIO_ADDRINFO_next(const BIO_ADDRINFO *bai);
2432083: int BIO_ADDRINFO_family(const BIO_ADDRINFO *bai);
2432083: int BIO_ADDRINFO_socktype(const BIO_ADDRINFO *bai);
2432083: int BIO_ADDRINFO_protocol(const BIO_ADDRINFO *bai);
2432083: const BIO_ADDR *BIO_ADDRINFO_address(const BIO_ADDRINFO *bai);
2432083: void BIO_ADDRINFO_free(BIO_ADDRINFO *bai);
2432083:
2432083: enum BIO_hostserv_priorities {
2432083: BIO_PARSE_PRIO_HOST, BIO_PARSE_PRIO_SERV
2432083: };
2432083: int BIO_parse_hostserv(const char *hostserv, char **host, char **service,
2432083: enum BIO_hostserv_priorities hostserv_prio);
2432083: enum BIO_lookup_type {
2432083: BIO_LOOKUP_CLIENT, BIO_LOOKUP_SERVER
2432083: };
2432083: int BIO_lookup(const char *host, const char *service,
2432083: enum BIO_lookup_type lookup_type,
2432083: int family, int socktype, BIO_ADDRINFO **res);
2432083: int BIO_lookup_ex(const char *host, const char *service,
2432083: int lookup_type, int family, int socktype, int protocol,
2432083: BIO_ADDRINFO **res);
2432083: int BIO_sock_error(int sock);
2432083: int BIO_socket_ioctl(int fd, long type, void *arg);
2432083: int BIO_socket_nbio(int fd, int mode);
2432083: int BIO_sock_init(void);
2432083:
2432083:
2432083:
2432083: int BIO_set_tcp_ndelay(int sock, int turn_on);
2432083:
2432083: __attribute__((deprecated("Since OpenSSL " "1.1.0"))) struct hostent *BIO_gethostbyname(const char *name);
2432083: __attribute__((deprecated("Since OpenSSL " "1.1.0"))) int BIO_get_port(const char *str, unsigned short *port_ptr);
2432083: __attribute__((deprecated("Since OpenSSL " "1.1.0"))) int BIO_get_host_ip(const char *str, unsigned char *ip);
2432083: __attribute__((deprecated("Since OpenSSL " "1.1.0"))) int BIO_get_accept_socket(char *host_port, int mode);
2432083: __attribute__((deprecated("Since OpenSSL " "1.1.0"))) int BIO_accept(int sock, char **ip_port);
2432083:
2432083:
2432083: union BIO_sock_info_u {
2432083: BIO_ADDR *addr;
2432083: };
2432083: enum BIO_sock_info_type {
2432083: BIO_SOCK_INFO_ADDRESS
2432083: };
2432083: int BIO_sock_info(int sock,
2432083: enum BIO_sock_info_type type, union BIO_sock_info_u *info);
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: int BIO_socket(int domain, int socktype, int protocol, int options);
2432083: int BIO_connect(int sock, const BIO_ADDR *addr, int options);
2432083: int BIO_bind(int sock, const BIO_ADDR *addr, int options);
2432083: int BIO_listen(int sock, const BIO_ADDR *addr, int options);
2432083: int BIO_accept_ex(int accept_sock, BIO_ADDR *addr, int options);
2432083: int BIO_closesocket(int sock);
2432083:
2432083: BIO *BIO_new_socket(int sock, int close_flag);
2432083: BIO *BIO_new_connect(const char *host_port);
2432083: BIO *BIO_new_accept(const char *host_port);
2432083:
2432083:
2432083: BIO *BIO_new_fd(int fd, int close_flag);
2432083:
2432083: int BIO_new_bio_pair(BIO **bio1, size_t writebuf1,
2432083: BIO **bio2, size_t writebuf2);
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: void BIO_copy_next_retry(BIO *b);
2432083: # 838 "/usr/include/openssl/bio.h" 3 4
2432083: int BIO_printf(BIO *bio, const char *format, ...)
2432083: __attribute__((__format__(__gnu_printf__, 2, 3)));
2432083: int BIO_vprintf(BIO *bio, const char *format, va_list args)
2432083: __attribute__((__format__(__gnu_printf__, 2, 0)));
2432083: int BIO_snprintf(char *buf, size_t n, const char *format, ...)
2432083: __attribute__((__format__(__gnu_printf__, 3, 4)));
2432083: int BIO_vsnprintf(char *buf, size_t n, const char *format, va_list args)
2432083: __attribute__((__format__(__gnu_printf__, 3, 0)));
2432083:
2432083:
2432083:
2432083:
2432083: BIO_METHOD *BIO_meth_new(int type, const char *name);
2432083: void BIO_meth_free(BIO_METHOD *biom);
2432083: int (*BIO_meth_get_write(const BIO_METHOD *biom)) (BIO *, const char *, int);
2432083: int (*BIO_meth_get_write_ex(const BIO_METHOD *biom)) (BIO *, const char *, size_t,
2432083: size_t *);
2432083: int BIO_meth_set_write(BIO_METHOD *biom,
2432083: int (*write) (BIO *, const char *, int));
2432083: int BIO_meth_set_write_ex(BIO_METHOD *biom,
2432083: int (*bwrite) (BIO *, const char *, size_t, size_t *));
2432083: int (*BIO_meth_get_read(const BIO_METHOD *biom)) (BIO *, char *, int);
2432083: int (*BIO_meth_get_read_ex(const BIO_METHOD *biom)) (BIO *, char *, size_t, size_t *);
2432083: int BIO_meth_set_read(BIO_METHOD *biom,
2432083: int (*read) (BIO *, char *, int));
2432083: int BIO_meth_set_read_ex(BIO_METHOD *biom,
2432083: int (*bread) (BIO *, char *, size_t, size_t *));
2432083: int (*BIO_meth_get_puts(const BIO_METHOD *biom)) (BIO *, const char *);
2432083: int BIO_meth_set_puts(BIO_METHOD *biom,
2432083: int (*puts) (BIO *, const char *));
2432083: int (*BIO_meth_get_gets(const BIO_METHOD *biom)) (BIO *, char *, int);
2432083: int BIO_meth_set_gets(BIO_METHOD *biom,
2432083: int (*ossl_gets) (BIO *, char *, int));
2432083: long (*BIO_meth_get_ctrl(const BIO_METHOD *biom)) (BIO *, int, long, void *);
2432083: int BIO_meth_set_ctrl(BIO_METHOD *biom,
2432083: long (*ctrl) (BIO *, int, long, void *));
2432083: int (*BIO_meth_get_create(const BIO_METHOD *bion)) (BIO *);
2432083: int BIO_meth_set_create(BIO_METHOD *biom, int (*create) (BIO *));
2432083: int (*BIO_meth_get_destroy(const BIO_METHOD *biom)) (BIO *);
2432083: int BIO_meth_set_destroy(BIO_METHOD *biom, int (*destroy) (BIO *));
2432083: long (*BIO_meth_get_callback_ctrl(const BIO_METHOD *biom))
2432083: (BIO *, int, BIO_info_cb *);
2432083: int BIO_meth_set_callback_ctrl(BIO_METHOD *biom,
2432083: long (*callback_ctrl) (BIO *, int,
2432083: BIO_info_cb *));
2432083: # 88 "/usr/include/openssl/dh.h" 2 3 4
2432083: # 1 "/usr/include/openssl/asn1.h" 1 3 4
2432083: # 17 "/usr/include/openssl/asn1.h" 3 4
2432083:
2432083: # 32 "/usr/include/openssl/asn1.h" 3 4
2432083: # 1 "/usr/include/openssl/asn1err.h" 1 3 4
2432083: # 13 "/usr/include/openssl/asn1err.h" 3 4
2432083:
2432083: # 33 "/usr/include/openssl/asn1.h" 2 3 4
2432083:
2432083:
2432083: # 1 "/usr/include/openssl/types.h" 1 3 4
2432083: # 36 "/usr/include/openssl/asn1.h" 2 3 4
2432083: # 132 "/usr/include/openssl/asn1.h" 3 4
2432083: struct stack_st_X509_ALGOR; typedef int (*sk_X509_ALGOR_compfunc)(const X509_ALGOR * const *a, const X509_ALGOR *const *b); typedef void (*sk_X509_ALGOR_freefunc)(X509_ALGOR *a); typedef X509_ALGOR * (*sk_X509_ALGOR_copyfunc)(const X509_ALGOR *a); static __attribute__((unused)) inline X509_ALGOR *ossl_check_X509_ALGOR_type(X509_ALGOR *ptr) { return ptr; } static __attribute__((unused)) inline const OPENSSL_STACK *ossl_check_const_X509_ALGOR_sk_type(const struct stack_st_X509_ALGOR *sk) { return (const OPENSSL_STACK *)sk; } static __attribute__((unused)) inline OPENSSL_STACK *ossl_check_X509_ALGOR_sk_type(struct stack_st_X509_ALGOR *sk) { return (OPENSSL_STACK *)sk; } static __attribute__((unused)) inline OPENSSL_sk_compfunc ossl_check_X509_ALGOR_compfunc_type(sk_X509_ALGOR_compfunc cmp) { return (OPENSSL_sk_compfunc)cmp; } static __attribute__((unused)) inline OPENSSL_sk_copyfunc ossl_check_X509_ALGOR_copyfunc_type(sk_X509_ALGOR_copyfunc cpy) { return (OPENSSL_sk_copyfunc)cpy; } static __attribute__((unused)) inline OPENSSL_sk_freefunc ossl_check_X509_ALGOR_freefunc_type(sk_X509_ALGOR_freefunc fr) { return (OPENSSL_sk_freefunc)fr; }
2432083: # 186 "/usr/include/openssl/asn1.h" 3 4
2432083: struct asn1_string_st {
2432083: int length;
2432083: int type;
2432083: unsigned char *data;
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: long flags;
2432083: };
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: typedef struct ASN1_ENCODING_st {
2432083: unsigned char *enc;
2432083: long len;
2432083: int modified;
2432083: } ASN1_ENCODING;
2432083: # 226 "/usr/include/openssl/asn1.h" 3 4
2432083: struct asn1_string_table_st {
2432083: int nid;
2432083: long minsize;
2432083: long maxsize;
2432083: unsigned long mask;
2432083: unsigned long flags;
2432083: };
2432083:
2432083: struct stack_st_ASN1_STRING_TABLE; typedef int (*sk_ASN1_STRING_TABLE_compfunc)(const ASN1_STRING_TABLE * const *a, const ASN1_STRING_TABLE *const *b); typedef void (*sk_ASN1_STRING_TABLE_freefunc)(ASN1_STRING_TABLE *a); typedef ASN1_STRING_TABLE * (*sk_ASN1_STRING_TABLE_copyfunc)(const ASN1_STRING_TABLE *a); static __attribute__((unused)) inline ASN1_STRING_TABLE *ossl_check_ASN1_STRING_TABLE_type(ASN1_STRING_TABLE *ptr) { return ptr; } static __attribute__((unused)) inline const OPENSSL_STACK *ossl_check_const_ASN1_STRING_TABLE_sk_type(const struct stack_st_ASN1_STRING_TABLE *sk) { return (const OPENSSL_STACK *)sk; } static __attribute__((unused)) inline OPENSSL_STACK *ossl_check_ASN1_STRING_TABLE_sk_type(struct stack_st_ASN1_STRING_TABLE *sk) { return (OPENSSL_STACK *)sk; } static __attribute__((unused)) inline OPENSSL_sk_compfunc ossl_check_ASN1_STRING_TABLE_compfunc_type(sk_ASN1_STRING_TABLE_compfunc cmp) { return (OPENSSL_sk_compfunc)cmp; } static __attribute__((unused)) inline OPENSSL_sk_copyfunc ossl_check_ASN1_STRING_TABLE_copyfunc_type(sk_ASN1_STRING_TABLE_copyfunc cpy) { return (OPENSSL_sk_copyfunc)cpy; } static __attribute__((unused)) inline OPENSSL_sk_freefunc ossl_check_ASN1_STRING_TABLE_freefunc_type(sk_ASN1_STRING_TABLE_freefunc fr) { return (OPENSSL_sk_freefunc)fr; }
2432083: # 276 "/usr/include/openssl/asn1.h" 3 4
2432083: typedef struct ASN1_TEMPLATE_st ASN1_TEMPLATE;
2432083: typedef struct ASN1_TLC_st ASN1_TLC;
2432083:
2432083: typedef struct ASN1_VALUE_st ASN1_VALUE;
2432083: # 372 "/usr/include/openssl/asn1.h" 3 4
2432083: typedef void *d2i_of_void(void **, const unsigned char **, long);
2432083: typedef int i2d_of_void(const void *, unsigned char **);
2432083: # 418 "/usr/include/openssl/asn1.h" 3 4
2432083: typedef const ASN1_ITEM *ASN1_ITEM_EXP (void);
2432083: # 523 "/usr/include/openssl/asn1.h" 3 4
2432083: struct asn1_type_st {
2432083: int type;
2432083: union {
2432083: char *ptr;
2432083: ASN1_BOOLEAN boolean;
2432083: ASN1_STRING *asn1_string;
2432083: ASN1_OBJECT *object;
2432083: ASN1_INTEGER *integer;
2432083: ASN1_ENUMERATED *enumerated;
2432083: ASN1_BIT_STRING *bit_string;
2432083: ASN1_OCTET_STRING *octet_string;
2432083: ASN1_PRINTABLESTRING *printablestring;
2432083: ASN1_T61STRING *t61string;
2432083: ASN1_IA5STRING *ia5string;
2432083: ASN1_GENERALSTRING *generalstring;
2432083: ASN1_BMPSTRING *bmpstring;
2432083: ASN1_UNIVERSALSTRING *universalstring;
2432083: ASN1_UTCTIME *utctime;
2432083: ASN1_GENERALIZEDTIME *generalizedtime;
2432083: ASN1_VISIBLESTRING *visiblestring;
2432083: ASN1_UTF8STRING *utf8string;
2432083:
2432083:
2432083:
2432083:
2432083: ASN1_STRING *set;
2432083: ASN1_STRING *sequence;
2432083: ASN1_VALUE *asn1_value;
2432083: } value;
2432083: };
2432083:
2432083: struct stack_st_ASN1_TYPE; typedef int (*sk_ASN1_TYPE_compfunc)(const ASN1_TYPE * const *a, const ASN1_TYPE *const *b); typedef void (*sk_ASN1_TYPE_freefunc)(ASN1_TYPE *a); typedef ASN1_TYPE * (*sk_ASN1_TYPE_copyfunc)(const ASN1_TYPE *a); static __attribute__((unused)) inline ASN1_TYPE *ossl_check_ASN1_TYPE_type(ASN1_TYPE *ptr) { return ptr; } static __attribute__((unused)) inline const OPENSSL_STACK *ossl_check_const_ASN1_TYPE_sk_type(const struct stack_st_ASN1_TYPE *sk) { return (const OPENSSL_STACK *)sk; } static __attribute__((unused)) inline OPENSSL_STACK *ossl_check_ASN1_TYPE_sk_type(struct stack_st_ASN1_TYPE *sk) { return (OPENSSL_STACK *)sk; } static __attribute__((unused)) inline OPENSSL_sk_compfunc ossl_check_ASN1_TYPE_compfunc_type(sk_ASN1_TYPE_compfunc cmp) { return (OPENSSL_sk_compfunc)cmp; } static __attribute__((unused)) inline OPENSSL_sk_copyfunc ossl_check_ASN1_TYPE_copyfunc_type(sk_ASN1_TYPE_copyfunc cpy) { return (OPENSSL_sk_copyfunc)cpy; } static __attribute__((unused)) inline OPENSSL_sk_freefunc ossl_check_ASN1_TYPE_freefunc_type(sk_ASN1_TYPE_freefunc fr) { return (OPENSSL_sk_freefunc)fr; }
2432083: # 582 "/usr/include/openssl/asn1.h" 3 4
2432083: typedef struct stack_st_ASN1_TYPE ASN1_SEQUENCE_ANY;
2432083:
2432083: extern ASN1_SEQUENCE_ANY *d2i_ASN1_SEQUENCE_ANY(ASN1_SEQUENCE_ANY **a, const unsigned char **in, long len); extern int i2d_ASN1_SEQUENCE_ANY(const ASN1_SEQUENCE_ANY *a, unsigned char **out); extern const ASN1_ITEM * ASN1_SEQUENCE_ANY_it(void);
2432083: extern ASN1_SEQUENCE_ANY *d2i_ASN1_SET_ANY(ASN1_SEQUENCE_ANY **a, const unsigned char **in, long len); extern int i2d_ASN1_SET_ANY(const ASN1_SEQUENCE_ANY *a, unsigned char **out); extern const ASN1_ITEM * ASN1_SET_ANY_it(void);
2432083:
2432083:
2432083: typedef struct BIT_STRING_BITNAME_st {
2432083: int bitnum;
2432083: const char *lname;
2432083: const char *sname;
2432083: } BIT_STRING_BITNAME;
2432083: # 623 "/usr/include/openssl/asn1.h" 3 4
2432083: extern ASN1_TYPE *ASN1_TYPE_new(void); extern void ASN1_TYPE_free(ASN1_TYPE *a);
2432083: extern ASN1_TYPE *d2i_ASN1_TYPE(ASN1_TYPE **a, const unsigned char **in, long len); extern int i2d_ASN1_TYPE(const ASN1_TYPE *a, unsigned char **out); extern const ASN1_ITEM * ASN1_ANY_it(void);
2432083:
2432083: int ASN1_TYPE_get(const ASN1_TYPE *a);
2432083: void ASN1_TYPE_set(ASN1_TYPE *a, int type, void *value);
2432083: int ASN1_TYPE_set1(ASN1_TYPE *a, int type, const void *value);
2432083: int ASN1_TYPE_cmp(const ASN1_TYPE *a, const ASN1_TYPE *b);
2432083:
2432083: ASN1_TYPE *ASN1_TYPE_pack_sequence(const ASN1_ITEM *it, void *s, ASN1_TYPE **t);
2432083: void *ASN1_TYPE_unpack_sequence(const ASN1_ITEM *it, const ASN1_TYPE *t);
2432083:
2432083: struct stack_st_ASN1_OBJECT; typedef int (*sk_ASN1_OBJECT_compfunc)(const ASN1_OBJECT * const *a, const ASN1_OBJECT *const *b); typedef void (*sk_ASN1_OBJECT_freefunc)(ASN1_OBJECT *a); typedef ASN1_OBJECT * (*sk_ASN1_OBJECT_copyfunc)(const ASN1_OBJECT *a); static __attribute__((unused)) inline ASN1_OBJECT *ossl_check_ASN1_OBJECT_type(ASN1_OBJECT *ptr) { return ptr; } static __attribute__((unused)) inline const OPENSSL_STACK *ossl_check_const_ASN1_OBJECT_sk_type(const struct stack_st_ASN1_OBJECT *sk) { return (const OPENSSL_STACK *)sk; } static __attribute__((unused)) inline OPENSSL_STACK *ossl_check_ASN1_OBJECT_sk_type(struct stack_st_ASN1_OBJECT *sk) { return (OPENSSL_STACK *)sk; } static __attribute__((unused)) inline OPENSSL_sk_compfunc ossl_check_ASN1_OBJECT_compfunc_type(sk_ASN1_OBJECT_compfunc cmp) { return (OPENSSL_sk_compfunc)cmp; } static __attribute__((unused)) inline OPENSSL_sk_copyfunc ossl_check_ASN1_OBJECT_copyfunc_type(sk_ASN1_OBJECT_copyfunc cpy) { return (OPENSSL_sk_copyfunc)cpy; } static __attribute__((unused)) inline OPENSSL_sk_freefunc ossl_check_ASN1_OBJECT_freefunc_type(sk_ASN1_OBJECT_freefunc fr) { return (OPENSSL_sk_freefunc)fr; }
2432083: # 662 "/usr/include/openssl/asn1.h" 3 4
2432083: extern ASN1_OBJECT *ASN1_OBJECT_new(void); extern void ASN1_OBJECT_free(ASN1_OBJECT *a); extern ASN1_OBJECT *d2i_ASN1_OBJECT(ASN1_OBJECT **a, const unsigned char **in, long len); extern int i2d_ASN1_OBJECT(const ASN1_OBJECT *a, unsigned char **out); extern const ASN1_ITEM * ASN1_OBJECT_it(void);
2432083:
2432083: ASN1_STRING *ASN1_STRING_new(void);
2432083: void ASN1_STRING_free(ASN1_STRING *a);
2432083: void ASN1_STRING_clear_free(ASN1_STRING *a);
2432083: int ASN1_STRING_copy(ASN1_STRING *dst, const ASN1_STRING *str);
2432083: extern ASN1_STRING *ASN1_STRING_dup(const ASN1_STRING *a);
2432083: ASN1_STRING *ASN1_STRING_type_new(int type);
2432083: int ASN1_STRING_cmp(const ASN1_STRING *a, const ASN1_STRING *b);
2432083:
2432083:
2432083:
2432083:
2432083: int ASN1_STRING_set(ASN1_STRING *str, const void *data, int len);
2432083: void ASN1_STRING_set0(ASN1_STRING *str, void *data, int len);
2432083: int ASN1_STRING_length(const ASN1_STRING *x);
2432083:
2432083: void ASN1_STRING_length_set(ASN1_STRING *x, int n);
2432083:
2432083: int ASN1_STRING_type(const ASN1_STRING *x);
2432083:
2432083: __attribute__((deprecated("Since OpenSSL " "1.1.0"))) unsigned char *ASN1_STRING_data(ASN1_STRING *x);
2432083:
2432083: const unsigned char *ASN1_STRING_get0_data(const ASN1_STRING *x);
2432083:
2432083: extern ASN1_BIT_STRING *ASN1_BIT_STRING_new(void); extern void ASN1_BIT_STRING_free(ASN1_BIT_STRING *a); extern ASN1_BIT_STRING *d2i_ASN1_BIT_STRING(ASN1_BIT_STRING **a, const unsigned char **in, long len); extern int i2d_ASN1_BIT_STRING(const ASN1_BIT_STRING *a, unsigned char **out); extern const ASN1_ITEM * ASN1_BIT_STRING_it(void);
2432083: int ASN1_BIT_STRING_set(ASN1_BIT_STRING *a, unsigned char *d, int length);
2432083: int ASN1_BIT_STRING_set_bit(ASN1_BIT_STRING *a, int n, int value);
2432083: int ASN1_BIT_STRING_get_bit(const ASN1_BIT_STRING *a, int n);
2432083: int ASN1_BIT_STRING_check(const ASN1_BIT_STRING *a,
2432083: const unsigned char *flags, int flags_len);
2432083:
2432083: int ASN1_BIT_STRING_name_print(BIO *out, ASN1_BIT_STRING *bs,
2432083: BIT_STRING_BITNAME *tbl, int indent);
2432083: int ASN1_BIT_STRING_num_asc(const char *name, BIT_STRING_BITNAME *tbl);
2432083: int ASN1_BIT_STRING_set_asc(ASN1_BIT_STRING *bs, const char *name, int value,
2432083: BIT_STRING_BITNAME *tbl);
2432083:
2432083: struct stack_st_ASN1_INTEGER; typedef int (*sk_ASN1_INTEGER_compfunc)(const ASN1_INTEGER * const *a, const ASN1_INTEGER *const *b); typedef void (*sk_ASN1_INTEGER_freefunc)(ASN1_INTEGER *a); typedef ASN1_INTEGER * (*sk_ASN1_INTEGER_copyfunc)(const ASN1_INTEGER *a); static __attribute__((unused)) inline ASN1_INTEGER *ossl_check_ASN1_INTEGER_type(ASN1_INTEGER *ptr) { return ptr; } static __attribute__((unused)) inline const OPENSSL_STACK *ossl_check_const_ASN1_INTEGER_sk_type(const struct stack_st_ASN1_INTEGER *sk) { return (const OPENSSL_STACK *)sk; } static __attribute__((unused)) inline OPENSSL_STACK *ossl_check_ASN1_INTEGER_sk_type(struct stack_st_ASN1_INTEGER *sk) { return (OPENSSL_STACK *)sk; } static __attribute__((unused)) inline OPENSSL_sk_compfunc ossl_check_ASN1_INTEGER_compfunc_type(sk_ASN1_INTEGER_compfunc cmp) { return (OPENSSL_sk_compfunc)cmp; } static __attribute__((unused)) inline OPENSSL_sk_copyfunc ossl_check_ASN1_INTEGER_copyfunc_type(sk_ASN1_INTEGER_copyfunc cpy) { return (OPENSSL_sk_copyfunc)cpy; } static __attribute__((unused)) inline OPENSSL_sk_freefunc ossl_check_ASN1_INTEGER_freefunc_type(sk_ASN1_INTEGER_freefunc fr) { return (OPENSSL_sk_freefunc)fr; }
2432083: # 729 "/usr/include/openssl/asn1.h" 3 4
2432083: extern ASN1_INTEGER *ASN1_INTEGER_new(void); extern void ASN1_INTEGER_free(ASN1_INTEGER *a); extern ASN1_INTEGER *d2i_ASN1_INTEGER(ASN1_INTEGER **a, const unsigned char **in, long len); extern int i2d_ASN1_INTEGER(const ASN1_INTEGER *a, unsigned char **out); extern const ASN1_ITEM * ASN1_INTEGER_it(void);
2432083: ASN1_INTEGER *d2i_ASN1_UINTEGER(ASN1_INTEGER **a, const unsigned char **pp,
2432083: long length);
2432083: extern ASN1_INTEGER *ASN1_INTEGER_dup(const ASN1_INTEGER *a);
2432083: int ASN1_INTEGER_cmp(const ASN1_INTEGER *x, const ASN1_INTEGER *y);
2432083:
2432083: extern ASN1_ENUMERATED *ASN1_ENUMERATED_new(void); extern void ASN1_ENUMERATED_free(ASN1_ENUMERATED *a); extern ASN1_ENUMERATED *d2i_ASN1_ENUMERATED(ASN1_ENUMERATED **a, const unsigned char **in, long len); extern int i2d_ASN1_ENUMERATED(const ASN1_ENUMERATED *a, unsigned char **out); extern const ASN1_ITEM * ASN1_ENUMERATED_it(void);
2432083:
2432083: int ASN1_UTCTIME_check(const ASN1_UTCTIME *a);
2432083: ASN1_UTCTIME *ASN1_UTCTIME_set(ASN1_UTCTIME *s, time_t t);
2432083: ASN1_UTCTIME *ASN1_UTCTIME_adj(ASN1_UTCTIME *s, time_t t,
2432083: int offset_day, long offset_sec);
2432083: int ASN1_UTCTIME_set_string(ASN1_UTCTIME *s, const char *str);
2432083: int ASN1_UTCTIME_cmp_time_t(const ASN1_UTCTIME *s, time_t t);
2432083:
2432083: int ASN1_GENERALIZEDTIME_check(const ASN1_GENERALIZEDTIME *a);
2432083: ASN1_GENERALIZEDTIME *ASN1_GENERALIZEDTIME_set(ASN1_GENERALIZEDTIME *s,
2432083: time_t t);
2432083: ASN1_GENERALIZEDTIME *ASN1_GENERALIZEDTIME_adj(ASN1_GENERALIZEDTIME *s,
2432083: time_t t, int offset_day,
2432083: long offset_sec);
2432083: int ASN1_GENERALIZEDTIME_set_string(ASN1_GENERALIZEDTIME *s, const char *str);
2432083:
2432083: int ASN1_TIME_diff(int *pday, int *psec,
2432083: const ASN1_TIME *from, const ASN1_TIME *to);
2432083:
2432083: extern ASN1_OCTET_STRING *ASN1_OCTET_STRING_new(void); extern void ASN1_OCTET_STRING_free(ASN1_OCTET_STRING *a); extern ASN1_OCTET_STRING *d2i_ASN1_OCTET_STRING(ASN1_OCTET_STRING **a, const unsigned char **in, long len); extern int i2d_ASN1_OCTET_STRING(const ASN1_OCTET_STRING *a, unsigned char **out); extern const ASN1_ITEM * ASN1_OCTET_STRING_it(void);
2432083: extern ASN1_OCTET_STRING *ASN1_OCTET_STRING_dup(const ASN1_OCTET_STRING *a);
2432083: int ASN1_OCTET_STRING_cmp(const ASN1_OCTET_STRING *a,
2432083: const ASN1_OCTET_STRING *b);
2432083: int ASN1_OCTET_STRING_set(ASN1_OCTET_STRING *str, const unsigned char *data,
2432083: int len);
2432083:
2432083: struct stack_st_ASN1_UTF8STRING; typedef int (*sk_ASN1_UTF8STRING_compfunc)(const ASN1_UTF8STRING * const *a, const ASN1_UTF8STRING *const *b); typedef void (*sk_ASN1_UTF8STRING_freefunc)(ASN1_UTF8STRING *a); typedef ASN1_UTF8STRING * (*sk_ASN1_UTF8STRING_copyfunc)(const ASN1_UTF8STRING *a); static __attribute__((unused)) inline ASN1_UTF8STRING *ossl_check_ASN1_UTF8STRING_type(ASN1_UTF8STRING *ptr) { return ptr; } static __attribute__((unused)) inline const OPENSSL_STACK *ossl_check_const_ASN1_UTF8STRING_sk_type(const struct stack_st_ASN1_UTF8STRING *sk) { return (const OPENSSL_STACK *)sk; } static __attribute__((unused)) inline OPENSSL_STACK *ossl_check_ASN1_UTF8STRING_sk_type(struct stack_st_ASN1_UTF8STRING *sk) { return (OPENSSL_STACK *)sk; } static __attribute__((unused)) inline OPENSSL_sk_compfunc ossl_check_ASN1_UTF8STRING_compfunc_type(sk_ASN1_UTF8STRING_compfunc cmp) { return (OPENSSL_sk_compfunc)cmp; } static __attribute__((unused)) inline OPENSSL_sk_copyfunc ossl_check_ASN1_UTF8STRING_copyfunc_type(sk_ASN1_UTF8STRING_copyfunc cpy) { return (OPENSSL_sk_copyfunc)cpy; } static __attribute__((unused)) inline OPENSSL_sk_freefunc ossl_check_ASN1_UTF8STRING_freefunc_type(sk_ASN1_UTF8STRING_freefunc fr) { return (OPENSSL_sk_freefunc)fr; }
2432083: # 790 "/usr/include/openssl/asn1.h" 3 4
2432083: extern ASN1_VISIBLESTRING *ASN1_VISIBLESTRING_new(void); extern void ASN1_VISIBLESTRING_free(ASN1_VISIBLESTRING *a); extern ASN1_VISIBLESTRING *d2i_ASN1_VISIBLESTRING(ASN1_VISIBLESTRING **a, const unsigned char **in, long len); extern int i2d_ASN1_VISIBLESTRING(const ASN1_VISIBLESTRING *a, unsigned char **out); extern const ASN1_ITEM * ASN1_VISIBLESTRING_it(void);
2432083: extern ASN1_UNIVERSALSTRING *ASN1_UNIVERSALSTRING_new(void); extern void ASN1_UNIVERSALSTRING_free(ASN1_UNIVERSALSTRING *a); extern ASN1_UNIVERSALSTRING *d2i_ASN1_UNIVERSALSTRING(ASN1_UNIVERSALSTRING **a, const unsigned char **in, long len); extern int i2d_ASN1_UNIVERSALSTRING(const ASN1_UNIVERSALSTRING *a, unsigned char **out); extern const ASN1_ITEM * ASN1_UNIVERSALSTRING_it(void);
2432083: extern ASN1_UTF8STRING *ASN1_UTF8STRING_new(void); extern void ASN1_UTF8STRING_free(ASN1_UTF8STRING *a); extern ASN1_UTF8STRING *d2i_ASN1_UTF8STRING(ASN1_UTF8STRING **a, const unsigned char **in, long len); extern int i2d_ASN1_UTF8STRING(const ASN1_UTF8STRING *a, unsigned char **out); extern const ASN1_ITEM * ASN1_UTF8STRING_it(void);
2432083: extern ASN1_NULL *ASN1_NULL_new(void); extern void ASN1_NULL_free(ASN1_NULL *a); extern ASN1_NULL *d2i_ASN1_NULL(ASN1_NULL **a, const unsigned char **in, long len); extern int i2d_ASN1_NULL(const ASN1_NULL *a, unsigned char **out); extern const ASN1_ITEM * ASN1_NULL_it(void);
2432083: extern ASN1_BMPSTRING *ASN1_BMPSTRING_new(void); extern void ASN1_BMPSTRING_free(ASN1_BMPSTRING *a); extern ASN1_BMPSTRING *d2i_ASN1_BMPSTRING(ASN1_BMPSTRING **a, const unsigned char **in, long len); extern int i2d_ASN1_BMPSTRING(const ASN1_BMPSTRING *a, unsigned char **out); extern const ASN1_ITEM * ASN1_BMPSTRING_it(void);
2432083:
2432083: int UTF8_getc(const unsigned char *str, int len, unsigned long *val);
2432083: int UTF8_putc(unsigned char *str, int len, unsigned long value);
2432083:
2432083: struct stack_st_ASN1_GENERALSTRING; typedef int (*sk_ASN1_GENERALSTRING_compfunc)(const ASN1_GENERALSTRING * const *a, const ASN1_GENERALSTRING *const *b); typedef void (*sk_ASN1_GENERALSTRING_freefunc)(ASN1_GENERALSTRING *a); typedef ASN1_GENERALSTRING * (*sk_ASN1_GENERALSTRING_copyfunc)(const ASN1_GENERALSTRING *a); static __attribute__((unused)) inline ASN1_GENERALSTRING *ossl_check_ASN1_GENERALSTRING_type(ASN1_GENERALSTRING *ptr) { return ptr; } static __attribute__((unused)) inline const OPENSSL_STACK *ossl_check_const_ASN1_GENERALSTRING_sk_type(const struct stack_st_ASN1_GENERALSTRING *sk) { return (const OPENSSL_STACK *)sk; } static __attribute__((unused)) inline OPENSSL_STACK *ossl_check_ASN1_GENERALSTRING_sk_type(struct stack_st_ASN1_GENERALSTRING *sk) { return (OPENSSL_STACK *)sk; } static __attribute__((unused)) inline OPENSSL_sk_compfunc ossl_check_ASN1_GENERALSTRING_compfunc_type(sk_ASN1_GENERALSTRING_compfunc cmp) { return (OPENSSL_sk_compfunc)cmp; } static __attribute__((unused)) inline OPENSSL_sk_copyfunc ossl_check_ASN1_GENERALSTRING_copyfunc_type(sk_ASN1_GENERALSTRING_copyfunc cpy) { return (OPENSSL_sk_copyfunc)cpy; } static __attribute__((unused)) inline OPENSSL_sk_freefunc ossl_check_ASN1_GENERALSTRING_freefunc_type(sk_ASN1_GENERALSTRING_freefunc fr) { return (OPENSSL_sk_freefunc)fr; }
2432083: # 827 "/usr/include/openssl/asn1.h" 3 4
2432083: extern ASN1_STRING *ASN1_PRINTABLE_new(void); extern void ASN1_PRINTABLE_free(ASN1_STRING *a); extern ASN1_STRING *d2i_ASN1_PRINTABLE(ASN1_STRING **a, const unsigned char **in, long len); extern int i2d_ASN1_PRINTABLE(const ASN1_STRING *a, unsigned char **out); extern const ASN1_ITEM * ASN1_PRINTABLE_it(void);
2432083:
2432083: extern ASN1_STRING *DIRECTORYSTRING_new(void); extern void DIRECTORYSTRING_free(ASN1_STRING *a); extern ASN1_STRING *d2i_DIRECTORYSTRING(ASN1_STRING **a, const unsigned char **in, long len); extern int i2d_DIRECTORYSTRING(const ASN1_STRING *a, unsigned char **out); extern const ASN1_ITEM * DIRECTORYSTRING_it(void);
2432083: extern ASN1_STRING *DISPLAYTEXT_new(void); extern void DISPLAYTEXT_free(ASN1_STRING *a); extern ASN1_STRING *d2i_DISPLAYTEXT(ASN1_STRING **a, const unsigned char **in, long len); extern int i2d_DISPLAYTEXT(const ASN1_STRING *a, unsigned char **out); extern const ASN1_ITEM * DISPLAYTEXT_it(void);
2432083: extern ASN1_PRINTABLESTRING *ASN1_PRINTABLESTRING_new(void); extern void ASN1_PRINTABLESTRING_free(ASN1_PRINTABLESTRING *a); extern ASN1_PRINTABLESTRING *d2i_ASN1_PRINTABLESTRING(ASN1_PRINTABLESTRING **a, const unsigned char **in, long len); extern int i2d_ASN1_PRINTABLESTRING(const ASN1_PRINTABLESTRING *a, unsigned char **out); extern const ASN1_ITEM * ASN1_PRINTABLESTRING_it(void);
2432083: extern ASN1_T61STRING *ASN1_T61STRING_new(void); extern void ASN1_T61STRING_free(ASN1_T61STRING *a); extern ASN1_T61STRING *d2i_ASN1_T61STRING(ASN1_T61STRING **a, const unsigned char **in, long len); extern int i2d_ASN1_T61STRING(const ASN1_T61STRING *a, unsigned char **out); extern const ASN1_ITEM * ASN1_T61STRING_it(void);
2432083: extern ASN1_IA5STRING *ASN1_IA5STRING_new(void); extern void ASN1_IA5STRING_free(ASN1_IA5STRING *a); extern ASN1_IA5STRING *d2i_ASN1_IA5STRING(ASN1_IA5STRING **a, const unsigned char **in, long len); extern int i2d_ASN1_IA5STRING(const ASN1_IA5STRING *a, unsigned char **out); extern const ASN1_ITEM * ASN1_IA5STRING_it(void);
2432083: extern ASN1_GENERALSTRING *ASN1_GENERALSTRING_new(void); extern void ASN1_GENERALSTRING_free(ASN1_GENERALSTRING *a); extern ASN1_GENERALSTRING *d2i_ASN1_GENERALSTRING(ASN1_GENERALSTRING **a, const unsigned char **in, long len); extern int i2d_ASN1_GENERALSTRING(const ASN1_GENERALSTRING *a, unsigned char **out); extern const ASN1_ITEM * ASN1_GENERALSTRING_it(void);
2432083: extern ASN1_UTCTIME *ASN1_UTCTIME_new(void); extern void ASN1_UTCTIME_free(ASN1_UTCTIME *a); extern ASN1_UTCTIME *d2i_ASN1_UTCTIME(ASN1_UTCTIME **a, const unsigned char **in, long len); extern int i2d_ASN1_UTCTIME(const ASN1_UTCTIME *a, unsigned char **out); extern const ASN1_ITEM * ASN1_UTCTIME_it(void);
2432083: extern ASN1_GENERALIZEDTIME *ASN1_GENERALIZEDTIME_new(void); extern void ASN1_GENERALIZEDTIME_free(ASN1_GENERALIZEDTIME *a); extern ASN1_GENERALIZEDTIME *d2i_ASN1_GENERALIZEDTIME(ASN1_GENERALIZEDTIME **a, const unsigned char **in, long len); extern int i2d_ASN1_GENERALIZEDTIME(const ASN1_GENERALIZEDTIME *a, unsigned char **out); extern const ASN1_ITEM * ASN1_GENERALIZEDTIME_it(void);
2432083: extern ASN1_TIME *ASN1_TIME_new(void); extern void ASN1_TIME_free(ASN1_TIME *a); extern ASN1_TIME *d2i_ASN1_TIME(ASN1_TIME **a, const unsigned char **in, long len); extern int i2d_ASN1_TIME(const ASN1_TIME *a, unsigned char **out); extern const ASN1_ITEM * ASN1_TIME_it(void);
2432083:
2432083: extern ASN1_TIME *ASN1_TIME_dup(const ASN1_TIME *a);
2432083: extern ASN1_UTCTIME *ASN1_UTCTIME_dup(const ASN1_UTCTIME *a);
2432083: extern ASN1_GENERALIZEDTIME *ASN1_GENERALIZEDTIME_dup(const ASN1_GENERALIZEDTIME *a);
2432083:
2432083: extern const ASN1_ITEM * ASN1_OCTET_STRING_NDEF_it(void);
2432083:
2432083: ASN1_TIME *ASN1_TIME_set(ASN1_TIME *s, time_t t);
2432083: ASN1_TIME *ASN1_TIME_adj(ASN1_TIME *s, time_t t,
2432083: int offset_day, long offset_sec);
2432083: int ASN1_TIME_check(const ASN1_TIME *t);
2432083: ASN1_GENERALIZEDTIME *ASN1_TIME_to_generalizedtime(const ASN1_TIME *t,
2432083: ASN1_GENERALIZEDTIME **out);
2432083: int ASN1_TIME_set_string(ASN1_TIME *s, const char *str);
2432083: int ASN1_TIME_set_string_X509(ASN1_TIME *s, const char *str);
2432083: int ASN1_TIME_to_tm(const ASN1_TIME *s, struct tm *tm);
2432083: int ASN1_TIME_normalize(ASN1_TIME *s);
2432083: int ASN1_TIME_cmp_time_t(const ASN1_TIME *s, time_t t);
2432083: int ASN1_TIME_compare(const ASN1_TIME *a, const ASN1_TIME *b);
2432083:
2432083: int i2a_ASN1_INTEGER(BIO *bp, const ASN1_INTEGER *a);
2432083: int a2i_ASN1_INTEGER(BIO *bp, ASN1_INTEGER *bs, char *buf, int size);
2432083: int i2a_ASN1_ENUMERATED(BIO *bp, const ASN1_ENUMERATED *a);
2432083: int a2i_ASN1_ENUMERATED(BIO *bp, ASN1_ENUMERATED *bs, char *buf, int size);
2432083: int i2a_ASN1_OBJECT(BIO *bp, const ASN1_OBJECT *a);
2432083: int a2i_ASN1_STRING(BIO *bp, ASN1_STRING *bs, char *buf, int size);
2432083: int i2a_ASN1_STRING(BIO *bp, const ASN1_STRING *a, int type);
2432083: int i2t_ASN1_OBJECT(char *buf, int buf_len, const ASN1_OBJECT *a);
2432083:
2432083: int a2d_ASN1_OBJECT(unsigned char *out, int olen, const char *buf, int num);
2432083: ASN1_OBJECT *ASN1_OBJECT_create(int nid, unsigned char *data, int len,
2432083: const char *sn, const char *ln);
2432083:
2432083: int ASN1_INTEGER_get_int64(int64_t *pr, const ASN1_INTEGER *a);
2432083: int ASN1_INTEGER_set_int64(ASN1_INTEGER *a, int64_t r);
2432083: int ASN1_INTEGER_get_uint64(uint64_t *pr, const ASN1_INTEGER *a);
2432083: int ASN1_INTEGER_set_uint64(ASN1_INTEGER *a, uint64_t r);
2432083:
2432083: int ASN1_INTEGER_set(ASN1_INTEGER *a, long v);
2432083: long ASN1_INTEGER_get(const ASN1_INTEGER *a);
2432083: ASN1_INTEGER *BN_to_ASN1_INTEGER(const BIGNUM *bn, ASN1_INTEGER *ai);
2432083: BIGNUM *ASN1_INTEGER_to_BN(const ASN1_INTEGER *ai, BIGNUM *bn);
2432083:
2432083: int ASN1_ENUMERATED_get_int64(int64_t *pr, const ASN1_ENUMERATED *a);
2432083: int ASN1_ENUMERATED_set_int64(ASN1_ENUMERATED *a, int64_t r);
2432083:
2432083:
2432083: int ASN1_ENUMERATED_set(ASN1_ENUMERATED *a, long v);
2432083: long ASN1_ENUMERATED_get(const ASN1_ENUMERATED *a);
2432083: ASN1_ENUMERATED *BN_to_ASN1_ENUMERATED(const BIGNUM *bn, ASN1_ENUMERATED *ai);
2432083: BIGNUM *ASN1_ENUMERATED_to_BN(const ASN1_ENUMERATED *ai, BIGNUM *bn);
2432083:
2432083:
2432083:
2432083: int ASN1_PRINTABLE_type(const unsigned char *s, int max);
2432083:
2432083: unsigned long ASN1_tag2bit(int tag);
2432083:
2432083:
2432083: int ASN1_get_object(const unsigned char **pp, long *plength, int *ptag,
2432083: int *pclass, long omax);
2432083: int ASN1_check_infinite_end(unsigned char **p, long len);
2432083: int ASN1_const_check_infinite_end(const unsigned char **p, long len);
2432083: void ASN1_put_object(unsigned char **pp, int constructed, int length,
2432083: int tag, int xclass);
2432083: int ASN1_put_eoc(unsigned char **pp);
2432083: int ASN1_object_size(int constructed, int length, int tag);
2432083:
2432083:
2432083: void *ASN1_dup(i2d_of_void *i2d, d2i_of_void *d2i, const void *x);
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: void *ASN1_item_dup(const ASN1_ITEM *it, const void *x);
2432083: int ASN1_item_sign_ex(const ASN1_ITEM *it, X509_ALGOR *algor1,
2432083: X509_ALGOR *algor2, ASN1_BIT_STRING *signature,
2432083: const void *data, const ASN1_OCTET_STRING *id,
2432083: EVP_PKEY *pkey, const EVP_MD *md, OSSL_LIB_CTX *libctx,
2432083: const char *propq);
2432083: int ASN1_item_verify_ex(const ASN1_ITEM *it, const X509_ALGOR *alg,
2432083: const ASN1_BIT_STRING *signature, const void *data,
2432083: const ASN1_OCTET_STRING *id, EVP_PKEY *pkey,
2432083: OSSL_LIB_CTX *libctx, const char *propq);
2432083: # 932 "/usr/include/openssl/asn1.h" 3 4
2432083: void *ASN1_d2i_fp(void *(*xnew) (void), d2i_of_void *d2i, FILE *in, void **x);
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: void *ASN1_item_d2i_fp_ex(const ASN1_ITEM *it, FILE *in, void *x,
2432083: OSSL_LIB_CTX *libctx, const char *propq);
2432083: void *ASN1_item_d2i_fp(const ASN1_ITEM *it, FILE *in, void *x);
2432083: int ASN1_i2d_fp(i2d_of_void *i2d, FILE *out, const void *x);
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: int ASN1_item_i2d_fp(const ASN1_ITEM *it, FILE *out, const void *x);
2432083: int ASN1_STRING_print_ex_fp(FILE *fp, const ASN1_STRING *str, unsigned long flags);
2432083:
2432083:
2432083: int ASN1_STRING_to_UTF8(unsigned char **out, const ASN1_STRING *in);
2432083:
2432083: void *ASN1_d2i_bio(void *(*xnew) (void), d2i_of_void *d2i, BIO *in, void **x);
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: void *ASN1_item_d2i_bio_ex(const ASN1_ITEM *it, BIO *in, void *pval,
2432083: OSSL_LIB_CTX *libctx, const char *propq);
2432083: void *ASN1_item_d2i_bio(const ASN1_ITEM *it, BIO *in, void *pval);
2432083: int ASN1_i2d_bio(i2d_of_void *i2d, BIO *out, const void *x);
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: int ASN1_item_i2d_bio(const ASN1_ITEM *it, BIO *out, const void *x);
2432083: BIO *ASN1_item_i2d_mem_bio(const ASN1_ITEM *it, const ASN1_VALUE *val);
2432083: int ASN1_UTCTIME_print(BIO *fp, const ASN1_UTCTIME *a);
2432083: int ASN1_GENERALIZEDTIME_print(BIO *fp, const ASN1_GENERALIZEDTIME *a);
2432083: int ASN1_TIME_print(BIO *bp, const ASN1_TIME *tm);
2432083: int ASN1_TIME_print_ex(BIO *bp, const ASN1_TIME *tm, unsigned long flags);
2432083: int ASN1_STRING_print(BIO *bp, const ASN1_STRING *v);
2432083: int ASN1_STRING_print_ex(BIO *out, const ASN1_STRING *str, unsigned long flags);
2432083: int ASN1_buf_print(BIO *bp, const unsigned char *buf, size_t buflen, int off);
2432083: int ASN1_bn_print(BIO *bp, const char *number, const BIGNUM *num,
2432083: unsigned char *buf, int off);
2432083: int ASN1_parse(BIO *bp, const unsigned char *pp, long len, int indent);
2432083: int ASN1_parse_dump(BIO *bp, const unsigned char *pp, long len, int indent,
2432083: int dump);
2432083: const char *ASN1_tag2str(int tag);
2432083:
2432083:
2432083:
2432083: int ASN1_UNIVERSALSTRING_to_string(ASN1_UNIVERSALSTRING *s);
2432083:
2432083: int ASN1_TYPE_set_octetstring(ASN1_TYPE *a, unsigned char *data, int len);
2432083: int ASN1_TYPE_get_octetstring(const ASN1_TYPE *a, unsigned char *data, int max_len);
2432083: int ASN1_TYPE_set_int_octetstring(ASN1_TYPE *a, long num,
2432083: unsigned char *data, int len);
2432083: int ASN1_TYPE_get_int_octetstring(const ASN1_TYPE *a, long *num,
2432083: unsigned char *data, int max_len);
2432083:
2432083: void *ASN1_item_unpack(const ASN1_STRING *oct, const ASN1_ITEM *it);
2432083:
2432083: ASN1_STRING *ASN1_item_pack(void *obj, const ASN1_ITEM *it,
2432083: ASN1_OCTET_STRING **oct);
2432083:
2432083: void ASN1_STRING_set_default_mask(unsigned long mask);
2432083: int ASN1_STRING_set_default_mask_asc(const char *p);
2432083: unsigned long ASN1_STRING_get_default_mask(void);
2432083: int ASN1_mbstring_copy(ASN1_STRING **out, const unsigned char *in, int len,
2432083: int inform, unsigned long mask);
2432083: int ASN1_mbstring_ncopy(ASN1_STRING **out, const unsigned char *in, int len,
2432083: int inform, unsigned long mask,
2432083: long minsize, long maxsize);
2432083:
2432083: ASN1_STRING *ASN1_STRING_set_by_NID(ASN1_STRING **out,
2432083: const unsigned char *in, int inlen,
2432083: int inform, int nid);
2432083: ASN1_STRING_TABLE *ASN1_STRING_TABLE_get(int nid);
2432083: int ASN1_STRING_TABLE_add(int, long, long, unsigned long, unsigned long);
2432083: void ASN1_STRING_TABLE_cleanup(void);
2432083:
2432083:
2432083:
2432083:
2432083: ASN1_VALUE *ASN1_item_new(const ASN1_ITEM *it);
2432083: ASN1_VALUE *ASN1_item_new_ex(const ASN1_ITEM *it, OSSL_LIB_CTX *libctx,
2432083: const char *propq);
2432083: void ASN1_item_free(ASN1_VALUE *val, const ASN1_ITEM *it);
2432083: ASN1_VALUE *ASN1_item_d2i_ex(ASN1_VALUE **val, const unsigned char **in,
2432083: long len, const ASN1_ITEM *it,
2432083: OSSL_LIB_CTX *libctx, const char *propq);
2432083: ASN1_VALUE *ASN1_item_d2i(ASN1_VALUE **val, const unsigned char **in,
2432083: long len, const ASN1_ITEM *it);
2432083: int ASN1_item_i2d(const ASN1_VALUE *val, unsigned char **out, const ASN1_ITEM *it);
2432083: int ASN1_item_ndef_i2d(const ASN1_VALUE *val, unsigned char **out,
2432083: const ASN1_ITEM *it);
2432083:
2432083: void ASN1_add_oid_module(void);
2432083: void ASN1_add_stable_module(void);
2432083:
2432083: ASN1_TYPE *ASN1_generate_nconf(const char *str, CONF *nconf);
2432083: ASN1_TYPE *ASN1_generate_v3(const char *str, X509V3_CTX *cnf);
2432083: int ASN1_str2mask(const char *str, unsigned long *pmask);
2432083: # 1066 "/usr/include/openssl/asn1.h" 3 4
2432083: int ASN1_item_print(BIO *out, const ASN1_VALUE *ifld, int indent,
2432083: const ASN1_ITEM *it, const ASN1_PCTX *pctx);
2432083: ASN1_PCTX *ASN1_PCTX_new(void);
2432083: void ASN1_PCTX_free(ASN1_PCTX *p);
2432083: unsigned long ASN1_PCTX_get_flags(const ASN1_PCTX *p);
2432083: void ASN1_PCTX_set_flags(ASN1_PCTX *p, unsigned long flags);
2432083: unsigned long ASN1_PCTX_get_nm_flags(const ASN1_PCTX *p);
2432083: void ASN1_PCTX_set_nm_flags(ASN1_PCTX *p, unsigned long flags);
2432083: unsigned long ASN1_PCTX_get_cert_flags(const ASN1_PCTX *p);
2432083: void ASN1_PCTX_set_cert_flags(ASN1_PCTX *p, unsigned long flags);
2432083: unsigned long ASN1_PCTX_get_oid_flags(const ASN1_PCTX *p);
2432083: void ASN1_PCTX_set_oid_flags(ASN1_PCTX *p, unsigned long flags);
2432083: unsigned long ASN1_PCTX_get_str_flags(const ASN1_PCTX *p);
2432083: void ASN1_PCTX_set_str_flags(ASN1_PCTX *p, unsigned long flags);
2432083:
2432083: ASN1_SCTX *ASN1_SCTX_new(int (*scan_cb) (ASN1_SCTX *ctx));
2432083: void ASN1_SCTX_free(ASN1_SCTX *p);
2432083: const ASN1_ITEM *ASN1_SCTX_get_item(ASN1_SCTX *p);
2432083: const ASN1_TEMPLATE *ASN1_SCTX_get_template(ASN1_SCTX *p);
2432083: unsigned long ASN1_SCTX_get_flags(ASN1_SCTX *p);
2432083: void ASN1_SCTX_set_app_data(ASN1_SCTX *p, void *data);
2432083: void *ASN1_SCTX_get_app_data(ASN1_SCTX *p);
2432083:
2432083: const BIO_METHOD *BIO_f_asn1(void);
2432083:
2432083:
2432083: BIO *BIO_new_NDEF(BIO *out, ASN1_VALUE *val, const ASN1_ITEM *it);
2432083:
2432083: int i2d_ASN1_bio_stream(BIO *out, ASN1_VALUE *val, BIO *in, int flags,
2432083: const ASN1_ITEM *it);
2432083: int PEM_write_bio_ASN1_stream(BIO *out, ASN1_VALUE *val, BIO *in, int flags,
2432083: const char *hdr, const ASN1_ITEM *it);
2432083:
2432083: int SMIME_write_ASN1(BIO *bio, ASN1_VALUE *val, BIO *data, int flags,
2432083: int ctype_nid, int econt_nid,
2432083: struct stack_st_X509_ALGOR *mdalgs, const ASN1_ITEM *it);
2432083: int SMIME_write_ASN1_ex(BIO *bio, ASN1_VALUE *val, BIO *data, int flags,
2432083: int ctype_nid, int econt_nid,
2432083: struct stack_st_X509_ALGOR *mdalgs, const ASN1_ITEM *it,
2432083: OSSL_LIB_CTX *libctx, const char *propq);
2432083: ASN1_VALUE *SMIME_read_ASN1(BIO *bio, BIO **bcont, const ASN1_ITEM *it);
2432083: ASN1_VALUE *SMIME_read_ASN1_ex(BIO *bio, int flags, BIO **bcont,
2432083: const ASN1_ITEM *it, ASN1_VALUE **x,
2432083: OSSL_LIB_CTX *libctx, const char *propq);
2432083: int SMIME_crlf_copy(BIO *in, BIO *out, int flags);
2432083: int SMIME_text(BIO *in, BIO *out);
2432083:
2432083: const ASN1_ITEM *ASN1_ITEM_lookup(const char *name);
2432083: const ASN1_ITEM *ASN1_ITEM_get(size_t i);
2432083: # 89 "/usr/include/openssl/dh.h" 2 3 4
2432083:
2432083:
2432083:
2432083: # 1 "/usr/include/openssl/dherr.h" 1 3 4
2432083: # 13 "/usr/include/openssl/dherr.h" 3 4
2432083:
2432083: # 93 "/usr/include/openssl/dh.h" 2 3 4
2432083: # 140 "/usr/include/openssl/dh.h" 3 4
2432083: extern const ASN1_ITEM * DHparams_it(void);
2432083: # 197 "/usr/include/openssl/dh.h" 3 4
2432083: DH *DHparams_dup(const DH *a);
2432083:
2432083: const DH_METHOD *DH_OpenSSL(void);
2432083:
2432083: void DH_set_default_method(const DH_METHOD *meth);
2432083: const DH_METHOD *DH_get_default_method(void);
2432083: int DH_set_method(DH *dh, const DH_METHOD *meth);
2432083: DH *DH_new_method(ENGINE *engine);
2432083:
2432083: DH *DH_new(void);
2432083: void DH_free(DH *dh);
2432083: int DH_up_ref(DH *dh);
2432083: int DH_bits(const DH *dh);
2432083: int DH_size(const DH *dh);
2432083: int DH_security_bits(const DH *dh);
2432083:
2432083:
2432083:
2432083:
2432083: int DH_set_ex_data(DH *d, int idx, void *arg);
2432083: void *DH_get_ex_data(const DH *d, int idx);
2432083:
2432083: int DH_generate_parameters_ex(DH *dh, int prime_len,
2432083: int generator,
2432083: BN_GENCB *cb);
2432083:
2432083: int DH_check_params_ex(const DH *dh);
2432083: int DH_check_ex(const DH *dh);
2432083: int DH_check_pub_key_ex(const DH *dh, const BIGNUM *pub_key);
2432083: int DH_check_params(const DH *dh, int *ret);
2432083: int DH_check(const DH *dh, int *codes);
2432083: int DH_check_pub_key(const DH *dh, const BIGNUM *pub_key,
2432083: int *codes);
2432083: int DH_generate_key(DH *dh);
2432083: int DH_compute_key(unsigned char *key,
2432083: const BIGNUM *pub_key, DH *dh);
2432083: int DH_compute_key_padded(unsigned char *key,
2432083: const BIGNUM *pub_key, DH *dh);
2432083:
2432083: DH *d2i_DHparams(DH **a, const unsigned char **in, long len); int i2d_DHparams(const DH *a, unsigned char **out);
2432083: DH *d2i_DHxparams(DH **a, const unsigned char **in, long len); int i2d_DHxparams(const DH *a, unsigned char **out);
2432083:
2432083:
2432083: int DHparams_print_fp(FILE *fp, const DH *x);
2432083:
2432083: int DHparams_print(BIO *bp, const DH *x);
2432083:
2432083:
2432083: DH *DH_get_1024_160(void);
2432083: DH *DH_get_2048_224(void);
2432083: DH *DH_get_2048_256(void);
2432083:
2432083:
2432083: DH *DH_new_by_nid(int nid);
2432083: int DH_get_nid(const DH *dh);
2432083:
2432083:
2432083: int DH_KDF_X9_42(unsigned char *out, size_t outlen,
2432083: const unsigned char *Z, size_t Zlen,
2432083: ASN1_OBJECT *key_oid,
2432083: const unsigned char *ukm,
2432083: size_t ukmlen, const EVP_MD *md);
2432083:
2432083: void DH_get0_pqg(const DH *dh, const BIGNUM **p,
2432083: const BIGNUM **q, const BIGNUM **g);
2432083: int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g);
2432083: void DH_get0_key(const DH *dh, const BIGNUM **pub_key,
2432083: const BIGNUM **priv_key);
2432083: int DH_set0_key(DH *dh, BIGNUM *pub_key, BIGNUM *priv_key);
2432083: const BIGNUM *DH_get0_p(const DH *dh);
2432083: const BIGNUM *DH_get0_q(const DH *dh);
2432083: const BIGNUM *DH_get0_g(const DH *dh);
2432083: const BIGNUM *DH_get0_priv_key(const DH *dh);
2432083: const BIGNUM *DH_get0_pub_key(const DH *dh);
2432083: void DH_clear_flags(DH *dh, int flags);
2432083: int DH_test_flags(const DH *dh, int flags);
2432083: void DH_set_flags(DH *dh, int flags);
2432083: ENGINE *DH_get0_engine(DH *d);
2432083: long DH_get_length(const DH *dh);
2432083: int DH_set_length(DH *dh, long length);
2432083:
2432083: DH_METHOD *DH_meth_new(const char *name, int flags);
2432083: void DH_meth_free(DH_METHOD *dhm);
2432083: DH_METHOD *DH_meth_dup(const DH_METHOD *dhm);
2432083: const char *DH_meth_get0_name(const DH_METHOD *dhm);
2432083: int DH_meth_set1_name(DH_METHOD *dhm, const char *name);
2432083: int DH_meth_get_flags(const DH_METHOD *dhm);
2432083: int DH_meth_set_flags(DH_METHOD *dhm, int flags);
2432083: void *DH_meth_get0_app_data(const DH_METHOD *dhm);
2432083: int DH_meth_set0_app_data(DH_METHOD *dhm, void *app_data);
2432083: int (*DH_meth_get_generate_key(const DH_METHOD *dhm)) (DH *);
2432083: int DH_meth_set_generate_key(DH_METHOD *dhm,
2432083: int (*generate_key) (DH *));
2432083: int (*DH_meth_get_compute_key(const DH_METHOD *dhm))
2432083: (unsigned char *key,
2432083: const BIGNUM *pub_key,
2432083: DH *dh);
2432083: int DH_meth_set_compute_key(DH_METHOD *dhm,
2432083: int (*compute_key)
2432083: (unsigned char *key,
2432083: const BIGNUM *pub_key,
2432083: DH *dh));
2432083: int (*DH_meth_get_bn_mod_exp(const DH_METHOD *dhm))
2432083: (const DH *, BIGNUM *,
2432083: const BIGNUM *,
2432083: const BIGNUM *,
2432083: const BIGNUM *, BN_CTX *,
2432083: BN_MONT_CTX *);
2432083: int DH_meth_set_bn_mod_exp(DH_METHOD *dhm,
2432083: int (*bn_mod_exp)
2432083: (const DH *, BIGNUM *,
2432083: const BIGNUM *, const BIGNUM *,
2432083: const BIGNUM *, BN_CTX *,
2432083: BN_MONT_CTX *));
2432083: int (*DH_meth_get_init(const DH_METHOD *dhm))(DH *);
2432083: int DH_meth_set_init(DH_METHOD *dhm, int (*init)(DH *));
2432083: int (*DH_meth_get_finish(const DH_METHOD *dhm)) (DH *);
2432083: int DH_meth_set_finish(DH_METHOD *dhm, int (*finish) (DH *));
2432083: int (*DH_meth_get_generate_params(const DH_METHOD *dhm))
2432083: (DH *, int, int,
2432083: BN_GENCB *);
2432083: int DH_meth_set_generate_params(DH_METHOD *dhm,
2432083: int (*generate_params)
2432083: (DH *, int, int,
2432083: BN_GENCB *));
2432083:
2432083:
2432083:
2432083: __attribute__((deprecated("Since OpenSSL " "0.9.8"))) DH *DH_generate_parameters(int prime_len, int generator,
2432083: void (*callback) (int, int,
2432083: void *),
2432083: void *cb_arg);
2432083: # 48 "../../moduli.c" 2
2432083:
2432083:
2432083:
2432083:
2432083: # 1 "/usr/include/string.h" 1 3 4
2432083: # 26 "/usr/include/string.h" 3 4
2432083: # 1 "/usr/include/m68k-linux-gnu/bits/libc-header-start.h" 1 3 4
2432083: # 27 "/usr/include/string.h" 2 3 4
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: # 1 "/usr/lib/gcc/m68k-linux-gnu/13/include/stddef.h" 1 3 4
2432083: # 34 "/usr/include/string.h" 2 3 4
2432083: # 43 "/usr/include/string.h" 3 4
2432083: extern void *memcpy (void *__restrict __dest, const void *__restrict __src,
2432083: size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2)));
2432083:
2432083:
2432083: extern void *memmove (void *__dest, const void *__src, size_t __n)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2)));
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern void *memccpy (void *__restrict __dest, const void *__restrict __src,
2432083: int __c, size_t __n)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))) __attribute__ ((__access__ (__write_only__, 1, 4)));
2432083:
2432083:
2432083:
2432083:
2432083: extern void *memset (void *__s, int __c, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
2432083:
2432083:
2432083: extern int memcmp (const void *__s1, const void *__s2, size_t __n)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
2432083: # 80 "/usr/include/string.h" 3 4
2432083: extern int __memcmpeq (const void *__s1, const void *__s2, size_t __n)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
2432083: # 107 "/usr/include/string.h" 3 4
2432083: extern void *memchr (const void *__s, int __c, size_t __n)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
2432083: # 120 "/usr/include/string.h" 3 4
2432083: extern void *rawmemchr (const void *__s, int __c)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
2432083: # 133 "/usr/include/string.h" 3 4
2432083: extern void *memrchr (const void *__s, int __c, size_t __n)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)))
2432083: __attribute__ ((__access__ (__read_only__, 1, 3)));
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern char *strcpy (char *__restrict __dest, const char *__restrict __src)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2)));
2432083:
2432083: extern char *strncpy (char *__restrict __dest,
2432083: const char *__restrict __src, size_t __n)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2)));
2432083:
2432083:
2432083: extern char *strcat (char *__restrict __dest, const char *__restrict __src)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2)));
2432083:
2432083: extern char *strncat (char *__restrict __dest, const char *__restrict __src,
2432083: size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2)));
2432083:
2432083:
2432083: extern int strcmp (const char *__s1, const char *__s2)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
2432083:
2432083: extern int strncmp (const char *__s1, const char *__s2, size_t __n)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
2432083:
2432083:
2432083: extern int strcoll (const char *__s1, const char *__s2)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
2432083:
2432083: extern size_t strxfrm (char *__restrict __dest,
2432083: const char *__restrict __src, size_t __n)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))) __attribute__ ((__access__ (__write_only__, 1, 3)));
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern int strcoll_l (const char *__s1, const char *__s2, locale_t __l)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2, 3)));
2432083:
2432083:
2432083: extern size_t strxfrm_l (char *__dest, const char *__src, size_t __n,
2432083: locale_t __l) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2, 4)))
2432083: __attribute__ ((__access__ (__write_only__, 1, 3)));
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern char *strdup (const char *__s)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__malloc__)) __attribute__ ((__nonnull__ (1)));
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern char *strndup (const char *__string, size_t __n)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__malloc__)) __attribute__ ((__nonnull__ (1)));
2432083: # 246 "/usr/include/string.h" 3 4
2432083: extern char *strchr (const char *__s, int __c)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
2432083: # 273 "/usr/include/string.h" 3 4
2432083: extern char *strrchr (const char *__s, int __c)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
2432083: # 286 "/usr/include/string.h" 3 4
2432083: extern char *strchrnul (const char *__s, int __c)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern size_t strcspn (const char *__s, const char *__reject)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
2432083:
2432083:
2432083: extern size_t strspn (const char *__s, const char *__accept)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
2432083: # 323 "/usr/include/string.h" 3 4
2432083: extern char *strpbrk (const char *__s, const char *__accept)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
2432083: # 350 "/usr/include/string.h" 3 4
2432083: extern char *strstr (const char *__haystack, const char *__needle)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
2432083:
2432083:
2432083:
2432083:
2432083: extern char *strtok (char *__restrict __s, const char *__restrict __delim)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2)));
2432083:
2432083:
2432083:
2432083: extern char *__strtok_r (char *__restrict __s,
2432083: const char *__restrict __delim,
2432083: char **__restrict __save_ptr)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2, 3)));
2432083:
2432083: extern char *strtok_r (char *__restrict __s, const char *__restrict __delim,
2432083: char **__restrict __save_ptr)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2, 3)));
2432083: # 380 "/usr/include/string.h" 3 4
2432083: extern char *strcasestr (const char *__haystack, const char *__needle)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern void *memmem (const void *__haystack, size_t __haystacklen,
2432083: const void *__needle, size_t __needlelen)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 3)))
2432083: __attribute__ ((__access__ (__read_only__, 1, 2)))
2432083: __attribute__ ((__access__ (__read_only__, 3, 4)));
2432083:
2432083:
2432083:
2432083: extern void *__mempcpy (void *__restrict __dest,
2432083: const void *__restrict __src, size_t __n)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2)));
2432083: extern void *mempcpy (void *__restrict __dest,
2432083: const void *__restrict __src, size_t __n)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2)));
2432083:
2432083:
2432083:
2432083:
2432083: extern size_t strlen (const char *__s)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
2432083:
2432083:
2432083:
2432083:
2432083: extern size_t strnlen (const char *__string, size_t __maxlen)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
2432083:
2432083:
2432083:
2432083:
2432083: extern char *strerror (int __errnum) __attribute__ ((__nothrow__ , __leaf__));
2432083: # 444 "/usr/include/string.h" 3 4
2432083: extern char *strerror_r (int __errnum, char *__buf, size_t __buflen)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))) __attribute__ ((__warn_unused_result__)) __attribute__ ((__access__ (__write_only__, 2, 3)));
2432083:
2432083:
2432083:
2432083:
2432083: extern const char *strerrordesc_np (int __err) __attribute__ ((__nothrow__ , __leaf__));
2432083:
2432083: extern const char *strerrorname_np (int __err) __attribute__ ((__nothrow__ , __leaf__));
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern char *strerror_l (int __errnum, locale_t __l) __attribute__ ((__nothrow__ , __leaf__));
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern void explicit_bzero (void *__s, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)))
2432083: __attribute__ ((__access__ (__write_only__, 1, 2)));
2432083:
2432083:
2432083:
2432083: extern char *strsep (char **__restrict __stringp,
2432083: const char *__restrict __delim)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2)));
2432083:
2432083:
2432083:
2432083:
2432083: extern char *strsignal (int __sig) __attribute__ ((__nothrow__ , __leaf__));
2432083:
2432083:
2432083:
2432083: extern const char *sigabbrev_np (int __sig) __attribute__ ((__nothrow__ , __leaf__));
2432083:
2432083:
2432083: extern const char *sigdescr_np (int __sig) __attribute__ ((__nothrow__ , __leaf__));
2432083:
2432083:
2432083:
2432083: extern char *__stpcpy (char *__restrict __dest, const char *__restrict __src)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2)));
2432083: extern char *stpcpy (char *__restrict __dest, const char *__restrict __src)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2)));
2432083:
2432083:
2432083:
2432083: extern char *__stpncpy (char *__restrict __dest,
2432083: const char *__restrict __src, size_t __n)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2)));
2432083: extern char *stpncpy (char *__restrict __dest,
2432083: const char *__restrict __src, size_t __n)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2)));
2432083:
2432083:
2432083:
2432083:
2432083: extern int strverscmp (const char *__s1, const char *__s2)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
2432083:
2432083:
2432083: extern char *strfry (char *__string) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
2432083:
2432083:
2432083: extern void *memfrob (void *__s, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)))
2432083: __attribute__ ((__access__ (__read_write__, 1, 2)));
2432083: # 527 "/usr/include/string.h" 3 4
2432083: extern char *basename (const char *__filename) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: # 1 "/usr/include/m68k-linux-gnu/bits/string_fortified.h" 1 3 4
2432083: # 25 "/usr/include/m68k-linux-gnu/bits/string_fortified.h" 3 4
2432083: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) void *
2432083: __attribute__ ((__nothrow__ , __leaf__)) memcpy (void *__restrict __dest, const void *__restrict __src, size_t __len)
2432083:
2432083: {
2432083: return __builtin___memcpy_chk (__dest, __src, __len,
2432083: __builtin_object_size (__dest, 0));
2432083: }
2432083:
2432083: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) void *
2432083: __attribute__ ((__nothrow__ , __leaf__)) memmove (void *__dest, const void *__src, size_t __len)
2432083: {
2432083: return __builtin___memmove_chk (__dest, __src, __len,
2432083: __builtin_object_size (__dest, 0));
2432083: }
2432083:
2432083:
2432083: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) void *
2432083: __attribute__ ((__nothrow__ , __leaf__)) mempcpy (void *__restrict __dest, const void *__restrict __src, size_t __len)
2432083:
2432083: {
2432083: return __builtin___mempcpy_chk (__dest, __src, __len,
2432083: __builtin_object_size (__dest, 0));
2432083: }
2432083: # 56 "/usr/include/m68k-linux-gnu/bits/string_fortified.h" 3 4
2432083: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) void *
2432083: __attribute__ ((__nothrow__ , __leaf__)) memset (void *__dest, int __ch, size_t __len)
2432083: {
2432083: return __builtin___memset_chk (__dest, __ch, __len,
2432083: __builtin_object_size (__dest, 0));
2432083: }
2432083:
2432083:
2432083:
2432083:
2432083: void __explicit_bzero_chk (void *__dest, size_t __len, size_t __destlen)
2432083: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__access__ (__write_only__, 1, 2)));
2432083:
2432083: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) void
2432083: __attribute__ ((__nothrow__ , __leaf__)) explicit_bzero (void *__dest, size_t __len)
2432083: {
2432083: __explicit_bzero_chk (__dest, __len, __builtin_object_size (__dest, 0));
2432083: }
2432083:
2432083:
2432083: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) char *
2432083: __attribute__ ((__nothrow__ , __leaf__)) strcpy (char *__restrict __dest, const char *__restrict __src)
2432083: {
2432083: return __builtin___strcpy_chk (__dest, __src, __builtin_object_size (__dest, 2 > 1));
2432083: }
2432083:
2432083:
2432083: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) char *
2432083: __attribute__ ((__nothrow__ , __leaf__)) stpcpy (char *__restrict __dest, const char *__restrict __src)
2432083: {
2432083: return __builtin___stpcpy_chk (__dest, __src, __builtin_object_size (__dest, 2 > 1));
2432083: }
2432083:
2432083:
2432083:
2432083: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) char *
2432083: __attribute__ ((__nothrow__ , __leaf__)) strncpy (char *__restrict __dest, const char *__restrict __src, size_t __len)
2432083:
2432083: {
2432083: return __builtin___strncpy_chk (__dest, __src, __len,
2432083: __builtin_object_size (__dest, 2 > 1));
2432083: }
2432083:
2432083:
2432083:
2432083: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) char *
2432083: __attribute__ ((__nothrow__ , __leaf__)) stpncpy (char *__dest, const char *__src, size_t __n)
2432083: {
2432083: return __builtin___stpncpy_chk (__dest, __src, __n,
2432083: __builtin_object_size (__dest, 2 > 1));
2432083: }
2432083: # 127 "/usr/include/m68k-linux-gnu/bits/string_fortified.h" 3 4
2432083: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) char *
2432083: __attribute__ ((__nothrow__ , __leaf__)) strcat (char *__restrict __dest, const char *__restrict __src)
2432083: {
2432083: return __builtin___strcat_chk (__dest, __src, __builtin_object_size (__dest, 2 > 1));
2432083: }
2432083:
2432083:
2432083: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) char *
2432083: __attribute__ ((__nothrow__ , __leaf__)) strncat (char *__restrict __dest, const char *__restrict __src, size_t __len)
2432083:
2432083: {
2432083: return __builtin___strncat_chk (__dest, __src, __len,
2432083: __builtin_object_size (__dest, 2 > 1));
2432083: }
2432083: # 536 "/usr/include/string.h" 2 3 4
2432083:
2432083:
2432083:
2432083:
2432083: # 53 "../../moduli.c" 2
2432083:
2432083:
2432083:
2432083: # 1 "/usr/lib/gcc/m68k-linux-gnu/13/include/limits.h" 1 3 4
2432083: # 57 "../../moduli.c" 2
2432083:
2432083: # 1 "../../xmalloc.h" 1
2432083: # 19 "../../xmalloc.h"
2432083:
2432083: # 19 "../../xmalloc.h"
2432083: void *xmalloc(size_t);
2432083: void *xcalloc(size_t, size_t);
2432083: void *xreallocarray(void *, size_t, size_t);
2432083: void *xrecallocarray(void *, size_t, size_t, size_t);
2432083: char *xstrdup(const char *);
2432083: int xasprintf(char **, const char *, ...)
2432083: __attribute__((__format__ (printf, 2, 3))) __attribute__((__nonnull__ (2)));
2432083: int xvasprintf(char **, const char *, va_list)
2432083: __attribute__((__nonnull__ (2)));
2432083: # 59 "../../moduli.c" 2
2432083: # 1 "../../dh.h" 1
2432083: # 31 "../../dh.h"
2432083: struct dhgroup {
2432083: int size;
2432083: BIGNUM *g;
2432083: BIGNUM *p;
2432083: };
2432083:
2432083: DH *choose_dh(int, int, int);
2432083: DH *dh_new_group_asc(const char *, const char *);
2432083: DH *dh_new_group(BIGNUM *, BIGNUM *);
2432083: DH *dh_new_group1(void);
2432083: DH *dh_new_group14(void);
2432083: DH *dh_new_group16(void);
2432083: DH *dh_new_group18(void);
2432083: DH *dh_new_group_fallback(int);
2432083:
2432083: int dh_gen_key(DH *, int);
2432083: int dh_pub_is_valid(const DH *, const BIGNUM *);
2432083:
2432083: u_int dh_estimate(int);
2432083: void dh_set_moduli_file(const char *);
2432083: # 60 "../../moduli.c" 2
2432083: # 1 "../../log.h" 1
2432083: # 19 "../../log.h"
2432083: # 1 "../../ssherr.h" 1
2432083: # 87 "../../ssherr.h"
2432083: const char *ssh_err(int n);
2432083: # 20 "../../log.h" 2
2432083:
2432083:
2432083: typedef enum {
2432083: SYSLOG_FACILITY_DAEMON,
2432083: SYSLOG_FACILITY_USER,
2432083: SYSLOG_FACILITY_AUTH,
2432083:
2432083:
2432083:
2432083: SYSLOG_FACILITY_LOCAL0,
2432083: SYSLOG_FACILITY_LOCAL1,
2432083: SYSLOG_FACILITY_LOCAL2,
2432083: SYSLOG_FACILITY_LOCAL3,
2432083: SYSLOG_FACILITY_LOCAL4,
2432083: SYSLOG_FACILITY_LOCAL5,
2432083: SYSLOG_FACILITY_LOCAL6,
2432083: SYSLOG_FACILITY_LOCAL7,
2432083: SYSLOG_FACILITY_NOT_SET = -1
2432083: } SyslogFacility;
2432083:
2432083: typedef enum {
2432083: SYSLOG_LEVEL_QUIET,
2432083: SYSLOG_LEVEL_FATAL,
2432083: SYSLOG_LEVEL_ERROR,
2432083: SYSLOG_LEVEL_INFO,
2432083: SYSLOG_LEVEL_VERBOSE,
2432083: SYSLOG_LEVEL_DEBUG1,
2432083: SYSLOG_LEVEL_DEBUG2,
2432083: SYSLOG_LEVEL_DEBUG3,
2432083: SYSLOG_LEVEL_NOT_SET = -1
2432083: } LogLevel;
2432083:
2432083: typedef void (log_handler_fn)(LogLevel, int, const char *, void *);
2432083:
2432083: void log_init(const char *, LogLevel, SyslogFacility, int);
2432083: LogLevel log_level_get(void);
2432083: int log_change_level(LogLevel);
2432083: int log_is_on_stderr(void);
2432083: void log_redirect_stderr_to(const char *);
2432083: void log_verbose_add(const char *);
2432083: void log_verbose_reset(void);
2432083:
2432083: SyslogFacility log_facility_number(char *);
2432083: const char * log_facility_name(SyslogFacility);
2432083: LogLevel log_level_number(char *);
2432083: const char * log_level_name(LogLevel);
2432083:
2432083: void set_log_handler(log_handler_fn *, void *);
2432083: void cleanup_exit(int) __attribute__((noreturn));
2432083:
2432083: void sshlog(const char *, const char *, int, int,
2432083: LogLevel, const char *, const char *, ...)
2432083: __attribute__((format(printf, 7, 8)));
2432083: void sshlogv(const char *, const char *, int, int,
2432083: LogLevel, const char *, const char *, va_list);
2432083: void sshsigdie(const char *, const char *, int, int,
2432083: LogLevel, const char *, const char *, ...) __attribute__((noreturn))
2432083: __attribute__((format(printf, 7, 8)));
2432083: void sshlogdie(const char *, const char *, int, int,
2432083: LogLevel, const char *, const char *, ...) __attribute__((noreturn))
2432083: __attribute__((format(printf, 7, 8)));
2432083: void sshfatal(const char *, const char *, int, int,
2432083: LogLevel, const char *, const char *, ...) __attribute__((noreturn))
2432083: __attribute__((format(printf, 7, 8)));
2432083: void sshlogdirect(LogLevel, int, const char *, ...)
2432083: __attribute__((format(printf, 3, 4)));
2432083: # 61 "../../moduli.c" 2
2432083: # 1 "../../misc.h" 1
2432083: # 25 "../../misc.h"
2432083: struct Forward {
2432083: char *listen_host;
2432083: int listen_port;
2432083: char *listen_path;
2432083: char *connect_host;
2432083: int connect_port;
2432083: char *connect_path;
2432083: int allocated_port;
2432083: int handle;
2432083: };
2432083:
2432083: int forward_equals(const struct Forward *, const struct Forward *);
2432083: int daemonized(void);
2432083:
2432083:
2432083: struct ForwardOptions {
2432083: int gateway_ports;
2432083: mode_t streamlocal_bind_mask;
2432083: int streamlocal_bind_unlink;
2432083: };
2432083:
2432083:
2432083:
2432083: char *chop(char *);
2432083: void rtrim(char *);
2432083: void skip_space(char **);
2432083: char *strdelim(char **);
2432083: char *strdelimw(char **);
2432083: int set_nonblock(int);
2432083: int unset_nonblock(int);
2432083: void set_nodelay(int);
2432083: int set_reuseaddr(int);
2432083: char *get_rdomain(int);
2432083: int set_rdomain(int, const char *);
2432083: int get_sock_af(int);
2432083: void set_sock_tos(int, int);
2432083: int waitrfd(int, int *, volatile sig_atomic_t *);
2432083: int timeout_connect(int, const struct sockaddr *, socklen_t, int *);
2432083: int a2port(const char *);
2432083: int a2tun(const char *, int *);
2432083: char *put_host_port(const char *, u_short);
2432083: char *hpdelim2(char **, char *);
2432083: char *hpdelim(char **);
2432083: char *cleanhostname(char *);
2432083: char *colon(char *);
2432083: int parse_user_host_path(const char *, char **, char **, char **);
2432083: int parse_user_host_port(const char *, char **, char **, int *);
2432083: int parse_uri(const char *, const char *, char **, char **, int *, char **);
2432083: int convtime(const char *);
2432083: const char *fmt_timeframe(time_t t);
2432083: int tilde_expand(const char *, uid_t, char **);
2432083: char *tilde_expand_filename(const char *, uid_t);
2432083:
2432083: char *dollar_expand(int *, const char *string, ...);
2432083: char *percent_expand(const char *, ...) __attribute__(());
2432083: char *percent_dollar_expand(const char *, ...) __attribute__(());
2432083: char *tohex(const void *, size_t);
2432083: void xextendf(char **s, const char *sep, const char *fmt, ...)
2432083: __attribute__((__format__ (printf, 3, 4))) __attribute__((__nonnull__ (3)));
2432083: void sanitise_stdfd(void);
2432083: void ms_subtract_diff(struct timeval *, int *);
2432083: void ms_to_timespec(struct timespec *, int);
2432083: void monotime_ts(struct timespec *);
2432083: void monotime_tv(struct timeval *);
2432083: time_t monotime(void);
2432083: double monotime_double(void);
2432083: void lowercase(char *s);
2432083: int unix_listener(const char *, int, int);
2432083: int valid_domain(char *, int, const char **);
2432083: int valid_env_name(const char *);
2432083: const char *atoi_err(const char *, int *);
2432083: int parse_absolute_time(const char *, uint64_t *);
2432083: void format_absolute_time(uint64_t, char *, size_t);
2432083: int parse_pattern_interval(const char *, char **, int *);
2432083: int path_absolute(const char *);
2432083: int stdfd_devnull(int, int, int);
2432083: int lib_contains_symbol(const char *, const char *);
2432083:
2432083: void sock_set_v6only(int);
2432083:
2432083: struct passwd *pwcopy(struct passwd *);
2432083: const char *ssh_gai_strerror(int);
2432083:
2432083: typedef void privdrop_fn(struct passwd *);
2432083: typedef void privrestore_fn(void);
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: pid_t subprocess(const char *, const char *, int, char **, FILE **, u_int,
2432083: struct passwd *, privdrop_fn *, privrestore_fn *);
2432083:
2432083: typedef struct arglist arglist;
2432083: struct arglist {
2432083: char **list;
2432083: u_int num;
2432083: u_int nalloc;
2432083: };
2432083: void addargs(arglist *, char *, ...)
2432083: __attribute__((format(printf, 2, 3)));
2432083: void replacearg(arglist *, u_int, char *, ...)
2432083: __attribute__((format(printf, 3, 4)));
2432083: void freeargs(arglist *);
2432083:
2432083: int tun_open(int, int, char **);
2432083: # 147 "../../misc.h"
2432083: u_int64_t get_u64(const void *)
2432083: __attribute__(());
2432083: u_int32_t get_u32(const void *)
2432083: __attribute__(());
2432083: u_int16_t get_u16(const void *)
2432083: __attribute__(());
2432083: void put_u64(void *, u_int64_t)
2432083: __attribute__(());
2432083: void put_u32(void *, u_int32_t)
2432083: __attribute__(());
2432083: void put_u16(void *, u_int16_t)
2432083: __attribute__(());
2432083:
2432083:
2432083: u_int32_t get_u32_le(const void *)
2432083: __attribute__(());
2432083: void put_u32_le(void *, u_int32_t)
2432083: __attribute__(());
2432083:
2432083: struct bwlimit {
2432083: size_t buflen;
2432083: u_int64_t rate;
2432083: u_int64_t thresh;
2432083: u_int64_t lamt;
2432083: struct timeval bwstart, bwend;
2432083: };
2432083:
2432083: void bandwidth_limit_init(struct bwlimit *, u_int64_t, size_t);
2432083: void bandwidth_limit(struct bwlimit *, size_t);
2432083:
2432083: int parse_ipqos(const char *);
2432083: const char *iptos2str(int);
2432083: void mktemp_proto(char *, size_t);
2432083:
2432083: void child_set_env(char ***envp, u_int *envsizep, const char *name,
2432083: const char *value);
2432083: const char *lookup_env_in_list(const char *env,
2432083: char * const *envs, size_t nenvs);
2432083: const char *lookup_setenv_in_list(const char *env,
2432083: char * const *envs, size_t nenvs);
2432083:
2432083: int argv_split(const char *, int *, char ***, int);
2432083: char *argv_assemble(int, char **argv);
2432083: char *argv_next(int *, char ***);
2432083: void argv_consume(int *);
2432083: void argv_free(char **, int);
2432083:
2432083: int exited_cleanly(pid_t, const char *, const char *, int);
2432083:
2432083: struct stat;
2432083: int safe_path(const char *, struct stat *, const char *, uid_t,
2432083: char *, size_t);
2432083: int safe_path_fd(int, const char *, struct passwd *,
2432083: char *err, size_t errlen);
2432083:
2432083:
2432083: int opt_flag(const char *opt, int allow_negate, const char **optsp);
2432083: char *opt_dequote(const char **sp, const char **errstrp);
2432083: int opt_match(const char **opts, const char *term);
2432083:
2432083:
2432083: void opt_array_append(const char *file, const int line,
2432083: const char *directive, char ***array, u_int *lp, const char *s);
2432083: void opt_array_append2(const char *file, const int line,
2432083: const char *directive, char ***array, int **iarray, u_int *lp,
2432083: const char *s, int i);
2432083: void opt_array_free2(char **array, int **iarray, u_int l);
2432083:
2432083: struct timespec;
2432083: void ptimeout_init(struct timespec *pt);
2432083: void ptimeout_deadline_sec(struct timespec *pt, long sec);
2432083: void ptimeout_deadline_ms(struct timespec *pt, long ms);
2432083: void ptimeout_deadline_monotime_tsp(struct timespec *pt, struct timespec *when);
2432083: void ptimeout_deadline_monotime(struct timespec *pt, time_t when);
2432083: int ptimeout_get_ms(struct timespec *pt);
2432083: struct timespec *ptimeout_get_tsp(struct timespec *pt);
2432083: int ptimeout_isset(struct timespec *pt);
2432083: # 232 "../../misc.h"
2432083: struct notifier_ctx;
2432083:
2432083: char *read_passphrase(const char *, int);
2432083: int ask_permission(const char *, ...) __attribute__((format(printf, 1, 2)));
2432083: struct notifier_ctx *notify_start(int, const char *, ...)
2432083: __attribute__((format(printf, 2, 3)));
2432083: void notify_complete(struct notifier_ctx *, const char *, ...)
2432083: __attribute__((format(printf, 2, 3)));
2432083:
2432083: int secure_permissions(struct stat *st, uid_t uid);
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: typedef void (*sshsig_t)(int);
2432083: sshsig_t ssh_signal(int, sshsig_t);
2432083: # 62 "../../moduli.c" 2
2432083:
2432083: # 1 "../../openbsd-compat/openssl-compat.h" 1
2432083: # 25 "../../openbsd-compat/openssl-compat.h"
2432083: # 1 "/usr/include/openssl/evp.h" 1 3 4
2432083: # 12 "/usr/include/openssl/evp.h" 3 4
2432083:
2432083: # 26 "/usr/include/openssl/evp.h" 3 4
2432083: # 1 "/usr/include/openssl/types.h" 1 3 4
2432083: # 27 "/usr/include/openssl/evp.h" 2 3 4
2432083:
2432083: # 1 "/usr/include/openssl/core_dispatch.h" 1 3 4
2432083: # 12 "/usr/include/openssl/core_dispatch.h" 3 4
2432083:
2432083: # 64 "/usr/include/openssl/core_dispatch.h" 3 4
2432083:
2432083: # 64 "/usr/include/openssl/core_dispatch.h" 3 4
2432083: typedef const OSSL_PARAM * (OSSL_FUNC_core_gettable_params_fn)(const OSSL_CORE_HANDLE *prov); static __attribute__((unused)) inline OSSL_FUNC_core_gettable_params_fn *OSSL_FUNC_core_gettable_params(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_core_gettable_params_fn *)opf->function; }
2432083:
2432083:
2432083: typedef int (OSSL_FUNC_core_get_params_fn)(const OSSL_CORE_HANDLE *prov, OSSL_PARAM params[]); static __attribute__((unused)) inline OSSL_FUNC_core_get_params_fn *OSSL_FUNC_core_get_params(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_core_get_params_fn *)opf->function; }
2432083:
2432083:
2432083: typedef int (OSSL_FUNC_core_thread_start_fn)(const OSSL_CORE_HANDLE *prov, OSSL_thread_stop_handler_fn handfn, void *arg); static __attribute__((unused)) inline OSSL_FUNC_core_thread_start_fn *OSSL_FUNC_core_thread_start(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_core_thread_start_fn *)opf->function; }
2432083:
2432083:
2432083:
2432083: typedef OPENSSL_CORE_CTX * (OSSL_FUNC_core_get_libctx_fn)(const OSSL_CORE_HANDLE *prov); static __attribute__((unused)) inline OSSL_FUNC_core_get_libctx_fn *OSSL_FUNC_core_get_libctx(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_core_get_libctx_fn *)opf->function; }
2432083:
2432083:
2432083: typedef void (OSSL_FUNC_core_new_error_fn)(const OSSL_CORE_HANDLE *prov); static __attribute__((unused)) inline OSSL_FUNC_core_new_error_fn *OSSL_FUNC_core_new_error(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_core_new_error_fn *)opf->function; }
2432083:
2432083: typedef void (OSSL_FUNC_core_set_error_debug_fn)(const OSSL_CORE_HANDLE *prov, const char *file, int line, const char *func); static __attribute__((unused)) inline OSSL_FUNC_core_set_error_debug_fn *OSSL_FUNC_core_set_error_debug(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_core_set_error_debug_fn *)opf->function; }
2432083:
2432083:
2432083:
2432083: typedef void (OSSL_FUNC_core_vset_error_fn)(const OSSL_CORE_HANDLE *prov, uint32_t reason, const char *fmt, va_list args); static __attribute__((unused)) inline OSSL_FUNC_core_vset_error_fn *OSSL_FUNC_core_vset_error(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_core_vset_error_fn *)opf->function; }
2432083:
2432083:
2432083:
2432083: typedef int (OSSL_FUNC_core_set_error_mark_fn)(const OSSL_CORE_HANDLE *prov); static __attribute__((unused)) inline OSSL_FUNC_core_set_error_mark_fn *OSSL_FUNC_core_set_error_mark(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_core_set_error_mark_fn *)opf->function; }
2432083:
2432083: typedef int (OSSL_FUNC_core_clear_last_error_mark_fn)(const OSSL_CORE_HANDLE *prov); static __attribute__((unused)) inline OSSL_FUNC_core_clear_last_error_mark_fn *OSSL_FUNC_core_clear_last_error_mark(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_core_clear_last_error_mark_fn *)opf->function; }
2432083:
2432083:
2432083: typedef int (OSSL_FUNC_core_pop_error_to_mark_fn)(const OSSL_CORE_HANDLE *prov); static __attribute__((unused)) inline OSSL_FUNC_core_pop_error_to_mark_fn *OSSL_FUNC_core_pop_error_to_mark(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_core_pop_error_to_mark_fn *)opf->function; }
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: typedef int (OSSL_FUNC_core_obj_add_sigid_fn)(const OSSL_CORE_HANDLE *prov, const char *sign_name, const char *digest_name, const char *pkey_name); static __attribute__((unused)) inline OSSL_FUNC_core_obj_add_sigid_fn *OSSL_FUNC_core_obj_add_sigid(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_core_obj_add_sigid_fn *)opf->function; }
2432083:
2432083:
2432083: typedef int (OSSL_FUNC_core_obj_create_fn)(const OSSL_CORE_HANDLE *prov, const char *oid, const char *sn, const char *ln); static __attribute__((unused)) inline OSSL_FUNC_core_obj_create_fn *OSSL_FUNC_core_obj_create(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_core_obj_create_fn *)opf->function; }
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: typedef void * (OSSL_FUNC_CRYPTO_malloc_fn)(size_t num, const char *file, int line); static __attribute__((unused)) inline OSSL_FUNC_CRYPTO_malloc_fn *OSSL_FUNC_CRYPTO_malloc(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_CRYPTO_malloc_fn *)opf->function; }
2432083:
2432083:
2432083: typedef void * (OSSL_FUNC_CRYPTO_zalloc_fn)(size_t num, const char *file, int line); static __attribute__((unused)) inline OSSL_FUNC_CRYPTO_zalloc_fn *OSSL_FUNC_CRYPTO_zalloc(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_CRYPTO_zalloc_fn *)opf->function; }
2432083:
2432083:
2432083: typedef void (OSSL_FUNC_CRYPTO_free_fn)(void *ptr, const char *file, int line); static __attribute__((unused)) inline OSSL_FUNC_CRYPTO_free_fn *OSSL_FUNC_CRYPTO_free(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_CRYPTO_free_fn *)opf->function; }
2432083:
2432083:
2432083: typedef void (OSSL_FUNC_CRYPTO_clear_free_fn)(void *ptr, size_t num, const char *file, int line); static __attribute__((unused)) inline OSSL_FUNC_CRYPTO_clear_free_fn *OSSL_FUNC_CRYPTO_clear_free(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_CRYPTO_clear_free_fn *)opf->function; }
2432083:
2432083:
2432083: typedef void * (OSSL_FUNC_CRYPTO_realloc_fn)(void *addr, size_t num, const char *file, int line); static __attribute__((unused)) inline OSSL_FUNC_CRYPTO_realloc_fn *OSSL_FUNC_CRYPTO_realloc(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_CRYPTO_realloc_fn *)opf->function; }
2432083:
2432083:
2432083: typedef void * (OSSL_FUNC_CRYPTO_clear_realloc_fn)(void *addr, size_t old_num, size_t num, const char *file, int line); static __attribute__((unused)) inline OSSL_FUNC_CRYPTO_clear_realloc_fn *OSSL_FUNC_CRYPTO_clear_realloc(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_CRYPTO_clear_realloc_fn *)opf->function; }
2432083:
2432083:
2432083:
2432083: typedef void * (OSSL_FUNC_CRYPTO_secure_malloc_fn)(size_t num, const char *file, int line); static __attribute__((unused)) inline OSSL_FUNC_CRYPTO_secure_malloc_fn *OSSL_FUNC_CRYPTO_secure_malloc(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_CRYPTO_secure_malloc_fn *)opf->function; }
2432083:
2432083:
2432083: typedef void * (OSSL_FUNC_CRYPTO_secure_zalloc_fn)(size_t num, const char *file, int line); static __attribute__((unused)) inline OSSL_FUNC_CRYPTO_secure_zalloc_fn *OSSL_FUNC_CRYPTO_secure_zalloc(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_CRYPTO_secure_zalloc_fn *)opf->function; }
2432083:
2432083:
2432083: typedef void (OSSL_FUNC_CRYPTO_secure_free_fn)(void *ptr, const char *file, int line); static __attribute__((unused)) inline OSSL_FUNC_CRYPTO_secure_free_fn *OSSL_FUNC_CRYPTO_secure_free(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_CRYPTO_secure_free_fn *)opf->function; }
2432083:
2432083:
2432083: typedef void (OSSL_FUNC_CRYPTO_secure_clear_free_fn)(void *ptr, size_t num, const char *file, int line); static __attribute__((unused)) inline OSSL_FUNC_CRYPTO_secure_clear_free_fn *OSSL_FUNC_CRYPTO_secure_clear_free(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_CRYPTO_secure_clear_free_fn *)opf->function; }
2432083:
2432083:
2432083:
2432083: typedef int (OSSL_FUNC_CRYPTO_secure_allocated_fn)(const void *ptr); static __attribute__((unused)) inline OSSL_FUNC_CRYPTO_secure_allocated_fn *OSSL_FUNC_CRYPTO_secure_allocated(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_CRYPTO_secure_allocated_fn *)opf->function; }
2432083:
2432083:
2432083: typedef void (OSSL_FUNC_OPENSSL_cleanse_fn)(void *ptr, size_t len); static __attribute__((unused)) inline OSSL_FUNC_OPENSSL_cleanse_fn *OSSL_FUNC_OPENSSL_cleanse(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_OPENSSL_cleanse_fn *)opf->function; }
2432083: # 161 "/usr/include/openssl/core_dispatch.h" 3 4
2432083: typedef OSSL_CORE_BIO * (OSSL_FUNC_BIO_new_file_fn)(const char *filename, const char *mode); static __attribute__((unused)) inline OSSL_FUNC_BIO_new_file_fn *OSSL_FUNC_BIO_new_file(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_BIO_new_file_fn *)opf->function; }
2432083:
2432083: typedef OSSL_CORE_BIO * (OSSL_FUNC_BIO_new_membuf_fn)(const void *buf, int len); static __attribute__((unused)) inline OSSL_FUNC_BIO_new_membuf_fn *OSSL_FUNC_BIO_new_membuf(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_BIO_new_membuf_fn *)opf->function; }
2432083: typedef int (OSSL_FUNC_BIO_read_ex_fn)(OSSL_CORE_BIO *bio, void *data, size_t data_len, size_t *bytes_read); static __attribute__((unused)) inline OSSL_FUNC_BIO_read_ex_fn *OSSL_FUNC_BIO_read_ex(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_BIO_read_ex_fn *)opf->function; }
2432083:
2432083: typedef int (OSSL_FUNC_BIO_write_ex_fn)(OSSL_CORE_BIO *bio, const void *data, size_t data_len, size_t *written); static __attribute__((unused)) inline OSSL_FUNC_BIO_write_ex_fn *OSSL_FUNC_BIO_write_ex(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_BIO_write_ex_fn *)opf->function; }
2432083:
2432083: typedef int (OSSL_FUNC_BIO_gets_fn)(OSSL_CORE_BIO *bio, char *buf, int size); static __attribute__((unused)) inline OSSL_FUNC_BIO_gets_fn *OSSL_FUNC_BIO_gets(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_BIO_gets_fn *)opf->function; }
2432083: typedef int (OSSL_FUNC_BIO_puts_fn)(OSSL_CORE_BIO *bio, const char *str); static __attribute__((unused)) inline OSSL_FUNC_BIO_puts_fn *OSSL_FUNC_BIO_puts(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_BIO_puts_fn *)opf->function; }
2432083: typedef int (OSSL_FUNC_BIO_up_ref_fn)(OSSL_CORE_BIO *bio); static __attribute__((unused)) inline OSSL_FUNC_BIO_up_ref_fn *OSSL_FUNC_BIO_up_ref(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_BIO_up_ref_fn *)opf->function; }
2432083: typedef int (OSSL_FUNC_BIO_free_fn)(OSSL_CORE_BIO *bio); static __attribute__((unused)) inline OSSL_FUNC_BIO_free_fn *OSSL_FUNC_BIO_free(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_BIO_free_fn *)opf->function; }
2432083: typedef int (OSSL_FUNC_BIO_vprintf_fn)(OSSL_CORE_BIO *bio, const char *format, va_list args); static __attribute__((unused)) inline OSSL_FUNC_BIO_vprintf_fn *OSSL_FUNC_BIO_vprintf(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_BIO_vprintf_fn *)opf->function; }
2432083:
2432083: typedef int (OSSL_FUNC_BIO_vsnprintf_fn)(char *buf, size_t n, const char *fmt, va_list args); static __attribute__((unused)) inline OSSL_FUNC_BIO_vsnprintf_fn *OSSL_FUNC_BIO_vsnprintf(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_BIO_vsnprintf_fn *)opf->function; }
2432083:
2432083: typedef int (OSSL_FUNC_BIO_ctrl_fn)(OSSL_CORE_BIO *bio, int cmd, long num, void *ptr); static __attribute__((unused)) inline OSSL_FUNC_BIO_ctrl_fn *OSSL_FUNC_BIO_ctrl(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_BIO_ctrl_fn *)opf->function; }
2432083: # 186 "/usr/include/openssl/core_dispatch.h" 3 4
2432083: typedef void (OSSL_FUNC_self_test_cb_fn)(OPENSSL_CORE_CTX *ctx, OSSL_CALLBACK **cb, void **cbarg); static __attribute__((unused)) inline OSSL_FUNC_self_test_cb_fn *OSSL_FUNC_self_test_cb(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_self_test_cb_fn *)opf->function; }
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: typedef size_t (OSSL_FUNC_get_entropy_fn)(const OSSL_CORE_HANDLE *handle, unsigned char **pout, int entropy, size_t min_len, size_t max_len); static __attribute__((unused)) inline OSSL_FUNC_get_entropy_fn *OSSL_FUNC_get_entropy(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_get_entropy_fn *)opf->function; }
2432083:
2432083:
2432083: typedef size_t (OSSL_FUNC_get_user_entropy_fn)(const OSSL_CORE_HANDLE *handle, unsigned char **pout, int entropy, size_t min_len, size_t max_len); static __attribute__((unused)) inline OSSL_FUNC_get_user_entropy_fn *OSSL_FUNC_get_user_entropy(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_get_user_entropy_fn *)opf->function; }
2432083:
2432083:
2432083: typedef void (OSSL_FUNC_cleanup_entropy_fn)(const OSSL_CORE_HANDLE *handle, unsigned char *buf, size_t len); static __attribute__((unused)) inline OSSL_FUNC_cleanup_entropy_fn *OSSL_FUNC_cleanup_entropy(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_cleanup_entropy_fn *)opf->function; }
2432083:
2432083: typedef void (OSSL_FUNC_cleanup_user_entropy_fn)(const OSSL_CORE_HANDLE *handle, unsigned char *buf, size_t len); static __attribute__((unused)) inline OSSL_FUNC_cleanup_user_entropy_fn *OSSL_FUNC_cleanup_user_entropy(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_cleanup_user_entropy_fn *)opf->function; }
2432083:
2432083: typedef size_t (OSSL_FUNC_get_nonce_fn)(const OSSL_CORE_HANDLE *handle, unsigned char **pout, size_t min_len, size_t max_len, const void *salt, size_t salt_len); static __attribute__((unused)) inline OSSL_FUNC_get_nonce_fn *OSSL_FUNC_get_nonce(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_get_nonce_fn *)opf->function; }
2432083:
2432083:
2432083:
2432083: typedef size_t (OSSL_FUNC_get_user_nonce_fn)(const OSSL_CORE_HANDLE *handle, unsigned char **pout, size_t min_len, size_t max_len, const void *salt, size_t salt_len); static __attribute__((unused)) inline OSSL_FUNC_get_user_nonce_fn *OSSL_FUNC_get_user_nonce(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_get_user_nonce_fn *)opf->function; }
2432083:
2432083:
2432083:
2432083: typedef void (OSSL_FUNC_cleanup_nonce_fn)(const OSSL_CORE_HANDLE *handle, unsigned char *buf, size_t len); static __attribute__((unused)) inline OSSL_FUNC_cleanup_nonce_fn *OSSL_FUNC_cleanup_nonce(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_cleanup_nonce_fn *)opf->function; }
2432083:
2432083: typedef void (OSSL_FUNC_cleanup_user_nonce_fn)(const OSSL_CORE_HANDLE *handle, unsigned char *buf, size_t len); static __attribute__((unused)) inline OSSL_FUNC_cleanup_user_nonce_fn *OSSL_FUNC_cleanup_user_nonce(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_cleanup_user_nonce_fn *)opf->function; }
2432083: # 226 "/usr/include/openssl/core_dispatch.h" 3 4
2432083: typedef int (OSSL_FUNC_provider_register_child_cb_fn)(const OSSL_CORE_HANDLE *handle, int (*create_cb)(const OSSL_CORE_HANDLE *provider, void *cbdata), int (*remove_cb)(const OSSL_CORE_HANDLE *provider, void *cbdata), int (*global_props_cb)(const char *props, void *cbdata), void *cbdata); static __attribute__((unused)) inline OSSL_FUNC_provider_register_child_cb_fn *OSSL_FUNC_provider_register_child_cb(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_provider_register_child_cb_fn *)opf->function; }
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: typedef void (OSSL_FUNC_provider_deregister_child_cb_fn)(const OSSL_CORE_HANDLE *handle); static __attribute__((unused)) inline OSSL_FUNC_provider_deregister_child_cb_fn *OSSL_FUNC_provider_deregister_child_cb(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_provider_deregister_child_cb_fn *)opf->function; }
2432083:
2432083: typedef const char * (OSSL_FUNC_provider_name_fn)(const OSSL_CORE_HANDLE *prov); static __attribute__((unused)) inline OSSL_FUNC_provider_name_fn *OSSL_FUNC_provider_name(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_provider_name_fn *)opf->function; }
2432083:
2432083: typedef void * (OSSL_FUNC_provider_get0_provider_ctx_fn)(const OSSL_CORE_HANDLE *prov); static __attribute__((unused)) inline OSSL_FUNC_provider_get0_provider_ctx_fn *OSSL_FUNC_provider_get0_provider_ctx(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_provider_get0_provider_ctx_fn *)opf->function; }
2432083:
2432083: typedef const OSSL_DISPATCH * (OSSL_FUNC_provider_get0_dispatch_fn)(const OSSL_CORE_HANDLE *prov); static __attribute__((unused)) inline OSSL_FUNC_provider_get0_dispatch_fn *OSSL_FUNC_provider_get0_dispatch(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_provider_get0_dispatch_fn *)opf->function; }
2432083:
2432083: typedef int (OSSL_FUNC_provider_up_ref_fn)(const OSSL_CORE_HANDLE *prov, int activate); static __attribute__((unused)) inline OSSL_FUNC_provider_up_ref_fn *OSSL_FUNC_provider_up_ref(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_provider_up_ref_fn *)opf->function; }
2432083:
2432083: typedef int (OSSL_FUNC_provider_free_fn)(const OSSL_CORE_HANDLE *prov, int deactivate); static __attribute__((unused)) inline OSSL_FUNC_provider_free_fn *OSSL_FUNC_provider_free(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_provider_free_fn *)opf->function; }
2432083:
2432083:
2432083:
2432083:
2432083: typedef void (OSSL_FUNC_provider_teardown_fn)(void *provctx); static __attribute__((unused)) inline OSSL_FUNC_provider_teardown_fn *OSSL_FUNC_provider_teardown(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_provider_teardown_fn *)opf->function; }
2432083:
2432083: typedef const OSSL_PARAM * (OSSL_FUNC_provider_gettable_params_fn)(void *provctx); static __attribute__((unused)) inline OSSL_FUNC_provider_gettable_params_fn *OSSL_FUNC_provider_gettable_params(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_provider_gettable_params_fn *)opf->function; }
2432083:
2432083:
2432083: typedef int (OSSL_FUNC_provider_get_params_fn)(void *provctx, OSSL_PARAM params[]); static __attribute__((unused)) inline OSSL_FUNC_provider_get_params_fn *OSSL_FUNC_provider_get_params(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_provider_get_params_fn *)opf->function; }
2432083:
2432083:
2432083: typedef const OSSL_ALGORITHM * (OSSL_FUNC_provider_query_operation_fn)(void *provctx, int operation_id, int *no_store); static __attribute__((unused)) inline OSSL_FUNC_provider_query_operation_fn *OSSL_FUNC_provider_query_operation(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_provider_query_operation_fn *)opf->function; }
2432083:
2432083:
2432083: typedef void (OSSL_FUNC_provider_unquery_operation_fn)(void *provctx, int operation_id, const OSSL_ALGORITHM *); static __attribute__((unused)) inline OSSL_FUNC_provider_unquery_operation_fn *OSSL_FUNC_provider_unquery_operation(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_provider_unquery_operation_fn *)opf->function; }
2432083:
2432083:
2432083: typedef const OSSL_ITEM * (OSSL_FUNC_provider_get_reason_strings_fn)(void *provctx); static __attribute__((unused)) inline OSSL_FUNC_provider_get_reason_strings_fn *OSSL_FUNC_provider_get_reason_strings(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_provider_get_reason_strings_fn *)opf->function; }
2432083:
2432083:
2432083: typedef int (OSSL_FUNC_provider_get_capabilities_fn)(void *provctx, const char *capability, OSSL_CALLBACK *cb, void *arg); static __attribute__((unused)) inline OSSL_FUNC_provider_get_capabilities_fn *OSSL_FUNC_provider_get_capabilities(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_provider_get_capabilities_fn *)opf->function; }
2432083:
2432083:
2432083: typedef int (OSSL_FUNC_provider_self_test_fn)(void *provctx); static __attribute__((unused)) inline OSSL_FUNC_provider_self_test_fn *OSSL_FUNC_provider_self_test(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_provider_self_test_fn *)opf->function; }
2432083: # 304 "/usr/include/openssl/core_dispatch.h" 3 4
2432083: typedef void * (OSSL_FUNC_digest_newctx_fn)(void *provctx); static __attribute__((unused)) inline OSSL_FUNC_digest_newctx_fn *OSSL_FUNC_digest_newctx(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_digest_newctx_fn *)opf->function; }
2432083: typedef int (OSSL_FUNC_digest_init_fn)(void *dctx, const OSSL_PARAM params[]); static __attribute__((unused)) inline OSSL_FUNC_digest_init_fn *OSSL_FUNC_digest_init(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_digest_init_fn *)opf->function; }
2432083: typedef int (OSSL_FUNC_digest_update_fn)(void *dctx, const unsigned char *in, size_t inl); static __attribute__((unused)) inline OSSL_FUNC_digest_update_fn *OSSL_FUNC_digest_update(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_digest_update_fn *)opf->function; }
2432083:
2432083: typedef int (OSSL_FUNC_digest_final_fn)(void *dctx, unsigned char *out, size_t *outl, size_t outsz); static __attribute__((unused)) inline OSSL_FUNC_digest_final_fn *OSSL_FUNC_digest_final(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_digest_final_fn *)opf->function; }
2432083:
2432083:
2432083: typedef int (OSSL_FUNC_digest_digest_fn)(void *provctx, const unsigned char *in, size_t inl, unsigned char *out, size_t *outl, size_t outsz); static __attribute__((unused)) inline OSSL_FUNC_digest_digest_fn *OSSL_FUNC_digest_digest(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_digest_digest_fn *)opf->function; }
2432083:
2432083:
2432083:
2432083: typedef void (OSSL_FUNC_digest_freectx_fn)(void *dctx); static __attribute__((unused)) inline OSSL_FUNC_digest_freectx_fn *OSSL_FUNC_digest_freectx(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_digest_freectx_fn *)opf->function; }
2432083: typedef void * (OSSL_FUNC_digest_dupctx_fn)(void *dctx); static __attribute__((unused)) inline OSSL_FUNC_digest_dupctx_fn *OSSL_FUNC_digest_dupctx(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_digest_dupctx_fn *)opf->function; }
2432083:
2432083: typedef int (OSSL_FUNC_digest_get_params_fn)(OSSL_PARAM params[]); static __attribute__((unused)) inline OSSL_FUNC_digest_get_params_fn *OSSL_FUNC_digest_get_params(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_digest_get_params_fn *)opf->function; }
2432083: typedef int (OSSL_FUNC_digest_set_ctx_params_fn)(void *vctx, const OSSL_PARAM params[]); static __attribute__((unused)) inline OSSL_FUNC_digest_set_ctx_params_fn *OSSL_FUNC_digest_set_ctx_params(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_digest_set_ctx_params_fn *)opf->function; }
2432083:
2432083: typedef int (OSSL_FUNC_digest_get_ctx_params_fn)(void *vctx, OSSL_PARAM params[]); static __attribute__((unused)) inline OSSL_FUNC_digest_get_ctx_params_fn *OSSL_FUNC_digest_get_ctx_params(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_digest_get_ctx_params_fn *)opf->function; }
2432083:
2432083: typedef const OSSL_PARAM * (OSSL_FUNC_digest_gettable_params_fn)(void *provctx); static __attribute__((unused)) inline OSSL_FUNC_digest_gettable_params_fn *OSSL_FUNC_digest_gettable_params(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_digest_gettable_params_fn *)opf->function; }
2432083:
2432083: typedef const OSSL_PARAM * (OSSL_FUNC_digest_settable_ctx_params_fn)(void *dctx, void *provctx); static __attribute__((unused)) inline OSSL_FUNC_digest_settable_ctx_params_fn *OSSL_FUNC_digest_settable_ctx_params(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_digest_settable_ctx_params_fn *)opf->function; }
2432083:
2432083: typedef const OSSL_PARAM * (OSSL_FUNC_digest_gettable_ctx_params_fn)(void *dctx, void *provctx); static __attribute__((unused)) inline OSSL_FUNC_digest_gettable_ctx_params_fn *OSSL_FUNC_digest_gettable_ctx_params(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_digest_gettable_ctx_params_fn *)opf->function; }
2432083: # 347 "/usr/include/openssl/core_dispatch.h" 3 4
2432083: typedef void * (OSSL_FUNC_cipher_newctx_fn)(void *provctx); static __attribute__((unused)) inline OSSL_FUNC_cipher_newctx_fn *OSSL_FUNC_cipher_newctx(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_cipher_newctx_fn *)opf->function; }
2432083: typedef int (OSSL_FUNC_cipher_encrypt_init_fn)(void *cctx, const unsigned char *key, size_t keylen, const unsigned char *iv, size_t ivlen, const OSSL_PARAM params[]); static __attribute__((unused)) inline OSSL_FUNC_cipher_encrypt_init_fn *OSSL_FUNC_cipher_encrypt_init(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_cipher_encrypt_init_fn *)opf->function; }
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: typedef int (OSSL_FUNC_cipher_decrypt_init_fn)(void *cctx, const unsigned char *key, size_t keylen, const unsigned char *iv, size_t ivlen, const OSSL_PARAM params[]); static __attribute__((unused)) inline OSSL_FUNC_cipher_decrypt_init_fn *OSSL_FUNC_cipher_decrypt_init(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_cipher_decrypt_init_fn *)opf->function; }
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: typedef int (OSSL_FUNC_cipher_update_fn)(void *cctx, unsigned char *out, size_t *outl, size_t outsize, const unsigned char *in, size_t inl); static __attribute__((unused)) inline OSSL_FUNC_cipher_update_fn *OSSL_FUNC_cipher_update(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_cipher_update_fn *)opf->function; }
2432083:
2432083:
2432083:
2432083: typedef int (OSSL_FUNC_cipher_final_fn)(void *cctx, unsigned char *out, size_t *outl, size_t outsize); static __attribute__((unused)) inline OSSL_FUNC_cipher_final_fn *OSSL_FUNC_cipher_final(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_cipher_final_fn *)opf->function; }
2432083:
2432083:
2432083: typedef int (OSSL_FUNC_cipher_cipher_fn)(void *cctx, unsigned char *out, size_t *outl, size_t outsize, const unsigned char *in, size_t inl); static __attribute__((unused)) inline OSSL_FUNC_cipher_cipher_fn *OSSL_FUNC_cipher_cipher(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_cipher_cipher_fn *)opf->function; }
2432083:
2432083:
2432083:
2432083: typedef void (OSSL_FUNC_cipher_freectx_fn)(void *cctx); static __attribute__((unused)) inline OSSL_FUNC_cipher_freectx_fn *OSSL_FUNC_cipher_freectx(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_cipher_freectx_fn *)opf->function; }
2432083: typedef void * (OSSL_FUNC_cipher_dupctx_fn)(void *cctx); static __attribute__((unused)) inline OSSL_FUNC_cipher_dupctx_fn *OSSL_FUNC_cipher_dupctx(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_cipher_dupctx_fn *)opf->function; }
2432083: typedef int (OSSL_FUNC_cipher_get_params_fn)(OSSL_PARAM params[]); static __attribute__((unused)) inline OSSL_FUNC_cipher_get_params_fn *OSSL_FUNC_cipher_get_params(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_cipher_get_params_fn *)opf->function; }
2432083: typedef int (OSSL_FUNC_cipher_get_ctx_params_fn)(void *cctx, OSSL_PARAM params[]); static __attribute__((unused)) inline OSSL_FUNC_cipher_get_ctx_params_fn *OSSL_FUNC_cipher_get_ctx_params(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_cipher_get_ctx_params_fn *)opf->function; }
2432083:
2432083: typedef int (OSSL_FUNC_cipher_set_ctx_params_fn)(void *cctx, const OSSL_PARAM params[]); static __attribute__((unused)) inline OSSL_FUNC_cipher_set_ctx_params_fn *OSSL_FUNC_cipher_set_ctx_params(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_cipher_set_ctx_params_fn *)opf->function; }
2432083:
2432083: typedef const OSSL_PARAM * (OSSL_FUNC_cipher_gettable_params_fn)(void *provctx); static __attribute__((unused)) inline OSSL_FUNC_cipher_gettable_params_fn *OSSL_FUNC_cipher_gettable_params(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_cipher_gettable_params_fn *)opf->function; }
2432083:
2432083: typedef const OSSL_PARAM * (OSSL_FUNC_cipher_settable_ctx_params_fn)(void *cctx, void *provctx); static __attribute__((unused)) inline OSSL_FUNC_cipher_settable_ctx_params_fn *OSSL_FUNC_cipher_settable_ctx_params(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_cipher_settable_ctx_params_fn *)opf->function; }
2432083:
2432083: typedef const OSSL_PARAM * (OSSL_FUNC_cipher_gettable_ctx_params_fn)(void *cctx, void *provctx); static __attribute__((unused)) inline OSSL_FUNC_cipher_gettable_ctx_params_fn *OSSL_FUNC_cipher_gettable_ctx_params(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_cipher_gettable_ctx_params_fn *)opf->function; }
2432083: # 400 "/usr/include/openssl/core_dispatch.h" 3 4
2432083: typedef void * (OSSL_FUNC_mac_newctx_fn)(void *provctx); static __attribute__((unused)) inline OSSL_FUNC_mac_newctx_fn *OSSL_FUNC_mac_newctx(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_mac_newctx_fn *)opf->function; }
2432083: typedef void * (OSSL_FUNC_mac_dupctx_fn)(void *src); static __attribute__((unused)) inline OSSL_FUNC_mac_dupctx_fn *OSSL_FUNC_mac_dupctx(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_mac_dupctx_fn *)opf->function; }
2432083: typedef void (OSSL_FUNC_mac_freectx_fn)(void *mctx); static __attribute__((unused)) inline OSSL_FUNC_mac_freectx_fn *OSSL_FUNC_mac_freectx(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_mac_freectx_fn *)opf->function; }
2432083: typedef int (OSSL_FUNC_mac_init_fn)(void *mctx, const unsigned char *key, size_t keylen, const OSSL_PARAM params[]); static __attribute__((unused)) inline OSSL_FUNC_mac_init_fn *OSSL_FUNC_mac_init(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_mac_init_fn *)opf->function; }
2432083:
2432083: typedef int (OSSL_FUNC_mac_update_fn)(void *mctx, const unsigned char *in, size_t inl); static __attribute__((unused)) inline OSSL_FUNC_mac_update_fn *OSSL_FUNC_mac_update(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_mac_update_fn *)opf->function; }
2432083:
2432083: typedef int (OSSL_FUNC_mac_final_fn)(void *mctx, unsigned char *out, size_t *outl, size_t outsize); static __attribute__((unused)) inline OSSL_FUNC_mac_final_fn *OSSL_FUNC_mac_final(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_mac_final_fn *)opf->function; }
2432083:
2432083:
2432083: typedef const OSSL_PARAM * (OSSL_FUNC_mac_gettable_params_fn)(void *provctx); static __attribute__((unused)) inline OSSL_FUNC_mac_gettable_params_fn *OSSL_FUNC_mac_gettable_params(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_mac_gettable_params_fn *)opf->function; }
2432083: typedef const OSSL_PARAM * (OSSL_FUNC_mac_gettable_ctx_params_fn)(void *mctx, void *provctx); static __attribute__((unused)) inline OSSL_FUNC_mac_gettable_ctx_params_fn *OSSL_FUNC_mac_gettable_ctx_params(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_mac_gettable_ctx_params_fn *)opf->function; }
2432083:
2432083: typedef const OSSL_PARAM * (OSSL_FUNC_mac_settable_ctx_params_fn)(void *mctx, void *provctx); static __attribute__((unused)) inline OSSL_FUNC_mac_settable_ctx_params_fn *OSSL_FUNC_mac_settable_ctx_params(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_mac_settable_ctx_params_fn *)opf->function; }
2432083:
2432083: typedef int (OSSL_FUNC_mac_get_params_fn)(OSSL_PARAM params[]); static __attribute__((unused)) inline OSSL_FUNC_mac_get_params_fn *OSSL_FUNC_mac_get_params(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_mac_get_params_fn *)opf->function; }
2432083: typedef int (OSSL_FUNC_mac_get_ctx_params_fn)(void *mctx, OSSL_PARAM params[]); static __attribute__((unused)) inline OSSL_FUNC_mac_get_ctx_params_fn *OSSL_FUNC_mac_get_ctx_params(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_mac_get_ctx_params_fn *)opf->function; }
2432083:
2432083: typedef int (OSSL_FUNC_mac_set_ctx_params_fn)(void *mctx, const OSSL_PARAM params[]); static __attribute__((unused)) inline OSSL_FUNC_mac_set_ctx_params_fn *OSSL_FUNC_mac_set_ctx_params(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_mac_set_ctx_params_fn *)opf->function; }
2432083: # 435 "/usr/include/openssl/core_dispatch.h" 3 4
2432083: typedef void * (OSSL_FUNC_kdf_newctx_fn)(void *provctx); static __attribute__((unused)) inline OSSL_FUNC_kdf_newctx_fn *OSSL_FUNC_kdf_newctx(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_kdf_newctx_fn *)opf->function; }
2432083: typedef void * (OSSL_FUNC_kdf_dupctx_fn)(void *src); static __attribute__((unused)) inline OSSL_FUNC_kdf_dupctx_fn *OSSL_FUNC_kdf_dupctx(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_kdf_dupctx_fn *)opf->function; }
2432083: typedef void (OSSL_FUNC_kdf_freectx_fn)(void *kctx); static __attribute__((unused)) inline OSSL_FUNC_kdf_freectx_fn *OSSL_FUNC_kdf_freectx(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_kdf_freectx_fn *)opf->function; }
2432083: typedef void (OSSL_FUNC_kdf_reset_fn)(void *kctx); static __attribute__((unused)) inline OSSL_FUNC_kdf_reset_fn *OSSL_FUNC_kdf_reset(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_kdf_reset_fn *)opf->function; }
2432083: typedef int (OSSL_FUNC_kdf_derive_fn)(void *kctx, unsigned char *key, size_t keylen, const OSSL_PARAM params[]); static __attribute__((unused)) inline OSSL_FUNC_kdf_derive_fn *OSSL_FUNC_kdf_derive(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_kdf_derive_fn *)opf->function; }
2432083:
2432083: typedef const OSSL_PARAM * (OSSL_FUNC_kdf_gettable_params_fn)(void *provctx); static __attribute__((unused)) inline OSSL_FUNC_kdf_gettable_params_fn *OSSL_FUNC_kdf_gettable_params(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_kdf_gettable_params_fn *)opf->function; }
2432083: typedef const OSSL_PARAM * (OSSL_FUNC_kdf_gettable_ctx_params_fn)(void *kctx, void *provctx); static __attribute__((unused)) inline OSSL_FUNC_kdf_gettable_ctx_params_fn *OSSL_FUNC_kdf_gettable_ctx_params(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_kdf_gettable_ctx_params_fn *)opf->function; }
2432083:
2432083: typedef const OSSL_PARAM * (OSSL_FUNC_kdf_settable_ctx_params_fn)(void *kctx, void *provctx); static __attribute__((unused)) inline OSSL_FUNC_kdf_settable_ctx_params_fn *OSSL_FUNC_kdf_settable_ctx_params(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_kdf_settable_ctx_params_fn *)opf->function; }
2432083:
2432083: typedef int (OSSL_FUNC_kdf_get_params_fn)(OSSL_PARAM params[]); static __attribute__((unused)) inline OSSL_FUNC_kdf_get_params_fn *OSSL_FUNC_kdf_get_params(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_kdf_get_params_fn *)opf->function; }
2432083: typedef int (OSSL_FUNC_kdf_get_ctx_params_fn)(void *kctx, OSSL_PARAM params[]); static __attribute__((unused)) inline OSSL_FUNC_kdf_get_ctx_params_fn *OSSL_FUNC_kdf_get_ctx_params(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_kdf_get_ctx_params_fn *)opf->function; }
2432083:
2432083: typedef int (OSSL_FUNC_kdf_set_ctx_params_fn)(void *kctx, const OSSL_PARAM params[]); static __attribute__((unused)) inline OSSL_FUNC_kdf_set_ctx_params_fn *OSSL_FUNC_kdf_set_ctx_params(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_kdf_set_ctx_params_fn *)opf->function; }
2432083: # 474 "/usr/include/openssl/core_dispatch.h" 3 4
2432083: typedef void * (OSSL_FUNC_rand_newctx_fn)(void *provctx, void *parent, const OSSL_DISPATCH *parent_calls); static __attribute__((unused)) inline OSSL_FUNC_rand_newctx_fn *OSSL_FUNC_rand_newctx(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_rand_newctx_fn *)opf->function; }
2432083:
2432083:
2432083: typedef void (OSSL_FUNC_rand_freectx_fn)(void *vctx); static __attribute__((unused)) inline OSSL_FUNC_rand_freectx_fn *OSSL_FUNC_rand_freectx(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_rand_freectx_fn *)opf->function; }
2432083: typedef int (OSSL_FUNC_rand_instantiate_fn)(void *vdrbg, unsigned int strength, int prediction_resistance, const unsigned char *pstr, size_t pstr_len, const OSSL_PARAM params[]); static __attribute__((unused)) inline OSSL_FUNC_rand_instantiate_fn *OSSL_FUNC_rand_instantiate(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_rand_instantiate_fn *)opf->function; }
2432083:
2432083:
2432083:
2432083:
2432083: typedef int (OSSL_FUNC_rand_uninstantiate_fn)(void *vdrbg); static __attribute__((unused)) inline OSSL_FUNC_rand_uninstantiate_fn *OSSL_FUNC_rand_uninstantiate(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_rand_uninstantiate_fn *)opf->function; }
2432083: typedef int (OSSL_FUNC_rand_generate_fn)(void *vctx, unsigned char *out, size_t outlen, unsigned int strength, int prediction_resistance, const unsigned char *addin, size_t addin_len); static __attribute__((unused)) inline OSSL_FUNC_rand_generate_fn *OSSL_FUNC_rand_generate(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_rand_generate_fn *)opf->function; }
2432083:
2432083:
2432083:
2432083: typedef int (OSSL_FUNC_rand_reseed_fn)(void *vctx, int prediction_resistance, const unsigned char *ent, size_t ent_len, const unsigned char *addin, size_t addin_len); static __attribute__((unused)) inline OSSL_FUNC_rand_reseed_fn *OSSL_FUNC_rand_reseed(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_rand_reseed_fn *)opf->function; }
2432083:
2432083:
2432083:
2432083: typedef size_t (OSSL_FUNC_rand_nonce_fn)(void *vctx, unsigned char *out, unsigned int strength, size_t min_noncelen, size_t max_noncelen); static __attribute__((unused)) inline OSSL_FUNC_rand_nonce_fn *OSSL_FUNC_rand_nonce(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_rand_nonce_fn *)opf->function; }
2432083:
2432083:
2432083: typedef int (OSSL_FUNC_rand_enable_locking_fn)(void *vctx); static __attribute__((unused)) inline OSSL_FUNC_rand_enable_locking_fn *OSSL_FUNC_rand_enable_locking(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_rand_enable_locking_fn *)opf->function; }
2432083: typedef int (OSSL_FUNC_rand_lock_fn)(void *vctx); static __attribute__((unused)) inline OSSL_FUNC_rand_lock_fn *OSSL_FUNC_rand_lock(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_rand_lock_fn *)opf->function; }
2432083: typedef void (OSSL_FUNC_rand_unlock_fn)(void *vctx); static __attribute__((unused)) inline OSSL_FUNC_rand_unlock_fn *OSSL_FUNC_rand_unlock(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_rand_unlock_fn *)opf->function; }
2432083: typedef const OSSL_PARAM * (OSSL_FUNC_rand_gettable_params_fn)(void *provctx); static __attribute__((unused)) inline OSSL_FUNC_rand_gettable_params_fn *OSSL_FUNC_rand_gettable_params(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_rand_gettable_params_fn *)opf->function; }
2432083: typedef const OSSL_PARAM * (OSSL_FUNC_rand_gettable_ctx_params_fn)(void *vctx, void *provctx); static __attribute__((unused)) inline OSSL_FUNC_rand_gettable_ctx_params_fn *OSSL_FUNC_rand_gettable_ctx_params(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_rand_gettable_ctx_params_fn *)opf->function; }
2432083:
2432083: typedef const OSSL_PARAM * (OSSL_FUNC_rand_settable_ctx_params_fn)(void *vctx, void *provctx); static __attribute__((unused)) inline OSSL_FUNC_rand_settable_ctx_params_fn *OSSL_FUNC_rand_settable_ctx_params(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_rand_settable_ctx_params_fn *)opf->function; }
2432083:
2432083: typedef int (OSSL_FUNC_rand_get_params_fn)(OSSL_PARAM params[]); static __attribute__((unused)) inline OSSL_FUNC_rand_get_params_fn *OSSL_FUNC_rand_get_params(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_rand_get_params_fn *)opf->function; }
2432083: typedef int (OSSL_FUNC_rand_get_ctx_params_fn)(void *vctx, OSSL_PARAM params[]); static __attribute__((unused)) inline OSSL_FUNC_rand_get_ctx_params_fn *OSSL_FUNC_rand_get_ctx_params(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_rand_get_ctx_params_fn *)opf->function; }
2432083:
2432083: typedef int (OSSL_FUNC_rand_set_ctx_params_fn)(void *vctx, const OSSL_PARAM params[]); static __attribute__((unused)) inline OSSL_FUNC_rand_set_ctx_params_fn *OSSL_FUNC_rand_set_ctx_params(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_rand_set_ctx_params_fn *)opf->function; }
2432083:
2432083: typedef void (OSSL_FUNC_rand_set_callbacks_fn)(void *vctx, OSSL_INOUT_CALLBACK *get_entropy, OSSL_CALLBACK *cleanup_entropy, OSSL_INOUT_CALLBACK *get_nonce, OSSL_CALLBACK *cleanup_nonce, void *arg); static __attribute__((unused)) inline OSSL_FUNC_rand_set_callbacks_fn *OSSL_FUNC_rand_set_callbacks(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_rand_set_callbacks_fn *)opf->function; }
2432083:
2432083:
2432083:
2432083:
2432083: typedef int (OSSL_FUNC_rand_verify_zeroization_fn)(void *vctx); static __attribute__((unused)) inline OSSL_FUNC_rand_verify_zeroization_fn *OSSL_FUNC_rand_verify_zeroization(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_rand_verify_zeroization_fn *)opf->function; }
2432083:
2432083: typedef size_t (OSSL_FUNC_rand_get_seed_fn)(void *vctx, unsigned char **buffer, int entropy, size_t min_len, size_t max_len, int prediction_resistance, const unsigned char *adin, size_t adin_len); static __attribute__((unused)) inline OSSL_FUNC_rand_get_seed_fn *OSSL_FUNC_rand_get_seed(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_rand_get_seed_fn *)opf->function; }
2432083:
2432083:
2432083:
2432083:
2432083: typedef void (OSSL_FUNC_rand_clear_seed_fn)(void *vctx, unsigned char *buffer, size_t b_len); static __attribute__((unused)) inline OSSL_FUNC_rand_clear_seed_fn *OSSL_FUNC_rand_clear_seed(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_rand_clear_seed_fn *)opf->function; }
2432083: # 578 "/usr/include/openssl/core_dispatch.h" 3 4
2432083: typedef void * (OSSL_FUNC_keymgmt_new_fn)(void *provctx); static __attribute__((unused)) inline OSSL_FUNC_keymgmt_new_fn *OSSL_FUNC_keymgmt_new(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_keymgmt_new_fn *)opf->function; }
2432083: # 587 "/usr/include/openssl/core_dispatch.h" 3 4
2432083: typedef void * (OSSL_FUNC_keymgmt_gen_init_fn)(void *provctx, int selection, const OSSL_PARAM params[]); static __attribute__((unused)) inline OSSL_FUNC_keymgmt_gen_init_fn *OSSL_FUNC_keymgmt_gen_init(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_keymgmt_gen_init_fn *)opf->function; }
2432083:
2432083: typedef int (OSSL_FUNC_keymgmt_gen_set_template_fn)(void *genctx, void *templ); static __attribute__((unused)) inline OSSL_FUNC_keymgmt_gen_set_template_fn *OSSL_FUNC_keymgmt_gen_set_template(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_keymgmt_gen_set_template_fn *)opf->function; }
2432083:
2432083: typedef int (OSSL_FUNC_keymgmt_gen_set_params_fn)(void *genctx, const OSSL_PARAM params[]); static __attribute__((unused)) inline OSSL_FUNC_keymgmt_gen_set_params_fn *OSSL_FUNC_keymgmt_gen_set_params(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_keymgmt_gen_set_params_fn *)opf->function; }
2432083:
2432083: typedef const OSSL_PARAM * (OSSL_FUNC_keymgmt_gen_settable_params_fn)(void *genctx, void *provctx); static __attribute__((unused)) inline OSSL_FUNC_keymgmt_gen_settable_params_fn *OSSL_FUNC_keymgmt_gen_settable_params(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_keymgmt_gen_settable_params_fn *)opf->function; }
2432083:
2432083:
2432083: typedef void * (OSSL_FUNC_keymgmt_gen_fn)(void *genctx, OSSL_CALLBACK *cb, void *cbarg); static __attribute__((unused)) inline OSSL_FUNC_keymgmt_gen_fn *OSSL_FUNC_keymgmt_gen(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_keymgmt_gen_fn *)opf->function; }
2432083:
2432083: typedef void (OSSL_FUNC_keymgmt_gen_cleanup_fn)(void *genctx); static __attribute__((unused)) inline OSSL_FUNC_keymgmt_gen_cleanup_fn *OSSL_FUNC_keymgmt_gen_cleanup(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_keymgmt_gen_cleanup_fn *)opf->function; }
2432083:
2432083:
2432083:
2432083: typedef void * (OSSL_FUNC_keymgmt_load_fn)(const void *reference, size_t reference_sz); static __attribute__((unused)) inline OSSL_FUNC_keymgmt_load_fn *OSSL_FUNC_keymgmt_load(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_keymgmt_load_fn *)opf->function; }
2432083:
2432083:
2432083:
2432083:
2432083: typedef void (OSSL_FUNC_keymgmt_free_fn)(void *keydata); static __attribute__((unused)) inline OSSL_FUNC_keymgmt_free_fn *OSSL_FUNC_keymgmt_free(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_keymgmt_free_fn *)opf->function; }
2432083:
2432083:
2432083:
2432083:
2432083: typedef int (OSSL_FUNC_keymgmt_get_params_fn)(void *keydata, OSSL_PARAM params[]); static __attribute__((unused)) inline OSSL_FUNC_keymgmt_get_params_fn *OSSL_FUNC_keymgmt_get_params(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_keymgmt_get_params_fn *)opf->function; }
2432083:
2432083: typedef const OSSL_PARAM * (OSSL_FUNC_keymgmt_gettable_params_fn)(void *provctx); static __attribute__((unused)) inline OSSL_FUNC_keymgmt_gettable_params_fn *OSSL_FUNC_keymgmt_gettable_params(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_keymgmt_gettable_params_fn *)opf->function; }
2432083:
2432083:
2432083:
2432083:
2432083: typedef int (OSSL_FUNC_keymgmt_set_params_fn)(void *keydata, const OSSL_PARAM params[]); static __attribute__((unused)) inline OSSL_FUNC_keymgmt_set_params_fn *OSSL_FUNC_keymgmt_set_params(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_keymgmt_set_params_fn *)opf->function; }
2432083:
2432083: typedef const OSSL_PARAM * (OSSL_FUNC_keymgmt_settable_params_fn)(void *provctx); static __attribute__((unused)) inline OSSL_FUNC_keymgmt_settable_params_fn *OSSL_FUNC_keymgmt_settable_params(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_keymgmt_settable_params_fn *)opf->function; }
2432083:
2432083:
2432083:
2432083:
2432083: typedef const char * (OSSL_FUNC_keymgmt_query_operation_name_fn)(int operation_id); static __attribute__((unused)) inline OSSL_FUNC_keymgmt_query_operation_name_fn *OSSL_FUNC_keymgmt_query_operation_name(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_keymgmt_query_operation_name_fn *)opf->function; }
2432083:
2432083:
2432083:
2432083:
2432083: typedef int (OSSL_FUNC_keymgmt_has_fn)(const void *keydata, int selection); static __attribute__((unused)) inline OSSL_FUNC_keymgmt_has_fn *OSSL_FUNC_keymgmt_has(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_keymgmt_has_fn *)opf->function; }
2432083:
2432083:
2432083:
2432083: typedef int (OSSL_FUNC_keymgmt_validate_fn)(const void *keydata, int selection, int checktype); static __attribute__((unused)) inline OSSL_FUNC_keymgmt_validate_fn *OSSL_FUNC_keymgmt_validate(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_keymgmt_validate_fn *)opf->function; }
2432083:
2432083:
2432083:
2432083:
2432083: typedef int (OSSL_FUNC_keymgmt_match_fn)(const void *keydata1, const void *keydata2, int selection); static __attribute__((unused)) inline OSSL_FUNC_keymgmt_match_fn *OSSL_FUNC_keymgmt_match(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_keymgmt_match_fn *)opf->function; }
2432083: # 649 "/usr/include/openssl/core_dispatch.h" 3 4
2432083: typedef int (OSSL_FUNC_keymgmt_import_fn)(void *keydata, int selection, const OSSL_PARAM params[]); static __attribute__((unused)) inline OSSL_FUNC_keymgmt_import_fn *OSSL_FUNC_keymgmt_import(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_keymgmt_import_fn *)opf->function; }
2432083:
2432083: typedef const OSSL_PARAM * (OSSL_FUNC_keymgmt_import_types_fn)(int selection); static __attribute__((unused)) inline OSSL_FUNC_keymgmt_import_types_fn *OSSL_FUNC_keymgmt_import_types(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_keymgmt_import_types_fn *)opf->function; }
2432083:
2432083: typedef int (OSSL_FUNC_keymgmt_export_fn)(void *keydata, int selection, OSSL_CALLBACK *param_cb, void *cbarg); static __attribute__((unused)) inline OSSL_FUNC_keymgmt_export_fn *OSSL_FUNC_keymgmt_export(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_keymgmt_export_fn *)opf->function; }
2432083:
2432083:
2432083: typedef const OSSL_PARAM * (OSSL_FUNC_keymgmt_export_types_fn)(int selection); static __attribute__((unused)) inline OSSL_FUNC_keymgmt_export_types_fn *OSSL_FUNC_keymgmt_export_types(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_keymgmt_export_types_fn *)opf->function; }
2432083:
2432083:
2432083:
2432083:
2432083: typedef void * (OSSL_FUNC_keymgmt_dup_fn)(const void *keydata_from, int selection); static __attribute__((unused)) inline OSSL_FUNC_keymgmt_dup_fn *OSSL_FUNC_keymgmt_dup(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_keymgmt_dup_fn *)opf->function; }
2432083: # 677 "/usr/include/openssl/core_dispatch.h" 3 4
2432083: typedef void * (OSSL_FUNC_keyexch_newctx_fn)(void *provctx); static __attribute__((unused)) inline OSSL_FUNC_keyexch_newctx_fn *OSSL_FUNC_keyexch_newctx(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_keyexch_newctx_fn *)opf->function; }
2432083: typedef int (OSSL_FUNC_keyexch_init_fn)(void *ctx, void *provkey, const OSSL_PARAM params[]); static __attribute__((unused)) inline OSSL_FUNC_keyexch_init_fn *OSSL_FUNC_keyexch_init(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_keyexch_init_fn *)opf->function; }
2432083:
2432083: typedef int (OSSL_FUNC_keyexch_derive_fn)(void *ctx, unsigned char *secret, size_t *secretlen, size_t outlen); static __attribute__((unused)) inline OSSL_FUNC_keyexch_derive_fn *OSSL_FUNC_keyexch_derive(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_keyexch_derive_fn *)opf->function; }
2432083:
2432083: typedef int (OSSL_FUNC_keyexch_set_peer_fn)(void *ctx, void *provkey); static __attribute__((unused)) inline OSSL_FUNC_keyexch_set_peer_fn *OSSL_FUNC_keyexch_set_peer(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_keyexch_set_peer_fn *)opf->function; }
2432083: typedef void (OSSL_FUNC_keyexch_freectx_fn)(void *ctx); static __attribute__((unused)) inline OSSL_FUNC_keyexch_freectx_fn *OSSL_FUNC_keyexch_freectx(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_keyexch_freectx_fn *)opf->function; }
2432083: typedef void * (OSSL_FUNC_keyexch_dupctx_fn)(void *ctx); static __attribute__((unused)) inline OSSL_FUNC_keyexch_dupctx_fn *OSSL_FUNC_keyexch_dupctx(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_keyexch_dupctx_fn *)opf->function; }
2432083: typedef int (OSSL_FUNC_keyexch_set_ctx_params_fn)(void *ctx, const OSSL_PARAM params[]); static __attribute__((unused)) inline OSSL_FUNC_keyexch_set_ctx_params_fn *OSSL_FUNC_keyexch_set_ctx_params(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_keyexch_set_ctx_params_fn *)opf->function; }
2432083:
2432083: typedef const OSSL_PARAM * (OSSL_FUNC_keyexch_settable_ctx_params_fn)(void *ctx, void *provctx); static __attribute__((unused)) inline OSSL_FUNC_keyexch_settable_ctx_params_fn *OSSL_FUNC_keyexch_settable_ctx_params(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_keyexch_settable_ctx_params_fn *)opf->function; }
2432083:
2432083: typedef int (OSSL_FUNC_keyexch_get_ctx_params_fn)(void *ctx, OSSL_PARAM params[]); static __attribute__((unused)) inline OSSL_FUNC_keyexch_get_ctx_params_fn *OSSL_FUNC_keyexch_get_ctx_params(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_keyexch_get_ctx_params_fn *)opf->function; }
2432083:
2432083: typedef const OSSL_PARAM * (OSSL_FUNC_keyexch_gettable_ctx_params_fn)(void *ctx, void *provctx); static __attribute__((unused)) inline OSSL_FUNC_keyexch_gettable_ctx_params_fn *OSSL_FUNC_keyexch_gettable_ctx_params(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_keyexch_gettable_ctx_params_fn *)opf->function; }
2432083: # 722 "/usr/include/openssl/core_dispatch.h" 3 4
2432083: typedef void * (OSSL_FUNC_signature_newctx_fn)(void *provctx, const char *propq); static __attribute__((unused)) inline OSSL_FUNC_signature_newctx_fn *OSSL_FUNC_signature_newctx(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_signature_newctx_fn *)opf->function; }
2432083:
2432083: typedef int (OSSL_FUNC_signature_sign_init_fn)(void *ctx, void *provkey, const OSSL_PARAM params[]); static __attribute__((unused)) inline OSSL_FUNC_signature_sign_init_fn *OSSL_FUNC_signature_sign_init(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_signature_sign_init_fn *)opf->function; }
2432083:
2432083: typedef int (OSSL_FUNC_signature_sign_fn)(void *ctx, unsigned char *sig, size_t *siglen, size_t sigsize, const unsigned char *tbs, size_t tbslen); static __attribute__((unused)) inline OSSL_FUNC_signature_sign_fn *OSSL_FUNC_signature_sign(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_signature_sign_fn *)opf->function; }
2432083:
2432083:
2432083:
2432083: typedef int (OSSL_FUNC_signature_verify_init_fn)(void *ctx, void *provkey, const OSSL_PARAM params[]); static __attribute__((unused)) inline OSSL_FUNC_signature_verify_init_fn *OSSL_FUNC_signature_verify_init(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_signature_verify_init_fn *)opf->function; }
2432083:
2432083: typedef int (OSSL_FUNC_signature_verify_fn)(void *ctx, const unsigned char *sig, size_t siglen, const unsigned char *tbs, size_t tbslen); static __attribute__((unused)) inline OSSL_FUNC_signature_verify_fn *OSSL_FUNC_signature_verify(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_signature_verify_fn *)opf->function; }
2432083:
2432083:
2432083:
2432083:
2432083: typedef int (OSSL_FUNC_signature_verify_recover_init_fn)(void *ctx, void *provkey, const OSSL_PARAM params[]); static __attribute__((unused)) inline OSSL_FUNC_signature_verify_recover_init_fn *OSSL_FUNC_signature_verify_recover_init(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_signature_verify_recover_init_fn *)opf->function; }
2432083:
2432083: typedef int (OSSL_FUNC_signature_verify_recover_fn)(void *ctx, unsigned char *rout, size_t *routlen, size_t routsize, const unsigned char *sig, size_t siglen); static __attribute__((unused)) inline OSSL_FUNC_signature_verify_recover_fn *OSSL_FUNC_signature_verify_recover(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_signature_verify_recover_fn *)opf->function; }
2432083:
2432083:
2432083: typedef int (OSSL_FUNC_signature_digest_sign_init_fn)(void *ctx, const char *mdname, void *provkey, const OSSL_PARAM params[]); static __attribute__((unused)) inline OSSL_FUNC_signature_digest_sign_init_fn *OSSL_FUNC_signature_digest_sign_init(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_signature_digest_sign_init_fn *)opf->function; }
2432083:
2432083:
2432083: typedef int (OSSL_FUNC_signature_digest_sign_update_fn)(void *ctx, const unsigned char *data, size_t datalen); static __attribute__((unused)) inline OSSL_FUNC_signature_digest_sign_update_fn *OSSL_FUNC_signature_digest_sign_update(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_signature_digest_sign_update_fn *)opf->function; }
2432083:
2432083: typedef int (OSSL_FUNC_signature_digest_sign_final_fn)(void *ctx, unsigned char *sig, size_t *siglen, size_t sigsize); static __attribute__((unused)) inline OSSL_FUNC_signature_digest_sign_final_fn *OSSL_FUNC_signature_digest_sign_final(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_signature_digest_sign_final_fn *)opf->function; }
2432083:
2432083:
2432083: typedef int (OSSL_FUNC_signature_digest_sign_fn)(void *ctx, unsigned char *sigret, size_t *siglen, size_t sigsize, const unsigned char *tbs, size_t tbslen); static __attribute__((unused)) inline OSSL_FUNC_signature_digest_sign_fn *OSSL_FUNC_signature_digest_sign(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_signature_digest_sign_fn *)opf->function; }
2432083:
2432083:
2432083: typedef int (OSSL_FUNC_signature_digest_verify_init_fn)(void *ctx, const char *mdname, void *provkey, const OSSL_PARAM params[]); static __attribute__((unused)) inline OSSL_FUNC_signature_digest_verify_init_fn *OSSL_FUNC_signature_digest_verify_init(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_signature_digest_verify_init_fn *)opf->function; }
2432083:
2432083:
2432083: typedef int (OSSL_FUNC_signature_digest_verify_update_fn)(void *ctx, const unsigned char *data, size_t datalen); static __attribute__((unused)) inline OSSL_FUNC_signature_digest_verify_update_fn *OSSL_FUNC_signature_digest_verify_update(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_signature_digest_verify_update_fn *)opf->function; }
2432083:
2432083: typedef int (OSSL_FUNC_signature_digest_verify_final_fn)(void *ctx, const unsigned char *sig, size_t siglen); static __attribute__((unused)) inline OSSL_FUNC_signature_digest_verify_final_fn *OSSL_FUNC_signature_digest_verify_final(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_signature_digest_verify_final_fn *)opf->function; }
2432083:
2432083: typedef int (OSSL_FUNC_signature_digest_verify_fn)(void *ctx, const unsigned char *sig, size_t siglen, const unsigned char *tbs, size_t tbslen); static __attribute__((unused)) inline OSSL_FUNC_signature_digest_verify_fn *OSSL_FUNC_signature_digest_verify(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_signature_digest_verify_fn *)opf->function; }
2432083:
2432083:
2432083: typedef void (OSSL_FUNC_signature_freectx_fn)(void *ctx); static __attribute__((unused)) inline OSSL_FUNC_signature_freectx_fn *OSSL_FUNC_signature_freectx(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_signature_freectx_fn *)opf->function; }
2432083: typedef void * (OSSL_FUNC_signature_dupctx_fn)(void *ctx); static __attribute__((unused)) inline OSSL_FUNC_signature_dupctx_fn *OSSL_FUNC_signature_dupctx(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_signature_dupctx_fn *)opf->function; }
2432083: typedef int (OSSL_FUNC_signature_get_ctx_params_fn)(void *ctx, OSSL_PARAM params[]); static __attribute__((unused)) inline OSSL_FUNC_signature_get_ctx_params_fn *OSSL_FUNC_signature_get_ctx_params(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_signature_get_ctx_params_fn *)opf->function; }
2432083:
2432083: typedef const OSSL_PARAM * (OSSL_FUNC_signature_gettable_ctx_params_fn)(void *ctx, void *provctx); static __attribute__((unused)) inline OSSL_FUNC_signature_gettable_ctx_params_fn *OSSL_FUNC_signature_gettable_ctx_params(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_signature_gettable_ctx_params_fn *)opf->function; }
2432083:
2432083: typedef int (OSSL_FUNC_signature_set_ctx_params_fn)(void *ctx, const OSSL_PARAM params[]); static __attribute__((unused)) inline OSSL_FUNC_signature_set_ctx_params_fn *OSSL_FUNC_signature_set_ctx_params(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_signature_set_ctx_params_fn *)opf->function; }
2432083:
2432083: typedef const OSSL_PARAM * (OSSL_FUNC_signature_settable_ctx_params_fn)(void *ctx, void *provctx); static __attribute__((unused)) inline OSSL_FUNC_signature_settable_ctx_params_fn *OSSL_FUNC_signature_settable_ctx_params(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_signature_settable_ctx_params_fn *)opf->function; }
2432083:
2432083: typedef int (OSSL_FUNC_signature_get_ctx_md_params_fn)(void *ctx, OSSL_PARAM params[]); static __attribute__((unused)) inline OSSL_FUNC_signature_get_ctx_md_params_fn *OSSL_FUNC_signature_get_ctx_md_params(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_signature_get_ctx_md_params_fn *)opf->function; }
2432083:
2432083: typedef const OSSL_PARAM * (OSSL_FUNC_signature_gettable_ctx_md_params_fn)(void *ctx); static __attribute__((unused)) inline OSSL_FUNC_signature_gettable_ctx_md_params_fn *OSSL_FUNC_signature_gettable_ctx_md_params(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_signature_gettable_ctx_md_params_fn *)opf->function; }
2432083:
2432083: typedef int (OSSL_FUNC_signature_set_ctx_md_params_fn)(void *ctx, const OSSL_PARAM params[]); static __attribute__((unused)) inline OSSL_FUNC_signature_set_ctx_md_params_fn *OSSL_FUNC_signature_set_ctx_md_params(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_signature_set_ctx_md_params_fn *)opf->function; }
2432083:
2432083: typedef const OSSL_PARAM * (OSSL_FUNC_signature_settable_ctx_md_params_fn)(void *ctx); static __attribute__((unused)) inline OSSL_FUNC_signature_settable_ctx_md_params_fn *OSSL_FUNC_signature_settable_ctx_md_params(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_signature_settable_ctx_md_params_fn *)opf->function; }
2432083: # 797 "/usr/include/openssl/core_dispatch.h" 3 4
2432083: typedef void * (OSSL_FUNC_asym_cipher_newctx_fn)(void *provctx); static __attribute__((unused)) inline OSSL_FUNC_asym_cipher_newctx_fn *OSSL_FUNC_asym_cipher_newctx(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_asym_cipher_newctx_fn *)opf->function; }
2432083: typedef int (OSSL_FUNC_asym_cipher_encrypt_init_fn)(void *ctx, void *provkey, const OSSL_PARAM params[]); static __attribute__((unused)) inline OSSL_FUNC_asym_cipher_encrypt_init_fn *OSSL_FUNC_asym_cipher_encrypt_init(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_asym_cipher_encrypt_init_fn *)opf->function; }
2432083:
2432083: typedef int (OSSL_FUNC_asym_cipher_encrypt_fn)(void *ctx, unsigned char *out, size_t *outlen, size_t outsize, const unsigned char *in, size_t inlen); static __attribute__((unused)) inline OSSL_FUNC_asym_cipher_encrypt_fn *OSSL_FUNC_asym_cipher_encrypt(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_asym_cipher_encrypt_fn *)opf->function; }
2432083:
2432083:
2432083:
2432083:
2432083: typedef int (OSSL_FUNC_asym_cipher_decrypt_init_fn)(void *ctx, void *provkey, const OSSL_PARAM params[]); static __attribute__((unused)) inline OSSL_FUNC_asym_cipher_decrypt_init_fn *OSSL_FUNC_asym_cipher_decrypt_init(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_asym_cipher_decrypt_init_fn *)opf->function; }
2432083:
2432083: typedef int (OSSL_FUNC_asym_cipher_decrypt_fn)(void *ctx, unsigned char *out, size_t *outlen, size_t outsize, const unsigned char *in, size_t inlen); static __attribute__((unused)) inline OSSL_FUNC_asym_cipher_decrypt_fn *OSSL_FUNC_asym_cipher_decrypt(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_asym_cipher_decrypt_fn *)opf->function; }
2432083:
2432083:
2432083:
2432083:
2432083: typedef void (OSSL_FUNC_asym_cipher_freectx_fn)(void *ctx); static __attribute__((unused)) inline OSSL_FUNC_asym_cipher_freectx_fn *OSSL_FUNC_asym_cipher_freectx(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_asym_cipher_freectx_fn *)opf->function; }
2432083: typedef void * (OSSL_FUNC_asym_cipher_dupctx_fn)(void *ctx); static __attribute__((unused)) inline OSSL_FUNC_asym_cipher_dupctx_fn *OSSL_FUNC_asym_cipher_dupctx(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_asym_cipher_dupctx_fn *)opf->function; }
2432083: typedef int (OSSL_FUNC_asym_cipher_get_ctx_params_fn)(void *ctx, OSSL_PARAM params[]); static __attribute__((unused)) inline OSSL_FUNC_asym_cipher_get_ctx_params_fn *OSSL_FUNC_asym_cipher_get_ctx_params(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_asym_cipher_get_ctx_params_fn *)opf->function; }
2432083:
2432083: typedef const OSSL_PARAM * (OSSL_FUNC_asym_cipher_gettable_ctx_params_fn)(void *ctx, void *provctx); static __attribute__((unused)) inline OSSL_FUNC_asym_cipher_gettable_ctx_params_fn *OSSL_FUNC_asym_cipher_gettable_ctx_params(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_asym_cipher_gettable_ctx_params_fn *)opf->function; }
2432083:
2432083: typedef int (OSSL_FUNC_asym_cipher_set_ctx_params_fn)(void *ctx, const OSSL_PARAM params[]); static __attribute__((unused)) inline OSSL_FUNC_asym_cipher_set_ctx_params_fn *OSSL_FUNC_asym_cipher_set_ctx_params(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_asym_cipher_set_ctx_params_fn *)opf->function; }
2432083:
2432083: typedef const OSSL_PARAM * (OSSL_FUNC_asym_cipher_settable_ctx_params_fn)(void *ctx, void *provctx); static __attribute__((unused)) inline OSSL_FUNC_asym_cipher_settable_ctx_params_fn *OSSL_FUNC_asym_cipher_settable_ctx_params(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_asym_cipher_settable_ctx_params_fn *)opf->function; }
2432083: # 836 "/usr/include/openssl/core_dispatch.h" 3 4
2432083: typedef void * (OSSL_FUNC_kem_newctx_fn)(void *provctx); static __attribute__((unused)) inline OSSL_FUNC_kem_newctx_fn *OSSL_FUNC_kem_newctx(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_kem_newctx_fn *)opf->function; }
2432083: typedef int (OSSL_FUNC_kem_encapsulate_init_fn)(void *ctx, void *provkey, const OSSL_PARAM params[]); static __attribute__((unused)) inline OSSL_FUNC_kem_encapsulate_init_fn *OSSL_FUNC_kem_encapsulate_init(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_kem_encapsulate_init_fn *)opf->function; }
2432083:
2432083: typedef int (OSSL_FUNC_kem_encapsulate_fn)(void *ctx, unsigned char *out, size_t *outlen, unsigned char *secret, size_t *secretlen); static __attribute__((unused)) inline OSSL_FUNC_kem_encapsulate_fn *OSSL_FUNC_kem_encapsulate(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_kem_encapsulate_fn *)opf->function; }
2432083:
2432083:
2432083:
2432083: typedef int (OSSL_FUNC_kem_decapsulate_init_fn)(void *ctx, void *provkey, const OSSL_PARAM params[]); static __attribute__((unused)) inline OSSL_FUNC_kem_decapsulate_init_fn *OSSL_FUNC_kem_decapsulate_init(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_kem_decapsulate_init_fn *)opf->function; }
2432083:
2432083: typedef int (OSSL_FUNC_kem_decapsulate_fn)(void *ctx, unsigned char *out, size_t *outlen, const unsigned char *in, size_t inlen); static __attribute__((unused)) inline OSSL_FUNC_kem_decapsulate_fn *OSSL_FUNC_kem_decapsulate(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_kem_decapsulate_fn *)opf->function; }
2432083:
2432083:
2432083: typedef void (OSSL_FUNC_kem_freectx_fn)(void *ctx); static __attribute__((unused)) inline OSSL_FUNC_kem_freectx_fn *OSSL_FUNC_kem_freectx(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_kem_freectx_fn *)opf->function; }
2432083: typedef void * (OSSL_FUNC_kem_dupctx_fn)(void *ctx); static __attribute__((unused)) inline OSSL_FUNC_kem_dupctx_fn *OSSL_FUNC_kem_dupctx(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_kem_dupctx_fn *)opf->function; }
2432083: typedef int (OSSL_FUNC_kem_get_ctx_params_fn)(void *ctx, OSSL_PARAM params[]); static __attribute__((unused)) inline OSSL_FUNC_kem_get_ctx_params_fn *OSSL_FUNC_kem_get_ctx_params(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_kem_get_ctx_params_fn *)opf->function; }
2432083: typedef const OSSL_PARAM * (OSSL_FUNC_kem_gettable_ctx_params_fn)(void *ctx, void *provctx); static __attribute__((unused)) inline OSSL_FUNC_kem_gettable_ctx_params_fn *OSSL_FUNC_kem_gettable_ctx_params(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_kem_gettable_ctx_params_fn *)opf->function; }
2432083:
2432083: typedef int (OSSL_FUNC_kem_set_ctx_params_fn)(void *ctx, const OSSL_PARAM params[]); static __attribute__((unused)) inline OSSL_FUNC_kem_set_ctx_params_fn *OSSL_FUNC_kem_set_ctx_params(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_kem_set_ctx_params_fn *)opf->function; }
2432083:
2432083: typedef const OSSL_PARAM * (OSSL_FUNC_kem_settable_ctx_params_fn)(void *ctx, void *provctx); static __attribute__((unused)) inline OSSL_FUNC_kem_settable_ctx_params_fn *OSSL_FUNC_kem_settable_ctx_params(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_kem_settable_ctx_params_fn *)opf->function; }
2432083: # 869 "/usr/include/openssl/core_dispatch.h" 3 4
2432083: typedef void * (OSSL_FUNC_encoder_newctx_fn)(void *provctx); static __attribute__((unused)) inline OSSL_FUNC_encoder_newctx_fn *OSSL_FUNC_encoder_newctx(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_encoder_newctx_fn *)opf->function; }
2432083: typedef void (OSSL_FUNC_encoder_freectx_fn)(void *ctx); static __attribute__((unused)) inline OSSL_FUNC_encoder_freectx_fn *OSSL_FUNC_encoder_freectx(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_encoder_freectx_fn *)opf->function; }
2432083: typedef int (OSSL_FUNC_encoder_get_params_fn)(OSSL_PARAM params[]); static __attribute__((unused)) inline OSSL_FUNC_encoder_get_params_fn *OSSL_FUNC_encoder_get_params(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_encoder_get_params_fn *)opf->function; }
2432083: typedef const OSSL_PARAM * (OSSL_FUNC_encoder_gettable_params_fn)(void *provctx); static __attribute__((unused)) inline OSSL_FUNC_encoder_gettable_params_fn *OSSL_FUNC_encoder_gettable_params(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_encoder_gettable_params_fn *)opf->function; }
2432083:
2432083: typedef int (OSSL_FUNC_encoder_set_ctx_params_fn)(void *ctx, const OSSL_PARAM params[]); static __attribute__((unused)) inline OSSL_FUNC_encoder_set_ctx_params_fn *OSSL_FUNC_encoder_set_ctx_params(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_encoder_set_ctx_params_fn *)opf->function; }
2432083:
2432083: typedef const OSSL_PARAM * (OSSL_FUNC_encoder_settable_ctx_params_fn)(void *provctx); static __attribute__((unused)) inline OSSL_FUNC_encoder_settable_ctx_params_fn *OSSL_FUNC_encoder_settable_ctx_params(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_encoder_settable_ctx_params_fn *)opf->function; }
2432083:
2432083:
2432083: typedef int (OSSL_FUNC_encoder_does_selection_fn)(void *provctx, int selection); static __attribute__((unused)) inline OSSL_FUNC_encoder_does_selection_fn *OSSL_FUNC_encoder_does_selection(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_encoder_does_selection_fn *)opf->function; }
2432083:
2432083: typedef int (OSSL_FUNC_encoder_encode_fn)(void *ctx, OSSL_CORE_BIO *out, const void *obj_raw, const OSSL_PARAM obj_abstract[], int selection, OSSL_PASSPHRASE_CALLBACK *cb, void *cbarg); static __attribute__((unused)) inline OSSL_FUNC_encoder_encode_fn *OSSL_FUNC_encoder_encode(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_encoder_encode_fn *)opf->function; }
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: typedef void * (OSSL_FUNC_encoder_import_object_fn)(void *ctx, int selection, const OSSL_PARAM params[]); static __attribute__((unused)) inline OSSL_FUNC_encoder_import_object_fn *OSSL_FUNC_encoder_import_object(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_encoder_import_object_fn *)opf->function; }
2432083:
2432083: typedef void (OSSL_FUNC_encoder_free_object_fn)(void *obj); static __attribute__((unused)) inline OSSL_FUNC_encoder_free_object_fn *OSSL_FUNC_encoder_free_object(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_encoder_free_object_fn *)opf->function; }
2432083: # 900 "/usr/include/openssl/core_dispatch.h" 3 4
2432083: typedef void * (OSSL_FUNC_decoder_newctx_fn)(void *provctx); static __attribute__((unused)) inline OSSL_FUNC_decoder_newctx_fn *OSSL_FUNC_decoder_newctx(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_decoder_newctx_fn *)opf->function; }
2432083: typedef void (OSSL_FUNC_decoder_freectx_fn)(void *ctx); static __attribute__((unused)) inline OSSL_FUNC_decoder_freectx_fn *OSSL_FUNC_decoder_freectx(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_decoder_freectx_fn *)opf->function; }
2432083: typedef int (OSSL_FUNC_decoder_get_params_fn)(OSSL_PARAM params[]); static __attribute__((unused)) inline OSSL_FUNC_decoder_get_params_fn *OSSL_FUNC_decoder_get_params(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_decoder_get_params_fn *)opf->function; }
2432083: typedef const OSSL_PARAM * (OSSL_FUNC_decoder_gettable_params_fn)(void *provctx); static __attribute__((unused)) inline OSSL_FUNC_decoder_gettable_params_fn *OSSL_FUNC_decoder_gettable_params(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_decoder_gettable_params_fn *)opf->function; }
2432083:
2432083: typedef int (OSSL_FUNC_decoder_set_ctx_params_fn)(void *ctx, const OSSL_PARAM params[]); static __attribute__((unused)) inline OSSL_FUNC_decoder_set_ctx_params_fn *OSSL_FUNC_decoder_set_ctx_params(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_decoder_set_ctx_params_fn *)opf->function; }
2432083:
2432083: typedef const OSSL_PARAM * (OSSL_FUNC_decoder_settable_ctx_params_fn)(void *provctx); static __attribute__((unused)) inline OSSL_FUNC_decoder_settable_ctx_params_fn *OSSL_FUNC_decoder_settable_ctx_params(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_decoder_settable_ctx_params_fn *)opf->function; }
2432083:
2432083:
2432083: typedef int (OSSL_FUNC_decoder_does_selection_fn)(void *provctx, int selection); static __attribute__((unused)) inline OSSL_FUNC_decoder_does_selection_fn *OSSL_FUNC_decoder_does_selection(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_decoder_does_selection_fn *)opf->function; }
2432083:
2432083: typedef int (OSSL_FUNC_decoder_decode_fn)(void *ctx, OSSL_CORE_BIO *in, int selection, OSSL_CALLBACK *data_cb, void *data_cbarg, OSSL_PASSPHRASE_CALLBACK *pw_cb, void *pw_cbarg); static __attribute__((unused)) inline OSSL_FUNC_decoder_decode_fn *OSSL_FUNC_decoder_decode(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_decoder_decode_fn *)opf->function; }
2432083:
2432083:
2432083:
2432083: typedef int (OSSL_FUNC_decoder_export_object_fn)(void *ctx, const void *objref, size_t objref_sz, OSSL_CALLBACK *export_cb, void *export_cbarg); static __attribute__((unused)) inline OSSL_FUNC_decoder_export_object_fn *OSSL_FUNC_decoder_export_object(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_decoder_export_object_fn *)opf->function; }
2432083: # 940 "/usr/include/openssl/core_dispatch.h" 3 4
2432083: typedef void * (OSSL_FUNC_store_open_fn)(void *provctx, const char *uri); static __attribute__((unused)) inline OSSL_FUNC_store_open_fn *OSSL_FUNC_store_open(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_store_open_fn *)opf->function; }
2432083: typedef void * (OSSL_FUNC_store_attach_fn)(void *provctx, OSSL_CORE_BIO *in); static __attribute__((unused)) inline OSSL_FUNC_store_attach_fn *OSSL_FUNC_store_attach(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_store_attach_fn *)opf->function; }
2432083: typedef const OSSL_PARAM * (OSSL_FUNC_store_settable_ctx_params_fn)(void *provctx); static __attribute__((unused)) inline OSSL_FUNC_store_settable_ctx_params_fn *OSSL_FUNC_store_settable_ctx_params(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_store_settable_ctx_params_fn *)opf->function; }
2432083:
2432083: typedef int (OSSL_FUNC_store_set_ctx_params_fn)(void *loaderctx, const OSSL_PARAM params[]); static __attribute__((unused)) inline OSSL_FUNC_store_set_ctx_params_fn *OSSL_FUNC_store_set_ctx_params(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_store_set_ctx_params_fn *)opf->function; }
2432083:
2432083: typedef int (OSSL_FUNC_store_load_fn)(void *loaderctx, OSSL_CALLBACK *object_cb, void *object_cbarg, OSSL_PASSPHRASE_CALLBACK *pw_cb, void *pw_cbarg); static __attribute__((unused)) inline OSSL_FUNC_store_load_fn *OSSL_FUNC_store_load(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_store_load_fn *)opf->function; }
2432083:
2432083:
2432083:
2432083: typedef int (OSSL_FUNC_store_eof_fn)(void *loaderctx); static __attribute__((unused)) inline OSSL_FUNC_store_eof_fn *OSSL_FUNC_store_eof(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_store_eof_fn *)opf->function; }
2432083: typedef int (OSSL_FUNC_store_close_fn)(void *loaderctx); static __attribute__((unused)) inline OSSL_FUNC_store_close_fn *OSSL_FUNC_store_close(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_store_close_fn *)opf->function; }
2432083: typedef int (OSSL_FUNC_store_export_object_fn)(void *loaderctx, const void *objref, size_t objref_sz, OSSL_CALLBACK *export_cb, void *export_cbarg); static __attribute__((unused)) inline OSSL_FUNC_store_export_object_fn *OSSL_FUNC_store_export_object(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_store_export_object_fn *)opf->function; }
2432083: # 29 "/usr/include/openssl/evp.h" 2 3 4
2432083:
2432083:
2432083: # 1 "/usr/include/openssl/evperr.h" 1 3 4
2432083: # 13 "/usr/include/openssl/evperr.h" 3 4
2432083:
2432083: # 32 "/usr/include/openssl/evp.h" 2 3 4
2432083: # 1 "/usr/include/openssl/params.h" 1 3 4
2432083: # 13 "/usr/include/openssl/params.h" 3 4
2432083:
2432083: # 71 "/usr/include/openssl/params.h" 3 4
2432083: OSSL_PARAM *OSSL_PARAM_locate(OSSL_PARAM *p, const char *key);
2432083: const OSSL_PARAM *OSSL_PARAM_locate_const(const OSSL_PARAM *p, const char *key);
2432083:
2432083:
2432083: OSSL_PARAM OSSL_PARAM_construct_int(const char *key, int *buf);
2432083: OSSL_PARAM OSSL_PARAM_construct_uint(const char *key, unsigned int *buf);
2432083: OSSL_PARAM OSSL_PARAM_construct_long(const char *key, long int *buf);
2432083: OSSL_PARAM OSSL_PARAM_construct_ulong(const char *key, unsigned long int *buf);
2432083: OSSL_PARAM OSSL_PARAM_construct_int32(const char *key, int32_t *buf);
2432083: OSSL_PARAM OSSL_PARAM_construct_uint32(const char *key, uint32_t *buf);
2432083: OSSL_PARAM OSSL_PARAM_construct_int64(const char *key, int64_t *buf);
2432083: OSSL_PARAM OSSL_PARAM_construct_uint64(const char *key, uint64_t *buf);
2432083: OSSL_PARAM OSSL_PARAM_construct_size_t(const char *key, size_t *buf);
2432083: OSSL_PARAM OSSL_PARAM_construct_time_t(const char *key, time_t *buf);
2432083: OSSL_PARAM OSSL_PARAM_construct_BN(const char *key, unsigned char *buf,
2432083: size_t bsize);
2432083: OSSL_PARAM OSSL_PARAM_construct_double(const char *key, double *buf);
2432083: OSSL_PARAM OSSL_PARAM_construct_utf8_string(const char *key, char *buf,
2432083: size_t bsize);
2432083: OSSL_PARAM OSSL_PARAM_construct_utf8_ptr(const char *key, char **buf,
2432083: size_t bsize);
2432083: OSSL_PARAM OSSL_PARAM_construct_octet_string(const char *key, void *buf,
2432083: size_t bsize);
2432083: OSSL_PARAM OSSL_PARAM_construct_octet_ptr(const char *key, void **buf,
2432083: size_t bsize);
2432083: OSSL_PARAM OSSL_PARAM_construct_end(void);
2432083:
2432083: int OSSL_PARAM_allocate_from_text(OSSL_PARAM *to,
2432083: const OSSL_PARAM *paramdefs,
2432083: const char *key, const char *value,
2432083: size_t value_n, int *found);
2432083:
2432083: int OSSL_PARAM_get_int(const OSSL_PARAM *p, int *val);
2432083: int OSSL_PARAM_get_uint(const OSSL_PARAM *p, unsigned int *val);
2432083: int OSSL_PARAM_get_long(const OSSL_PARAM *p, long int *val);
2432083: int OSSL_PARAM_get_ulong(const OSSL_PARAM *p, unsigned long int *val);
2432083: int OSSL_PARAM_get_int32(const OSSL_PARAM *p, int32_t *val);
2432083: int OSSL_PARAM_get_uint32(const OSSL_PARAM *p, uint32_t *val);
2432083: int OSSL_PARAM_get_int64(const OSSL_PARAM *p, int64_t *val);
2432083: int OSSL_PARAM_get_uint64(const OSSL_PARAM *p, uint64_t *val);
2432083: int OSSL_PARAM_get_size_t(const OSSL_PARAM *p, size_t *val);
2432083: int OSSL_PARAM_get_time_t(const OSSL_PARAM *p, time_t *val);
2432083:
2432083: int OSSL_PARAM_set_int(OSSL_PARAM *p, int val);
2432083: int OSSL_PARAM_set_uint(OSSL_PARAM *p, unsigned int val);
2432083: int OSSL_PARAM_set_long(OSSL_PARAM *p, long int val);
2432083: int OSSL_PARAM_set_ulong(OSSL_PARAM *p, unsigned long int val);
2432083: int OSSL_PARAM_set_int32(OSSL_PARAM *p, int32_t val);
2432083: int OSSL_PARAM_set_uint32(OSSL_PARAM *p, uint32_t val);
2432083: int OSSL_PARAM_set_int64(OSSL_PARAM *p, int64_t val);
2432083: int OSSL_PARAM_set_uint64(OSSL_PARAM *p, uint64_t val);
2432083: int OSSL_PARAM_set_size_t(OSSL_PARAM *p, size_t val);
2432083: int OSSL_PARAM_set_time_t(OSSL_PARAM *p, time_t val);
2432083:
2432083: int OSSL_PARAM_get_double(const OSSL_PARAM *p, double *val);
2432083: int OSSL_PARAM_set_double(OSSL_PARAM *p, double val);
2432083:
2432083: int OSSL_PARAM_get_BN(const OSSL_PARAM *p, BIGNUM **val);
2432083: int OSSL_PARAM_set_BN(OSSL_PARAM *p, const BIGNUM *val);
2432083:
2432083: int OSSL_PARAM_get_utf8_string(const OSSL_PARAM *p, char **val, size_t max_len);
2432083: int OSSL_PARAM_set_utf8_string(OSSL_PARAM *p, const char *val);
2432083:
2432083: int OSSL_PARAM_get_octet_string(const OSSL_PARAM *p, void **val, size_t max_len,
2432083: size_t *used_len);
2432083: int OSSL_PARAM_set_octet_string(OSSL_PARAM *p, const void *val, size_t len);
2432083:
2432083: int OSSL_PARAM_get_utf8_ptr(const OSSL_PARAM *p, const char **val);
2432083: int OSSL_PARAM_set_utf8_ptr(OSSL_PARAM *p, const char *val);
2432083:
2432083: int OSSL_PARAM_get_octet_ptr(const OSSL_PARAM *p, const void **val,
2432083: size_t *used_len);
2432083: int OSSL_PARAM_set_octet_ptr(OSSL_PARAM *p, const void *val,
2432083: size_t used_len);
2432083:
2432083: int OSSL_PARAM_get_utf8_string_ptr(const OSSL_PARAM *p, const char **val);
2432083: int OSSL_PARAM_get_octet_string_ptr(const OSSL_PARAM *p, const void **val,
2432083: size_t *used_len);
2432083:
2432083: int OSSL_PARAM_modified(const OSSL_PARAM *p);
2432083: void OSSL_PARAM_set_all_unmodified(OSSL_PARAM *p);
2432083:
2432083: OSSL_PARAM *OSSL_PARAM_dup(const OSSL_PARAM *p);
2432083: OSSL_PARAM *OSSL_PARAM_merge(const OSSL_PARAM *p1, const OSSL_PARAM *p2);
2432083: void OSSL_PARAM_free(OSSL_PARAM *p);
2432083: # 33 "/usr/include/openssl/evp.h" 2 3 4
2432083: # 43 "/usr/include/openssl/evp.h" 3 4
2432083: # 1 "/usr/include/openssl/objects.h" 1 3 4
2432083: # 12 "/usr/include/openssl/objects.h" 3 4
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: # 1 "/usr/include/openssl/obj_mac.h" 1 3 4
2432083: # 14 "/usr/include/openssl/obj_mac.h" 3 4
2432083:
2432083: # 20 "/usr/include/openssl/objects.h" 2 3 4
2432083:
2432083:
2432083: # 1 "/usr/include/openssl/objectserr.h" 1 3 4
2432083: # 13 "/usr/include/openssl/objectserr.h" 3 4
2432083:
2432083: # 23 "/usr/include/openssl/objects.h" 2 3 4
2432083: # 43 "/usr/include/openssl/objects.h" 3 4
2432083: typedef struct obj_name_st {
2432083: int type;
2432083: int alias;
2432083: const char *name;
2432083: const char *data;
2432083: } OBJ_NAME;
2432083:
2432083:
2432083:
2432083: int OBJ_NAME_init(void);
2432083: int OBJ_NAME_new_index(unsigned long (*hash_func) (const char *),
2432083: int (*cmp_func) (const char *, const char *),
2432083: void (*free_func) (const char *, int, const char *));
2432083: const char *OBJ_NAME_get(const char *name, int type);
2432083: int OBJ_NAME_add(const char *name, int type, const char *data);
2432083: int OBJ_NAME_remove(const char *name, int type);
2432083: void OBJ_NAME_cleanup(int type);
2432083: void OBJ_NAME_do_all(int type, void (*fn) (const OBJ_NAME *, void *arg),
2432083: void *arg);
2432083: void OBJ_NAME_do_all_sorted(int type,
2432083: void (*fn) (const OBJ_NAME *, void *arg),
2432083: void *arg);
2432083:
2432083: extern ASN1_OBJECT *OBJ_dup(const ASN1_OBJECT *a);
2432083: ASN1_OBJECT *OBJ_nid2obj(int n);
2432083: const char *OBJ_nid2ln(int n);
2432083: const char *OBJ_nid2sn(int n);
2432083: int OBJ_obj2nid(const ASN1_OBJECT *o);
2432083: ASN1_OBJECT *OBJ_txt2obj(const char *s, int no_name);
2432083: int OBJ_obj2txt(char *buf, int buf_len, const ASN1_OBJECT *a, int no_name);
2432083: int OBJ_txt2nid(const char *s);
2432083: int OBJ_ln2nid(const char *s);
2432083: int OBJ_sn2nid(const char *s);
2432083: int OBJ_cmp(const ASN1_OBJECT *a, const ASN1_OBJECT *b);
2432083: const void *OBJ_bsearch_(const void *key, const void *base, int num, int size,
2432083: int (*cmp) (const void *, const void *));
2432083: const void *OBJ_bsearch_ex_(const void *key, const void *base, int num,
2432083: int size,
2432083: int (*cmp) (const void *, const void *),
2432083: int flags);
2432083: # 163 "/usr/include/openssl/objects.h" 3 4
2432083: int OBJ_new_nid(int num);
2432083: int OBJ_add_object(const ASN1_OBJECT *obj);
2432083: int OBJ_create(const char *oid, const char *sn, const char *ln);
2432083:
2432083:
2432083:
2432083: int OBJ_create_objects(BIO *in);
2432083:
2432083: size_t OBJ_length(const ASN1_OBJECT *obj);
2432083: const unsigned char *OBJ_get0_data(const ASN1_OBJECT *obj);
2432083:
2432083: int OBJ_find_sigid_algs(int signid, int *pdig_nid, int *ppkey_nid);
2432083: int OBJ_find_sigid_by_algs(int *psignid, int dig_nid, int pkey_nid);
2432083: int OBJ_add_sigid(int signid, int dig_id, int pkey_id);
2432083: void OBJ_sigid_free(void);
2432083: # 44 "/usr/include/openssl/evp.h" 2 3 4
2432083: # 99 "/usr/include/openssl/evp.h" 3 4
2432083: int EVP_set_default_properties(OSSL_LIB_CTX *libctx, const char *propq);
2432083: int EVP_default_properties_is_fips_enabled(OSSL_LIB_CTX *libctx);
2432083: int EVP_default_properties_enable_fips(OSSL_LIB_CTX *libctx, int enable);
2432083: # 110 "/usr/include/openssl/evp.h" 3 4
2432083: EVP_MD *EVP_MD_meth_new(int md_type, int pkey_type);
2432083: EVP_MD *EVP_MD_meth_dup(const EVP_MD *md);
2432083: void EVP_MD_meth_free(EVP_MD *md);
2432083:
2432083: int EVP_MD_meth_set_input_blocksize(EVP_MD *md, int blocksize);
2432083:
2432083: int EVP_MD_meth_set_result_size(EVP_MD *md, int resultsize);
2432083:
2432083: int EVP_MD_meth_set_app_datasize(EVP_MD *md, int datasize);
2432083:
2432083: int EVP_MD_meth_set_flags(EVP_MD *md, unsigned long flags);
2432083:
2432083: int EVP_MD_meth_set_init(EVP_MD *md, int (*init)(EVP_MD_CTX *ctx));
2432083:
2432083: int EVP_MD_meth_set_update(EVP_MD *md, int (*update)(EVP_MD_CTX *ctx,
2432083: const void *data,
2432083: size_t count));
2432083:
2432083: int EVP_MD_meth_set_final(EVP_MD *md, int (*final)(EVP_MD_CTX *ctx,
2432083: unsigned char *md));
2432083:
2432083: int EVP_MD_meth_set_copy(EVP_MD *md, int (*copy)(EVP_MD_CTX *to,
2432083: const EVP_MD_CTX *from));
2432083:
2432083: int EVP_MD_meth_set_cleanup(EVP_MD *md, int (*cleanup)(EVP_MD_CTX *ctx));
2432083:
2432083: int EVP_MD_meth_set_ctrl(EVP_MD *md, int (*ctrl)(EVP_MD_CTX *ctx, int cmd,
2432083: int p1, void *p2));
2432083: int EVP_MD_meth_get_input_blocksize(const EVP_MD *md);
2432083: int EVP_MD_meth_get_result_size(const EVP_MD *md);
2432083: int EVP_MD_meth_get_app_datasize(const EVP_MD *md);
2432083: unsigned long EVP_MD_meth_get_flags(const EVP_MD *md);
2432083:
2432083: int (*EVP_MD_meth_get_init(const EVP_MD *md))(EVP_MD_CTX *ctx);
2432083:
2432083: int (*EVP_MD_meth_get_update(const EVP_MD *md))(EVP_MD_CTX *ctx,
2432083: const void *data, size_t count);
2432083:
2432083: int (*EVP_MD_meth_get_final(const EVP_MD *md))(EVP_MD_CTX *ctx,
2432083: unsigned char *md);
2432083:
2432083: int (*EVP_MD_meth_get_copy(const EVP_MD *md))(EVP_MD_CTX *to,
2432083: const EVP_MD_CTX *from);
2432083:
2432083: int (*EVP_MD_meth_get_cleanup(const EVP_MD *md))(EVP_MD_CTX *ctx);
2432083:
2432083: int (*EVP_MD_meth_get_ctrl(const EVP_MD *md))(EVP_MD_CTX *ctx, int cmd,
2432083: int p1, void *p2);
2432083: # 233 "/usr/include/openssl/evp.h" 3 4
2432083:
2432083: EVP_CIPHER *EVP_CIPHER_meth_new(int cipher_type, int block_size, int key_len);
2432083:
2432083: EVP_CIPHER *EVP_CIPHER_meth_dup(const EVP_CIPHER *cipher);
2432083:
2432083: void EVP_CIPHER_meth_free(EVP_CIPHER *cipher);
2432083:
2432083: int EVP_CIPHER_meth_set_iv_length(EVP_CIPHER *cipher, int iv_len);
2432083:
2432083: int EVP_CIPHER_meth_set_flags(EVP_CIPHER *cipher, unsigned long flags);
2432083:
2432083: int EVP_CIPHER_meth_set_impl_ctx_size(EVP_CIPHER *cipher, int ctx_size);
2432083:
2432083: int EVP_CIPHER_meth_set_init(EVP_CIPHER *cipher,
2432083: int (*init) (EVP_CIPHER_CTX *ctx,
2432083: const unsigned char *key,
2432083: const unsigned char *iv,
2432083: int enc));
2432083:
2432083: int EVP_CIPHER_meth_set_do_cipher(EVP_CIPHER *cipher,
2432083: int (*do_cipher) (EVP_CIPHER_CTX *ctx,
2432083: unsigned char *out,
2432083: const unsigned char *in,
2432083: size_t inl));
2432083:
2432083: int EVP_CIPHER_meth_set_cleanup(EVP_CIPHER *cipher,
2432083: int (*cleanup) (EVP_CIPHER_CTX *));
2432083:
2432083: int EVP_CIPHER_meth_set_set_asn1_params(EVP_CIPHER *cipher,
2432083: int (*set_asn1_parameters) (EVP_CIPHER_CTX *,
2432083: ASN1_TYPE *));
2432083:
2432083: int EVP_CIPHER_meth_set_get_asn1_params(EVP_CIPHER *cipher,
2432083: int (*get_asn1_parameters) (EVP_CIPHER_CTX *,
2432083: ASN1_TYPE *));
2432083:
2432083: int EVP_CIPHER_meth_set_ctrl(EVP_CIPHER *cipher,
2432083: int (*ctrl) (EVP_CIPHER_CTX *, int type,
2432083: int arg, void *ptr));
2432083: int
2432083: (*EVP_CIPHER_meth_get_init(const EVP_CIPHER *cipher))(EVP_CIPHER_CTX *ctx,
2432083: const unsigned char *key,
2432083: const unsigned char *iv,
2432083: int enc);
2432083: int
2432083: (*EVP_CIPHER_meth_get_do_cipher(const EVP_CIPHER *cipher))(EVP_CIPHER_CTX *ctx,
2432083: unsigned char *out,
2432083: const unsigned char *in,
2432083: size_t inl);
2432083: int
2432083: (*EVP_CIPHER_meth_get_cleanup(const EVP_CIPHER *cipher))(EVP_CIPHER_CTX *);
2432083: int
2432083: (*EVP_CIPHER_meth_get_set_asn1_params(const EVP_CIPHER *cipher))(EVP_CIPHER_CTX *,
2432083: ASN1_TYPE *);
2432083: int
2432083: (*EVP_CIPHER_meth_get_get_asn1_params(const EVP_CIPHER *cipher))(EVP_CIPHER_CTX *,
2432083: ASN1_TYPE *);
2432083: int
2432083: (*EVP_CIPHER_meth_get_ctrl(const EVP_CIPHER *cipher))(EVP_CIPHER_CTX *, int type,
2432083: int arg, void *ptr);
2432083: # 450 "/usr/include/openssl/evp.h" 3 4
2432083: typedef struct {
2432083: unsigned char *out;
2432083: const unsigned char *inp;
2432083: size_t len;
2432083: unsigned int interleave;
2432083: } EVP_CTRL_TLS1_1_MULTIBLOCK_PARAM;
2432083: # 480 "/usr/include/openssl/evp.h" 3 4
2432083: typedef struct evp_cipher_info_st {
2432083: const EVP_CIPHER *cipher;
2432083: unsigned char iv[16];
2432083: } EVP_CIPHER_INFO;
2432083:
2432083:
2432083:
2432083: typedef int (EVP_PBE_KEYGEN) (EVP_CIPHER_CTX *ctx, const char *pass,
2432083: int passlen, ASN1_TYPE *param,
2432083: const EVP_CIPHER *cipher, const EVP_MD *md,
2432083: int en_de);
2432083:
2432083: typedef int (EVP_PBE_KEYGEN_EX) (EVP_CIPHER_CTX *ctx, const char *pass,
2432083: int passlen, ASN1_TYPE *param,
2432083: const EVP_CIPHER *cipher, const EVP_MD *md,
2432083: int en_de, OSSL_LIB_CTX *libctx, const char *propq);
2432083: # 533 "/usr/include/openssl/evp.h" 3 4
2432083: int EVP_MD_get_type(const EVP_MD *md);
2432083:
2432083:
2432083: const char *EVP_MD_get0_name(const EVP_MD *md);
2432083:
2432083: const char *EVP_MD_get0_description(const EVP_MD *md);
2432083: int EVP_MD_is_a(const EVP_MD *md, const char *name);
2432083: int EVP_MD_names_do_all(const EVP_MD *md,
2432083: void (*fn)(const char *name, void *data),
2432083: void *data);
2432083: const OSSL_PROVIDER *EVP_MD_get0_provider(const EVP_MD *md);
2432083: int EVP_MD_get_pkey_type(const EVP_MD *md);
2432083:
2432083: int EVP_MD_get_size(const EVP_MD *md);
2432083:
2432083: int EVP_MD_get_block_size(const EVP_MD *md);
2432083:
2432083: unsigned long EVP_MD_get_flags(const EVP_MD *md);
2432083:
2432083:
2432083: const EVP_MD *EVP_MD_CTX_get0_md(const EVP_MD_CTX *ctx);
2432083: EVP_MD *EVP_MD_CTX_get1_md(EVP_MD_CTX *ctx);
2432083:
2432083:
2432083: const EVP_MD *EVP_MD_CTX_md(const EVP_MD_CTX *ctx);
2432083:
2432083: int (*EVP_MD_CTX_update_fn(EVP_MD_CTX *ctx))(EVP_MD_CTX *ctx,
2432083: const void *data, size_t count);
2432083:
2432083: void EVP_MD_CTX_set_update_fn(EVP_MD_CTX *ctx,
2432083: int (*update) (EVP_MD_CTX *ctx,
2432083: const void *data, size_t count));
2432083: # 573 "/usr/include/openssl/evp.h" 3 4
2432083: EVP_PKEY_CTX *EVP_MD_CTX_get_pkey_ctx(const EVP_MD_CTX *ctx);
2432083:
2432083: void EVP_MD_CTX_set_pkey_ctx(EVP_MD_CTX *ctx, EVP_PKEY_CTX *pctx);
2432083: void *EVP_MD_CTX_get0_md_data(const EVP_MD_CTX *ctx);
2432083:
2432083:
2432083: int EVP_CIPHER_get_nid(const EVP_CIPHER *cipher);
2432083:
2432083: const char *EVP_CIPHER_get0_name(const EVP_CIPHER *cipher);
2432083:
2432083: const char *EVP_CIPHER_get0_description(const EVP_CIPHER *cipher);
2432083: int EVP_CIPHER_is_a(const EVP_CIPHER *cipher, const char *name);
2432083: int EVP_CIPHER_names_do_all(const EVP_CIPHER *cipher,
2432083: void (*fn)(const char *name, void *data),
2432083: void *data);
2432083: const OSSL_PROVIDER *EVP_CIPHER_get0_provider(const EVP_CIPHER *cipher);
2432083: int EVP_CIPHER_get_block_size(const EVP_CIPHER *cipher);
2432083:
2432083:
2432083:
2432083: int EVP_CIPHER_impl_ctx_size(const EVP_CIPHER *cipher);
2432083:
2432083: int EVP_CIPHER_get_key_length(const EVP_CIPHER *cipher);
2432083:
2432083: int EVP_CIPHER_get_iv_length(const EVP_CIPHER *cipher);
2432083:
2432083: unsigned long EVP_CIPHER_get_flags(const EVP_CIPHER *cipher);
2432083:
2432083: int EVP_CIPHER_get_mode(const EVP_CIPHER *cipher);
2432083:
2432083: int EVP_CIPHER_get_type(const EVP_CIPHER *cipher);
2432083:
2432083: EVP_CIPHER *EVP_CIPHER_fetch(OSSL_LIB_CTX *ctx, const char *algorithm,
2432083: const char *properties);
2432083: int EVP_CIPHER_up_ref(EVP_CIPHER *cipher);
2432083: void EVP_CIPHER_free(EVP_CIPHER *cipher);
2432083:
2432083: const EVP_CIPHER *EVP_CIPHER_CTX_get0_cipher(const EVP_CIPHER_CTX *ctx);
2432083: EVP_CIPHER *EVP_CIPHER_CTX_get1_cipher(EVP_CIPHER_CTX *ctx);
2432083: int EVP_CIPHER_CTX_is_encrypting(const EVP_CIPHER_CTX *ctx);
2432083:
2432083: int EVP_CIPHER_CTX_get_nid(const EVP_CIPHER_CTX *ctx);
2432083:
2432083: int EVP_CIPHER_CTX_get_block_size(const EVP_CIPHER_CTX *ctx);
2432083:
2432083: int EVP_CIPHER_CTX_get_key_length(const EVP_CIPHER_CTX *ctx);
2432083:
2432083: int EVP_CIPHER_CTX_get_iv_length(const EVP_CIPHER_CTX *ctx);
2432083:
2432083: int EVP_CIPHER_CTX_get_tag_length(const EVP_CIPHER_CTX *ctx);
2432083:
2432083:
2432083: const EVP_CIPHER *EVP_CIPHER_CTX_cipher(const EVP_CIPHER_CTX *ctx);
2432083: const unsigned char *EVP_CIPHER_CTX_iv(const EVP_CIPHER_CTX *ctx);
2432083: const unsigned char *EVP_CIPHER_CTX_original_iv(const EVP_CIPHER_CTX *ctx);
2432083: unsigned char *EVP_CIPHER_CTX_iv_noconst(EVP_CIPHER_CTX *ctx);
2432083:
2432083: int EVP_CIPHER_CTX_get_updated_iv(EVP_CIPHER_CTX *ctx, void *buf, size_t len);
2432083: int EVP_CIPHER_CTX_get_original_iv(EVP_CIPHER_CTX *ctx, void *buf, size_t len);
2432083:
2432083:
2432083: unsigned char *EVP_CIPHER_CTX_buf_noconst(EVP_CIPHER_CTX *ctx);
2432083:
2432083: int EVP_CIPHER_CTX_get_num(const EVP_CIPHER_CTX *ctx);
2432083:
2432083: int EVP_CIPHER_CTX_set_num(EVP_CIPHER_CTX *ctx, int num);
2432083: EVP_CIPHER_CTX *EVP_CIPHER_CTX_dup(const EVP_CIPHER_CTX *in);
2432083: int EVP_CIPHER_CTX_copy(EVP_CIPHER_CTX *out, const EVP_CIPHER_CTX *in);
2432083: void *EVP_CIPHER_CTX_get_app_data(const EVP_CIPHER_CTX *ctx);
2432083: void EVP_CIPHER_CTX_set_app_data(EVP_CIPHER_CTX *ctx, void *data);
2432083: void *EVP_CIPHER_CTX_get_cipher_data(const EVP_CIPHER_CTX *ctx);
2432083: void *EVP_CIPHER_CTX_set_cipher_data(EVP_CIPHER_CTX *ctx, void *cipher_data);
2432083: # 677 "/usr/include/openssl/evp.h" 3 4
2432083: int EVP_Cipher(EVP_CIPHER_CTX *c,
2432083: unsigned char *out,
2432083: const unsigned char *in, unsigned int inl);
2432083: # 690 "/usr/include/openssl/evp.h" 3 4
2432083: int EVP_MD_get_params(const EVP_MD *digest, OSSL_PARAM params[]);
2432083: int EVP_MD_CTX_set_params(EVP_MD_CTX *ctx, const OSSL_PARAM params[]);
2432083: int EVP_MD_CTX_get_params(EVP_MD_CTX *ctx, OSSL_PARAM params[]);
2432083: const OSSL_PARAM *EVP_MD_gettable_params(const EVP_MD *digest);
2432083: const OSSL_PARAM *EVP_MD_settable_ctx_params(const EVP_MD *md);
2432083: const OSSL_PARAM *EVP_MD_gettable_ctx_params(const EVP_MD *md);
2432083: const OSSL_PARAM *EVP_MD_CTX_settable_params(EVP_MD_CTX *ctx);
2432083: const OSSL_PARAM *EVP_MD_CTX_gettable_params(EVP_MD_CTX *ctx);
2432083: int EVP_MD_CTX_ctrl(EVP_MD_CTX *ctx, int cmd, int p1, void *p2);
2432083: EVP_MD_CTX *EVP_MD_CTX_new(void);
2432083: int EVP_MD_CTX_reset(EVP_MD_CTX *ctx);
2432083: void EVP_MD_CTX_free(EVP_MD_CTX *ctx);
2432083:
2432083:
2432083:
2432083: EVP_MD_CTX *EVP_MD_CTX_dup(const EVP_MD_CTX *in);
2432083: int EVP_MD_CTX_copy_ex(EVP_MD_CTX *out, const EVP_MD_CTX *in);
2432083: void EVP_MD_CTX_set_flags(EVP_MD_CTX *ctx, int flags);
2432083: void EVP_MD_CTX_clear_flags(EVP_MD_CTX *ctx, int flags);
2432083: int EVP_MD_CTX_test_flags(const EVP_MD_CTX *ctx, int flags);
2432083: int EVP_DigestInit_ex2(EVP_MD_CTX *ctx, const EVP_MD *type,
2432083: const OSSL_PARAM params[]);
2432083: int EVP_DigestInit_ex(EVP_MD_CTX *ctx, const EVP_MD *type,
2432083: ENGINE *impl);
2432083: int EVP_DigestUpdate(EVP_MD_CTX *ctx, const void *d,
2432083: size_t cnt);
2432083: int EVP_DigestFinal_ex(EVP_MD_CTX *ctx, unsigned char *md,
2432083: unsigned int *s);
2432083: int EVP_Digest(const void *data, size_t count,
2432083: unsigned char *md, unsigned int *size,
2432083: const EVP_MD *type, ENGINE *impl);
2432083: int EVP_Q_digest(OSSL_LIB_CTX *libctx, const char *name,
2432083: const char *propq, const void *data, size_t datalen,
2432083: unsigned char *md, size_t *mdlen);
2432083:
2432083: int EVP_MD_CTX_copy(EVP_MD_CTX *out, const EVP_MD_CTX *in);
2432083: int EVP_DigestInit(EVP_MD_CTX *ctx, const EVP_MD *type);
2432083: int EVP_DigestFinal(EVP_MD_CTX *ctx, unsigned char *md,
2432083: unsigned int *s);
2432083: int EVP_DigestFinalXOF(EVP_MD_CTX *ctx, unsigned char *md,
2432083: size_t len);
2432083:
2432083: EVP_MD *EVP_MD_fetch(OSSL_LIB_CTX *ctx, const char *algorithm,
2432083: const char *properties);
2432083:
2432083: int EVP_MD_up_ref(EVP_MD *md);
2432083: void EVP_MD_free(EVP_MD *md);
2432083:
2432083: int EVP_read_pw_string(char *buf, int length, const char *prompt, int verify);
2432083: int EVP_read_pw_string_min(char *buf, int minlen, int maxlen,
2432083: const char *prompt, int verify);
2432083: void EVP_set_pw_prompt(const char *prompt);
2432083: char *EVP_get_pw_prompt(void);
2432083:
2432083: int EVP_BytesToKey(const EVP_CIPHER *type, const EVP_MD *md,
2432083: const unsigned char *salt,
2432083: const unsigned char *data, int datal, int count,
2432083: unsigned char *key, unsigned char *iv);
2432083:
2432083: void EVP_CIPHER_CTX_set_flags(EVP_CIPHER_CTX *ctx, int flags);
2432083: void EVP_CIPHER_CTX_clear_flags(EVP_CIPHER_CTX *ctx, int flags);
2432083: int EVP_CIPHER_CTX_test_flags(const EVP_CIPHER_CTX *ctx, int flags);
2432083:
2432083: int EVP_EncryptInit(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher,
2432083: const unsigned char *key, const unsigned char *iv);
2432083: int EVP_EncryptInit_ex(EVP_CIPHER_CTX *ctx,
2432083: const EVP_CIPHER *cipher, ENGINE *impl,
2432083: const unsigned char *key,
2432083: const unsigned char *iv);
2432083: int EVP_EncryptInit_ex2(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher,
2432083: const unsigned char *key,
2432083: const unsigned char *iv,
2432083: const OSSL_PARAM params[]);
2432083: int EVP_EncryptUpdate(EVP_CIPHER_CTX *ctx, unsigned char *out,
2432083: int *outl, const unsigned char *in, int inl);
2432083: int EVP_EncryptFinal_ex(EVP_CIPHER_CTX *ctx, unsigned char *out,
2432083: int *outl);
2432083: int EVP_EncryptFinal(EVP_CIPHER_CTX *ctx, unsigned char *out,
2432083: int *outl);
2432083:
2432083: int EVP_DecryptInit(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher,
2432083: const unsigned char *key, const unsigned char *iv);
2432083: int EVP_DecryptInit_ex(EVP_CIPHER_CTX *ctx,
2432083: const EVP_CIPHER *cipher, ENGINE *impl,
2432083: const unsigned char *key,
2432083: const unsigned char *iv);
2432083: int EVP_DecryptInit_ex2(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher,
2432083: const unsigned char *key,
2432083: const unsigned char *iv,
2432083: const OSSL_PARAM params[]);
2432083: int EVP_DecryptUpdate(EVP_CIPHER_CTX *ctx, unsigned char *out,
2432083: int *outl, const unsigned char *in, int inl);
2432083: int EVP_DecryptFinal(EVP_CIPHER_CTX *ctx, unsigned char *outm,
2432083: int *outl);
2432083: int EVP_DecryptFinal_ex(EVP_CIPHER_CTX *ctx, unsigned char *outm,
2432083: int *outl);
2432083:
2432083: int EVP_CipherInit(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher,
2432083: const unsigned char *key, const unsigned char *iv,
2432083: int enc);
2432083: int EVP_CipherInit_ex(EVP_CIPHER_CTX *ctx,
2432083: const EVP_CIPHER *cipher, ENGINE *impl,
2432083: const unsigned char *key,
2432083: const unsigned char *iv, int enc);
2432083: int EVP_CipherInit_ex2(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher,
2432083: const unsigned char *key, const unsigned char *iv,
2432083: int enc, const OSSL_PARAM params[]);
2432083: int EVP_CipherUpdate(EVP_CIPHER_CTX *ctx, unsigned char *out,
2432083: int *outl, const unsigned char *in, int inl);
2432083: int EVP_CipherFinal(EVP_CIPHER_CTX *ctx, unsigned char *outm,
2432083: int *outl);
2432083: int EVP_CipherFinal_ex(EVP_CIPHER_CTX *ctx, unsigned char *outm,
2432083: int *outl);
2432083:
2432083: int EVP_SignFinal(EVP_MD_CTX *ctx, unsigned char *md, unsigned int *s,
2432083: EVP_PKEY *pkey);
2432083: int EVP_SignFinal_ex(EVP_MD_CTX *ctx, unsigned char *md, unsigned int *s,
2432083: EVP_PKEY *pkey, OSSL_LIB_CTX *libctx,
2432083: const char *propq);
2432083:
2432083: int EVP_DigestSign(EVP_MD_CTX *ctx, unsigned char *sigret,
2432083: size_t *siglen, const unsigned char *tbs,
2432083: size_t tbslen);
2432083:
2432083: int EVP_VerifyFinal(EVP_MD_CTX *ctx, const unsigned char *sigbuf,
2432083: unsigned int siglen, EVP_PKEY *pkey);
2432083: int EVP_VerifyFinal_ex(EVP_MD_CTX *ctx, const unsigned char *sigbuf,
2432083: unsigned int siglen, EVP_PKEY *pkey,
2432083: OSSL_LIB_CTX *libctx, const char *propq);
2432083:
2432083: int EVP_DigestVerify(EVP_MD_CTX *ctx, const unsigned char *sigret,
2432083: size_t siglen, const unsigned char *tbs,
2432083: size_t tbslen);
2432083:
2432083: int EVP_DigestSignInit_ex(EVP_MD_CTX *ctx, EVP_PKEY_CTX **pctx,
2432083: const char *mdname, OSSL_LIB_CTX *libctx,
2432083: const char *props, EVP_PKEY *pkey,
2432083: const OSSL_PARAM params[]);
2432083: int EVP_DigestSignInit(EVP_MD_CTX *ctx, EVP_PKEY_CTX **pctx,
2432083: const EVP_MD *type, ENGINE *e,
2432083: EVP_PKEY *pkey);
2432083: int EVP_DigestSignUpdate(EVP_MD_CTX *ctx, const void *data, size_t dsize);
2432083: int EVP_DigestSignFinal(EVP_MD_CTX *ctx, unsigned char *sigret,
2432083: size_t *siglen);
2432083:
2432083: int EVP_DigestVerifyInit_ex(EVP_MD_CTX *ctx, EVP_PKEY_CTX **pctx,
2432083: const char *mdname, OSSL_LIB_CTX *libctx,
2432083: const char *props, EVP_PKEY *pkey,
2432083: const OSSL_PARAM params[]);
2432083: int EVP_DigestVerifyInit(EVP_MD_CTX *ctx, EVP_PKEY_CTX **pctx,
2432083: const EVP_MD *type, ENGINE *e,
2432083: EVP_PKEY *pkey);
2432083: int EVP_DigestVerifyUpdate(EVP_MD_CTX *ctx, const void *data, size_t dsize);
2432083: int EVP_DigestVerifyFinal(EVP_MD_CTX *ctx, const unsigned char *sig,
2432083: size_t siglen);
2432083:
2432083: int EVP_OpenInit(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *type,
2432083: const unsigned char *ek, int ekl,
2432083: const unsigned char *iv, EVP_PKEY *priv);
2432083: int EVP_OpenFinal(EVP_CIPHER_CTX *ctx, unsigned char *out, int *outl);
2432083:
2432083: int EVP_SealInit(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *type,
2432083: unsigned char **ek, int *ekl, unsigned char *iv,
2432083: EVP_PKEY **pubk, int npubk);
2432083: int EVP_SealFinal(EVP_CIPHER_CTX *ctx, unsigned char *out, int *outl);
2432083:
2432083: EVP_ENCODE_CTX *EVP_ENCODE_CTX_new(void);
2432083: void EVP_ENCODE_CTX_free(EVP_ENCODE_CTX *ctx);
2432083: int EVP_ENCODE_CTX_copy(EVP_ENCODE_CTX *dctx, const EVP_ENCODE_CTX *sctx);
2432083: int EVP_ENCODE_CTX_num(EVP_ENCODE_CTX *ctx);
2432083: void EVP_EncodeInit(EVP_ENCODE_CTX *ctx);
2432083: int EVP_EncodeUpdate(EVP_ENCODE_CTX *ctx, unsigned char *out, int *outl,
2432083: const unsigned char *in, int inl);
2432083: void EVP_EncodeFinal(EVP_ENCODE_CTX *ctx, unsigned char *out, int *outl);
2432083: int EVP_EncodeBlock(unsigned char *t, const unsigned char *f, int n);
2432083:
2432083: void EVP_DecodeInit(EVP_ENCODE_CTX *ctx);
2432083: int EVP_DecodeUpdate(EVP_ENCODE_CTX *ctx, unsigned char *out, int *outl,
2432083: const unsigned char *in, int inl);
2432083: int EVP_DecodeFinal(EVP_ENCODE_CTX *ctx, unsigned
2432083: char *out, int *outl);
2432083: int EVP_DecodeBlock(unsigned char *t, const unsigned char *f, int n);
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: EVP_CIPHER_CTX *EVP_CIPHER_CTX_new(void);
2432083: int EVP_CIPHER_CTX_reset(EVP_CIPHER_CTX *c);
2432083: void EVP_CIPHER_CTX_free(EVP_CIPHER_CTX *c);
2432083: int EVP_CIPHER_CTX_set_key_length(EVP_CIPHER_CTX *x, int keylen);
2432083: int EVP_CIPHER_CTX_set_padding(EVP_CIPHER_CTX *c, int pad);
2432083: int EVP_CIPHER_CTX_ctrl(EVP_CIPHER_CTX *ctx, int type, int arg, void *ptr);
2432083: int EVP_CIPHER_CTX_rand_key(EVP_CIPHER_CTX *ctx, unsigned char *key);
2432083: int EVP_CIPHER_get_params(EVP_CIPHER *cipher, OSSL_PARAM params[]);
2432083: int EVP_CIPHER_CTX_set_params(EVP_CIPHER_CTX *ctx, const OSSL_PARAM params[]);
2432083: int EVP_CIPHER_CTX_get_params(EVP_CIPHER_CTX *ctx, OSSL_PARAM params[]);
2432083: const OSSL_PARAM *EVP_CIPHER_gettable_params(const EVP_CIPHER *cipher);
2432083: const OSSL_PARAM *EVP_CIPHER_settable_ctx_params(const EVP_CIPHER *cipher);
2432083: const OSSL_PARAM *EVP_CIPHER_gettable_ctx_params(const EVP_CIPHER *cipher);
2432083: const OSSL_PARAM *EVP_CIPHER_CTX_settable_params(EVP_CIPHER_CTX *ctx);
2432083: const OSSL_PARAM *EVP_CIPHER_CTX_gettable_params(EVP_CIPHER_CTX *ctx);
2432083:
2432083: const BIO_METHOD *BIO_f_md(void);
2432083: const BIO_METHOD *BIO_f_base64(void);
2432083: const BIO_METHOD *BIO_f_cipher(void);
2432083: const BIO_METHOD *BIO_f_reliable(void);
2432083: int BIO_set_cipher(BIO *b, const EVP_CIPHER *c, const unsigned char *k,
2432083: const unsigned char *i, int enc);
2432083:
2432083: const EVP_MD *EVP_md_null(void);
2432083:
2432083:
2432083:
2432083:
2432083: const EVP_MD *EVP_md4(void);
2432083:
2432083:
2432083: const EVP_MD *EVP_md5(void);
2432083: const EVP_MD *EVP_md5_sha1(void);
2432083:
2432083:
2432083: const EVP_MD *EVP_blake2b512(void);
2432083: const EVP_MD *EVP_blake2s256(void);
2432083:
2432083: const EVP_MD *EVP_sha1(void);
2432083: const EVP_MD *EVP_sha224(void);
2432083: const EVP_MD *EVP_sha256(void);
2432083: const EVP_MD *EVP_sha384(void);
2432083: const EVP_MD *EVP_sha512(void);
2432083: const EVP_MD *EVP_sha512_224(void);
2432083: const EVP_MD *EVP_sha512_256(void);
2432083: const EVP_MD *EVP_sha3_224(void);
2432083: const EVP_MD *EVP_sha3_256(void);
2432083: const EVP_MD *EVP_sha3_384(void);
2432083: const EVP_MD *EVP_sha3_512(void);
2432083: const EVP_MD *EVP_shake128(void);
2432083: const EVP_MD *EVP_shake256(void);
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: const EVP_MD *EVP_ripemd160(void);
2432083:
2432083:
2432083: const EVP_MD *EVP_whirlpool(void);
2432083:
2432083:
2432083: const EVP_MD *EVP_sm3(void);
2432083:
2432083: const EVP_CIPHER *EVP_enc_null(void);
2432083:
2432083: const EVP_CIPHER *EVP_des_ecb(void);
2432083: const EVP_CIPHER *EVP_des_ede(void);
2432083: const EVP_CIPHER *EVP_des_ede3(void);
2432083: const EVP_CIPHER *EVP_des_ede_ecb(void);
2432083: const EVP_CIPHER *EVP_des_ede3_ecb(void);
2432083: const EVP_CIPHER *EVP_des_cfb64(void);
2432083:
2432083: const EVP_CIPHER *EVP_des_cfb1(void);
2432083: const EVP_CIPHER *EVP_des_cfb8(void);
2432083: const EVP_CIPHER *EVP_des_ede_cfb64(void);
2432083:
2432083: const EVP_CIPHER *EVP_des_ede3_cfb64(void);
2432083:
2432083: const EVP_CIPHER *EVP_des_ede3_cfb1(void);
2432083: const EVP_CIPHER *EVP_des_ede3_cfb8(void);
2432083: const EVP_CIPHER *EVP_des_ofb(void);
2432083: const EVP_CIPHER *EVP_des_ede_ofb(void);
2432083: const EVP_CIPHER *EVP_des_ede3_ofb(void);
2432083: const EVP_CIPHER *EVP_des_cbc(void);
2432083: const EVP_CIPHER *EVP_des_ede_cbc(void);
2432083: const EVP_CIPHER *EVP_des_ede3_cbc(void);
2432083: const EVP_CIPHER *EVP_desx_cbc(void);
2432083: const EVP_CIPHER *EVP_des_ede3_wrap(void);
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: const EVP_CIPHER *EVP_rc4(void);
2432083: const EVP_CIPHER *EVP_rc4_40(void);
2432083:
2432083: const EVP_CIPHER *EVP_rc4_hmac_md5(void);
2432083: # 987 "/usr/include/openssl/evp.h" 3 4
2432083: const EVP_CIPHER *EVP_rc2_ecb(void);
2432083: const EVP_CIPHER *EVP_rc2_cbc(void);
2432083: const EVP_CIPHER *EVP_rc2_40_cbc(void);
2432083: const EVP_CIPHER *EVP_rc2_64_cbc(void);
2432083: const EVP_CIPHER *EVP_rc2_cfb64(void);
2432083:
2432083: const EVP_CIPHER *EVP_rc2_ofb(void);
2432083:
2432083:
2432083: const EVP_CIPHER *EVP_bf_ecb(void);
2432083: const EVP_CIPHER *EVP_bf_cbc(void);
2432083: const EVP_CIPHER *EVP_bf_cfb64(void);
2432083:
2432083: const EVP_CIPHER *EVP_bf_ofb(void);
2432083:
2432083:
2432083: const EVP_CIPHER *EVP_cast5_ecb(void);
2432083: const EVP_CIPHER *EVP_cast5_cbc(void);
2432083: const EVP_CIPHER *EVP_cast5_cfb64(void);
2432083:
2432083: const EVP_CIPHER *EVP_cast5_ofb(void);
2432083: # 1016 "/usr/include/openssl/evp.h" 3 4
2432083: const EVP_CIPHER *EVP_aes_128_ecb(void);
2432083: const EVP_CIPHER *EVP_aes_128_cbc(void);
2432083: const EVP_CIPHER *EVP_aes_128_cfb1(void);
2432083: const EVP_CIPHER *EVP_aes_128_cfb8(void);
2432083: const EVP_CIPHER *EVP_aes_128_cfb128(void);
2432083:
2432083: const EVP_CIPHER *EVP_aes_128_ofb(void);
2432083: const EVP_CIPHER *EVP_aes_128_ctr(void);
2432083: const EVP_CIPHER *EVP_aes_128_ccm(void);
2432083: const EVP_CIPHER *EVP_aes_128_gcm(void);
2432083: const EVP_CIPHER *EVP_aes_128_xts(void);
2432083: const EVP_CIPHER *EVP_aes_128_wrap(void);
2432083: const EVP_CIPHER *EVP_aes_128_wrap_pad(void);
2432083:
2432083: const EVP_CIPHER *EVP_aes_128_ocb(void);
2432083:
2432083: const EVP_CIPHER *EVP_aes_192_ecb(void);
2432083: const EVP_CIPHER *EVP_aes_192_cbc(void);
2432083: const EVP_CIPHER *EVP_aes_192_cfb1(void);
2432083: const EVP_CIPHER *EVP_aes_192_cfb8(void);
2432083: const EVP_CIPHER *EVP_aes_192_cfb128(void);
2432083:
2432083: const EVP_CIPHER *EVP_aes_192_ofb(void);
2432083: const EVP_CIPHER *EVP_aes_192_ctr(void);
2432083: const EVP_CIPHER *EVP_aes_192_ccm(void);
2432083: const EVP_CIPHER *EVP_aes_192_gcm(void);
2432083: const EVP_CIPHER *EVP_aes_192_wrap(void);
2432083: const EVP_CIPHER *EVP_aes_192_wrap_pad(void);
2432083:
2432083: const EVP_CIPHER *EVP_aes_192_ocb(void);
2432083:
2432083: const EVP_CIPHER *EVP_aes_256_ecb(void);
2432083: const EVP_CIPHER *EVP_aes_256_cbc(void);
2432083: const EVP_CIPHER *EVP_aes_256_cfb1(void);
2432083: const EVP_CIPHER *EVP_aes_256_cfb8(void);
2432083: const EVP_CIPHER *EVP_aes_256_cfb128(void);
2432083:
2432083: const EVP_CIPHER *EVP_aes_256_ofb(void);
2432083: const EVP_CIPHER *EVP_aes_256_ctr(void);
2432083: const EVP_CIPHER *EVP_aes_256_ccm(void);
2432083: const EVP_CIPHER *EVP_aes_256_gcm(void);
2432083: const EVP_CIPHER *EVP_aes_256_xts(void);
2432083: const EVP_CIPHER *EVP_aes_256_wrap(void);
2432083: const EVP_CIPHER *EVP_aes_256_wrap_pad(void);
2432083:
2432083: const EVP_CIPHER *EVP_aes_256_ocb(void);
2432083:
2432083: const EVP_CIPHER *EVP_aes_128_cbc_hmac_sha1(void);
2432083: const EVP_CIPHER *EVP_aes_256_cbc_hmac_sha1(void);
2432083: const EVP_CIPHER *EVP_aes_128_cbc_hmac_sha256(void);
2432083: const EVP_CIPHER *EVP_aes_256_cbc_hmac_sha256(void);
2432083:
2432083: const EVP_CIPHER *EVP_aria_128_ecb(void);
2432083: const EVP_CIPHER *EVP_aria_128_cbc(void);
2432083: const EVP_CIPHER *EVP_aria_128_cfb1(void);
2432083: const EVP_CIPHER *EVP_aria_128_cfb8(void);
2432083: const EVP_CIPHER *EVP_aria_128_cfb128(void);
2432083:
2432083: const EVP_CIPHER *EVP_aria_128_ctr(void);
2432083: const EVP_CIPHER *EVP_aria_128_ofb(void);
2432083: const EVP_CIPHER *EVP_aria_128_gcm(void);
2432083: const EVP_CIPHER *EVP_aria_128_ccm(void);
2432083: const EVP_CIPHER *EVP_aria_192_ecb(void);
2432083: const EVP_CIPHER *EVP_aria_192_cbc(void);
2432083: const EVP_CIPHER *EVP_aria_192_cfb1(void);
2432083: const EVP_CIPHER *EVP_aria_192_cfb8(void);
2432083: const EVP_CIPHER *EVP_aria_192_cfb128(void);
2432083:
2432083: const EVP_CIPHER *EVP_aria_192_ctr(void);
2432083: const EVP_CIPHER *EVP_aria_192_ofb(void);
2432083: const EVP_CIPHER *EVP_aria_192_gcm(void);
2432083: const EVP_CIPHER *EVP_aria_192_ccm(void);
2432083: const EVP_CIPHER *EVP_aria_256_ecb(void);
2432083: const EVP_CIPHER *EVP_aria_256_cbc(void);
2432083: const EVP_CIPHER *EVP_aria_256_cfb1(void);
2432083: const EVP_CIPHER *EVP_aria_256_cfb8(void);
2432083: const EVP_CIPHER *EVP_aria_256_cfb128(void);
2432083:
2432083: const EVP_CIPHER *EVP_aria_256_ctr(void);
2432083: const EVP_CIPHER *EVP_aria_256_ofb(void);
2432083: const EVP_CIPHER *EVP_aria_256_gcm(void);
2432083: const EVP_CIPHER *EVP_aria_256_ccm(void);
2432083:
2432083:
2432083: const EVP_CIPHER *EVP_camellia_128_ecb(void);
2432083: const EVP_CIPHER *EVP_camellia_128_cbc(void);
2432083: const EVP_CIPHER *EVP_camellia_128_cfb1(void);
2432083: const EVP_CIPHER *EVP_camellia_128_cfb8(void);
2432083: const EVP_CIPHER *EVP_camellia_128_cfb128(void);
2432083:
2432083: const EVP_CIPHER *EVP_camellia_128_ofb(void);
2432083: const EVP_CIPHER *EVP_camellia_128_ctr(void);
2432083: const EVP_CIPHER *EVP_camellia_192_ecb(void);
2432083: const EVP_CIPHER *EVP_camellia_192_cbc(void);
2432083: const EVP_CIPHER *EVP_camellia_192_cfb1(void);
2432083: const EVP_CIPHER *EVP_camellia_192_cfb8(void);
2432083: const EVP_CIPHER *EVP_camellia_192_cfb128(void);
2432083:
2432083: const EVP_CIPHER *EVP_camellia_192_ofb(void);
2432083: const EVP_CIPHER *EVP_camellia_192_ctr(void);
2432083: const EVP_CIPHER *EVP_camellia_256_ecb(void);
2432083: const EVP_CIPHER *EVP_camellia_256_cbc(void);
2432083: const EVP_CIPHER *EVP_camellia_256_cfb1(void);
2432083: const EVP_CIPHER *EVP_camellia_256_cfb8(void);
2432083: const EVP_CIPHER *EVP_camellia_256_cfb128(void);
2432083:
2432083: const EVP_CIPHER *EVP_camellia_256_ofb(void);
2432083: const EVP_CIPHER *EVP_camellia_256_ctr(void);
2432083:
2432083:
2432083: const EVP_CIPHER *EVP_chacha20(void);
2432083:
2432083: const EVP_CIPHER *EVP_chacha20_poly1305(void);
2432083:
2432083:
2432083:
2432083:
2432083: const EVP_CIPHER *EVP_seed_ecb(void);
2432083: const EVP_CIPHER *EVP_seed_cbc(void);
2432083: const EVP_CIPHER *EVP_seed_cfb128(void);
2432083:
2432083: const EVP_CIPHER *EVP_seed_ofb(void);
2432083:
2432083:
2432083:
2432083: const EVP_CIPHER *EVP_sm4_ecb(void);
2432083: const EVP_CIPHER *EVP_sm4_cbc(void);
2432083: const EVP_CIPHER *EVP_sm4_cfb128(void);
2432083:
2432083: const EVP_CIPHER *EVP_sm4_ofb(void);
2432083: const EVP_CIPHER *EVP_sm4_ctr(void);
2432083: # 1172 "/usr/include/openssl/evp.h" 3 4
2432083: int EVP_add_cipher(const EVP_CIPHER *cipher);
2432083: int EVP_add_digest(const EVP_MD *digest);
2432083:
2432083: const EVP_CIPHER *EVP_get_cipherbyname(const char *name);
2432083: const EVP_MD *EVP_get_digestbyname(const char *name);
2432083:
2432083: void EVP_CIPHER_do_all(void (*fn) (const EVP_CIPHER *ciph,
2432083: const char *from, const char *to, void *x),
2432083: void *arg);
2432083: void EVP_CIPHER_do_all_sorted(void (*fn)
2432083: (const EVP_CIPHER *ciph, const char *from,
2432083: const char *to, void *x), void *arg);
2432083: void EVP_CIPHER_do_all_provided(OSSL_LIB_CTX *libctx,
2432083: void (*fn)(EVP_CIPHER *cipher, void *arg),
2432083: void *arg);
2432083:
2432083: void EVP_MD_do_all(void (*fn) (const EVP_MD *ciph,
2432083: const char *from, const char *to, void *x),
2432083: void *arg);
2432083: void EVP_MD_do_all_sorted(void (*fn)
2432083: (const EVP_MD *ciph, const char *from,
2432083: const char *to, void *x), void *arg);
2432083: void EVP_MD_do_all_provided(OSSL_LIB_CTX *libctx,
2432083: void (*fn)(EVP_MD *md, void *arg),
2432083: void *arg);
2432083:
2432083:
2432083:
2432083: EVP_MAC *EVP_MAC_fetch(OSSL_LIB_CTX *libctx, const char *algorithm,
2432083: const char *properties);
2432083: int EVP_MAC_up_ref(EVP_MAC *mac);
2432083: void EVP_MAC_free(EVP_MAC *mac);
2432083: const char *EVP_MAC_get0_name(const EVP_MAC *mac);
2432083: const char *EVP_MAC_get0_description(const EVP_MAC *mac);
2432083: int EVP_MAC_is_a(const EVP_MAC *mac, const char *name);
2432083: const OSSL_PROVIDER *EVP_MAC_get0_provider(const EVP_MAC *mac);
2432083: int EVP_MAC_get_params(EVP_MAC *mac, OSSL_PARAM params[]);
2432083:
2432083: EVP_MAC_CTX *EVP_MAC_CTX_new(EVP_MAC *mac);
2432083: void EVP_MAC_CTX_free(EVP_MAC_CTX *ctx);
2432083: EVP_MAC_CTX *EVP_MAC_CTX_dup(const EVP_MAC_CTX *src);
2432083: EVP_MAC *EVP_MAC_CTX_get0_mac(EVP_MAC_CTX *ctx);
2432083: int EVP_MAC_CTX_get_params(EVP_MAC_CTX *ctx, OSSL_PARAM params[]);
2432083: int EVP_MAC_CTX_set_params(EVP_MAC_CTX *ctx, const OSSL_PARAM params[]);
2432083:
2432083: size_t EVP_MAC_CTX_get_mac_size(EVP_MAC_CTX *ctx);
2432083: size_t EVP_MAC_CTX_get_block_size(EVP_MAC_CTX *ctx);
2432083: unsigned char *EVP_Q_mac(OSSL_LIB_CTX *libctx, const char *name, const char *propq,
2432083: const char *subalg, const OSSL_PARAM *params,
2432083: const void *key, size_t keylen,
2432083: const unsigned char *data, size_t datalen,
2432083: unsigned char *out, size_t outsize, size_t *outlen);
2432083: int EVP_MAC_init(EVP_MAC_CTX *ctx, const unsigned char *key, size_t keylen,
2432083: const OSSL_PARAM params[]);
2432083: int EVP_MAC_update(EVP_MAC_CTX *ctx, const unsigned char *data, size_t datalen);
2432083: int EVP_MAC_final(EVP_MAC_CTX *ctx,
2432083: unsigned char *out, size_t *outl, size_t outsize);
2432083: int EVP_MAC_finalXOF(EVP_MAC_CTX *ctx, unsigned char *out, size_t outsize);
2432083: const OSSL_PARAM *EVP_MAC_gettable_params(const EVP_MAC *mac);
2432083: const OSSL_PARAM *EVP_MAC_gettable_ctx_params(const EVP_MAC *mac);
2432083: const OSSL_PARAM *EVP_MAC_settable_ctx_params(const EVP_MAC *mac);
2432083: const OSSL_PARAM *EVP_MAC_CTX_gettable_params(EVP_MAC_CTX *ctx);
2432083: const OSSL_PARAM *EVP_MAC_CTX_settable_params(EVP_MAC_CTX *ctx);
2432083:
2432083: void EVP_MAC_do_all_provided(OSSL_LIB_CTX *libctx,
2432083: void (*fn)(EVP_MAC *mac, void *arg),
2432083: void *arg);
2432083: int EVP_MAC_names_do_all(const EVP_MAC *mac,
2432083: void (*fn)(const char *name, void *data),
2432083: void *data);
2432083:
2432083:
2432083: EVP_RAND *EVP_RAND_fetch(OSSL_LIB_CTX *libctx, const char *algorithm,
2432083: const char *properties);
2432083: int EVP_RAND_up_ref(EVP_RAND *rand);
2432083: void EVP_RAND_free(EVP_RAND *rand);
2432083: const char *EVP_RAND_get0_name(const EVP_RAND *rand);
2432083: const char *EVP_RAND_get0_description(const EVP_RAND *md);
2432083: int EVP_RAND_is_a(const EVP_RAND *rand, const char *name);
2432083: const OSSL_PROVIDER *EVP_RAND_get0_provider(const EVP_RAND *rand);
2432083: int EVP_RAND_get_params(EVP_RAND *rand, OSSL_PARAM params[]);
2432083:
2432083: EVP_RAND_CTX *EVP_RAND_CTX_new(EVP_RAND *rand, EVP_RAND_CTX *parent);
2432083: int EVP_RAND_CTX_up_ref(EVP_RAND_CTX *ctx);
2432083: void EVP_RAND_CTX_free(EVP_RAND_CTX *ctx);
2432083: EVP_RAND *EVP_RAND_CTX_get0_rand(EVP_RAND_CTX *ctx);
2432083: int EVP_RAND_CTX_get_params(EVP_RAND_CTX *ctx, OSSL_PARAM params[]);
2432083: int EVP_RAND_CTX_set_params(EVP_RAND_CTX *ctx, const OSSL_PARAM params[]);
2432083: const OSSL_PARAM *EVP_RAND_gettable_params(const EVP_RAND *rand);
2432083: const OSSL_PARAM *EVP_RAND_gettable_ctx_params(const EVP_RAND *rand);
2432083: const OSSL_PARAM *EVP_RAND_settable_ctx_params(const EVP_RAND *rand);
2432083: const OSSL_PARAM *EVP_RAND_CTX_gettable_params(EVP_RAND_CTX *ctx);
2432083: const OSSL_PARAM *EVP_RAND_CTX_settable_params(EVP_RAND_CTX *ctx);
2432083:
2432083: void EVP_RAND_do_all_provided(OSSL_LIB_CTX *libctx,
2432083: void (*fn)(EVP_RAND *rand, void *arg),
2432083: void *arg);
2432083: int EVP_RAND_names_do_all(const EVP_RAND *rand,
2432083: void (*fn)(const char *name, void *data),
2432083: void *data);
2432083:
2432083: int EVP_RAND_instantiate(EVP_RAND_CTX *ctx, unsigned int strength,
2432083: int prediction_resistance,
2432083: const unsigned char *pstr, size_t pstr_len,
2432083: const OSSL_PARAM params[]);
2432083: int EVP_RAND_uninstantiate(EVP_RAND_CTX *ctx);
2432083: int EVP_RAND_generate(EVP_RAND_CTX *ctx, unsigned char *out,
2432083: size_t outlen, unsigned int strength,
2432083: int prediction_resistance,
2432083: const unsigned char *addin, size_t addin_len);
2432083: int EVP_RAND_reseed(EVP_RAND_CTX *ctx, int prediction_resistance,
2432083: const unsigned char *ent, size_t ent_len,
2432083: const unsigned char *addin, size_t addin_len);
2432083: int EVP_RAND_nonce(EVP_RAND_CTX *ctx, unsigned char *out, size_t outlen);
2432083: int EVP_RAND_enable_locking(EVP_RAND_CTX *ctx);
2432083:
2432083: int EVP_RAND_verify_zeroization(EVP_RAND_CTX *ctx);
2432083: unsigned int EVP_RAND_get_strength(EVP_RAND_CTX *ctx);
2432083: int EVP_RAND_get_state(EVP_RAND_CTX *ctx);
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: int EVP_PKEY_decrypt_old(unsigned char *dec_key,
2432083: const unsigned char *enc_key,
2432083: int enc_key_len,
2432083: EVP_PKEY *private_key);
2432083: int EVP_PKEY_encrypt_old(unsigned char *enc_key,
2432083: const unsigned char *key,
2432083: int key_len, EVP_PKEY *pub_key);
2432083:
2432083: int EVP_PKEY_is_a(const EVP_PKEY *pkey, const char *name);
2432083: int EVP_PKEY_type_names_do_all(const EVP_PKEY *pkey,
2432083: void (*fn)(const char *name, void *data),
2432083: void *data);
2432083: int EVP_PKEY_type(int type);
2432083: int EVP_PKEY_get_id(const EVP_PKEY *pkey);
2432083:
2432083: int EVP_PKEY_get_base_id(const EVP_PKEY *pkey);
2432083:
2432083: int EVP_PKEY_get_bits(const EVP_PKEY *pkey);
2432083:
2432083: int EVP_PKEY_get_security_bits(const EVP_PKEY *pkey);
2432083:
2432083: int EVP_PKEY_get_size(const EVP_PKEY *pkey);
2432083:
2432083: int EVP_PKEY_can_sign(const EVP_PKEY *pkey);
2432083: int EVP_PKEY_set_type(EVP_PKEY *pkey, int type);
2432083: int EVP_PKEY_set_type_str(EVP_PKEY *pkey, const char *str, int len);
2432083: int EVP_PKEY_set_type_by_keymgmt(EVP_PKEY *pkey, EVP_KEYMGMT *keymgmt);
2432083:
2432083:
2432083:
2432083: int EVP_PKEY_set1_engine(EVP_PKEY *pkey, ENGINE *e);
2432083:
2432083: ENGINE *EVP_PKEY_get0_engine(const EVP_PKEY *pkey);
2432083:
2432083:
2432083: int EVP_PKEY_assign(EVP_PKEY *pkey, int type, void *key);
2432083:
2432083: void *EVP_PKEY_get0(const EVP_PKEY *pkey);
2432083:
2432083: const unsigned char *EVP_PKEY_get0_hmac(const EVP_PKEY *pkey, size_t *len);
2432083:
2432083:
2432083: const unsigned char *EVP_PKEY_get0_poly1305(const EVP_PKEY *pkey, size_t *len);
2432083:
2432083:
2432083:
2432083: const unsigned char *EVP_PKEY_get0_siphash(const EVP_PKEY *pkey, size_t *len);
2432083:
2432083:
2432083: struct rsa_st;
2432083:
2432083: int EVP_PKEY_set1_RSA(EVP_PKEY *pkey, struct rsa_st *key);
2432083:
2432083: const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey);
2432083:
2432083: struct rsa_st *EVP_PKEY_get1_RSA(EVP_PKEY *pkey);
2432083:
2432083:
2432083: struct dsa_st;
2432083:
2432083: int EVP_PKEY_set1_DSA(EVP_PKEY *pkey, struct dsa_st *key);
2432083:
2432083: const struct dsa_st *EVP_PKEY_get0_DSA(const EVP_PKEY *pkey);
2432083:
2432083: struct dsa_st *EVP_PKEY_get1_DSA(EVP_PKEY *pkey);
2432083:
2432083:
2432083:
2432083: struct dh_st;
2432083: int EVP_PKEY_set1_DH(EVP_PKEY *pkey, struct dh_st *key);
2432083: const struct dh_st *EVP_PKEY_get0_DH(const EVP_PKEY *pkey);
2432083: struct dh_st *EVP_PKEY_get1_DH(EVP_PKEY *pkey);
2432083:
2432083:
2432083:
2432083: struct ec_key_st;
2432083:
2432083: int EVP_PKEY_set1_EC_KEY(EVP_PKEY *pkey, struct ec_key_st *key);
2432083:
2432083: const struct ec_key_st *EVP_PKEY_get0_EC_KEY(const EVP_PKEY *pkey);
2432083:
2432083: struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey);
2432083:
2432083:
2432083:
2432083: EVP_PKEY *EVP_PKEY_new(void);
2432083: int EVP_PKEY_up_ref(EVP_PKEY *pkey);
2432083: EVP_PKEY *EVP_PKEY_dup(EVP_PKEY *pkey);
2432083: void EVP_PKEY_free(EVP_PKEY *pkey);
2432083: const char *EVP_PKEY_get0_description(const EVP_PKEY *pkey);
2432083: const OSSL_PROVIDER *EVP_PKEY_get0_provider(const EVP_PKEY *key);
2432083:
2432083: EVP_PKEY *d2i_PublicKey(int type, EVP_PKEY **a, const unsigned char **pp,
2432083: long length);
2432083: int i2d_PublicKey(const EVP_PKEY *a, unsigned char **pp);
2432083:
2432083:
2432083: EVP_PKEY *d2i_PrivateKey_ex(int type, EVP_PKEY **a, const unsigned char **pp,
2432083: long length, OSSL_LIB_CTX *libctx,
2432083: const char *propq);
2432083: EVP_PKEY *d2i_PrivateKey(int type, EVP_PKEY **a, const unsigned char **pp,
2432083: long length);
2432083: EVP_PKEY *d2i_AutoPrivateKey_ex(EVP_PKEY **a, const unsigned char **pp,
2432083: long length, OSSL_LIB_CTX *libctx,
2432083: const char *propq);
2432083: EVP_PKEY *d2i_AutoPrivateKey(EVP_PKEY **a, const unsigned char **pp,
2432083: long length);
2432083: int i2d_PrivateKey(const EVP_PKEY *a, unsigned char **pp);
2432083:
2432083: int i2d_KeyParams(const EVP_PKEY *a, unsigned char **pp);
2432083: EVP_PKEY *d2i_KeyParams(int type, EVP_PKEY **a, const unsigned char **pp,
2432083: long length);
2432083: int i2d_KeyParams_bio(BIO *bp, const EVP_PKEY *pkey);
2432083: EVP_PKEY *d2i_KeyParams_bio(int type, EVP_PKEY **a, BIO *in);
2432083:
2432083: int EVP_PKEY_copy_parameters(EVP_PKEY *to, const EVP_PKEY *from);
2432083: int EVP_PKEY_missing_parameters(const EVP_PKEY *pkey);
2432083: int EVP_PKEY_save_parameters(EVP_PKEY *pkey, int mode);
2432083: int EVP_PKEY_parameters_eq(const EVP_PKEY *a, const EVP_PKEY *b);
2432083: int EVP_PKEY_eq(const EVP_PKEY *a, const EVP_PKEY *b);
2432083:
2432083:
2432083:
2432083: int EVP_PKEY_cmp_parameters(const EVP_PKEY *a, const EVP_PKEY *b);
2432083:
2432083: int EVP_PKEY_cmp(const EVP_PKEY *a, const EVP_PKEY *b);
2432083:
2432083:
2432083: int EVP_PKEY_print_public(BIO *out, const EVP_PKEY *pkey,
2432083: int indent, ASN1_PCTX *pctx);
2432083: int EVP_PKEY_print_private(BIO *out, const EVP_PKEY *pkey,
2432083: int indent, ASN1_PCTX *pctx);
2432083: int EVP_PKEY_print_params(BIO *out, const EVP_PKEY *pkey,
2432083: int indent, ASN1_PCTX *pctx);
2432083:
2432083: int EVP_PKEY_print_public_fp(FILE *fp, const EVP_PKEY *pkey,
2432083: int indent, ASN1_PCTX *pctx);
2432083: int EVP_PKEY_print_private_fp(FILE *fp, const EVP_PKEY *pkey,
2432083: int indent, ASN1_PCTX *pctx);
2432083: int EVP_PKEY_print_params_fp(FILE *fp, const EVP_PKEY *pkey,
2432083: int indent, ASN1_PCTX *pctx);
2432083:
2432083:
2432083: int EVP_PKEY_get_default_digest_nid(EVP_PKEY *pkey, int *pnid);
2432083: int EVP_PKEY_get_default_digest_name(EVP_PKEY *pkey,
2432083: char *mdname, size_t mdname_sz);
2432083: int EVP_PKEY_digestsign_supports_digest(EVP_PKEY *pkey, OSSL_LIB_CTX *libctx,
2432083: const char *name, const char *propq);
2432083: # 1456 "/usr/include/openssl/evp.h" 3 4
2432083: int EVP_PKEY_set1_encoded_public_key(EVP_PKEY *pkey,
2432083: const unsigned char *pub, size_t publen);
2432083: # 1468 "/usr/include/openssl/evp.h" 3 4
2432083: size_t EVP_PKEY_get1_encoded_public_key(EVP_PKEY *pkey, unsigned char **ppub);
2432083:
2432083:
2432083: int EVP_CIPHER_param_to_asn1(EVP_CIPHER_CTX *c, ASN1_TYPE *type);
2432083: int EVP_CIPHER_asn1_to_param(EVP_CIPHER_CTX *c, ASN1_TYPE *type);
2432083:
2432083:
2432083: int EVP_CIPHER_set_asn1_iv(EVP_CIPHER_CTX *c, ASN1_TYPE *type);
2432083: int EVP_CIPHER_get_asn1_iv(EVP_CIPHER_CTX *c, ASN1_TYPE *type);
2432083:
2432083:
2432083: int PKCS5_PBE_keyivgen(EVP_CIPHER_CTX *ctx, const char *pass, int passlen,
2432083: ASN1_TYPE *param, const EVP_CIPHER *cipher,
2432083: const EVP_MD *md, int en_de);
2432083: int PKCS5_PBE_keyivgen_ex(EVP_CIPHER_CTX *cctx, const char *pass, int passlen,
2432083: ASN1_TYPE *param, const EVP_CIPHER *cipher,
2432083: const EVP_MD *md, int en_de, OSSL_LIB_CTX *libctx,
2432083: const char *propq);
2432083: int PKCS5_PBKDF2_HMAC_SHA1(const char *pass, int passlen,
2432083: const unsigned char *salt, int saltlen, int iter,
2432083: int keylen, unsigned char *out);
2432083: int PKCS5_PBKDF2_HMAC(const char *pass, int passlen,
2432083: const unsigned char *salt, int saltlen, int iter,
2432083: const EVP_MD *digest, int keylen, unsigned char *out);
2432083: int PKCS5_v2_PBE_keyivgen(EVP_CIPHER_CTX *ctx, const char *pass, int passlen,
2432083: ASN1_TYPE *param, const EVP_CIPHER *cipher,
2432083: const EVP_MD *md, int en_de);
2432083: int PKCS5_v2_PBE_keyivgen_ex(EVP_CIPHER_CTX *ctx, const char *pass, int passlen,
2432083: ASN1_TYPE *param, const EVP_CIPHER *cipher,
2432083: const EVP_MD *md, int en_de,
2432083: OSSL_LIB_CTX *libctx, const char *propq);
2432083:
2432083:
2432083: int EVP_PBE_scrypt(const char *pass, size_t passlen,
2432083: const unsigned char *salt, size_t saltlen,
2432083: uint64_t N, uint64_t r, uint64_t p, uint64_t maxmem,
2432083: unsigned char *key, size_t keylen);
2432083: int EVP_PBE_scrypt_ex(const char *pass, size_t passlen,
2432083: const unsigned char *salt, size_t saltlen,
2432083: uint64_t N, uint64_t r, uint64_t p, uint64_t maxmem,
2432083: unsigned char *key, size_t keylen,
2432083: OSSL_LIB_CTX *ctx, const char *propq);
2432083:
2432083: int PKCS5_v2_scrypt_keyivgen(EVP_CIPHER_CTX *ctx, const char *pass,
2432083: int passlen, ASN1_TYPE *param,
2432083: const EVP_CIPHER *c, const EVP_MD *md, int en_de);
2432083: int PKCS5_v2_scrypt_keyivgen_ex(EVP_CIPHER_CTX *ctx, const char *pass,
2432083: int passlen, ASN1_TYPE *param,
2432083: const EVP_CIPHER *c, const EVP_MD *md, int en_de,
2432083: OSSL_LIB_CTX *libctx, const char *propq);
2432083:
2432083:
2432083: void PKCS5_PBE_add(void);
2432083:
2432083: int EVP_PBE_CipherInit(ASN1_OBJECT *pbe_obj, const char *pass, int passlen,
2432083: ASN1_TYPE *param, EVP_CIPHER_CTX *ctx, int en_de);
2432083:
2432083: int EVP_PBE_CipherInit_ex(ASN1_OBJECT *pbe_obj, const char *pass, int passlen,
2432083: ASN1_TYPE *param, EVP_CIPHER_CTX *ctx, int en_de,
2432083: OSSL_LIB_CTX *libctx, const char *propq);
2432083: # 1538 "/usr/include/openssl/evp.h" 3 4
2432083: int EVP_PBE_alg_add_type(int pbe_type, int pbe_nid, int cipher_nid,
2432083: int md_nid, EVP_PBE_KEYGEN *keygen);
2432083: int EVP_PBE_alg_add(int nid, const EVP_CIPHER *cipher, const EVP_MD *md,
2432083: EVP_PBE_KEYGEN *keygen);
2432083: int EVP_PBE_find(int type, int pbe_nid, int *pcnid, int *pmnid,
2432083: EVP_PBE_KEYGEN **pkeygen);
2432083: int EVP_PBE_find_ex(int type, int pbe_nid, int *pcnid, int *pmnid,
2432083: EVP_PBE_KEYGEN **pkeygen, EVP_PBE_KEYGEN_EX **pkeygen_ex);
2432083: void EVP_PBE_cleanup(void);
2432083: int EVP_PBE_get(int *ptype, int *ppbe_nid, size_t num);
2432083: # 1564 "/usr/include/openssl/evp.h" 3 4
2432083: int EVP_PKEY_asn1_get_count(void);
2432083: const EVP_PKEY_ASN1_METHOD *EVP_PKEY_asn1_get0(int idx);
2432083: const EVP_PKEY_ASN1_METHOD *EVP_PKEY_asn1_find(ENGINE **pe, int type);
2432083: const EVP_PKEY_ASN1_METHOD *EVP_PKEY_asn1_find_str(ENGINE **pe,
2432083: const char *str, int len);
2432083: int EVP_PKEY_asn1_add0(const EVP_PKEY_ASN1_METHOD *ameth);
2432083: int EVP_PKEY_asn1_add_alias(int to, int from);
2432083: int EVP_PKEY_asn1_get0_info(int *ppkey_id, int *pkey_base_id,
2432083: int *ppkey_flags, const char **pinfo,
2432083: const char **ppem_str,
2432083: const EVP_PKEY_ASN1_METHOD *ameth);
2432083:
2432083: const EVP_PKEY_ASN1_METHOD *EVP_PKEY_get0_asn1(const EVP_PKEY *pkey);
2432083: EVP_PKEY_ASN1_METHOD *EVP_PKEY_asn1_new(int id, int flags,
2432083: const char *pem_str,
2432083: const char *info);
2432083: void EVP_PKEY_asn1_copy(EVP_PKEY_ASN1_METHOD *dst,
2432083: const EVP_PKEY_ASN1_METHOD *src);
2432083: void EVP_PKEY_asn1_free(EVP_PKEY_ASN1_METHOD *ameth);
2432083: void EVP_PKEY_asn1_set_public(EVP_PKEY_ASN1_METHOD *ameth,
2432083: int (*pub_decode) (EVP_PKEY *pk,
2432083: const X509_PUBKEY *pub),
2432083: int (*pub_encode) (X509_PUBKEY *pub,
2432083: const EVP_PKEY *pk),
2432083: int (*pub_cmp) (const EVP_PKEY *a,
2432083: const EVP_PKEY *b),
2432083: int (*pub_print) (BIO *out,
2432083: const EVP_PKEY *pkey,
2432083: int indent, ASN1_PCTX *pctx),
2432083: int (*pkey_size) (const EVP_PKEY *pk),
2432083: int (*pkey_bits) (const EVP_PKEY *pk));
2432083: void EVP_PKEY_asn1_set_private(EVP_PKEY_ASN1_METHOD *ameth,
2432083: int (*priv_decode) (EVP_PKEY *pk,
2432083: const PKCS8_PRIV_KEY_INFO
2432083: *p8inf),
2432083: int (*priv_encode) (PKCS8_PRIV_KEY_INFO *p8,
2432083: const EVP_PKEY *pk),
2432083: int (*priv_print) (BIO *out,
2432083: const EVP_PKEY *pkey,
2432083: int indent,
2432083: ASN1_PCTX *pctx));
2432083: void EVP_PKEY_asn1_set_param(EVP_PKEY_ASN1_METHOD *ameth,
2432083: int (*param_decode) (EVP_PKEY *pkey,
2432083: const unsigned char **pder,
2432083: int derlen),
2432083: int (*param_encode) (const EVP_PKEY *pkey,
2432083: unsigned char **pder),
2432083: int (*param_missing) (const EVP_PKEY *pk),
2432083: int (*param_copy) (EVP_PKEY *to,
2432083: const EVP_PKEY *from),
2432083: int (*param_cmp) (const EVP_PKEY *a,
2432083: const EVP_PKEY *b),
2432083: int (*param_print) (BIO *out,
2432083: const EVP_PKEY *pkey,
2432083: int indent,
2432083: ASN1_PCTX *pctx));
2432083:
2432083: void EVP_PKEY_asn1_set_free(EVP_PKEY_ASN1_METHOD *ameth,
2432083: void (*pkey_free) (EVP_PKEY *pkey));
2432083: void EVP_PKEY_asn1_set_ctrl(EVP_PKEY_ASN1_METHOD *ameth,
2432083: int (*pkey_ctrl) (EVP_PKEY *pkey, int op,
2432083: long arg1, void *arg2));
2432083: void EVP_PKEY_asn1_set_item(EVP_PKEY_ASN1_METHOD *ameth,
2432083: int (*item_verify) (EVP_MD_CTX *ctx,
2432083: const ASN1_ITEM *it,
2432083: const void *data,
2432083: const X509_ALGOR *a,
2432083: const ASN1_BIT_STRING *sig,
2432083: EVP_PKEY *pkey),
2432083: int (*item_sign) (EVP_MD_CTX *ctx,
2432083: const ASN1_ITEM *it,
2432083: const void *data,
2432083: X509_ALGOR *alg1,
2432083: X509_ALGOR *alg2,
2432083: ASN1_BIT_STRING *sig));
2432083:
2432083: void EVP_PKEY_asn1_set_siginf(EVP_PKEY_ASN1_METHOD *ameth,
2432083: int (*siginf_set) (X509_SIG_INFO *siginf,
2432083: const X509_ALGOR *alg,
2432083: const ASN1_STRING *sig));
2432083:
2432083: void EVP_PKEY_asn1_set_check(EVP_PKEY_ASN1_METHOD *ameth,
2432083: int (*pkey_check) (const EVP_PKEY *pk));
2432083:
2432083: void EVP_PKEY_asn1_set_public_check(EVP_PKEY_ASN1_METHOD *ameth,
2432083: int (*pkey_pub_check) (const EVP_PKEY *pk));
2432083:
2432083: void EVP_PKEY_asn1_set_param_check(EVP_PKEY_ASN1_METHOD *ameth,
2432083: int (*pkey_param_check) (const EVP_PKEY *pk));
2432083:
2432083: void EVP_PKEY_asn1_set_set_priv_key(EVP_PKEY_ASN1_METHOD *ameth,
2432083: int (*set_priv_key) (EVP_PKEY *pk,
2432083: const unsigned char
2432083: *priv,
2432083: size_t len));
2432083: void EVP_PKEY_asn1_set_set_pub_key(EVP_PKEY_ASN1_METHOD *ameth,
2432083: int (*set_pub_key) (EVP_PKEY *pk,
2432083: const unsigned char *pub,
2432083: size_t len));
2432083: void EVP_PKEY_asn1_set_get_priv_key(EVP_PKEY_ASN1_METHOD *ameth,
2432083: int (*get_priv_key) (const EVP_PKEY *pk,
2432083: unsigned char *priv,
2432083: size_t *len));
2432083: void EVP_PKEY_asn1_set_get_pub_key(EVP_PKEY_ASN1_METHOD *ameth,
2432083: int (*get_pub_key) (const EVP_PKEY *pk,
2432083: unsigned char *pub,
2432083: size_t *len));
2432083:
2432083: void EVP_PKEY_asn1_set_security_bits(EVP_PKEY_ASN1_METHOD *ameth,
2432083: int (*pkey_security_bits) (const EVP_PKEY
2432083: *pk));
2432083:
2432083: int EVP_PKEY_CTX_get_signature_md(EVP_PKEY_CTX *ctx, const EVP_MD **md);
2432083: int EVP_PKEY_CTX_set_signature_md(EVP_PKEY_CTX *ctx, const EVP_MD *md);
2432083:
2432083: int EVP_PKEY_CTX_set1_id(EVP_PKEY_CTX *ctx, const void *id, int len);
2432083: int EVP_PKEY_CTX_get1_id(EVP_PKEY_CTX *ctx, void *id);
2432083: int EVP_PKEY_CTX_get1_id_len(EVP_PKEY_CTX *ctx, size_t *id_len);
2432083:
2432083: int EVP_PKEY_CTX_set_kem_op(EVP_PKEY_CTX *ctx, const char *op);
2432083:
2432083: const char *EVP_PKEY_get0_type_name(const EVP_PKEY *key);
2432083: # 1716 "/usr/include/openssl/evp.h" 3 4
2432083: int EVP_PKEY_CTX_set_mac_key(EVP_PKEY_CTX *ctx, const unsigned char *key,
2432083: int keylen);
2432083: # 1748 "/usr/include/openssl/evp.h" 3 4
2432083: const EVP_PKEY_METHOD *EVP_PKEY_meth_find(int type);
2432083: EVP_PKEY_METHOD *EVP_PKEY_meth_new(int id, int flags);
2432083: void EVP_PKEY_meth_get0_info(int *ppkey_id, int *pflags,
2432083: const EVP_PKEY_METHOD *meth);
2432083: void EVP_PKEY_meth_copy(EVP_PKEY_METHOD *dst,
2432083: const EVP_PKEY_METHOD *src);
2432083: void EVP_PKEY_meth_free(EVP_PKEY_METHOD *pmeth);
2432083: int EVP_PKEY_meth_add0(const EVP_PKEY_METHOD *pmeth);
2432083: int EVP_PKEY_meth_remove(const EVP_PKEY_METHOD *pmeth);
2432083: size_t EVP_PKEY_meth_get_count(void);
2432083: const EVP_PKEY_METHOD *EVP_PKEY_meth_get0(size_t idx);
2432083:
2432083:
2432083: EVP_KEYMGMT *EVP_KEYMGMT_fetch(OSSL_LIB_CTX *ctx, const char *algorithm,
2432083: const char *properties);
2432083: int EVP_KEYMGMT_up_ref(EVP_KEYMGMT *keymgmt);
2432083: void EVP_KEYMGMT_free(EVP_KEYMGMT *keymgmt);
2432083: const OSSL_PROVIDER *EVP_KEYMGMT_get0_provider(const EVP_KEYMGMT *keymgmt);
2432083: const char *EVP_KEYMGMT_get0_name(const EVP_KEYMGMT *keymgmt);
2432083: const char *EVP_KEYMGMT_get0_description(const EVP_KEYMGMT *keymgmt);
2432083: int EVP_KEYMGMT_is_a(const EVP_KEYMGMT *keymgmt, const char *name);
2432083: void EVP_KEYMGMT_do_all_provided(OSSL_LIB_CTX *libctx,
2432083: void (*fn)(EVP_KEYMGMT *keymgmt, void *arg),
2432083: void *arg);
2432083: int EVP_KEYMGMT_names_do_all(const EVP_KEYMGMT *keymgmt,
2432083: void (*fn)(const char *name, void *data),
2432083: void *data);
2432083: const OSSL_PARAM *EVP_KEYMGMT_gettable_params(const EVP_KEYMGMT *keymgmt);
2432083: const OSSL_PARAM *EVP_KEYMGMT_settable_params(const EVP_KEYMGMT *keymgmt);
2432083: const OSSL_PARAM *EVP_KEYMGMT_gen_settable_params(const EVP_KEYMGMT *keymgmt);
2432083:
2432083: EVP_PKEY_CTX *EVP_PKEY_CTX_new(EVP_PKEY *pkey, ENGINE *e);
2432083: EVP_PKEY_CTX *EVP_PKEY_CTX_new_id(int id, ENGINE *e);
2432083: EVP_PKEY_CTX *EVP_PKEY_CTX_new_from_name(OSSL_LIB_CTX *libctx,
2432083: const char *name,
2432083: const char *propquery);
2432083: EVP_PKEY_CTX *EVP_PKEY_CTX_new_from_pkey(OSSL_LIB_CTX *libctx,
2432083: EVP_PKEY *pkey, const char *propquery);
2432083: EVP_PKEY_CTX *EVP_PKEY_CTX_dup(const EVP_PKEY_CTX *ctx);
2432083: void EVP_PKEY_CTX_free(EVP_PKEY_CTX *ctx);
2432083: int EVP_PKEY_CTX_is_a(EVP_PKEY_CTX *ctx, const char *keytype);
2432083:
2432083: int EVP_PKEY_CTX_get_params(EVP_PKEY_CTX *ctx, OSSL_PARAM *params);
2432083: const OSSL_PARAM *EVP_PKEY_CTX_gettable_params(const EVP_PKEY_CTX *ctx);
2432083: int EVP_PKEY_CTX_set_params(EVP_PKEY_CTX *ctx, const OSSL_PARAM *params);
2432083: const OSSL_PARAM *EVP_PKEY_CTX_settable_params(const EVP_PKEY_CTX *ctx);
2432083: int EVP_PKEY_CTX_ctrl(EVP_PKEY_CTX *ctx, int keytype, int optype,
2432083: int cmd, int p1, void *p2);
2432083: int EVP_PKEY_CTX_ctrl_str(EVP_PKEY_CTX *ctx, const char *type,
2432083: const char *value);
2432083: int EVP_PKEY_CTX_ctrl_uint64(EVP_PKEY_CTX *ctx, int keytype, int optype,
2432083: int cmd, uint64_t value);
2432083:
2432083: int EVP_PKEY_CTX_str2ctrl(EVP_PKEY_CTX *ctx, int cmd, const char *str);
2432083: int EVP_PKEY_CTX_hex2ctrl(EVP_PKEY_CTX *ctx, int cmd, const char *hex);
2432083:
2432083: int EVP_PKEY_CTX_md(EVP_PKEY_CTX *ctx, int optype, int cmd, const char *md);
2432083:
2432083: int EVP_PKEY_CTX_get_operation(EVP_PKEY_CTX *ctx);
2432083: void EVP_PKEY_CTX_set0_keygen_info(EVP_PKEY_CTX *ctx, int *dat, int datlen);
2432083:
2432083: EVP_PKEY *EVP_PKEY_new_mac_key(int type, ENGINE *e,
2432083: const unsigned char *key, int keylen);
2432083: EVP_PKEY *EVP_PKEY_new_raw_private_key_ex(OSSL_LIB_CTX *libctx,
2432083: const char *keytype,
2432083: const char *propq,
2432083: const unsigned char *priv, size_t len);
2432083: EVP_PKEY *EVP_PKEY_new_raw_private_key(int type, ENGINE *e,
2432083: const unsigned char *priv,
2432083: size_t len);
2432083: EVP_PKEY *EVP_PKEY_new_raw_public_key_ex(OSSL_LIB_CTX *libctx,
2432083: const char *keytype, const char *propq,
2432083: const unsigned char *pub, size_t len);
2432083: EVP_PKEY *EVP_PKEY_new_raw_public_key(int type, ENGINE *e,
2432083: const unsigned char *pub,
2432083: size_t len);
2432083: int EVP_PKEY_get_raw_private_key(const EVP_PKEY *pkey, unsigned char *priv,
2432083: size_t *len);
2432083: int EVP_PKEY_get_raw_public_key(const EVP_PKEY *pkey, unsigned char *pub,
2432083: size_t *len);
2432083:
2432083:
2432083:
2432083: EVP_PKEY *EVP_PKEY_new_CMAC_key(ENGINE *e, const unsigned char *priv,
2432083: size_t len, const EVP_CIPHER *cipher);
2432083:
2432083:
2432083: void EVP_PKEY_CTX_set_data(EVP_PKEY_CTX *ctx, void *data);
2432083: void *EVP_PKEY_CTX_get_data(const EVP_PKEY_CTX *ctx);
2432083: EVP_PKEY *EVP_PKEY_CTX_get0_pkey(EVP_PKEY_CTX *ctx);
2432083:
2432083: EVP_PKEY *EVP_PKEY_CTX_get0_peerkey(EVP_PKEY_CTX *ctx);
2432083:
2432083: void EVP_PKEY_CTX_set_app_data(EVP_PKEY_CTX *ctx, void *data);
2432083: void *EVP_PKEY_CTX_get_app_data(EVP_PKEY_CTX *ctx);
2432083:
2432083: void EVP_SIGNATURE_free(EVP_SIGNATURE *signature);
2432083: int EVP_SIGNATURE_up_ref(EVP_SIGNATURE *signature);
2432083: OSSL_PROVIDER *EVP_SIGNATURE_get0_provider(const EVP_SIGNATURE *signature);
2432083: EVP_SIGNATURE *EVP_SIGNATURE_fetch(OSSL_LIB_CTX *ctx, const char *algorithm,
2432083: const char *properties);
2432083: int EVP_SIGNATURE_is_a(const EVP_SIGNATURE *signature, const char *name);
2432083: const char *EVP_SIGNATURE_get0_name(const EVP_SIGNATURE *signature);
2432083: const char *EVP_SIGNATURE_get0_description(const EVP_SIGNATURE *signature);
2432083: void EVP_SIGNATURE_do_all_provided(OSSL_LIB_CTX *libctx,
2432083: void (*fn)(EVP_SIGNATURE *signature,
2432083: void *data),
2432083: void *data);
2432083: int EVP_SIGNATURE_names_do_all(const EVP_SIGNATURE *signature,
2432083: void (*fn)(const char *name, void *data),
2432083: void *data);
2432083: const OSSL_PARAM *EVP_SIGNATURE_gettable_ctx_params(const EVP_SIGNATURE *sig);
2432083: const OSSL_PARAM *EVP_SIGNATURE_settable_ctx_params(const EVP_SIGNATURE *sig);
2432083:
2432083: void EVP_ASYM_CIPHER_free(EVP_ASYM_CIPHER *cipher);
2432083: int EVP_ASYM_CIPHER_up_ref(EVP_ASYM_CIPHER *cipher);
2432083: OSSL_PROVIDER *EVP_ASYM_CIPHER_get0_provider(const EVP_ASYM_CIPHER *cipher);
2432083: EVP_ASYM_CIPHER *EVP_ASYM_CIPHER_fetch(OSSL_LIB_CTX *ctx, const char *algorithm,
2432083: const char *properties);
2432083: int EVP_ASYM_CIPHER_is_a(const EVP_ASYM_CIPHER *cipher, const char *name);
2432083: const char *EVP_ASYM_CIPHER_get0_name(const EVP_ASYM_CIPHER *cipher);
2432083: const char *EVP_ASYM_CIPHER_get0_description(const EVP_ASYM_CIPHER *cipher);
2432083: void EVP_ASYM_CIPHER_do_all_provided(OSSL_LIB_CTX *libctx,
2432083: void (*fn)(EVP_ASYM_CIPHER *cipher,
2432083: void *arg),
2432083: void *arg);
2432083: int EVP_ASYM_CIPHER_names_do_all(const EVP_ASYM_CIPHER *cipher,
2432083: void (*fn)(const char *name, void *data),
2432083: void *data);
2432083: const OSSL_PARAM *EVP_ASYM_CIPHER_gettable_ctx_params(const EVP_ASYM_CIPHER *ciph);
2432083: const OSSL_PARAM *EVP_ASYM_CIPHER_settable_ctx_params(const EVP_ASYM_CIPHER *ciph);
2432083:
2432083: void EVP_KEM_free(EVP_KEM *wrap);
2432083: int EVP_KEM_up_ref(EVP_KEM *wrap);
2432083: OSSL_PROVIDER *EVP_KEM_get0_provider(const EVP_KEM *wrap);
2432083: EVP_KEM *EVP_KEM_fetch(OSSL_LIB_CTX *ctx, const char *algorithm,
2432083: const char *properties);
2432083: int EVP_KEM_is_a(const EVP_KEM *wrap, const char *name);
2432083: const char *EVP_KEM_get0_name(const EVP_KEM *wrap);
2432083: const char *EVP_KEM_get0_description(const EVP_KEM *wrap);
2432083: void EVP_KEM_do_all_provided(OSSL_LIB_CTX *libctx,
2432083: void (*fn)(EVP_KEM *wrap, void *arg), void *arg);
2432083: int EVP_KEM_names_do_all(const EVP_KEM *wrap,
2432083: void (*fn)(const char *name, void *data), void *data);
2432083: const OSSL_PARAM *EVP_KEM_gettable_ctx_params(const EVP_KEM *kem);
2432083: const OSSL_PARAM *EVP_KEM_settable_ctx_params(const EVP_KEM *kem);
2432083:
2432083: int EVP_PKEY_sign_init(EVP_PKEY_CTX *ctx);
2432083: int EVP_PKEY_sign_init_ex(EVP_PKEY_CTX *ctx, const OSSL_PARAM params[]);
2432083: int EVP_PKEY_sign(EVP_PKEY_CTX *ctx,
2432083: unsigned char *sig, size_t *siglen,
2432083: const unsigned char *tbs, size_t tbslen);
2432083: int EVP_PKEY_verify_init(EVP_PKEY_CTX *ctx);
2432083: int EVP_PKEY_verify_init_ex(EVP_PKEY_CTX *ctx, const OSSL_PARAM params[]);
2432083: int EVP_PKEY_verify(EVP_PKEY_CTX *ctx,
2432083: const unsigned char *sig, size_t siglen,
2432083: const unsigned char *tbs, size_t tbslen);
2432083: int EVP_PKEY_verify_recover_init(EVP_PKEY_CTX *ctx);
2432083: int EVP_PKEY_verify_recover_init_ex(EVP_PKEY_CTX *ctx,
2432083: const OSSL_PARAM params[]);
2432083: int EVP_PKEY_verify_recover(EVP_PKEY_CTX *ctx,
2432083: unsigned char *rout, size_t *routlen,
2432083: const unsigned char *sig, size_t siglen);
2432083: int EVP_PKEY_encrypt_init(EVP_PKEY_CTX *ctx);
2432083: int EVP_PKEY_encrypt_init_ex(EVP_PKEY_CTX *ctx, const OSSL_PARAM params[]);
2432083: int EVP_PKEY_encrypt(EVP_PKEY_CTX *ctx,
2432083: unsigned char *out, size_t *outlen,
2432083: const unsigned char *in, size_t inlen);
2432083: int EVP_PKEY_decrypt_init(EVP_PKEY_CTX *ctx);
2432083: int EVP_PKEY_decrypt_init_ex(EVP_PKEY_CTX *ctx, const OSSL_PARAM params[]);
2432083: int EVP_PKEY_decrypt(EVP_PKEY_CTX *ctx,
2432083: unsigned char *out, size_t *outlen,
2432083: const unsigned char *in, size_t inlen);
2432083:
2432083: int EVP_PKEY_derive_init(EVP_PKEY_CTX *ctx);
2432083: int EVP_PKEY_derive_init_ex(EVP_PKEY_CTX *ctx, const OSSL_PARAM params[]);
2432083: int EVP_PKEY_derive_set_peer_ex(EVP_PKEY_CTX *ctx, EVP_PKEY *peer,
2432083: int validate_peer);
2432083: int EVP_PKEY_derive_set_peer(EVP_PKEY_CTX *ctx, EVP_PKEY *peer);
2432083: int EVP_PKEY_derive(EVP_PKEY_CTX *ctx, unsigned char *key, size_t *keylen);
2432083:
2432083: int EVP_PKEY_encapsulate_init(EVP_PKEY_CTX *ctx, const OSSL_PARAM params[]);
2432083: int EVP_PKEY_encapsulate(EVP_PKEY_CTX *ctx,
2432083: unsigned char *wrappedkey, size_t *wrappedkeylen,
2432083: unsigned char *genkey, size_t *genkeylen);
2432083: int EVP_PKEY_decapsulate_init(EVP_PKEY_CTX *ctx, const OSSL_PARAM params[]);
2432083: int EVP_PKEY_decapsulate(EVP_PKEY_CTX *ctx,
2432083: unsigned char *unwrapped, size_t *unwrappedlen,
2432083: const unsigned char *wrapped, size_t wrappedlen);
2432083:
2432083: typedef int EVP_PKEY_gen_cb(EVP_PKEY_CTX *ctx);
2432083:
2432083: int EVP_PKEY_fromdata_init(EVP_PKEY_CTX *ctx);
2432083: int EVP_PKEY_fromdata(EVP_PKEY_CTX *ctx, EVP_PKEY **ppkey, int selection,
2432083: OSSL_PARAM param[]);
2432083: const OSSL_PARAM *EVP_PKEY_fromdata_settable(EVP_PKEY_CTX *ctx, int selection);
2432083:
2432083: int EVP_PKEY_todata(const EVP_PKEY *pkey, int selection, OSSL_PARAM **params);
2432083: int EVP_PKEY_export(const EVP_PKEY *pkey, int selection,
2432083: OSSL_CALLBACK *export_cb, void *export_cbarg);
2432083:
2432083: const OSSL_PARAM *EVP_PKEY_gettable_params(const EVP_PKEY *pkey);
2432083: int EVP_PKEY_get_params(const EVP_PKEY *pkey, OSSL_PARAM params[]);
2432083: int EVP_PKEY_get_int_param(const EVP_PKEY *pkey, const char *key_name,
2432083: int *out);
2432083: int EVP_PKEY_get_size_t_param(const EVP_PKEY *pkey, const char *key_name,
2432083: size_t *out);
2432083: int EVP_PKEY_get_bn_param(const EVP_PKEY *pkey, const char *key_name,
2432083: BIGNUM **bn);
2432083: int EVP_PKEY_get_utf8_string_param(const EVP_PKEY *pkey, const char *key_name,
2432083: char *str, size_t max_buf_sz, size_t *out_sz);
2432083: int EVP_PKEY_get_octet_string_param(const EVP_PKEY *pkey, const char *key_name,
2432083: unsigned char *buf, size_t max_buf_sz,
2432083: size_t *out_sz);
2432083:
2432083: const OSSL_PARAM *EVP_PKEY_settable_params(const EVP_PKEY *pkey);
2432083: int EVP_PKEY_set_params(EVP_PKEY *pkey, OSSL_PARAM params[]);
2432083: int EVP_PKEY_set_int_param(EVP_PKEY *pkey, const char *key_name, int in);
2432083: int EVP_PKEY_set_size_t_param(EVP_PKEY *pkey, const char *key_name, size_t in);
2432083: int EVP_PKEY_set_bn_param(EVP_PKEY *pkey, const char *key_name,
2432083: const BIGNUM *bn);
2432083: int EVP_PKEY_set_utf8_string_param(EVP_PKEY *pkey, const char *key_name,
2432083: const char *str);
2432083: int EVP_PKEY_set_octet_string_param(EVP_PKEY *pkey, const char *key_name,
2432083: const unsigned char *buf, size_t bsize);
2432083:
2432083: int EVP_PKEY_get_ec_point_conv_form(const EVP_PKEY *pkey);
2432083: int EVP_PKEY_get_field_type(const EVP_PKEY *pkey);
2432083:
2432083: EVP_PKEY *EVP_PKEY_Q_keygen(OSSL_LIB_CTX *libctx, const char *propq,
2432083: const char *type, ...);
2432083: int EVP_PKEY_paramgen_init(EVP_PKEY_CTX *ctx);
2432083: int EVP_PKEY_paramgen(EVP_PKEY_CTX *ctx, EVP_PKEY **ppkey);
2432083: int EVP_PKEY_keygen_init(EVP_PKEY_CTX *ctx);
2432083: int EVP_PKEY_keygen(EVP_PKEY_CTX *ctx, EVP_PKEY **ppkey);
2432083: int EVP_PKEY_generate(EVP_PKEY_CTX *ctx, EVP_PKEY **ppkey);
2432083: int EVP_PKEY_check(EVP_PKEY_CTX *ctx);
2432083: int EVP_PKEY_public_check(EVP_PKEY_CTX *ctx);
2432083: int EVP_PKEY_public_check_quick(EVP_PKEY_CTX *ctx);
2432083: int EVP_PKEY_param_check(EVP_PKEY_CTX *ctx);
2432083: int EVP_PKEY_param_check_quick(EVP_PKEY_CTX *ctx);
2432083: int EVP_PKEY_private_check(EVP_PKEY_CTX *ctx);
2432083: int EVP_PKEY_pairwise_check(EVP_PKEY_CTX *ctx);
2432083:
2432083:
2432083:
2432083: int EVP_PKEY_set_ex_data(EVP_PKEY *key, int idx, void *arg);
2432083: void *EVP_PKEY_get_ex_data(const EVP_PKEY *key, int idx);
2432083:
2432083: void EVP_PKEY_CTX_set_cb(EVP_PKEY_CTX *ctx, EVP_PKEY_gen_cb *cb);
2432083: EVP_PKEY_gen_cb *EVP_PKEY_CTX_get_cb(EVP_PKEY_CTX *ctx);
2432083:
2432083: int EVP_PKEY_CTX_get_keygen_info(EVP_PKEY_CTX *ctx, int idx);
2432083:
2432083: void EVP_PKEY_meth_set_init(EVP_PKEY_METHOD *pmeth,
2432083: int (*init) (EVP_PKEY_CTX *ctx));
2432083: void EVP_PKEY_meth_set_copy
2432083: (EVP_PKEY_METHOD *pmeth, int (*copy) (EVP_PKEY_CTX *dst,
2432083: const EVP_PKEY_CTX *src));
2432083: void EVP_PKEY_meth_set_cleanup
2432083: (EVP_PKEY_METHOD *pmeth, void (*cleanup) (EVP_PKEY_CTX *ctx));
2432083: void EVP_PKEY_meth_set_paramgen
2432083: (EVP_PKEY_METHOD *pmeth, int (*paramgen_init) (EVP_PKEY_CTX *ctx),
2432083: int (*paramgen) (EVP_PKEY_CTX *ctx, EVP_PKEY *pkey));
2432083: void EVP_PKEY_meth_set_keygen
2432083: (EVP_PKEY_METHOD *pmeth, int (*keygen_init) (EVP_PKEY_CTX *ctx),
2432083: int (*keygen) (EVP_PKEY_CTX *ctx, EVP_PKEY *pkey));
2432083: void EVP_PKEY_meth_set_sign
2432083: (EVP_PKEY_METHOD *pmeth, int (*sign_init) (EVP_PKEY_CTX *ctx),
2432083: int (*sign) (EVP_PKEY_CTX *ctx, unsigned char *sig, size_t *siglen,
2432083: const unsigned char *tbs, size_t tbslen));
2432083: void EVP_PKEY_meth_set_verify
2432083: (EVP_PKEY_METHOD *pmeth, int (*verify_init) (EVP_PKEY_CTX *ctx),
2432083: int (*verify) (EVP_PKEY_CTX *ctx, const unsigned char *sig, size_t siglen,
2432083: const unsigned char *tbs, size_t tbslen));
2432083: void EVP_PKEY_meth_set_verify_recover
2432083: (EVP_PKEY_METHOD *pmeth, int (*verify_recover_init) (EVP_PKEY_CTX *ctx),
2432083: int (*verify_recover) (EVP_PKEY_CTX *ctx, unsigned char *sig,
2432083: size_t *siglen, const unsigned char *tbs,
2432083: size_t tbslen));
2432083: void EVP_PKEY_meth_set_signctx
2432083: (EVP_PKEY_METHOD *pmeth, int (*signctx_init) (EVP_PKEY_CTX *ctx,
2432083: EVP_MD_CTX *mctx),
2432083: int (*signctx) (EVP_PKEY_CTX *ctx, unsigned char *sig, size_t *siglen,
2432083: EVP_MD_CTX *mctx));
2432083: void EVP_PKEY_meth_set_verifyctx
2432083: (EVP_PKEY_METHOD *pmeth, int (*verifyctx_init) (EVP_PKEY_CTX *ctx,
2432083: EVP_MD_CTX *mctx),
2432083: int (*verifyctx) (EVP_PKEY_CTX *ctx, const unsigned char *sig, int siglen,
2432083: EVP_MD_CTX *mctx));
2432083: void EVP_PKEY_meth_set_encrypt
2432083: (EVP_PKEY_METHOD *pmeth, int (*encrypt_init) (EVP_PKEY_CTX *ctx),
2432083: int (*encryptfn) (EVP_PKEY_CTX *ctx, unsigned char *out, size_t *outlen,
2432083: const unsigned char *in, size_t inlen));
2432083: void EVP_PKEY_meth_set_decrypt
2432083: (EVP_PKEY_METHOD *pmeth, int (*decrypt_init) (EVP_PKEY_CTX *ctx),
2432083: int (*decrypt) (EVP_PKEY_CTX *ctx, unsigned char *out, size_t *outlen,
2432083: const unsigned char *in, size_t inlen));
2432083: void EVP_PKEY_meth_set_derive
2432083: (EVP_PKEY_METHOD *pmeth, int (*derive_init) (EVP_PKEY_CTX *ctx),
2432083: int (*derive) (EVP_PKEY_CTX *ctx, unsigned char *key, size_t *keylen));
2432083: void EVP_PKEY_meth_set_ctrl
2432083: (EVP_PKEY_METHOD *pmeth, int (*ctrl) (EVP_PKEY_CTX *ctx, int type, int p1,
2432083: void *p2),
2432083: int (*ctrl_str) (EVP_PKEY_CTX *ctx, const char *type, const char *value));
2432083: void EVP_PKEY_meth_set_digestsign
2432083: (EVP_PKEY_METHOD *pmeth,
2432083: int (*digestsign) (EVP_MD_CTX *ctx, unsigned char *sig, size_t *siglen,
2432083: const unsigned char *tbs, size_t tbslen));
2432083: void EVP_PKEY_meth_set_digestverify
2432083: (EVP_PKEY_METHOD *pmeth,
2432083: int (*digestverify) (EVP_MD_CTX *ctx, const unsigned char *sig,
2432083: size_t siglen, const unsigned char *tbs,
2432083: size_t tbslen));
2432083: void EVP_PKEY_meth_set_check
2432083: (EVP_PKEY_METHOD *pmeth, int (*check) (EVP_PKEY *pkey));
2432083: void EVP_PKEY_meth_set_public_check
2432083: (EVP_PKEY_METHOD *pmeth, int (*check) (EVP_PKEY *pkey));
2432083: void EVP_PKEY_meth_set_param_check
2432083: (EVP_PKEY_METHOD *pmeth, int (*check) (EVP_PKEY *pkey));
2432083: void EVP_PKEY_meth_set_digest_custom
2432083: (EVP_PKEY_METHOD *pmeth, int (*digest_custom) (EVP_PKEY_CTX *ctx,
2432083: EVP_MD_CTX *mctx));
2432083: void EVP_PKEY_meth_get_init
2432083: (const EVP_PKEY_METHOD *pmeth, int (**pinit) (EVP_PKEY_CTX *ctx));
2432083: void EVP_PKEY_meth_get_copy
2432083: (const EVP_PKEY_METHOD *pmeth, int (**pcopy) (EVP_PKEY_CTX *dst,
2432083: const EVP_PKEY_CTX *src));
2432083: void EVP_PKEY_meth_get_cleanup
2432083: (const EVP_PKEY_METHOD *pmeth, void (**pcleanup) (EVP_PKEY_CTX *ctx));
2432083: void EVP_PKEY_meth_get_paramgen
2432083: (const EVP_PKEY_METHOD *pmeth, int (**pparamgen_init) (EVP_PKEY_CTX *ctx),
2432083: int (**pparamgen) (EVP_PKEY_CTX *ctx, EVP_PKEY *pkey));
2432083: void EVP_PKEY_meth_get_keygen
2432083: (const EVP_PKEY_METHOD *pmeth, int (**pkeygen_init) (EVP_PKEY_CTX *ctx),
2432083: int (**pkeygen) (EVP_PKEY_CTX *ctx, EVP_PKEY *pkey));
2432083: void EVP_PKEY_meth_get_sign
2432083: (const EVP_PKEY_METHOD *pmeth, int (**psign_init) (EVP_PKEY_CTX *ctx),
2432083: int (**psign) (EVP_PKEY_CTX *ctx, unsigned char *sig, size_t *siglen,
2432083: const unsigned char *tbs, size_t tbslen));
2432083: void EVP_PKEY_meth_get_verify
2432083: (const EVP_PKEY_METHOD *pmeth, int (**pverify_init) (EVP_PKEY_CTX *ctx),
2432083: int (**pverify) (EVP_PKEY_CTX *ctx, const unsigned char *sig,
2432083: size_t siglen, const unsigned char *tbs, size_t tbslen));
2432083: void EVP_PKEY_meth_get_verify_recover
2432083: (const EVP_PKEY_METHOD *pmeth,
2432083: int (**pverify_recover_init) (EVP_PKEY_CTX *ctx),
2432083: int (**pverify_recover) (EVP_PKEY_CTX *ctx, unsigned char *sig,
2432083: size_t *siglen, const unsigned char *tbs,
2432083: size_t tbslen));
2432083: void EVP_PKEY_meth_get_signctx
2432083: (const EVP_PKEY_METHOD *pmeth,
2432083: int (**psignctx_init) (EVP_PKEY_CTX *ctx, EVP_MD_CTX *mctx),
2432083: int (**psignctx) (EVP_PKEY_CTX *ctx, unsigned char *sig, size_t *siglen,
2432083: EVP_MD_CTX *mctx));
2432083: void EVP_PKEY_meth_get_verifyctx
2432083: (const EVP_PKEY_METHOD *pmeth,
2432083: int (**pverifyctx_init) (EVP_PKEY_CTX *ctx, EVP_MD_CTX *mctx),
2432083: int (**pverifyctx) (EVP_PKEY_CTX *ctx, const unsigned char *sig,
2432083: int siglen, EVP_MD_CTX *mctx));
2432083: void EVP_PKEY_meth_get_encrypt
2432083: (const EVP_PKEY_METHOD *pmeth, int (**pencrypt_init) (EVP_PKEY_CTX *ctx),
2432083: int (**pencryptfn) (EVP_PKEY_CTX *ctx, unsigned char *out, size_t *outlen,
2432083: const unsigned char *in, size_t inlen));
2432083: void EVP_PKEY_meth_get_decrypt
2432083: (const EVP_PKEY_METHOD *pmeth, int (**pdecrypt_init) (EVP_PKEY_CTX *ctx),
2432083: int (**pdecrypt) (EVP_PKEY_CTX *ctx, unsigned char *out, size_t *outlen,
2432083: const unsigned char *in, size_t inlen));
2432083: void EVP_PKEY_meth_get_derive
2432083: (const EVP_PKEY_METHOD *pmeth, int (**pderive_init) (EVP_PKEY_CTX *ctx),
2432083: int (**pderive) (EVP_PKEY_CTX *ctx, unsigned char *key, size_t *keylen));
2432083: void EVP_PKEY_meth_get_ctrl
2432083: (const EVP_PKEY_METHOD *pmeth,
2432083: int (**pctrl) (EVP_PKEY_CTX *ctx, int type, int p1, void *p2),
2432083: int (**pctrl_str) (EVP_PKEY_CTX *ctx, const char *type,
2432083: const char *value));
2432083: void EVP_PKEY_meth_get_digestsign
2432083: (const EVP_PKEY_METHOD *pmeth,
2432083: int (**digestsign) (EVP_MD_CTX *ctx, unsigned char *sig, size_t *siglen,
2432083: const unsigned char *tbs, size_t tbslen));
2432083: void EVP_PKEY_meth_get_digestverify
2432083: (const EVP_PKEY_METHOD *pmeth,
2432083: int (**digestverify) (EVP_MD_CTX *ctx, const unsigned char *sig,
2432083: size_t siglen, const unsigned char *tbs,
2432083: size_t tbslen));
2432083: void EVP_PKEY_meth_get_check
2432083: (const EVP_PKEY_METHOD *pmeth, int (**pcheck) (EVP_PKEY *pkey));
2432083: void EVP_PKEY_meth_get_public_check
2432083: (const EVP_PKEY_METHOD *pmeth, int (**pcheck) (EVP_PKEY *pkey));
2432083: void EVP_PKEY_meth_get_param_check
2432083: (const EVP_PKEY_METHOD *pmeth, int (**pcheck) (EVP_PKEY *pkey));
2432083: void EVP_PKEY_meth_get_digest_custom
2432083: (const EVP_PKEY_METHOD *pmeth,
2432083: int (**pdigest_custom) (EVP_PKEY_CTX *ctx, EVP_MD_CTX *mctx));
2432083:
2432083:
2432083: void EVP_KEYEXCH_free(EVP_KEYEXCH *exchange);
2432083: int EVP_KEYEXCH_up_ref(EVP_KEYEXCH *exchange);
2432083: EVP_KEYEXCH *EVP_KEYEXCH_fetch(OSSL_LIB_CTX *ctx, const char *algorithm,
2432083: const char *properties);
2432083: OSSL_PROVIDER *EVP_KEYEXCH_get0_provider(const EVP_KEYEXCH *exchange);
2432083: int EVP_KEYEXCH_is_a(const EVP_KEYEXCH *keyexch, const char *name);
2432083: const char *EVP_KEYEXCH_get0_name(const EVP_KEYEXCH *keyexch);
2432083: const char *EVP_KEYEXCH_get0_description(const EVP_KEYEXCH *keyexch);
2432083: void EVP_KEYEXCH_do_all_provided(OSSL_LIB_CTX *libctx,
2432083: void (*fn)(EVP_KEYEXCH *keyexch, void *data),
2432083: void *data);
2432083: int EVP_KEYEXCH_names_do_all(const EVP_KEYEXCH *keyexch,
2432083: void (*fn)(const char *name, void *data),
2432083: void *data);
2432083: const OSSL_PARAM *EVP_KEYEXCH_gettable_ctx_params(const EVP_KEYEXCH *keyexch);
2432083: const OSSL_PARAM *EVP_KEYEXCH_settable_ctx_params(const EVP_KEYEXCH *keyexch);
2432083:
2432083: void EVP_add_alg_module(void);
2432083:
2432083: int EVP_PKEY_CTX_set_group_name(EVP_PKEY_CTX *ctx, const char *name);
2432083: int EVP_PKEY_CTX_get_group_name(EVP_PKEY_CTX *ctx, char *name, size_t namelen);
2432083: int EVP_PKEY_get_group_name(const EVP_PKEY *pkey, char *name, size_t name_sz,
2432083: size_t *gname_len);
2432083:
2432083: OSSL_LIB_CTX *EVP_PKEY_CTX_get0_libctx(EVP_PKEY_CTX *ctx);
2432083: const char *EVP_PKEY_CTX_get0_propq(const EVP_PKEY_CTX *ctx);
2432083: const OSSL_PROVIDER *EVP_PKEY_CTX_get0_provider(const EVP_PKEY_CTX *ctx);
2432083: # 26 "../../openbsd-compat/openssl-compat.h" 2
2432083: # 1 "/usr/include/openssl/rsa.h" 1 3 4
2432083: # 12 "/usr/include/openssl/rsa.h" 3 4
2432083:
2432083: # 24 "/usr/include/openssl/rsa.h" 3 4
2432083: # 1 "/usr/include/openssl/types.h" 1 3 4
2432083: # 25 "/usr/include/openssl/rsa.h" 2 3 4
2432083:
2432083:
2432083:
2432083: # 1 "/usr/include/openssl/rsaerr.h" 1 3 4
2432083: # 13 "/usr/include/openssl/rsaerr.h" 3 4
2432083:
2432083: # 29 "/usr/include/openssl/rsa.h" 2 3 4
2432083: # 122 "/usr/include/openssl/rsa.h" 3 4
2432083: int EVP_PKEY_CTX_set_rsa_padding(EVP_PKEY_CTX *ctx, int pad_mode);
2432083: int EVP_PKEY_CTX_get_rsa_padding(EVP_PKEY_CTX *ctx, int *pad_mode);
2432083:
2432083: int EVP_PKEY_CTX_set_rsa_pss_saltlen(EVP_PKEY_CTX *ctx, int saltlen);
2432083: int EVP_PKEY_CTX_get_rsa_pss_saltlen(EVP_PKEY_CTX *ctx, int *saltlen);
2432083:
2432083: int EVP_PKEY_CTX_set_rsa_keygen_bits(EVP_PKEY_CTX *ctx, int bits);
2432083: int EVP_PKEY_CTX_set1_rsa_keygen_pubexp(EVP_PKEY_CTX *ctx, BIGNUM *pubexp);
2432083: int EVP_PKEY_CTX_set_rsa_keygen_primes(EVP_PKEY_CTX *ctx, int primes);
2432083: int EVP_PKEY_CTX_set_rsa_pss_keygen_saltlen(EVP_PKEY_CTX *ctx, int saltlen);
2432083:
2432083:
2432083: int EVP_PKEY_CTX_set_rsa_keygen_pubexp(EVP_PKEY_CTX *ctx, BIGNUM *pubexp);
2432083: # 149 "/usr/include/openssl/rsa.h" 3 4
2432083: int EVP_PKEY_CTX_set_rsa_mgf1_md(EVP_PKEY_CTX *ctx, const EVP_MD *md);
2432083: int EVP_PKEY_CTX_set_rsa_mgf1_md_name(EVP_PKEY_CTX *ctx, const char *mdname,
2432083: const char *mdprops);
2432083: int EVP_PKEY_CTX_get_rsa_mgf1_md(EVP_PKEY_CTX *ctx, const EVP_MD **md);
2432083: int EVP_PKEY_CTX_get_rsa_mgf1_md_name(EVP_PKEY_CTX *ctx, char *name,
2432083: size_t namelen);
2432083: int EVP_PKEY_CTX_set_rsa_pss_keygen_mgf1_md(EVP_PKEY_CTX *ctx, const EVP_MD *md);
2432083: int EVP_PKEY_CTX_set_rsa_pss_keygen_mgf1_md_name(EVP_PKEY_CTX *ctx,
2432083: const char *mdname);
2432083:
2432083: int EVP_PKEY_CTX_set_rsa_pss_keygen_md(EVP_PKEY_CTX *ctx, const EVP_MD *md);
2432083: int EVP_PKEY_CTX_set_rsa_pss_keygen_md_name(EVP_PKEY_CTX *ctx,
2432083: const char *mdname,
2432083: const char *mdprops);
2432083:
2432083: int EVP_PKEY_CTX_set_rsa_oaep_md(EVP_PKEY_CTX *ctx, const EVP_MD *md);
2432083: int EVP_PKEY_CTX_set_rsa_oaep_md_name(EVP_PKEY_CTX *ctx, const char *mdname,
2432083: const char *mdprops);
2432083: int EVP_PKEY_CTX_get_rsa_oaep_md(EVP_PKEY_CTX *ctx, const EVP_MD **md);
2432083: int EVP_PKEY_CTX_get_rsa_oaep_md_name(EVP_PKEY_CTX *ctx, char *name,
2432083: size_t namelen);
2432083: int EVP_PKEY_CTX_set0_rsa_oaep_label(EVP_PKEY_CTX *ctx, void *label, int llen);
2432083: int EVP_PKEY_CTX_get0_rsa_oaep_label(EVP_PKEY_CTX *ctx, unsigned char **label);
2432083: # 207 "/usr/include/openssl/rsa.h" 3 4
2432083: RSA *RSA_new(void);
2432083: RSA *RSA_new_method(ENGINE *engine);
2432083: int RSA_bits(const RSA *rsa);
2432083: int RSA_size(const RSA *rsa);
2432083: int RSA_security_bits(const RSA *rsa);
2432083:
2432083: int RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d);
2432083: int RSA_set0_factors(RSA *r, BIGNUM *p, BIGNUM *q);
2432083: int RSA_set0_crt_params(RSA *r,
2432083: BIGNUM *dmp1, BIGNUM *dmq1,
2432083: BIGNUM *iqmp);
2432083: int RSA_set0_multi_prime_params(RSA *r,
2432083: BIGNUM *primes[],
2432083: BIGNUM *exps[],
2432083: BIGNUM *coeffs[],
2432083: int pnum);
2432083: void RSA_get0_key(const RSA *r,
2432083: const BIGNUM **n, const BIGNUM **e,
2432083: const BIGNUM **d);
2432083: void RSA_get0_factors(const RSA *r,
2432083: const BIGNUM **p, const BIGNUM **q);
2432083: int RSA_get_multi_prime_extra_count(const RSA *r);
2432083: int RSA_get0_multi_prime_factors(const RSA *r,
2432083: const BIGNUM *primes[]);
2432083: void RSA_get0_crt_params(const RSA *r,
2432083: const BIGNUM **dmp1,
2432083: const BIGNUM **dmq1,
2432083: const BIGNUM **iqmp);
2432083:
2432083: int RSA_get0_multi_prime_crt_params(const RSA *r, const BIGNUM *exps[],
2432083: const BIGNUM *coeffs[]);
2432083: const BIGNUM *RSA_get0_n(const RSA *d);
2432083: const BIGNUM *RSA_get0_e(const RSA *d);
2432083: const BIGNUM *RSA_get0_d(const RSA *d);
2432083: const BIGNUM *RSA_get0_p(const RSA *d);
2432083: const BIGNUM *RSA_get0_q(const RSA *d);
2432083: const BIGNUM *RSA_get0_dmp1(const RSA *r);
2432083: const BIGNUM *RSA_get0_dmq1(const RSA *r);
2432083: const BIGNUM *RSA_get0_iqmp(const RSA *r);
2432083: const RSA_PSS_PARAMS *RSA_get0_pss_params(const RSA *r);
2432083: void RSA_clear_flags(RSA *r, int flags);
2432083: int RSA_test_flags(const RSA *r, int flags);
2432083: void RSA_set_flags(RSA *r, int flags);
2432083: int RSA_get_version(RSA *r);
2432083: ENGINE *RSA_get0_engine(const RSA *r);
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: __attribute__((deprecated("Since OpenSSL " "0.9.8"))) RSA *RSA_generate_key(int bits, unsigned long e, void
2432083: (*callback) (int, int, void *),
2432083: void *cb_arg);
2432083:
2432083:
2432083:
2432083:
2432083: int RSA_generate_key_ex(RSA *rsa, int bits, BIGNUM *e,
2432083: BN_GENCB *cb);
2432083:
2432083: int RSA_generate_multi_prime_key(RSA *rsa, int bits,
2432083: int primes, BIGNUM *e,
2432083: BN_GENCB *cb);
2432083:
2432083:
2432083: int RSA_X931_derive_ex(RSA *rsa, BIGNUM *p1, BIGNUM *p2,
2432083: BIGNUM *q1, BIGNUM *q2,
2432083: const BIGNUM *Xp1, const BIGNUM *Xp2,
2432083: const BIGNUM *Xp, const BIGNUM *Xq1,
2432083: const BIGNUM *Xq2, const BIGNUM *Xq,
2432083: const BIGNUM *e, BN_GENCB *cb);
2432083: int RSA_X931_generate_key_ex(RSA *rsa, int bits,
2432083: const BIGNUM *e,
2432083: BN_GENCB *cb);
2432083:
2432083: int RSA_check_key(const RSA *);
2432083: int RSA_check_key_ex(const RSA *, BN_GENCB *cb);
2432083:
2432083:
2432083: int RSA_public_encrypt(int flen, const unsigned char *from, unsigned char *to,
2432083: RSA *rsa, int padding);
2432083:
2432083: int RSA_private_encrypt(int flen, const unsigned char *from, unsigned char *to,
2432083: RSA *rsa, int padding);
2432083:
2432083: int RSA_public_decrypt(int flen, const unsigned char *from, unsigned char *to,
2432083: RSA *rsa, int padding);
2432083:
2432083: int RSA_private_decrypt(int flen, const unsigned char *from, unsigned char *to,
2432083: RSA *rsa, int padding);
2432083: void RSA_free(RSA *r);
2432083:
2432083: int RSA_up_ref(RSA *r);
2432083: int RSA_flags(const RSA *r);
2432083:
2432083: void RSA_set_default_method(const RSA_METHOD *meth);
2432083: const RSA_METHOD *RSA_get_default_method(void);
2432083: const RSA_METHOD *RSA_null_method(void);
2432083: const RSA_METHOD *RSA_get_method(const RSA *rsa);
2432083: int RSA_set_method(RSA *rsa, const RSA_METHOD *meth);
2432083:
2432083:
2432083: const RSA_METHOD *RSA_PKCS1_OpenSSL(void);
2432083:
2432083: RSA *d2i_RSAPublicKey(RSA **a, const unsigned char **in, long len); int i2d_RSAPublicKey(const RSA *a, unsigned char **out); const ASN1_ITEM * RSAPublicKey_it(void);
2432083:
2432083: RSA *d2i_RSAPrivateKey(RSA **a, const unsigned char **in, long len); int i2d_RSAPrivateKey(const RSA *a, unsigned char **out); const ASN1_ITEM * RSAPrivateKey_it(void);
2432083:
2432083:
2432083:
2432083: int RSA_pkey_ctx_ctrl(EVP_PKEY_CTX *ctx, int optype, int cmd, int p1, void *p2);
2432083:
2432083: struct rsa_pss_params_st {
2432083: X509_ALGOR *hashAlgorithm;
2432083: X509_ALGOR *maskGenAlgorithm;
2432083: ASN1_INTEGER *saltLength;
2432083: ASN1_INTEGER *trailerField;
2432083:
2432083: X509_ALGOR *maskHash;
2432083: };
2432083:
2432083: extern RSA_PSS_PARAMS *RSA_PSS_PARAMS_new(void); extern void RSA_PSS_PARAMS_free(RSA_PSS_PARAMS *a); extern RSA_PSS_PARAMS *d2i_RSA_PSS_PARAMS(RSA_PSS_PARAMS **a, const unsigned char **in, long len); extern int i2d_RSA_PSS_PARAMS(const RSA_PSS_PARAMS *a, unsigned char **out); extern const ASN1_ITEM * RSA_PSS_PARAMS_it(void);
2432083: extern RSA_PSS_PARAMS *RSA_PSS_PARAMS_dup(const RSA_PSS_PARAMS *a);
2432083:
2432083: typedef struct rsa_oaep_params_st {
2432083: X509_ALGOR *hashFunc;
2432083: X509_ALGOR *maskGenFunc;
2432083: X509_ALGOR *pSourceFunc;
2432083:
2432083: X509_ALGOR *maskHash;
2432083: } RSA_OAEP_PARAMS;
2432083:
2432083: extern RSA_OAEP_PARAMS *RSA_OAEP_PARAMS_new(void); extern void RSA_OAEP_PARAMS_free(RSA_OAEP_PARAMS *a); extern RSA_OAEP_PARAMS *d2i_RSA_OAEP_PARAMS(RSA_OAEP_PARAMS **a, const unsigned char **in, long len); extern int i2d_RSA_OAEP_PARAMS(const RSA_OAEP_PARAMS *a, unsigned char **out); extern const ASN1_ITEM * RSA_OAEP_PARAMS_it(void);
2432083:
2432083:
2432083:
2432083: int RSA_print_fp(FILE *fp, const RSA *r, int offset);
2432083:
2432083:
2432083: int RSA_print(BIO *bp, const RSA *r, int offset);
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: int RSA_sign(int type, const unsigned char *m,
2432083: unsigned int m_length, unsigned char *sigret,
2432083: unsigned int *siglen, RSA *rsa);
2432083: int RSA_verify(int type, const unsigned char *m,
2432083: unsigned int m_length,
2432083: const unsigned char *sigbuf,
2432083: unsigned int siglen, RSA *rsa);
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: int RSA_sign_ASN1_OCTET_STRING(int type,
2432083: const unsigned char *m, unsigned int m_length,
2432083: unsigned char *sigret, unsigned int *siglen,
2432083: RSA *rsa);
2432083:
2432083: int RSA_verify_ASN1_OCTET_STRING(int type,
2432083: const unsigned char *m, unsigned int m_length,
2432083: unsigned char *sigbuf, unsigned int siglen,
2432083: RSA *rsa);
2432083:
2432083: int RSA_blinding_on(RSA *rsa, BN_CTX *ctx);
2432083: void RSA_blinding_off(RSA *rsa);
2432083: BN_BLINDING *RSA_setup_blinding(RSA *rsa, BN_CTX *ctx);
2432083:
2432083:
2432083: int RSA_padding_add_PKCS1_type_1(unsigned char *to, int tlen,
2432083: const unsigned char *f, int fl);
2432083:
2432083: int RSA_padding_check_PKCS1_type_1(unsigned char *to, int tlen,
2432083: const unsigned char *f, int fl,
2432083: int rsa_len);
2432083:
2432083: int RSA_padding_add_PKCS1_type_2(unsigned char *to, int tlen,
2432083: const unsigned char *f, int fl);
2432083:
2432083: int RSA_padding_check_PKCS1_type_2(unsigned char *to, int tlen,
2432083: const unsigned char *f, int fl,
2432083: int rsa_len);
2432083: int PKCS1_MGF1(unsigned char *mask, long len,
2432083: const unsigned char *seed, long seedlen,
2432083: const EVP_MD *dgst);
2432083:
2432083: int RSA_padding_add_PKCS1_OAEP(unsigned char *to, int tlen,
2432083: const unsigned char *f, int fl,
2432083: const unsigned char *p, int pl);
2432083:
2432083: int RSA_padding_check_PKCS1_OAEP(unsigned char *to, int tlen,
2432083: const unsigned char *f, int fl, int rsa_len,
2432083: const unsigned char *p, int pl);
2432083:
2432083: int RSA_padding_add_PKCS1_OAEP_mgf1(unsigned char *to, int tlen,
2432083: const unsigned char *from, int flen,
2432083: const unsigned char *param, int plen,
2432083: const EVP_MD *md, const EVP_MD *mgf1md);
2432083:
2432083: int RSA_padding_check_PKCS1_OAEP_mgf1(unsigned char *to, int tlen,
2432083: const unsigned char *from, int flen,
2432083: int num,
2432083: const unsigned char *param, int plen,
2432083: const EVP_MD *md, const EVP_MD *mgf1md);
2432083: int RSA_padding_add_none(unsigned char *to, int tlen,
2432083: const unsigned char *f, int fl);
2432083: int RSA_padding_check_none(unsigned char *to, int tlen,
2432083: const unsigned char *f, int fl,
2432083: int rsa_len);
2432083: int RSA_padding_add_X931(unsigned char *to, int tlen,
2432083: const unsigned char *f, int fl);
2432083: int RSA_padding_check_X931(unsigned char *to, int tlen,
2432083: const unsigned char *f, int fl,
2432083: int rsa_len);
2432083: int RSA_X931_hash_id(int nid);
2432083:
2432083:
2432083: int RSA_verify_PKCS1_PSS(RSA *rsa, const unsigned char *mHash,
2432083: const EVP_MD *Hash, const unsigned char *EM,
2432083: int sLen);
2432083:
2432083: int RSA_padding_add_PKCS1_PSS(RSA *rsa, unsigned char *EM,
2432083: const unsigned char *mHash, const EVP_MD *Hash,
2432083: int sLen);
2432083:
2432083:
2432083: int RSA_verify_PKCS1_PSS_mgf1(RSA *rsa, const unsigned char *mHash,
2432083: const EVP_MD *Hash, const EVP_MD *mgf1Hash,
2432083: const unsigned char *EM, int sLen);
2432083:
2432083:
2432083: int RSA_padding_add_PKCS1_PSS_mgf1(RSA *rsa, unsigned char *EM,
2432083: const unsigned char *mHash,
2432083: const EVP_MD *Hash, const EVP_MD *mgf1Hash,
2432083: int sLen);
2432083:
2432083:
2432083:
2432083: int RSA_set_ex_data(RSA *r, int idx, void *arg);
2432083: void *RSA_get_ex_data(const RSA *r, int idx);
2432083:
2432083: RSA *RSAPublicKey_dup(const RSA *a);
2432083: RSA *RSAPrivateKey_dup(const RSA *a);
2432083: # 479 "/usr/include/openssl/rsa.h" 3 4
2432083: RSA_METHOD *RSA_meth_new(const char *name, int flags);
2432083: void RSA_meth_free(RSA_METHOD *meth);
2432083: RSA_METHOD *RSA_meth_dup(const RSA_METHOD *meth);
2432083: const char *RSA_meth_get0_name(const RSA_METHOD *meth);
2432083: int RSA_meth_set1_name(RSA_METHOD *meth,
2432083: const char *name);
2432083: int RSA_meth_get_flags(const RSA_METHOD *meth);
2432083: int RSA_meth_set_flags(RSA_METHOD *meth, int flags);
2432083: void *RSA_meth_get0_app_data(const RSA_METHOD *meth);
2432083: int RSA_meth_set0_app_data(RSA_METHOD *meth,
2432083: void *app_data);
2432083:
2432083: int (*RSA_meth_get_pub_enc(const RSA_METHOD *meth)) (int flen,
2432083: const unsigned char *from,
2432083: unsigned char *to,
2432083: RSA *rsa, int padding);
2432083:
2432083: int RSA_meth_set_pub_enc(RSA_METHOD *rsa,
2432083: int (*pub_enc) (int flen, const unsigned char *from,
2432083: unsigned char *to, RSA *rsa,
2432083: int padding));
2432083:
2432083: int (*RSA_meth_get_pub_dec(const RSA_METHOD *meth)) (int flen,
2432083: const unsigned char *from,
2432083: unsigned char *to,
2432083: RSA *rsa, int padding);
2432083:
2432083: int RSA_meth_set_pub_dec(RSA_METHOD *rsa,
2432083: int (*pub_dec) (int flen, const unsigned char *from,
2432083: unsigned char *to, RSA *rsa,
2432083: int padding));
2432083:
2432083: int (*RSA_meth_get_priv_enc(const RSA_METHOD *meth)) (int flen,
2432083: const unsigned char *from,
2432083: unsigned char *to,
2432083: RSA *rsa, int padding);
2432083:
2432083: int RSA_meth_set_priv_enc(RSA_METHOD *rsa,
2432083: int (*priv_enc) (int flen, const unsigned char *from,
2432083: unsigned char *to, RSA *rsa,
2432083: int padding));
2432083:
2432083: int (*RSA_meth_get_priv_dec(const RSA_METHOD *meth)) (int flen,
2432083: const unsigned char *from,
2432083: unsigned char *to,
2432083: RSA *rsa, int padding);
2432083:
2432083: int RSA_meth_set_priv_dec(RSA_METHOD *rsa,
2432083: int (*priv_dec) (int flen, const unsigned char *from,
2432083: unsigned char *to, RSA *rsa,
2432083: int padding));
2432083:
2432083: int (*RSA_meth_get_mod_exp(const RSA_METHOD *meth)) (BIGNUM *r0,
2432083: const BIGNUM *i,
2432083: RSA *rsa, BN_CTX *ctx);
2432083:
2432083: int RSA_meth_set_mod_exp(RSA_METHOD *rsa,
2432083: int (*mod_exp) (BIGNUM *r0, const BIGNUM *i, RSA *rsa,
2432083: BN_CTX *ctx));
2432083:
2432083: int (*RSA_meth_get_bn_mod_exp(const RSA_METHOD *meth)) (BIGNUM *r,
2432083: const BIGNUM *a,
2432083: const BIGNUM *p,
2432083: const BIGNUM *m,
2432083: BN_CTX *ctx,
2432083: BN_MONT_CTX *m_ctx);
2432083:
2432083: int RSA_meth_set_bn_mod_exp(RSA_METHOD *rsa,
2432083: int (*bn_mod_exp) (BIGNUM *r,
2432083: const BIGNUM *a,
2432083: const BIGNUM *p,
2432083: const BIGNUM *m,
2432083: BN_CTX *ctx,
2432083: BN_MONT_CTX *m_ctx));
2432083:
2432083: int (*RSA_meth_get_init(const RSA_METHOD *meth)) (RSA *rsa);
2432083:
2432083: int RSA_meth_set_init(RSA_METHOD *rsa, int (*init) (RSA *rsa));
2432083:
2432083: int (*RSA_meth_get_finish(const RSA_METHOD *meth)) (RSA *rsa);
2432083:
2432083: int RSA_meth_set_finish(RSA_METHOD *rsa, int (*finish) (RSA *rsa));
2432083:
2432083: int (*RSA_meth_get_sign(const RSA_METHOD *meth)) (int type,
2432083: const unsigned char *m,
2432083: unsigned int m_length,
2432083: unsigned char *sigret,
2432083: unsigned int *siglen,
2432083: const RSA *rsa);
2432083:
2432083: int RSA_meth_set_sign(RSA_METHOD *rsa,
2432083: int (*sign) (int type, const unsigned char *m,
2432083: unsigned int m_length,
2432083: unsigned char *sigret, unsigned int *siglen,
2432083: const RSA *rsa));
2432083:
2432083: int (*RSA_meth_get_verify(const RSA_METHOD *meth)) (int dtype,
2432083: const unsigned char *m,
2432083: unsigned int m_length,
2432083: const unsigned char *sigbuf,
2432083: unsigned int siglen,
2432083: const RSA *rsa);
2432083:
2432083: int RSA_meth_set_verify(RSA_METHOD *rsa,
2432083: int (*verify) (int dtype, const unsigned char *m,
2432083: unsigned int m_length,
2432083: const unsigned char *sigbuf,
2432083: unsigned int siglen, const RSA *rsa));
2432083:
2432083: int (*RSA_meth_get_keygen(const RSA_METHOD *meth)) (RSA *rsa, int bits,
2432083: BIGNUM *e, BN_GENCB *cb);
2432083:
2432083: int RSA_meth_set_keygen(RSA_METHOD *rsa,
2432083: int (*keygen) (RSA *rsa, int bits, BIGNUM *e,
2432083: BN_GENCB *cb));
2432083:
2432083: int (*RSA_meth_get_multi_prime_keygen(const RSA_METHOD *meth)) (RSA *rsa,
2432083: int bits,
2432083: int primes,
2432083: BIGNUM *e,
2432083: BN_GENCB *cb);
2432083:
2432083: int RSA_meth_set_multi_prime_keygen(RSA_METHOD *meth,
2432083: int (*keygen) (RSA *rsa, int bits,
2432083: int primes, BIGNUM *e,
2432083: BN_GENCB *cb));
2432083: # 27 "../../openbsd-compat/openssl-compat.h" 2
2432083: # 1 "/usr/include/openssl/dsa.h" 1 3 4
2432083: # 12 "/usr/include/openssl/dsa.h" 3 4
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: # 1 "/usr/include/openssl/types.h" 1 3 4
2432083: # 21 "/usr/include/openssl/dsa.h" 2 3 4
2432083: # 33 "/usr/include/openssl/dsa.h" 3 4
2432083: # 1 "/usr/include/openssl/dsaerr.h" 1 3 4
2432083: # 13 "/usr/include/openssl/dsaerr.h" 3 4
2432083:
2432083: # 34 "/usr/include/openssl/dsa.h" 2 3 4
2432083: # 43 "/usr/include/openssl/dsa.h" 3 4
2432083: int EVP_PKEY_CTX_set_dsa_paramgen_bits(EVP_PKEY_CTX *ctx, int nbits);
2432083: int EVP_PKEY_CTX_set_dsa_paramgen_q_bits(EVP_PKEY_CTX *ctx, int qbits);
2432083: int EVP_PKEY_CTX_set_dsa_paramgen_md_props(EVP_PKEY_CTX *ctx,
2432083: const char *md_name,
2432083: const char *md_properties);
2432083: int EVP_PKEY_CTX_set_dsa_paramgen_gindex(EVP_PKEY_CTX *ctx, int gindex);
2432083: int EVP_PKEY_CTX_set_dsa_paramgen_type(EVP_PKEY_CTX *ctx, const char *name);
2432083: int EVP_PKEY_CTX_set_dsa_paramgen_seed(EVP_PKEY_CTX *ctx,
2432083: const unsigned char *seed,
2432083: size_t seedlen);
2432083: int EVP_PKEY_CTX_set_dsa_paramgen_md(EVP_PKEY_CTX *ctx, const EVP_MD *md);
2432083: # 66 "/usr/include/openssl/dsa.h" 3 4
2432083: typedef struct DSA_SIG_st DSA_SIG;
2432083: DSA_SIG *DSA_SIG_new(void);
2432083: void DSA_SIG_free(DSA_SIG *a);
2432083: extern DSA_SIG *d2i_DSA_SIG(DSA_SIG **a, const unsigned char **in, long len); extern int i2d_DSA_SIG(const DSA_SIG *a, unsigned char **out);
2432083: void DSA_SIG_get0(const DSA_SIG *sig, const BIGNUM **pr, const BIGNUM **ps);
2432083: int DSA_SIG_set0(DSA_SIG *sig, BIGNUM *r, BIGNUM *s);
2432083: # 117 "/usr/include/openssl/dsa.h" 3 4
2432083: DSA *DSAparams_dup(const DSA *a);
2432083: DSA_SIG *DSA_do_sign(const unsigned char *dgst, int dlen,
2432083: DSA *dsa);
2432083: int DSA_do_verify(const unsigned char *dgst, int dgst_len,
2432083: DSA_SIG *sig, DSA *dsa);
2432083:
2432083: const DSA_METHOD *DSA_OpenSSL(void);
2432083:
2432083: void DSA_set_default_method(const DSA_METHOD *);
2432083: const DSA_METHOD *DSA_get_default_method(void);
2432083: int DSA_set_method(DSA *dsa, const DSA_METHOD *);
2432083: const DSA_METHOD *DSA_get_method(DSA *d);
2432083:
2432083: DSA *DSA_new(void);
2432083: DSA *DSA_new_method(ENGINE *engine);
2432083: void DSA_free(DSA *r);
2432083:
2432083: int DSA_up_ref(DSA *r);
2432083: int DSA_size(const DSA *);
2432083: int DSA_bits(const DSA *d);
2432083: int DSA_security_bits(const DSA *d);
2432083:
2432083: int DSA_sign_setup(DSA *dsa, BN_CTX *ctx_in,
2432083: BIGNUM **kinvp, BIGNUM **rp);
2432083: int DSA_sign(int type, const unsigned char *dgst,
2432083: int dlen, unsigned char *sig,
2432083: unsigned int *siglen, DSA *dsa);
2432083: int DSA_verify(int type, const unsigned char *dgst,
2432083: int dgst_len, const unsigned char *sigbuf,
2432083: int siglen, DSA *dsa);
2432083:
2432083:
2432083:
2432083: int DSA_set_ex_data(DSA *d, int idx, void *arg);
2432083: void *DSA_get_ex_data(const DSA *d, int idx);
2432083:
2432083: DSA *d2i_DSAPublicKey(DSA **a, const unsigned char **in, long len); int i2d_DSAPublicKey(const DSA *a, unsigned char **out);
2432083:
2432083: DSA *d2i_DSAPrivateKey(DSA **a, const unsigned char **in, long len); int i2d_DSAPrivateKey(const DSA *a, unsigned char **out);
2432083:
2432083: DSA *d2i_DSAparams(DSA **a, const unsigned char **in, long len); int i2d_DSAparams(const DSA *a, unsigned char **out);
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: __attribute__((deprecated("Since OpenSSL " "0.9.8")))
2432083: DSA *DSA_generate_parameters(int bits, unsigned char *seed, int seed_len,
2432083: int *counter_ret, unsigned long *h_ret,
2432083: void (*callback) (int, int, void *),
2432083: void *cb_arg);
2432083:
2432083:
2432083:
2432083:
2432083: int DSA_generate_parameters_ex(DSA *dsa, int bits,
2432083: const unsigned char *seed,
2432083: int seed_len,
2432083: int *counter_ret,
2432083: unsigned long *h_ret,
2432083: BN_GENCB *cb);
2432083:
2432083: int DSA_generate_key(DSA *a);
2432083:
2432083: int DSAparams_print(BIO *bp, const DSA *x);
2432083: int DSA_print(BIO *bp, const DSA *x, int off);
2432083:
2432083: int DSAparams_print_fp(FILE *fp, const DSA *x);
2432083: int DSA_print_fp(FILE *bp, const DSA *x, int off);
2432083: # 203 "/usr/include/openssl/dsa.h" 3 4
2432083: DH *DSA_dup_DH(const DSA *r);
2432083:
2432083:
2432083: void DSA_get0_pqg(const DSA *d, const BIGNUM **p,
2432083: const BIGNUM **q, const BIGNUM **g);
2432083: int DSA_set0_pqg(DSA *d, BIGNUM *p, BIGNUM *q, BIGNUM *g);
2432083: void DSA_get0_key(const DSA *d, const BIGNUM **pub_key,
2432083: const BIGNUM **priv_key);
2432083: int DSA_set0_key(DSA *d, BIGNUM *pub_key,
2432083: BIGNUM *priv_key);
2432083: const BIGNUM *DSA_get0_p(const DSA *d);
2432083: const BIGNUM *DSA_get0_q(const DSA *d);
2432083: const BIGNUM *DSA_get0_g(const DSA *d);
2432083: const BIGNUM *DSA_get0_pub_key(const DSA *d);
2432083: const BIGNUM *DSA_get0_priv_key(const DSA *d);
2432083: void DSA_clear_flags(DSA *d, int flags);
2432083: int DSA_test_flags(const DSA *d, int flags);
2432083: void DSA_set_flags(DSA *d, int flags);
2432083: ENGINE *DSA_get0_engine(DSA *d);
2432083:
2432083: DSA_METHOD *DSA_meth_new(const char *name, int flags);
2432083: void DSA_meth_free(DSA_METHOD *dsam);
2432083: DSA_METHOD *DSA_meth_dup(const DSA_METHOD *dsam);
2432083: const char *DSA_meth_get0_name(const DSA_METHOD *dsam);
2432083: int DSA_meth_set1_name(DSA_METHOD *dsam,
2432083: const char *name);
2432083: int DSA_meth_get_flags(const DSA_METHOD *dsam);
2432083: int DSA_meth_set_flags(DSA_METHOD *dsam, int flags);
2432083: void *DSA_meth_get0_app_data(const DSA_METHOD *dsam);
2432083: int DSA_meth_set0_app_data(DSA_METHOD *dsam,
2432083: void *app_data);
2432083: DSA_SIG *(*DSA_meth_get_sign(const DSA_METHOD *dsam))
2432083: (const unsigned char *, int, DSA *);
2432083: int DSA_meth_set_sign(DSA_METHOD *dsam,
2432083: DSA_SIG *(*sign) (const unsigned char *, int, DSA *));
2432083: int (*DSA_meth_get_sign_setup(const DSA_METHOD *dsam))
2432083: (DSA *, BN_CTX *, BIGNUM **, BIGNUM **);
2432083: int DSA_meth_set_sign_setup(DSA_METHOD *dsam,
2432083: int (*sign_setup) (DSA *, BN_CTX *, BIGNUM **, BIGNUM **));
2432083: int (*DSA_meth_get_verify(const DSA_METHOD *dsam))
2432083: (const unsigned char *, int, DSA_SIG *, DSA *);
2432083: int DSA_meth_set_verify(DSA_METHOD *dsam,
2432083: int (*verify) (const unsigned char *, int, DSA_SIG *, DSA *));
2432083: int (*DSA_meth_get_mod_exp(const DSA_METHOD *dsam))
2432083: (DSA *, BIGNUM *, const BIGNUM *, const BIGNUM *, const BIGNUM *,
2432083: const BIGNUM *, const BIGNUM *, BN_CTX *, BN_MONT_CTX *);
2432083: int DSA_meth_set_mod_exp(DSA_METHOD *dsam,
2432083: int (*mod_exp) (DSA *, BIGNUM *, const BIGNUM *, const BIGNUM *,
2432083: const BIGNUM *, const BIGNUM *, const BIGNUM *, BN_CTX *,
2432083: BN_MONT_CTX *));
2432083: int (*DSA_meth_get_bn_mod_exp(const DSA_METHOD *dsam))
2432083: (DSA *, BIGNUM *, const BIGNUM *, const BIGNUM *, const BIGNUM *,
2432083: BN_CTX *, BN_MONT_CTX *);
2432083: int DSA_meth_set_bn_mod_exp(DSA_METHOD *dsam,
2432083: int (*bn_mod_exp) (DSA *, BIGNUM *, const BIGNUM *, const BIGNUM *,
2432083: const BIGNUM *, BN_CTX *, BN_MONT_CTX *));
2432083: int (*DSA_meth_get_init(const DSA_METHOD *dsam))(DSA *);
2432083: int DSA_meth_set_init(DSA_METHOD *dsam,
2432083: int (*init)(DSA *));
2432083: int (*DSA_meth_get_finish(const DSA_METHOD *dsam))(DSA *);
2432083: int DSA_meth_set_finish(DSA_METHOD *dsam,
2432083: int (*finish)(DSA *));
2432083: int (*DSA_meth_get_paramgen(const DSA_METHOD *dsam))
2432083: (DSA *, int, const unsigned char *, int, int *, unsigned long *,
2432083: BN_GENCB *);
2432083: int DSA_meth_set_paramgen(DSA_METHOD *dsam,
2432083: int (*paramgen) (DSA *, int, const unsigned char *, int, int *,
2432083: unsigned long *, BN_GENCB *));
2432083: int (*DSA_meth_get_keygen(const DSA_METHOD *dsam))(DSA *);
2432083: int DSA_meth_set_keygen(DSA_METHOD *dsam,
2432083: int (*keygen) (DSA *));
2432083: # 28 "../../openbsd-compat/openssl-compat.h" 2
2432083:
2432083: # 1 "/usr/include/openssl/ecdsa.h" 1 3 4
2432083: # 10 "/usr/include/openssl/ecdsa.h" 3 4
2432083: # 1 "/usr/include/openssl/ec.h" 1 3 4
2432083: # 13 "/usr/include/openssl/ec.h" 3 4
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: # 1 "/usr/include/openssl/types.h" 1 3 4
2432083: # 22 "/usr/include/openssl/ec.h" 2 3 4
2432083: # 33 "/usr/include/openssl/ec.h" 3 4
2432083: int EVP_PKEY_CTX_set_ec_paramgen_curve_nid(EVP_PKEY_CTX *ctx, int nid);
2432083: int EVP_PKEY_CTX_set_ec_param_enc(EVP_PKEY_CTX *ctx, int param_enc);
2432083: int EVP_PKEY_CTX_set_ecdh_cofactor_mode(EVP_PKEY_CTX *ctx, int cofactor_mode);
2432083: int EVP_PKEY_CTX_get_ecdh_cofactor_mode(EVP_PKEY_CTX *ctx);
2432083:
2432083: int EVP_PKEY_CTX_set_ecdh_kdf_type(EVP_PKEY_CTX *ctx, int kdf);
2432083: int EVP_PKEY_CTX_get_ecdh_kdf_type(EVP_PKEY_CTX *ctx);
2432083:
2432083: int EVP_PKEY_CTX_set_ecdh_kdf_md(EVP_PKEY_CTX *ctx, const EVP_MD *md);
2432083: int EVP_PKEY_CTX_get_ecdh_kdf_md(EVP_PKEY_CTX *ctx, const EVP_MD **md);
2432083:
2432083: int EVP_PKEY_CTX_set_ecdh_kdf_outlen(EVP_PKEY_CTX *ctx, int len);
2432083: int EVP_PKEY_CTX_get_ecdh_kdf_outlen(EVP_PKEY_CTX *ctx, int *len);
2432083:
2432083: int EVP_PKEY_CTX_set0_ecdh_kdf_ukm(EVP_PKEY_CTX *ctx, unsigned char *ukm,
2432083: int len);
2432083:
2432083:
2432083: int EVP_PKEY_CTX_get0_ecdh_kdf_ukm(EVP_PKEY_CTX *ctx, unsigned char **ukm);
2432083: # 78 "/usr/include/openssl/ec.h" 3 4
2432083: typedef enum {
2432083:
2432083:
2432083: POINT_CONVERSION_COMPRESSED = 2,
2432083:
2432083: POINT_CONVERSION_UNCOMPRESSED = 4,
2432083:
2432083:
2432083: POINT_CONVERSION_HYBRID = 6
2432083: } point_conversion_form_t;
2432083:
2432083: const char *OSSL_EC_curve_nid2name(int nid);
2432083: # 100 "/usr/include/openssl/ec.h" 3 4
2432083: # 1 "/usr/include/openssl/ecerr.h" 1 3 4
2432083: # 13 "/usr/include/openssl/ecerr.h" 3 4
2432083:
2432083: # 101 "/usr/include/openssl/ec.h" 2 3 4
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: typedef struct ec_method_st EC_METHOD;
2432083:
2432083: typedef struct ec_group_st EC_GROUP;
2432083: typedef struct ec_point_st EC_POINT;
2432083: typedef struct ecpk_parameters_st ECPKPARAMETERS;
2432083: typedef struct ec_parameters_st ECPARAMETERS;
2432083: # 124 "/usr/include/openssl/ec.h" 3 4
2432083: const EC_METHOD *EC_GFp_simple_method(void);
2432083:
2432083:
2432083:
2432083:
2432083: const EC_METHOD *EC_GFp_mont_method(void);
2432083:
2432083:
2432083:
2432083:
2432083: const EC_METHOD *EC_GFp_nist_method(void);
2432083: # 161 "/usr/include/openssl/ec.h" 3 4
2432083: const EC_METHOD *EC_GF2m_simple_method(void);
2432083: # 174 "/usr/include/openssl/ec.h" 3 4
2432083: EC_GROUP *EC_GROUP_new(const EC_METHOD *meth);
2432083:
2432083:
2432083:
2432083:
2432083: void EC_GROUP_clear_free(EC_GROUP *group);
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: const EC_METHOD *EC_GROUP_method_of(const EC_GROUP *group);
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: int EC_METHOD_get_field_type(const EC_METHOD *meth);
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: void EC_GROUP_free(EC_GROUP *group);
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: int EC_GROUP_copy(EC_GROUP *dst, const EC_GROUP *src);
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: EC_GROUP *EC_GROUP_dup(const EC_GROUP *src);
2432083: # 221 "/usr/include/openssl/ec.h" 3 4
2432083: int EC_GROUP_set_generator(EC_GROUP *group, const EC_POINT *generator,
2432083: const BIGNUM *order, const BIGNUM *cofactor);
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: const EC_POINT *EC_GROUP_get0_generator(const EC_GROUP *group);
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: BN_MONT_CTX *EC_GROUP_get_mont_data(const EC_GROUP *group);
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: int EC_GROUP_get_order(const EC_GROUP *group, BIGNUM *order, BN_CTX *ctx);
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: const BIGNUM *EC_GROUP_get0_order(const EC_GROUP *group);
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: int EC_GROUP_order_bits(const EC_GROUP *group);
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: int EC_GROUP_get_cofactor(const EC_GROUP *group, BIGNUM *cofactor,
2432083: BN_CTX *ctx);
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: const BIGNUM *EC_GROUP_get0_cofactor(const EC_GROUP *group);
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: void EC_GROUP_set_curve_name(EC_GROUP *group, int nid);
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: int EC_GROUP_get_curve_name(const EC_GROUP *group);
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: const BIGNUM *EC_GROUP_get0_field(const EC_GROUP *group);
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: int EC_GROUP_get_field_type(const EC_GROUP *group);
2432083:
2432083: void EC_GROUP_set_asn1_flag(EC_GROUP *group, int flag);
2432083: int EC_GROUP_get_asn1_flag(const EC_GROUP *group);
2432083:
2432083: void EC_GROUP_set_point_conversion_form(EC_GROUP *group,
2432083: point_conversion_form_t form);
2432083: point_conversion_form_t EC_GROUP_get_point_conversion_form(const EC_GROUP *);
2432083:
2432083: unsigned char *EC_GROUP_get0_seed(const EC_GROUP *x);
2432083: size_t EC_GROUP_get_seed_len(const EC_GROUP *);
2432083: size_t EC_GROUP_set_seed(EC_GROUP *, const unsigned char *, size_t len);
2432083: # 316 "/usr/include/openssl/ec.h" 3 4
2432083: int EC_GROUP_set_curve(EC_GROUP *group, const BIGNUM *p, const BIGNUM *a,
2432083: const BIGNUM *b, BN_CTX *ctx);
2432083: # 329 "/usr/include/openssl/ec.h" 3 4
2432083: int EC_GROUP_get_curve(const EC_GROUP *group, BIGNUM *p, BIGNUM *a, BIGNUM *b,
2432083: BN_CTX *ctx);
2432083: # 342 "/usr/include/openssl/ec.h" 3 4
2432083: int EC_GROUP_set_curve_GFp(EC_GROUP *group,
2432083: const BIGNUM *p,
2432083: const BIGNUM *a,
2432083: const BIGNUM *b,
2432083: BN_CTX *ctx);
2432083: # 357 "/usr/include/openssl/ec.h" 3 4
2432083: int EC_GROUP_get_curve_GFp(const EC_GROUP *group,
2432083: BIGNUM *p,
2432083: BIGNUM *a, BIGNUM *b,
2432083: BN_CTX *ctx);
2432083: # 372 "/usr/include/openssl/ec.h" 3 4
2432083: int EC_GROUP_set_curve_GF2m(EC_GROUP *group,
2432083: const BIGNUM *p,
2432083: const BIGNUM *a,
2432083: const BIGNUM *b,
2432083: BN_CTX *ctx);
2432083: # 387 "/usr/include/openssl/ec.h" 3 4
2432083: int EC_GROUP_get_curve_GF2m(const EC_GROUP *group,
2432083: BIGNUM *p,
2432083: BIGNUM *a, BIGNUM *b,
2432083: BN_CTX *ctx);
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: int EC_GROUP_get_degree(const EC_GROUP *group);
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: int EC_GROUP_check(const EC_GROUP *group, BN_CTX *ctx);
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: int EC_GROUP_check_discriminant(const EC_GROUP *group, BN_CTX *ctx);
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: int EC_GROUP_cmp(const EC_GROUP *a, const EC_GROUP *b, BN_CTX *ctx);
2432083: # 435 "/usr/include/openssl/ec.h" 3 4
2432083: EC_GROUP *EC_GROUP_new_curve_GFp(const BIGNUM *p, const BIGNUM *a,
2432083: const BIGNUM *b, BN_CTX *ctx);
2432083: # 446 "/usr/include/openssl/ec.h" 3 4
2432083: EC_GROUP *EC_GROUP_new_curve_GF2m(const BIGNUM *p, const BIGNUM *a,
2432083: const BIGNUM *b, BN_CTX *ctx);
2432083: # 460 "/usr/include/openssl/ec.h" 3 4
2432083: EC_GROUP *EC_GROUP_new_from_params(const OSSL_PARAM params[],
2432083: OSSL_LIB_CTX *libctx, const char *propq);
2432083: # 472 "/usr/include/openssl/ec.h" 3 4
2432083: EC_GROUP *EC_GROUP_new_by_curve_name_ex(OSSL_LIB_CTX *libctx, const char *propq,
2432083: int nid);
2432083: # 483 "/usr/include/openssl/ec.h" 3 4
2432083: EC_GROUP *EC_GROUP_new_by_curve_name(int nid);
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: EC_GROUP *EC_GROUP_new_from_ecparameters(const ECPARAMETERS *params);
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: ECPARAMETERS *EC_GROUP_get_ecparameters(const EC_GROUP *group,
2432083: ECPARAMETERS *params);
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: EC_GROUP *EC_GROUP_new_from_ecpkparameters(const ECPKPARAMETERS *params);
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: ECPKPARAMETERS *EC_GROUP_get_ecpkparameters(const EC_GROUP *group,
2432083: ECPKPARAMETERS *params);
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: typedef struct {
2432083: int nid;
2432083: const char *comment;
2432083: } EC_builtin_curve;
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: size_t EC_get_builtin_curves(EC_builtin_curve *r, size_t nitems);
2432083:
2432083: const char *EC_curve_nid2nist(int nid);
2432083: int EC_curve_nist2nid(const char *name);
2432083: int EC_GROUP_check_named_curve(const EC_GROUP *group, int nist_only,
2432083: BN_CTX *ctx);
2432083: # 547 "/usr/include/openssl/ec.h" 3 4
2432083: EC_POINT *EC_POINT_new(const EC_GROUP *group);
2432083:
2432083:
2432083:
2432083:
2432083: void EC_POINT_free(EC_POINT *point);
2432083:
2432083:
2432083:
2432083:
2432083: void EC_POINT_clear_free(EC_POINT *point);
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: int EC_POINT_copy(EC_POINT *dst, const EC_POINT *src);
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: EC_POINT *EC_POINT_dup(const EC_POINT *src, const EC_GROUP *group);
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: int EC_POINT_set_to_infinity(const EC_GROUP *group, EC_POINT *point);
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: const EC_METHOD *EC_POINT_method_of(const EC_POINT *point);
2432083: # 597 "/usr/include/openssl/ec.h" 3 4
2432083: int EC_POINT_set_Jprojective_coordinates_GFp
2432083: (const EC_GROUP *group, EC_POINT *p,
2432083: const BIGNUM *x, const BIGNUM *y, const BIGNUM *z,
2432083: BN_CTX *ctx);
2432083: # 611 "/usr/include/openssl/ec.h" 3 4
2432083: int EC_POINT_get_Jprojective_coordinates_GFp
2432083: (const EC_GROUP *group, const EC_POINT *p,
2432083: BIGNUM *x, BIGNUM *y, BIGNUM *z, BN_CTX *ctx);
2432083: # 624 "/usr/include/openssl/ec.h" 3 4
2432083: int EC_POINT_set_affine_coordinates(const EC_GROUP *group, EC_POINT *p,
2432083: const BIGNUM *x, const BIGNUM *y,
2432083: BN_CTX *ctx);
2432083: # 636 "/usr/include/openssl/ec.h" 3 4
2432083: int EC_POINT_get_affine_coordinates(const EC_GROUP *group, const EC_POINT *p,
2432083: BIGNUM *x, BIGNUM *y, BN_CTX *ctx);
2432083: # 649 "/usr/include/openssl/ec.h" 3 4
2432083: int EC_POINT_set_affine_coordinates_GFp
2432083: (const EC_GROUP *group, EC_POINT *p,
2432083: const BIGNUM *x, const BIGNUM *y, BN_CTX *ctx);
2432083: # 662 "/usr/include/openssl/ec.h" 3 4
2432083: int EC_POINT_get_affine_coordinates_GFp
2432083: (const EC_GROUP *group, const EC_POINT *p,
2432083: BIGNUM *x, BIGNUM *y, BN_CTX *ctx);
2432083: # 675 "/usr/include/openssl/ec.h" 3 4
2432083: int EC_POINT_set_compressed_coordinates(const EC_GROUP *group, EC_POINT *p,
2432083: const BIGNUM *x, int y_bit,
2432083: BN_CTX *ctx);
2432083: # 689 "/usr/include/openssl/ec.h" 3 4
2432083: int EC_POINT_set_compressed_coordinates_GFp
2432083: (const EC_GROUP *group, EC_POINT *p,
2432083: const BIGNUM *x, int y_bit, BN_CTX *ctx);
2432083: # 702 "/usr/include/openssl/ec.h" 3 4
2432083: int EC_POINT_set_affine_coordinates_GF2m
2432083: (const EC_GROUP *group, EC_POINT *p,
2432083: const BIGNUM *x, const BIGNUM *y, BN_CTX *ctx);
2432083: # 715 "/usr/include/openssl/ec.h" 3 4
2432083: int EC_POINT_get_affine_coordinates_GF2m
2432083: (const EC_GROUP *group, const EC_POINT *p,
2432083: BIGNUM *x, BIGNUM *y, BN_CTX *ctx);
2432083: # 728 "/usr/include/openssl/ec.h" 3 4
2432083: int EC_POINT_set_compressed_coordinates_GF2m
2432083: (const EC_GROUP *group, EC_POINT *p,
2432083: const BIGNUM *x, int y_bit, BN_CTX *ctx);
2432083: # 744 "/usr/include/openssl/ec.h" 3 4
2432083: size_t EC_POINT_point2oct(const EC_GROUP *group, const EC_POINT *p,
2432083: point_conversion_form_t form,
2432083: unsigned char *buf, size_t len, BN_CTX *ctx);
2432083: # 756 "/usr/include/openssl/ec.h" 3 4
2432083: int EC_POINT_oct2point(const EC_GROUP *group, EC_POINT *p,
2432083: const unsigned char *buf, size_t len, BN_CTX *ctx);
2432083: # 767 "/usr/include/openssl/ec.h" 3 4
2432083: size_t EC_POINT_point2buf(const EC_GROUP *group, const EC_POINT *point,
2432083: point_conversion_form_t form,
2432083: unsigned char **pbuf, BN_CTX *ctx);
2432083:
2432083:
2432083:
2432083: BIGNUM *EC_POINT_point2bn(const EC_GROUP *,
2432083: const EC_POINT *,
2432083: point_conversion_form_t form,
2432083: BIGNUM *, BN_CTX *);
2432083: EC_POINT *EC_POINT_bn2point(const EC_GROUP *,
2432083: const BIGNUM *,
2432083: EC_POINT *, BN_CTX *);
2432083:
2432083:
2432083: char *EC_POINT_point2hex(const EC_GROUP *, const EC_POINT *,
2432083: point_conversion_form_t form, BN_CTX *);
2432083: EC_POINT *EC_POINT_hex2point(const EC_GROUP *, const char *,
2432083: EC_POINT *, BN_CTX *);
2432083: # 799 "/usr/include/openssl/ec.h" 3 4
2432083: int EC_POINT_add(const EC_GROUP *group, EC_POINT *r, const EC_POINT *a,
2432083: const EC_POINT *b, BN_CTX *ctx);
2432083: # 809 "/usr/include/openssl/ec.h" 3 4
2432083: int EC_POINT_dbl(const EC_GROUP *group, EC_POINT *r, const EC_POINT *a,
2432083: BN_CTX *ctx);
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: int EC_POINT_invert(const EC_GROUP *group, EC_POINT *a, BN_CTX *ctx);
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: int EC_POINT_is_at_infinity(const EC_GROUP *group, const EC_POINT *p);
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: int EC_POINT_is_on_curve(const EC_GROUP *group, const EC_POINT *point,
2432083: BN_CTX *ctx);
2432083: # 843 "/usr/include/openssl/ec.h" 3 4
2432083: int EC_POINT_cmp(const EC_GROUP *group, const EC_POINT *a, const EC_POINT *b,
2432083: BN_CTX *ctx);
2432083:
2432083:
2432083: int EC_POINT_make_affine(const EC_GROUP *group,
2432083: EC_POINT *point, BN_CTX *ctx);
2432083: int EC_POINTs_make_affine(const EC_GROUP *group, size_t num,
2432083: EC_POINT *points[], BN_CTX *ctx);
2432083: # 862 "/usr/include/openssl/ec.h" 3 4
2432083: int EC_POINTs_mul(const EC_GROUP *group, EC_POINT *r,
2432083: const BIGNUM *n, size_t num,
2432083: const EC_POINT *p[], const BIGNUM *m[],
2432083: BN_CTX *ctx);
2432083: # 877 "/usr/include/openssl/ec.h" 3 4
2432083: int EC_POINT_mul(const EC_GROUP *group, EC_POINT *r, const BIGNUM *n,
2432083: const EC_POINT *q, const BIGNUM *m, BN_CTX *ctx);
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: int EC_GROUP_precompute_mult(EC_GROUP *group, BN_CTX *ctx);
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: int EC_GROUP_have_precompute_mult(const EC_GROUP *group);
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: extern const ASN1_ITEM * ECPKPARAMETERS_it(void);
2432083: extern ECPKPARAMETERS *ECPKPARAMETERS_new(void); extern void ECPKPARAMETERS_free(ECPKPARAMETERS *a);
2432083: extern const ASN1_ITEM * ECPARAMETERS_it(void);
2432083: extern ECPARAMETERS *ECPARAMETERS_new(void); extern void ECPARAMETERS_free(ECPARAMETERS *a);
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: int EC_GROUP_get_basis_type(const EC_GROUP *);
2432083:
2432083: int EC_GROUP_get_trinomial_basis(const EC_GROUP *, unsigned int *k);
2432083: int EC_GROUP_get_pentanomial_basis(const EC_GROUP *, unsigned int *k1,
2432083: unsigned int *k2, unsigned int *k3);
2432083:
2432083:
2432083: EC_GROUP *d2i_ECPKParameters(EC_GROUP **, const unsigned char **in, long len);
2432083: int i2d_ECPKParameters(const EC_GROUP *, unsigned char **out);
2432083: # 929 "/usr/include/openssl/ec.h" 3 4
2432083: int ECPKParameters_print(BIO *bp, const EC_GROUP *x,
2432083: int off);
2432083:
2432083: int ECPKParameters_print_fp(FILE *fp, const EC_GROUP *x,
2432083: int off);
2432083: # 964 "/usr/include/openssl/ec.h" 3 4
2432083: EC_KEY *EC_KEY_new_ex(OSSL_LIB_CTX *ctx, const char *propq);
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: EC_KEY *EC_KEY_new(void);
2432083:
2432083: int EC_KEY_get_flags(const EC_KEY *key);
2432083:
2432083: void EC_KEY_set_flags(EC_KEY *key, int flags);
2432083:
2432083: void EC_KEY_clear_flags(EC_KEY *key, int flags);
2432083:
2432083: int EC_KEY_decoded_from_explicit_params(const EC_KEY *key);
2432083: # 990 "/usr/include/openssl/ec.h" 3 4
2432083: EC_KEY *EC_KEY_new_by_curve_name_ex(OSSL_LIB_CTX *ctx,
2432083: const char *propq,
2432083: int nid);
2432083: # 1001 "/usr/include/openssl/ec.h" 3 4
2432083: EC_KEY *EC_KEY_new_by_curve_name(int nid);
2432083:
2432083:
2432083:
2432083:
2432083: void EC_KEY_free(EC_KEY *key);
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: EC_KEY *EC_KEY_copy(EC_KEY *dst, const EC_KEY *src);
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: EC_KEY *EC_KEY_dup(const EC_KEY *src);
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: int EC_KEY_up_ref(EC_KEY *key);
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: ENGINE *EC_KEY_get0_engine(const EC_KEY *eckey);
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key);
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: int EC_KEY_set_group(EC_KEY *key, const EC_GROUP *group);
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: const BIGNUM *EC_KEY_get0_private_key(const EC_KEY *key);
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: int EC_KEY_set_private_key(EC_KEY *key, const BIGNUM *prv);
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: const EC_POINT *EC_KEY_get0_public_key(const EC_KEY *key);
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: int EC_KEY_set_public_key(EC_KEY *key, const EC_POINT *pub);
2432083:
2432083: unsigned EC_KEY_get_enc_flags(const EC_KEY *key);
2432083: void EC_KEY_set_enc_flags(EC_KEY *eckey, unsigned int flags);
2432083: point_conversion_form_t EC_KEY_get_conv_form(const EC_KEY *key);
2432083: void EC_KEY_set_conv_form(EC_KEY *eckey,
2432083: point_conversion_form_t cform);
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: int EC_KEY_set_ex_data(EC_KEY *key, int idx, void *arg);
2432083: void *EC_KEY_get_ex_data(const EC_KEY *key, int idx);
2432083:
2432083:
2432083: void EC_KEY_set_asn1_flag(EC_KEY *eckey, int asn1_flag);
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: int EC_KEY_precompute_mult(EC_KEY *key, BN_CTX *ctx);
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: int EC_KEY_generate_key(EC_KEY *key);
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: int EC_KEY_check_key(const EC_KEY *key);
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: int EC_KEY_can_sign(const EC_KEY *eckey);
2432083: # 1125 "/usr/include/openssl/ec.h" 3 4
2432083: int EC_KEY_set_public_key_affine_coordinates(EC_KEY *key,
2432083: BIGNUM *x,
2432083: BIGNUM *y);
2432083: # 1136 "/usr/include/openssl/ec.h" 3 4
2432083: size_t EC_KEY_key2buf(const EC_KEY *key,
2432083: point_conversion_form_t form,
2432083: unsigned char **pbuf, BN_CTX *ctx);
2432083: # 1148 "/usr/include/openssl/ec.h" 3 4
2432083: int EC_KEY_oct2key(EC_KEY *key, const unsigned char *buf,
2432083: size_t len, BN_CTX *ctx);
2432083: # 1158 "/usr/include/openssl/ec.h" 3 4
2432083: int EC_KEY_oct2priv(EC_KEY *key, const unsigned char *buf,
2432083: size_t len);
2432083: # 1169 "/usr/include/openssl/ec.h" 3 4
2432083: size_t EC_KEY_priv2oct(const EC_KEY *key,
2432083: unsigned char *buf, size_t len);
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: size_t EC_KEY_priv2buf(const EC_KEY *eckey,
2432083: unsigned char **pbuf);
2432083: # 1190 "/usr/include/openssl/ec.h" 3 4
2432083: EC_KEY *d2i_ECPrivateKey(EC_KEY **key,
2432083: const unsigned char **in,
2432083: long len);
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: int i2d_ECPrivateKey(const EC_KEY *key,
2432083: unsigned char **out);
2432083: # 1214 "/usr/include/openssl/ec.h" 3 4
2432083: EC_KEY *d2i_ECParameters(EC_KEY **key,
2432083: const unsigned char **in,
2432083: long len);
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: int i2d_ECParameters(const EC_KEY *key,
2432083: unsigned char **out);
2432083: # 1239 "/usr/include/openssl/ec.h" 3 4
2432083: EC_KEY *o2i_ECPublicKey(EC_KEY **key,
2432083: const unsigned char **in, long len);
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: int i2o_ECPublicKey(const EC_KEY *key, unsigned char **out);
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: int ECParameters_print(BIO *bp, const EC_KEY *key);
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: int EC_KEY_print(BIO *bp, const EC_KEY *key, int off);
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: int ECParameters_print_fp(FILE *fp, const EC_KEY *key);
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: int EC_KEY_print_fp(FILE *fp, const EC_KEY *key, int off);
2432083:
2432083:
2432083: const EC_KEY_METHOD *EC_KEY_OpenSSL(void);
2432083: const EC_KEY_METHOD *EC_KEY_get_default_method(void);
2432083: void EC_KEY_set_default_method(const EC_KEY_METHOD *meth);
2432083: const EC_KEY_METHOD *EC_KEY_get_method(const EC_KEY *key);
2432083: int EC_KEY_set_method(EC_KEY *key, const EC_KEY_METHOD *meth);
2432083: EC_KEY *EC_KEY_new_method(ENGINE *engine);
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: int ECDH_KDF_X9_62(unsigned char *out, size_t outlen,
2432083: const unsigned char *Z, size_t Zlen,
2432083: const unsigned char *sinfo,
2432083: size_t sinfolen, const EVP_MD *md);
2432083:
2432083: int ECDH_compute_key(void *out, size_t outlen,
2432083: const EC_POINT *pub_key,
2432083: const EC_KEY *ecdh,
2432083: void *(*KDF)(const void *in,
2432083: size_t inlen, void *out,
2432083: size_t *outlen));
2432083:
2432083:
2432083: typedef struct ECDSA_SIG_st ECDSA_SIG;
2432083:
2432083:
2432083:
2432083:
2432083: ECDSA_SIG *ECDSA_SIG_new(void);
2432083:
2432083:
2432083:
2432083:
2432083: void ECDSA_SIG_free(ECDSA_SIG *sig);
2432083: # 1326 "/usr/include/openssl/ec.h" 3 4
2432083: extern ECDSA_SIG *d2i_ECDSA_SIG(ECDSA_SIG **a, const unsigned char **in, long len); extern int i2d_ECDSA_SIG(const ECDSA_SIG *a, unsigned char **out);
2432083: # 1341 "/usr/include/openssl/ec.h" 3 4
2432083: void ECDSA_SIG_get0(const ECDSA_SIG *sig, const BIGNUM **pr, const BIGNUM **ps);
2432083:
2432083:
2432083:
2432083:
2432083: const BIGNUM *ECDSA_SIG_get0_r(const ECDSA_SIG *sig);
2432083:
2432083:
2432083:
2432083:
2432083: const BIGNUM *ECDSA_SIG_get0_s(const ECDSA_SIG *sig);
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: int ECDSA_SIG_set0(ECDSA_SIG *sig, BIGNUM *r, BIGNUM *s);
2432083: # 1368 "/usr/include/openssl/ec.h" 3 4
2432083: ECDSA_SIG *ECDSA_do_sign(const unsigned char *dgst,
2432083: int dgst_len, EC_KEY *eckey);
2432083: # 1381 "/usr/include/openssl/ec.h" 3 4
2432083: ECDSA_SIG *ECDSA_do_sign_ex(const unsigned char *dgst,
2432083: int dgstlen, const BIGNUM *kinv,
2432083: const BIGNUM *rp, EC_KEY *eckey);
2432083: # 1394 "/usr/include/openssl/ec.h" 3 4
2432083: int ECDSA_do_verify(const unsigned char *dgst, int dgst_len,
2432083: const ECDSA_SIG *sig, EC_KEY *eckey);
2432083: # 1404 "/usr/include/openssl/ec.h" 3 4
2432083: int ECDSA_sign_setup(EC_KEY *eckey, BN_CTX *ctx,
2432083: BIGNUM **kinv, BIGNUM **rp);
2432083: # 1417 "/usr/include/openssl/ec.h" 3 4
2432083: int ECDSA_sign(int type, const unsigned char *dgst,
2432083: int dgstlen, unsigned char *sig,
2432083: unsigned int *siglen, EC_KEY *eckey);
2432083: # 1434 "/usr/include/openssl/ec.h" 3 4
2432083: int ECDSA_sign_ex(int type, const unsigned char *dgst,
2432083: int dgstlen, unsigned char *sig,
2432083: unsigned int *siglen, const BIGNUM *kinv,
2432083: const BIGNUM *rp, EC_KEY *eckey);
2432083: # 1450 "/usr/include/openssl/ec.h" 3 4
2432083: int ECDSA_verify(int type, const unsigned char *dgst,
2432083: int dgstlen, const unsigned char *sig,
2432083: int siglen, EC_KEY *eckey);
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: int ECDSA_size(const EC_KEY *eckey);
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: EC_KEY_METHOD *EC_KEY_METHOD_new(const EC_KEY_METHOD *meth);
2432083: void EC_KEY_METHOD_free(EC_KEY_METHOD *meth);
2432083: void EC_KEY_METHOD_set_init
2432083: (EC_KEY_METHOD *meth,
2432083: int (*init)(EC_KEY *key),
2432083: void (*finish)(EC_KEY *key),
2432083: int (*copy)(EC_KEY *dest, const EC_KEY *src),
2432083: int (*set_group)(EC_KEY *key, const EC_GROUP *grp),
2432083: int (*set_private)(EC_KEY *key, const BIGNUM *priv_key),
2432083: int (*set_public)(EC_KEY *key, const EC_POINT *pub_key));
2432083:
2432083: void EC_KEY_METHOD_set_keygen(EC_KEY_METHOD *meth,
2432083: int (*keygen)(EC_KEY *key));
2432083:
2432083: void EC_KEY_METHOD_set_compute_key
2432083: (EC_KEY_METHOD *meth,
2432083: int (*ckey)(unsigned char **psec, size_t *pseclen,
2432083: const EC_POINT *pub_key, const EC_KEY *ecdh));
2432083:
2432083: void EC_KEY_METHOD_set_sign
2432083: (EC_KEY_METHOD *meth,
2432083: int (*sign)(int type, const unsigned char *dgst,
2432083: int dlen, unsigned char *sig,
2432083: unsigned int *siglen,
2432083: const BIGNUM *kinv, const BIGNUM *r,
2432083: EC_KEY *eckey),
2432083: int (*sign_setup)(EC_KEY *eckey, BN_CTX *ctx_in,
2432083: BIGNUM **kinvp, BIGNUM **rp),
2432083: ECDSA_SIG *(*sign_sig)(const unsigned char *dgst,
2432083: int dgst_len,
2432083: const BIGNUM *in_kinv,
2432083: const BIGNUM *in_r,
2432083: EC_KEY *eckey));
2432083:
2432083: void EC_KEY_METHOD_set_verify
2432083: (EC_KEY_METHOD *meth,
2432083: int (*verify)(int type, const unsigned
2432083: char *dgst, int dgst_len,
2432083: const unsigned char *sigbuf,
2432083: int sig_len, EC_KEY *eckey),
2432083: int (*verify_sig)(const unsigned char *dgst,
2432083: int dgst_len, const ECDSA_SIG *sig,
2432083: EC_KEY *eckey));
2432083:
2432083: void EC_KEY_METHOD_get_init
2432083: (const EC_KEY_METHOD *meth,
2432083: int (**pinit)(EC_KEY *key),
2432083: void (**pfinish)(EC_KEY *key),
2432083: int (**pcopy)(EC_KEY *dest, const EC_KEY *src),
2432083: int (**pset_group)(EC_KEY *key, const EC_GROUP *grp),
2432083: int (**pset_private)(EC_KEY *key, const BIGNUM *priv_key),
2432083: int (**pset_public)(EC_KEY *key, const EC_POINT *pub_key));
2432083:
2432083: void EC_KEY_METHOD_get_keygen
2432083: (const EC_KEY_METHOD *meth, int (**pkeygen)(EC_KEY *key));
2432083:
2432083: void EC_KEY_METHOD_get_compute_key
2432083: (const EC_KEY_METHOD *meth,
2432083: int (**pck)(unsigned char **psec,
2432083: size_t *pseclen,
2432083: const EC_POINT *pub_key,
2432083: const EC_KEY *ecdh));
2432083:
2432083: void EC_KEY_METHOD_get_sign
2432083: (const EC_KEY_METHOD *meth,
2432083: int (**psign)(int type, const unsigned char *dgst,
2432083: int dlen, unsigned char *sig,
2432083: unsigned int *siglen,
2432083: const BIGNUM *kinv, const BIGNUM *r,
2432083: EC_KEY *eckey),
2432083: int (**psign_setup)(EC_KEY *eckey, BN_CTX *ctx_in,
2432083: BIGNUM **kinvp, BIGNUM **rp),
2432083: ECDSA_SIG *(**psign_sig)(const unsigned char *dgst,
2432083: int dgst_len,
2432083: const BIGNUM *in_kinv,
2432083: const BIGNUM *in_r,
2432083: EC_KEY *eckey));
2432083:
2432083: void EC_KEY_METHOD_get_verify
2432083: (const EC_KEY_METHOD *meth,
2432083: int (**pverify)(int type, const unsigned
2432083: char *dgst, int dgst_len,
2432083: const unsigned char *sigbuf,
2432083: int sig_len, EC_KEY *eckey),
2432083: int (**pverify_sig)(const unsigned char *dgst,
2432083: int dgst_len,
2432083: const ECDSA_SIG *sig,
2432083: EC_KEY *eckey));
2432083: # 11 "/usr/include/openssl/ecdsa.h" 2 3 4
2432083: # 30 "../../openbsd-compat/openssl-compat.h" 2
2432083:
2432083:
2432083:
2432083:
2432083: # 33 "../../openbsd-compat/openssl-compat.h"
2432083: int ssh_compatible_openssl(long, long);
2432083: void ssh_libcrypto_init(void);
2432083: # 77 "../../openbsd-compat/openssl-compat.h"
2432083: int EVP_CIPHER_CTX_set_iv(EVP_CIPHER_CTX *ctx,
2432083: const unsigned char *iv, size_t len);
2432083: # 64 "../../moduli.c" 2
2432083: # 135 "../../moduli.c"
2432083: static u_int32_t *TinySieve, tinybits;
2432083:
2432083:
2432083: static u_int32_t *SmallSieve, smallbits, smallbase;
2432083:
2432083:
2432083: static u_int32_t *LargeSieve, largewords, largetries, largenumbers;
2432083: static u_int32_t largebits, largememory;
2432083: static BIGNUM *largebase;
2432083:
2432083: int gen_candidates(FILE *, u_int32_t, u_int32_t, BIGNUM *);
2432083: int prime_test(FILE *, FILE *, u_int32_t, u_int32_t, char *, unsigned long,
2432083: unsigned long);
2432083:
2432083:
2432083:
2432083:
2432083: static int
2432083: qfileout(FILE * ofile, u_int32_t otype, u_int32_t otests, u_int32_t otries,
2432083: u_int32_t osize, u_int32_t ogenerator, BIGNUM * omodulus)
2432083: {
2432083: struct tm *gtm;
2432083: time_t time_now;
2432083: int res;
2432083:
2432083: time(&time_now);
2432083: gtm = gmtime(&time_now);
2432083: if (gtm ==
2432083: # 162 "../../moduli.c" 3 4
2432083: ((void *)0)
2432083: # 162 "../../moduli.c"
2432083: )
2432083: return -1;
2432083:
2432083: res = fprintf(ofile, "%04d%02d%02d%02d%02d%02d %u %u %u %u %x ",
2432083: gtm->tm_year + 1900, gtm->tm_mon + 1, gtm->tm_mday,
2432083: gtm->tm_hour, gtm->tm_min, gtm->tm_sec,
2432083: otype, otests, otries, osize, ogenerator);
2432083:
2432083: if (res < 0)
2432083: return (-1);
2432083:
2432083: if (BN_print_fp(ofile, omodulus) < 1)
2432083: return (-1);
2432083:
2432083: res = fprintf(ofile, "\n");
2432083: fflush(ofile);
2432083:
2432083: return (res > 0 ? 0 : -1);
2432083: }
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: static void
2432083: sieve_large(u_int32_t s32)
2432083: {
2432083: u_int64_t r, u, s = s32;
2432083:
2432083: sshlog("../../moduli.c", __func__, 191, 0, SYSLOG_LEVEL_DEBUG3,
2432083: # 191 "../../moduli.c" 3 4
2432083: ((void *)0)
2432083: # 191 "../../moduli.c"
2432083: , "sieve_large %u", s32);
2432083: largetries++;
2432083:
2432083: r = BN_mod_word(largebase, s32);
2432083: if (r == 0)
2432083: u = 0;
2432083: else
2432083: u = s - r;
2432083:
2432083: if (u < largebits * 2ULL) {
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: if (u & 0x1)
2432083: u += s;
2432083:
2432083:
2432083: for (u /= 2; u < largebits; u += s)
2432083: ((LargeSieve)[(u)>>((3)+(2))] |= (1L << ((u) & 31)));
2432083: }
2432083:
2432083:
2432083: r = (2 * r + 1) % s;
2432083: if (r == 0)
2432083: u = 0;
2432083: else
2432083: u = s - r;
2432083:
2432083: if (u < largebits * 4ULL) {
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: while (u & 0x3) {
2432083: if ((0xffffffffUL) - u < s)
2432083: return;
2432083: u += s;
2432083: }
2432083:
2432083:
2432083: for (u /= 4; u < largebits; u += s)
2432083: ((LargeSieve)[(u)>>((3)+(2))] |= (1L << ((u) & 31)));
2432083: }
2432083: }
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: int
2432083: gen_candidates(FILE *out, u_int32_t memory, u_int32_t power, BIGNUM *start)
2432083: {
2432083: BIGNUM *q;
2432083: u_int32_t j, r, s, t;
2432083: u_int32_t smallwords = (1UL<<16) >> 6;
2432083: u_int32_t tinywords = (1UL<<16) >> 6;
2432083: time_t time_start, time_stop;
2432083: u_int32_t i;
2432083: int ret = 0;
2432083:
2432083: largememory = memory;
2432083:
2432083: if (memory != 0 &&
2432083: (memory < (8UL) || memory > (127UL))) {
2432083: sshlog("../../moduli.c", __func__, 259, 0, SYSLOG_LEVEL_ERROR,
2432083: # 259 "../../moduli.c" 3 4
2432083: ((void *)0)
2432083: # 259 "../../moduli.c"
2432083: , "Invalid memory amount (min %ld, max %ld)", (8UL), (127UL))
2432083: ;
2432083: return (-1);
2432083: }
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: if (power > (1UL<<16)) {
2432083: sshlog("../../moduli.c", __func__, 269, 0, SYSLOG_LEVEL_ERROR,
2432083: # 269 "../../moduli.c" 3 4
2432083: ((void *)0)
2432083: # 269 "../../moduli.c"
2432083: , "Too many bits: %u > %lu", power, (1UL<<16));
2432083: return (-1);
2432083: } else if (power < ((511) + 1)) {
2432083: sshlog("../../moduli.c", __func__, 272, 0, SYSLOG_LEVEL_ERROR,
2432083: # 272 "../../moduli.c" 3 4
2432083: ((void *)0)
2432083: # 272 "../../moduli.c"
2432083: , "Too few bits: %u < %u", power, ((511) + 1));
2432083: return (-1);
2432083: }
2432083: power--;
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: largewords = ((power * power) >> (((3)+(2)) - (3)));
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: if (largememory > (127UL)) {
2432083: sshlog("../../moduli.c", __func__, 290, 0, SYSLOG_LEVEL_INFO,
2432083: # 290 "../../moduli.c" 3 4
2432083: ((void *)0)
2432083: # 290 "../../moduli.c"
2432083: , "Limited memory: %u MB; limit %lu MB", largememory, (127UL))
2432083: ;
2432083: largememory = (127UL);
2432083: }
2432083:
2432083: if (largewords <= (largememory << ((20)-(2)))) {
2432083: sshlog("../../moduli.c", __func__, 296, 0, SYSLOG_LEVEL_INFO,
2432083: # 296 "../../moduli.c" 3 4
2432083: ((void *)0)
2432083: # 296 "../../moduli.c"
2432083: , "Increased memory: %u MB; need %u bytes", largememory, (largewords << (2)))
2432083: ;
2432083: largewords = (largememory << ((20)-(2)));
2432083: } else if (largememory > 0) {
2432083: sshlog("../../moduli.c", __func__, 300, 0, SYSLOG_LEVEL_INFO,
2432083: # 300 "../../moduli.c" 3 4
2432083: ((void *)0)
2432083: # 300 "../../moduli.c"
2432083: , "Decreased memory: %u MB; want %u bytes", largememory, (largewords << (2)))
2432083: ;
2432083: largewords = (largememory << ((20)-(2)));
2432083: }
2432083:
2432083: TinySieve = xcalloc(tinywords, sizeof(u_int32_t));
2432083: tinybits = tinywords << ((3)+(2));
2432083:
2432083: SmallSieve = xcalloc(smallwords, sizeof(u_int32_t));
2432083: smallbits = smallwords << ((3)+(2));
2432083:
2432083:
2432083:
2432083:
2432083: while ((LargeSieve = calloc(largewords, sizeof(u_int32_t))) ==
2432083: # 314 "../../moduli.c" 3 4
2432083: ((void *)0)
2432083: # 314 "../../moduli.c"
2432083: )
2432083: largewords -= (1L << (((20)-(2)) - 2));
2432083:
2432083: largebits = largewords << ((3)+(2));
2432083: largenumbers = largebits * 2;
2432083:
2432083:
2432083: largetries = 0;
2432083: if ((q = BN_new()) ==
2432083: # 322 "../../moduli.c" 3 4
2432083: ((void *)0)
2432083: # 322 "../../moduli.c"
2432083: )
2432083: sshfatal("../../moduli.c", __func__, 323, 0, SYSLOG_LEVEL_FATAL,
2432083: # 323 "../../moduli.c" 3 4
2432083: ((void *)0)
2432083: # 323 "../../moduli.c"
2432083: , "BN_new failed");
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: if ((largebase = BN_new()) ==
2432083: # 329 "../../moduli.c" 3 4
2432083: ((void *)0)
2432083: # 329 "../../moduli.c"
2432083: )
2432083: sshfatal("../../moduli.c", __func__, 330, 0, SYSLOG_LEVEL_FATAL,
2432083: # 330 "../../moduli.c" 3 4
2432083: ((void *)0)
2432083: # 330 "../../moduli.c"
2432083: , "BN_new failed");
2432083: if (start ==
2432083: # 331 "../../moduli.c" 3 4
2432083: ((void *)0)
2432083: # 331 "../../moduli.c"
2432083: ) {
2432083: if (BN_rand(largebase, power, 1, 1) == 0)
2432083: sshfatal("../../moduli.c", __func__, 333, 0, SYSLOG_LEVEL_FATAL,
2432083: # 333 "../../moduli.c" 3 4
2432083: ((void *)0)
2432083: # 333 "../../moduli.c"
2432083: , "BN_rand failed");
2432083: } else {
2432083: if (BN_copy(largebase, start) ==
2432083: # 335 "../../moduli.c" 3 4
2432083: ((void *)0)
2432083: # 335 "../../moduli.c"
2432083: )
2432083: sshfatal("../../moduli.c", __func__, 336, 0, SYSLOG_LEVEL_FATAL,
2432083: # 336 "../../moduli.c" 3 4
2432083: ((void *)0)
2432083: # 336 "../../moduli.c"
2432083: , "BN_copy: failed");
2432083: }
2432083:
2432083:
2432083: if (BN_set_bit(largebase, 0) == 0)
2432083: sshfatal("../../moduli.c", __func__, 341, 0, SYSLOG_LEVEL_FATAL,
2432083: # 341 "../../moduli.c" 3 4
2432083: ((void *)0)
2432083: # 341 "../../moduli.c"
2432083: , "BN_set_bit: failed");
2432083:
2432083: time(&time_start);
2432083:
2432083: sshlog("../../moduli.c", __func__, 345, 0, SYSLOG_LEVEL_INFO,
2432083: # 345 "../../moduli.c" 3 4
2432083: ((void *)0)
2432083: # 345 "../../moduli.c"
2432083: , "%.24s Sieve next %u plus %u-bit", ctime(&time_start), largenumbers, power)
2432083: ;
2432083: sshlog("../../moduli.c", __func__, 347, 0, SYSLOG_LEVEL_DEBUG2,
2432083: # 347 "../../moduli.c" 3 4
2432083: ((void *)0)
2432083: # 347 "../../moduli.c"
2432083: , "start point: 0x%s", BN_bn2hex(largebase));
2432083:
2432083:
2432083:
2432083:
2432083: for (i = 0; i < tinybits; i++) {
2432083: if (((TinySieve)[(i)>>((3)+(2))] & (1L << ((i) & 31))))
2432083: continue;
2432083:
2432083:
2432083: t = 2 * i + 3;
2432083:
2432083:
2432083: for (j = i + t; j < tinybits; j += t)
2432083: ((TinySieve)[(j)>>((3)+(2))] |= (1L << ((j) & 31)));
2432083:
2432083: sieve_large(t);
2432083: }
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: for (smallbase = (1UL<<16) + 3;
2432083: smallbase < ((0xffffffffUL) - (1UL<<16));
2432083: smallbase += (1UL<<16)) {
2432083: for (i = 0; i < tinybits; i++) {
2432083: if (((TinySieve)[(i)>>((3)+(2))] & (1L << ((i) & 31))))
2432083: continue;
2432083:
2432083:
2432083: t = 2 * i + 3;
2432083: r = smallbase % t;
2432083:
2432083: if (r == 0) {
2432083: s = 0;
2432083: } else {
2432083:
2432083: s = t - r;
2432083: }
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: if (s & 1)
2432083: s += t;
2432083:
2432083:
2432083: for (s /= 2; s < smallbits; s += t)
2432083: ((SmallSieve)[(s)>>((3)+(2))] |= (1L << ((s) & 31)));
2432083: }
2432083:
2432083:
2432083:
2432083:
2432083: for (i = 0; i < smallbits; i++) {
2432083: if (((SmallSieve)[(i)>>((3)+(2))] & (1L << ((i) & 31))))
2432083: continue;
2432083:
2432083:
2432083: sieve_large((2 * i) + smallbase);
2432083: }
2432083:
2432083: memset(SmallSieve, 0, smallwords << (2));
2432083: }
2432083:
2432083: time(&time_stop);
2432083:
2432083: sshlog("../../moduli.c", __func__, 417, 0, SYSLOG_LEVEL_INFO,
2432083: # 417 "../../moduli.c" 3 4
2432083: ((void *)0)
2432083: # 417 "../../moduli.c"
2432083: , "%.24s Sieved with %u small primes in %lld seconds", ctime(&time_stop), largetries, (long long)(time_stop - time_start))
2432083: ;
2432083:
2432083: for (j = r = 0; j < largebits; j++) {
2432083: if (((LargeSieve)[(j)>>((3)+(2))] & (1L << ((j) & 31))))
2432083: continue;
2432083:
2432083: sshlog("../../moduli.c", __func__, 424, 0, SYSLOG_LEVEL_DEBUG2,
2432083: # 424 "../../moduli.c" 3 4
2432083: ((void *)0)
2432083: # 424 "../../moduli.c"
2432083: , "test q = largebase+%u", 2 * j);
2432083: if (BN_set_word(q, 2 * j) == 0)
2432083: sshfatal("../../moduli.c", __func__, 426, 0, SYSLOG_LEVEL_FATAL,
2432083: # 426 "../../moduli.c" 3 4
2432083: ((void *)0)
2432083: # 426 "../../moduli.c"
2432083: , "BN_set_word failed");
2432083: if (BN_add(q, q, largebase) == 0)
2432083: sshfatal("../../moduli.c", __func__, 428, 0, SYSLOG_LEVEL_FATAL,
2432083: # 428 "../../moduli.c" 3 4
2432083: ((void *)0)
2432083: # 428 "../../moduli.c"
2432083: , "BN_add failed");
2432083: if (qfileout(out, (4),
2432083: (0x02), largetries,
2432083: (power - 1) , (0), q) == -1) {
2432083: ret = -1;
2432083: break;
2432083: }
2432083:
2432083: r++;
2432083: }
2432083:
2432083: time(&time_stop);
2432083:
2432083: free(LargeSieve);
2432083: free(SmallSieve);
2432083: free(TinySieve);
2432083:
2432083: sshlog("../../moduli.c", __func__, 445, 0, SYSLOG_LEVEL_INFO,
2432083: # 445 "../../moduli.c" 3 4
2432083: ((void *)0)
2432083: # 445 "../../moduli.c"
2432083: , "%.24s Found %u candidates", ctime(&time_stop), r);
2432083:
2432083: return (ret);
2432083: }
2432083:
2432083: static void
2432083: write_checkpoint(char *cpfile, u_int32_t lineno)
2432083: {
2432083: FILE *fp;
2432083: char tmp[
2432083: # 454 "../../moduli.c" 3 4
2432083: 4096
2432083: # 454 "../../moduli.c"
2432083: ];
2432083: int r, writeok, closeok;
2432083:
2432083: r = snprintf(tmp, sizeof(tmp), "%s.XXXXXXXXXX", cpfile);
2432083: if (r < 0 || r >=
2432083: # 458 "../../moduli.c" 3 4
2432083: 4096
2432083: # 458 "../../moduli.c"
2432083: ) {
2432083: sshlog("../../moduli.c", __func__, 459, 0, SYSLOG_LEVEL_INFO,
2432083: # 459 "../../moduli.c" 3 4
2432083: ((void *)0)
2432083: # 459 "../../moduli.c"
2432083: , "write_checkpoint: temp pathname too long");
2432083: return;
2432083: }
2432083: if ((r = _ssh_mkstemp(tmp)) == -1) {
2432083: sshlog("../../moduli.c", __func__, 463, 0, SYSLOG_LEVEL_INFO,
2432083: # 463 "../../moduli.c" 3 4
2432083: ((void *)0)
2432083: # 463 "../../moduli.c"
2432083: , "mkstemp(%s): %s", tmp, strerror(
2432083: # 463 "../../moduli.c" 3 4
2432083: (*__errno_location ())
2432083: # 463 "../../moduli.c"
2432083: ));
2432083: return;
2432083: }
2432083: if ((fp = fdopen(r, "w")) ==
2432083: # 466 "../../moduli.c" 3 4
2432083: ((void *)0)
2432083: # 466 "../../moduli.c"
2432083: ) {
2432083: sshlog("../../moduli.c", __func__, 467, 0, SYSLOG_LEVEL_INFO,
2432083: # 467 "../../moduli.c" 3 4
2432083: ((void *)0)
2432083: # 467 "../../moduli.c"
2432083: , "write_checkpoint: fdopen: %s", strerror(
2432083: # 467 "../../moduli.c" 3 4
2432083: (*__errno_location ())
2432083: # 467 "../../moduli.c"
2432083: ));
2432083: unlink(tmp);
2432083: close(r);
2432083: return;
2432083: }
2432083: writeok = (fprintf(fp, "%lu\n", (unsigned long)lineno) > 0);
2432083: closeok = (fclose(fp) == 0);
2432083: if (writeok && closeok && rename(tmp, cpfile) == 0) {
2432083: sshlog("../../moduli.c", __func__, 475, 0, SYSLOG_LEVEL_DEBUG3,
2432083: # 475 "../../moduli.c" 3 4
2432083: ((void *)0)
2432083: # 475 "../../moduli.c"
2432083: , "wrote checkpoint line %lu to '%s'", (unsigned long)lineno, cpfile)
2432083: ;
2432083: } else {
2432083: sshlog("../../moduli.c", __func__, 478, 0, SYSLOG_LEVEL_INFO,
2432083: # 478 "../../moduli.c" 3 4
2432083: ((void *)0)
2432083: # 478 "../../moduli.c"
2432083: , "failed to write to checkpoint file '%s': %s", cpfile, strerror(
2432083: # 478 "../../moduli.c" 3 4
2432083: (*__errno_location ())
2432083: # 478 "../../moduli.c"
2432083: ))
2432083: ;
2432083: (void)unlink(tmp);
2432083: }
2432083: }
2432083:
2432083: static unsigned long
2432083: read_checkpoint(char *cpfile)
2432083: {
2432083: FILE *fp;
2432083: unsigned long lineno = 0;
2432083:
2432083: if ((fp = fopen(cpfile, "r")) ==
2432083: # 490 "../../moduli.c" 3 4
2432083: ((void *)0)
2432083: # 490 "../../moduli.c"
2432083: )
2432083: return 0;
2432083: if (fscanf(fp, "%lu\n", &lineno) < 1)
2432083: sshlog("../../moduli.c", __func__, 493, 0, SYSLOG_LEVEL_INFO,
2432083: # 493 "../../moduli.c" 3 4
2432083: ((void *)0)
2432083: # 493 "../../moduli.c"
2432083: , "Failed to load checkpoint from '%s'", cpfile);
2432083: else
2432083: sshlog("../../moduli.c", __func__, 495, 0, SYSLOG_LEVEL_INFO,
2432083: # 495 "../../moduli.c" 3 4
2432083: ((void *)0)
2432083: # 495 "../../moduli.c"
2432083: , "Loaded checkpoint from '%s' line %lu", cpfile, lineno);
2432083: fclose(fp);
2432083: return lineno;
2432083: }
2432083:
2432083: static unsigned long
2432083: count_lines(FILE *f)
2432083: {
2432083: unsigned long count = 0;
2432083: char lp[(100+8192) + 1];
2432083:
2432083: if (fseek(f, 0,
2432083: # 506 "../../moduli.c" 3 4
2432083: 0
2432083: # 506 "../../moduli.c"
2432083: ) != 0) {
2432083: sshlog("../../moduli.c", __func__, 507, 0, SYSLOG_LEVEL_DEBUG1,
2432083: # 507 "../../moduli.c" 3 4
2432083: ((void *)0)
2432083: # 507 "../../moduli.c"
2432083: , "input file is not seekable");
2432083: return
2432083: # 508 "../../moduli.c" 3 4
2432083: (0x7fffffffL * 2UL + 1UL)
2432083: # 508 "../../moduli.c"
2432083: ;
2432083: }
2432083: while (fgets(lp, (100+8192) + 1, f) !=
2432083: # 510 "../../moduli.c" 3 4
2432083: ((void *)0)
2432083: # 510 "../../moduli.c"
2432083: )
2432083: count++;
2432083: rewind(f);
2432083: sshlog("../../moduli.c", __func__, 513, 0, SYSLOG_LEVEL_DEBUG1,
2432083: # 513 "../../moduli.c" 3 4
2432083: ((void *)0)
2432083: # 513 "../../moduli.c"
2432083: , "input file has %lu lines", count);
2432083: return count;
2432083: }
2432083:
2432083: static char *
2432083: fmt_time(time_t seconds)
2432083: {
2432083: int day, hr, min;
2432083: static char buf[128];
2432083:
2432083: min = (seconds / 60) % 60;
2432083: hr = (seconds / 60 / 60) % 24;
2432083: day = seconds / 60 / 60 / 24;
2432083: if (day > 0)
2432083: snprintf(buf, sizeof buf, "%dd %d:%02d", day, hr, min);
2432083: else
2432083: snprintf(buf, sizeof buf, "%d:%02d", hr, min);
2432083: return buf;
2432083: }
2432083:
2432083: static void
2432083: print_progress(unsigned long start_lineno, unsigned long current_lineno,
2432083: unsigned long end_lineno)
2432083: {
2432083: static time_t time_start, time_prev;
2432083: time_t time_now, elapsed;
2432083: unsigned long num_to_process, processed, remaining, percent, eta;
2432083: double time_per_line;
2432083: char *eta_str;
2432083:
2432083: time_now = monotime();
2432083: if (time_start == 0) {
2432083: time_start = time_prev = time_now;
2432083: return;
2432083: }
2432083:
2432083: if (time_now - time_prev < 5 * 60)
2432083: return;
2432083: time_prev = time_now;
2432083: elapsed = time_now - time_start;
2432083: processed = current_lineno - start_lineno;
2432083: remaining = end_lineno - current_lineno;
2432083: num_to_process = end_lineno - start_lineno;
2432083: time_per_line = (double)elapsed / processed;
2432083:
2432083: time(&time_now);
2432083: if (end_lineno ==
2432083: # 559 "../../moduli.c" 3 4
2432083: (0x7fffffffL * 2UL + 1UL)
2432083: # 559 "../../moduli.c"
2432083: ) {
2432083: sshlog("../../moduli.c", __func__, 560, 0, SYSLOG_LEVEL_INFO,
2432083: # 560 "../../moduli.c" 3 4
2432083: ((void *)0)
2432083: # 560 "../../moduli.c"
2432083: , "%.24s processed %lu in %s", ctime(&time_now), processed, fmt_time(elapsed))
2432083: ;
2432083: return;
2432083: }
2432083: percent = 100 * processed / num_to_process;
2432083: eta = time_per_line * remaining;
2432083: eta_str = xstrdup(fmt_time(eta));
2432083: sshlog("../../moduli.c", __func__, 567, 0, SYSLOG_LEVEL_INFO,
2432083: # 567 "../../moduli.c" 3 4
2432083: ((void *)0)
2432083: # 567 "../../moduli.c"
2432083: , "%.24s processed %lu of %lu (%lu%%) in %s, ETA %s", ctime(&time_now), processed, num_to_process, percent, fmt_time(elapsed), eta_str)
2432083:
2432083: ;
2432083: free(eta_str);
2432083: }
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: int
2432083: prime_test(FILE *in, FILE *out, u_int32_t trials, u_int32_t generator_wanted,
2432083: char *checkpoint_file, unsigned long start_lineno, unsigned long num_lines)
2432083: {
2432083: BIGNUM *q, *p, *a;
2432083: char *cp, *lp;
2432083: u_int32_t count_in = 0, count_out = 0, count_possible = 0;
2432083: u_int32_t generator_known, in_tests, in_tries, in_type, in_size;
2432083: unsigned long last_processed = 0, end_lineno;
2432083: time_t time_start, time_stop;
2432083: int res, is_prime;
2432083:
2432083: if (trials < (4)) {
2432083: sshlog("../../moduli.c", __func__, 592, 0, SYSLOG_LEVEL_ERROR,
2432083: # 592 "../../moduli.c" 3 4
2432083: ((void *)0)
2432083: # 592 "../../moduli.c"
2432083: , "Minimum primality trials is %d", (4));
2432083: return (-1);
2432083: }
2432083:
2432083: if (num_lines == 0)
2432083: end_lineno = count_lines(in);
2432083: else
2432083: end_lineno = start_lineno + num_lines;
2432083:
2432083: time(&time_start);
2432083:
2432083: if ((p = BN_new()) ==
2432083: # 603 "../../moduli.c" 3 4
2432083: ((void *)0)
2432083: # 603 "../../moduli.c"
2432083: )
2432083: sshfatal("../../moduli.c", __func__, 604, 0, SYSLOG_LEVEL_FATAL,
2432083: # 604 "../../moduli.c" 3 4
2432083: ((void *)0)
2432083: # 604 "../../moduli.c"
2432083: , "BN_new failed");
2432083: if ((q = BN_new()) ==
2432083: # 605 "../../moduli.c" 3 4
2432083: ((void *)0)
2432083: # 605 "../../moduli.c"
2432083: )
2432083: sshfatal("../../moduli.c", __func__, 606, 0, SYSLOG_LEVEL_FATAL,
2432083: # 606 "../../moduli.c" 3 4
2432083: ((void *)0)
2432083: # 606 "../../moduli.c"
2432083: , "BN_new failed");
2432083:
2432083: sshlog("../../moduli.c", __func__, 608, 0, SYSLOG_LEVEL_DEBUG2,
2432083: # 608 "../../moduli.c" 3 4
2432083: ((void *)0)
2432083: # 608 "../../moduli.c"
2432083: , "%.24s Final %u Miller-Rabin trials (%x generator)", ctime(&time_start), trials, generator_wanted)
2432083: ;
2432083:
2432083: if (checkpoint_file !=
2432083: # 611 "../../moduli.c" 3 4
2432083: ((void *)0)
2432083: # 611 "../../moduli.c"
2432083: )
2432083: last_processed = read_checkpoint(checkpoint_file);
2432083: last_processed = start_lineno = (((last_processed) > (start_lineno)) ? (last_processed) : (start_lineno));
2432083: if (end_lineno ==
2432083: # 614 "../../moduli.c" 3 4
2432083: (0x7fffffffL * 2UL + 1UL)
2432083: # 614 "../../moduli.c"
2432083: )
2432083: sshlog("../../moduli.c", __func__, 615, 0, SYSLOG_LEVEL_DEBUG1,
2432083: # 615 "../../moduli.c" 3 4
2432083: ((void *)0)
2432083: # 615 "../../moduli.c"
2432083: , "process from line %lu from pipe", last_processed);
2432083: else
2432083: sshlog("../../moduli.c", __func__, 617, 0, SYSLOG_LEVEL_DEBUG1,
2432083: # 617 "../../moduli.c" 3 4
2432083: ((void *)0)
2432083: # 617 "../../moduli.c"
2432083: , "process from line %lu to line %lu", last_processed, end_lineno)
2432083: ;
2432083:
2432083: res = 0;
2432083: lp = xmalloc((100+8192) + 1);
2432083: while (fgets(lp, (100+8192) + 1, in) !=
2432083: # 622 "../../moduli.c" 3 4
2432083: ((void *)0)
2432083: # 622 "../../moduli.c"
2432083: && count_in < end_lineno) {
2432083: count_in++;
2432083: if (count_in <= last_processed) {
2432083: sshlog("../../moduli.c", __func__, 625, 0, SYSLOG_LEVEL_DEBUG3,
2432083: # 625 "../../moduli.c" 3 4
2432083: ((void *)0)
2432083: # 625 "../../moduli.c"
2432083: , "skipping line %u, before checkpoint or " "specified start line", count_in)
2432083: ;
2432083: continue;
2432083: }
2432083: if (checkpoint_file !=
2432083: # 629 "../../moduli.c" 3 4
2432083: ((void *)0)
2432083: # 629 "../../moduli.c"
2432083: )
2432083: write_checkpoint(checkpoint_file, count_in);
2432083: print_progress(start_lineno, count_in, end_lineno);
2432083: if (strlen(lp) < 14 || *lp == '!' || *lp == '#') {
2432083: sshlog("../../moduli.c", __func__, 633, 0, SYSLOG_LEVEL_DEBUG2,
2432083: # 633 "../../moduli.c" 3 4
2432083: ((void *)0)
2432083: # 633 "../../moduli.c"
2432083: , "%10u: comment or short line", count_in);
2432083: continue;
2432083: }
2432083:
2432083:
2432083:
2432083: cp = &lp[14];
2432083:
2432083:
2432083: in_type = strtoul(cp, &cp, 10);
2432083:
2432083:
2432083: in_tests = strtoul(cp, &cp, 10);
2432083:
2432083: if (in_tests & (0x01)) {
2432083: sshlog("../../moduli.c", __func__, 648, 0, SYSLOG_LEVEL_DEBUG2,
2432083: # 648 "../../moduli.c" 3 4
2432083: ((void *)0)
2432083: # 648 "../../moduli.c"
2432083: , "%10u: known composite", count_in);
2432083: continue;
2432083: }
2432083:
2432083:
2432083: in_tries = strtoul(cp, &cp, 10);
2432083:
2432083:
2432083: in_size = strtoul(cp, &cp, 10);
2432083:
2432083:
2432083: generator_known = strtoul(cp, &cp, 16);
2432083:
2432083:
2432083: cp += strspn(cp, " ");
2432083:
2432083:
2432083: switch (in_type) {
2432083: case (4):
2432083: sshlog("../../moduli.c", __func__, 667, 0, SYSLOG_LEVEL_DEBUG2,
2432083: # 667 "../../moduli.c" 3 4
2432083: ((void *)0)
2432083: # 667 "../../moduli.c"
2432083: , "%10u: (%u) Sophie-Germain", count_in, in_type);
2432083: a = q;
2432083: if (BN_hex2bn(&a, cp) == 0)
2432083: sshfatal("../../moduli.c", __func__, 670, 0, SYSLOG_LEVEL_FATAL,
2432083: # 670 "../../moduli.c" 3 4
2432083: ((void *)0)
2432083: # 670 "../../moduli.c"
2432083: , "BN_hex2bn failed");
2432083:
2432083: if (BN_lshift(p, q, 1) == 0)
2432083: sshfatal("../../moduli.c", __func__, 673, 0, SYSLOG_LEVEL_FATAL,
2432083: # 673 "../../moduli.c" 3 4
2432083: ((void *)0)
2432083: # 673 "../../moduli.c"
2432083: , "BN_lshift failed");
2432083: if (BN_add_word(p, 1) == 0)
2432083: sshfatal("../../moduli.c", __func__, 675, 0, SYSLOG_LEVEL_FATAL,
2432083: # 675 "../../moduli.c" 3 4
2432083: ((void *)0)
2432083: # 675 "../../moduli.c"
2432083: , "BN_add_word failed");
2432083: in_size += 1;
2432083: generator_known = 0;
2432083: break;
2432083: case (1):
2432083: case (2):
2432083: case (3):
2432083: case (5):
2432083: case (0):
2432083: sshlog("../../moduli.c", __func__, 684, 0, SYSLOG_LEVEL_DEBUG2,
2432083: # 684 "../../moduli.c" 3 4
2432083: ((void *)0)
2432083: # 684 "../../moduli.c"
2432083: , "%10u: (%u)", count_in, in_type);
2432083: a = p;
2432083: if (BN_hex2bn(&a, cp) == 0)
2432083: sshfatal("../../moduli.c", __func__, 687, 0, SYSLOG_LEVEL_FATAL,
2432083: # 687 "../../moduli.c" 3 4
2432083: ((void *)0)
2432083: # 687 "../../moduli.c"
2432083: , "BN_hex2bn failed");
2432083:
2432083: if (BN_rshift(q, p, 1) == 0)
2432083: sshfatal("../../moduli.c", __func__, 690, 0, SYSLOG_LEVEL_FATAL,
2432083: # 690 "../../moduli.c" 3 4
2432083: ((void *)0)
2432083: # 690 "../../moduli.c"
2432083: , "BN_rshift failed");
2432083: break;
2432083: default:
2432083: sshlog("../../moduli.c", __func__, 693, 0, SYSLOG_LEVEL_DEBUG2,
2432083: # 693 "../../moduli.c" 3 4
2432083: ((void *)0)
2432083: # 693 "../../moduli.c"
2432083: , "Unknown prime type");
2432083: break;
2432083: }
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: if ((u_int32_t)BN_num_bits(p) != (in_size + 1)) {
2432083: sshlog("../../moduli.c", __func__, 702, 0, SYSLOG_LEVEL_DEBUG2,
2432083: # 702 "../../moduli.c" 3 4
2432083: ((void *)0)
2432083: # 702 "../../moduli.c"
2432083: , "%10u: bit size %u mismatch", count_in, in_size);
2432083: continue;
2432083: }
2432083: if (in_size < (511)) {
2432083: sshlog("../../moduli.c", __func__, 706, 0, SYSLOG_LEVEL_DEBUG2,
2432083: # 706 "../../moduli.c" 3 4
2432083: ((void *)0)
2432083: # 706 "../../moduli.c"
2432083: , "%10u: bit size %u too short", count_in, in_size);
2432083: continue;
2432083: }
2432083:
2432083: if (in_tests & (0x04))
2432083: in_tries += trials;
2432083: else
2432083: in_tries = trials;
2432083:
2432083:
2432083:
2432083:
2432083: if (generator_known == 0) {
2432083: if (BN_mod_word(p, 24) == 11)
2432083: generator_known = 2;
2432083: else {
2432083: u_int32_t r = BN_mod_word(p, 10);
2432083:
2432083: if (r == 3 || r == 7)
2432083: generator_known = 5;
2432083: }
2432083: }
2432083:
2432083:
2432083:
2432083: if (generator_wanted > 0 &&
2432083: generator_wanted != generator_known) {
2432083: sshlog("../../moduli.c", __func__, 733, 0, SYSLOG_LEVEL_DEBUG2,
2432083: # 733 "../../moduli.c" 3 4
2432083: ((void *)0)
2432083: # 733 "../../moduli.c"
2432083: , "%10u: generator %d != %d", count_in, generator_known, generator_wanted)
2432083: ;
2432083: continue;
2432083: }
2432083:
2432083:
2432083:
2432083:
2432083:
2432083: if (generator_known == 0) {
2432083: sshlog("../../moduli.c", __func__, 743, 0, SYSLOG_LEVEL_DEBUG2,
2432083: # 743 "../../moduli.c" 3 4
2432083: ((void *)0)
2432083: # 743 "../../moduli.c"
2432083: , "%10u: no known generator", count_in);
2432083: continue;
2432083: }
2432083:
2432083: count_possible++;
2432083: # 756 "../../moduli.c"
2432083: is_prime = BN_is_prime_ex(q, 1,
2432083: # 756 "../../moduli.c" 3 4
2432083: ((void *)0)
2432083: # 756 "../../moduli.c"
2432083: ,
2432083: # 756 "../../moduli.c" 3 4
2432083: ((void *)0)
2432083: # 756 "../../moduli.c"
2432083: );
2432083: if (is_prime < 0)
2432083: sshfatal("../../moduli.c", __func__, 758, 0, SYSLOG_LEVEL_FATAL,
2432083: # 758 "../../moduli.c" 3 4
2432083: ((void *)0)
2432083: # 758 "../../moduli.c"
2432083: , "BN_is_prime_ex failed");
2432083: if (is_prime == 0) {
2432083: sshlog("../../moduli.c", __func__, 760, 0, SYSLOG_LEVEL_DEBUG1,
2432083: # 760 "../../moduli.c" 3 4
2432083: ((void *)0)
2432083: # 760 "../../moduli.c"
2432083: , "%10u: q failed first possible prime test", count_in)
2432083: ;
2432083: continue;
2432083: }
2432083: # 772 "../../moduli.c"
2432083: is_prime = BN_is_prime_ex(p, trials,
2432083: # 772 "../../moduli.c" 3 4
2432083: ((void *)0)
2432083: # 772 "../../moduli.c"
2432083: ,
2432083: # 772 "../../moduli.c" 3 4
2432083: ((void *)0)
2432083: # 772 "../../moduli.c"
2432083: );
2432083: if (is_prime < 0)
2432083: sshfatal("../../moduli.c", __func__, 774, 0, SYSLOG_LEVEL_FATAL,
2432083: # 774 "../../moduli.c" 3 4
2432083: ((void *)0)
2432083: # 774 "../../moduli.c"
2432083: , "BN_is_prime_ex failed");
2432083: if (is_prime == 0) {
2432083: sshlog("../../moduli.c", __func__, 776, 0, SYSLOG_LEVEL_DEBUG1,
2432083: # 776 "../../moduli.c" 3 4
2432083: ((void *)0)
2432083: # 776 "../../moduli.c"
2432083: , "%10u: p is not prime", count_in);
2432083: continue;
2432083: }
2432083: sshlog("../../moduli.c", __func__, 779, 0, SYSLOG_LEVEL_DEBUG1,
2432083: # 779 "../../moduli.c" 3 4
2432083: ((void *)0)
2432083: # 779 "../../moduli.c"
2432083: , "%10u: p is almost certainly prime", count_in);
2432083:
2432083:
2432083: is_prime = BN_is_prime_ex(q, trials - 1,
2432083: # 782 "../../moduli.c" 3 4
2432083: ((void *)0)
2432083: # 782 "../../moduli.c"
2432083: ,
2432083: # 782 "../../moduli.c" 3 4
2432083: ((void *)0)
2432083: # 782 "../../moduli.c"
2432083: );
2432083: if (is_prime < 0)
2432083: sshfatal("../../moduli.c", __func__, 784, 0, SYSLOG_LEVEL_FATAL,
2432083: # 784 "../../moduli.c" 3 4
2432083: ((void *)0)
2432083: # 784 "../../moduli.c"
2432083: , "BN_is_prime_ex failed");
2432083: if (is_prime == 0) {
2432083: sshlog("../../moduli.c", __func__, 786, 0, SYSLOG_LEVEL_DEBUG1,
2432083: # 786 "../../moduli.c" 3 4
2432083: ((void *)0)
2432083: # 786 "../../moduli.c"
2432083: , "%10u: q is not prime", count_in);
2432083: continue;
2432083: }
2432083: sshlog("../../moduli.c", __func__, 789, 0, SYSLOG_LEVEL_DEBUG1,
2432083: # 789 "../../moduli.c" 3 4
2432083: ((void *)0)
2432083: # 789 "../../moduli.c"
2432083: , "%10u: q is almost certainly prime", count_in);
2432083:
2432083: if (qfileout(out, (2),
2432083: in_tests | (0x04),
2432083: in_tries, in_size, generator_known, p)) {
2432083: res = -1;
2432083: break;
2432083: }
2432083:
2432083: count_out++;
2432083: }
2432083:
2432083: time(&time_stop);
2432083: free(lp);
2432083: BN_free(p);
2432083: BN_free(q);
2432083:
2432083: if (checkpoint_file !=
2432083: # 806 "../../moduli.c" 3 4
2432083: ((void *)0)
2432083: # 806 "../../moduli.c"
2432083: )
2432083: unlink(checkpoint_file);
2432083:
2432083: sshlog("../../moduli.c", __func__, 809, 0, SYSLOG_LEVEL_INFO,
2432083: # 809 "../../moduli.c" 3 4
2432083: ((void *)0)
2432083: # 809 "../../moduli.c"
2432083: , "%.24s Found %u safe primes of %u candidates in %ld seconds", ctime(&time_stop), count_out, count_possible, (long) (time_stop - time_start))
2432083:
2432083: ;
2432083:
2432083: return (res);
2432083: }
=== END GCC DUMP ===
make[2]: *** [Makefile:196: moduli.o] Error 1
make[2]: *** Waiting for unfinished jobs....
Preprocessed source stored into /tmp/ccSbtatL.out file, please attach this to your bugreport.
=== BEGIN GCC DUMP ===
2432103: // Target: m68k-linux-gnu
2432103: // Configured with: ../src/configure -v --with-pkgversion='Debian 13.2.0-16.1' --with-bugurl=file:///usr/share/doc/gcc-13/README.Bugs --enable-languages=c,ada,c++,fortran,objc,obj-c++,m2 --prefix=/usr --with-gcc-major-version-only --program-suffix=-13 --program-prefix=m68k-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/libexec --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-libstdcxx-backtrace --enable-gnu-unique-object --disable-libssp --disable-libitm --disable-libsanitizer --disable-libquadmath --disable-libquadmath-support --enable-plugin --with-system-zlib --enable-objc-gc=auto --enable-multiarch --disable-werror --disable-werror --disable-multilib --enable-checking=release --build=m68k-linux-gnu --host=m68k-linux-gnu --target=m68k-linux-gnu
2432103: // Thread model: posix
2432103: // Supported LTO compression algorithms: zlib zstd
2432103: // gcc version 13.2.0 (Debian 13.2.0-16.1)
2432103: //
2432103: // during RTL pass: zero_call_used_regs
2432103: // ../../packet.c: In function ‘ssh_packet_close_internal’:
2432103: // ../../packet.c:648:1: internal compiler error: in change_address_1, at emit-rtl.cc:2287
2432103: // 648 | }
2432103: // | ^
2432103: // 0x81019dfb internal_error(char const*, ...)
2432103: // ???:0
2432103: // 0x8018a645 fancy_abort(char const*, int, char const*)
2432103: // ???:0
2432103: // 0x803bb389 replace_equiv_address(rtx_def*, rtx_def*, bool)
2432103: // ???:0
2432103: // 0x803eaba9 emit_move_insn(rtx_def*, rtx_def*)
2432103: // ???:0
2432103: // 0x80736979 default_zero_call_used_regs(unsigned long)
2432103: // ???:0
2432103: // Please submit a full bug report, with preprocessed source (by using -freport-bug).
2432103: // Please include the complete backtrace with any bug report.
2432103: // See <file:///usr/share/doc/gcc-13/README.Bugs> for instructions.
2432103:
2432103: // /usr/libexec/gcc/m68k-linux-gnu/13/cc1 -quiet -I . -I ../.. -I /usr/include/editline -imultilib . -imultiarch m68k-linux-gnu -D _FORTIFY_SOURCE=2 -D _LARGEFILE_SOURCE -D _FILE_OFFSET_BITS=64 -D _TIME_BITS=64 -D _FORTIFY_SOURCE=2 -D SSH_EXTRAVERSION="Debian-2" -D _LARGEFILE_SOURCE -D _FILE_OFFSET_BITS=64 -D _TIME_BITS=64 -D _FORTIFY_SOURCE=2 -D _XOPEN_SOURCE=600 -D _BSD_SOURCE -D _DEFAULT_SOURCE -D _GNU_SOURCE -D OPENSSL_API_COMPAT=0x10100000L -D SSHDIR="/etc/ssh" -D _PATH_SSH_PROGRAM="/usr/bin/ssh" -D _PATH_SSH_ASKPASS_DEFAULT="/usr/bin/ssh-askpass" -D _PATH_SFTP_SERVER="/usr/lib/openssh/sftp-server" -D _PATH_SSH_KEY_SIGN="/usr/lib/openssh/ssh-keysign" -D _PATH_SSH_PKCS11_HELPER="/usr/lib/openssh/ssh-pkcs11-helper" -D _PATH_SSH_SK_HELPER="/usr/lib/openssh/ssh-sk-helper" -D _PATH_SSH_PIDDIR="/run" -D _PATH_PRIVSEP_CHROOT_DIR="/run/sshd" -D HAVE_CONFIG_H -isystem /usr/include/mit-krb5 -isystem /usr/include/mit-krb5 ../../packet.c -quiet -dumpbase packet.c -dumpbase-ext .c -mcpu=68020 -g -g -O2 -O2 -Werror=implicit-function-declaration -Wformat=1 -Werror=format-security -Wno-error=format-truncation -Wall -Wextra -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-parameter -Wno-unused-result -Wimplicit-fallthrough=3 -Wmisleading-indentation -Werror=implicit-function-declaration -Wformat=1 -Werror=format-security -Wdate-time -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fno-strict-aliasing -ftrapv -fzero-call-used-regs=used -ftrivial-auto-var-init=zero -fno-builtin-memset -fstack-protector-strong -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fPIE -o - -frandom-seed=0 -fdump-noaddr
2432103:
2432103: # 0 "../../packet.c"
2432103: # 1 "/<<PKGBUILDDIR>>/debian/build-deb//"
2432103: # 0 "<built-in>"
2432103: # 0 "<command-line>"
2432103: # 1 "/usr/include/stdc-predef.h" 1 3 4
2432103: # 0 "<command-line>" 2
2432103: # 1 "../../packet.c"
2432103: # 40 "../../packet.c"
2432103: # 1 "../../includes.h" 1
2432103: # 19 "../../includes.h"
2432103: # 1 "./config.h" 1
2432103: # 20 "../../includes.h" 2
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: # 1 "/usr/include/m68k-linux-gnu/sys/types.h" 1 3 4
2432103: # 25 "/usr/include/m68k-linux-gnu/sys/types.h" 3 4
2432103: # 1 "/usr/include/features.h" 1 3 4
2432103: # 393 "/usr/include/features.h" 3 4
2432103: # 1 "/usr/include/features-time64.h" 1 3 4
2432103: # 20 "/usr/include/features-time64.h" 3 4
2432103: # 1 "/usr/include/m68k-linux-gnu/bits/wordsize.h" 1 3 4
2432103: # 21 "/usr/include/features-time64.h" 2 3 4
2432103: # 1 "/usr/include/m68k-linux-gnu/bits/timesize.h" 1 3 4
2432103: # 22 "/usr/include/features-time64.h" 2 3 4
2432103: # 394 "/usr/include/features.h" 2 3 4
2432103: # 490 "/usr/include/features.h" 3 4
2432103: # 1 "/usr/include/m68k-linux-gnu/sys/cdefs.h" 1 3 4
2432103: # 561 "/usr/include/m68k-linux-gnu/sys/cdefs.h" 3 4
2432103: # 1 "/usr/include/m68k-linux-gnu/bits/wordsize.h" 1 3 4
2432103: # 562 "/usr/include/m68k-linux-gnu/sys/cdefs.h" 2 3 4
2432103: # 1 "/usr/include/m68k-linux-gnu/bits/long-double.h" 1 3 4
2432103: # 563 "/usr/include/m68k-linux-gnu/sys/cdefs.h" 2 3 4
2432103: # 491 "/usr/include/features.h" 2 3 4
2432103: # 514 "/usr/include/features.h" 3 4
2432103: # 1 "/usr/include/m68k-linux-gnu/gnu/stubs.h" 1 3 4
2432103: # 515 "/usr/include/features.h" 2 3 4
2432103: # 26 "/usr/include/m68k-linux-gnu/sys/types.h" 2 3 4
2432103:
2432103:
2432103:
2432103: # 1 "/usr/include/m68k-linux-gnu/bits/types.h" 1 3 4
2432103: # 27 "/usr/include/m68k-linux-gnu/bits/types.h" 3 4
2432103: # 1 "/usr/include/m68k-linux-gnu/bits/wordsize.h" 1 3 4
2432103: # 28 "/usr/include/m68k-linux-gnu/bits/types.h" 2 3 4
2432103: # 1 "/usr/include/m68k-linux-gnu/bits/timesize.h" 1 3 4
2432103: # 29 "/usr/include/m68k-linux-gnu/bits/types.h" 2 3 4
2432103:
2432103:
2432103:
2432103: # 31 "/usr/include/m68k-linux-gnu/bits/types.h" 3 4
2432103: typedef unsigned char __u_char;
2432103: typedef unsigned short int __u_short;
2432103: typedef unsigned int __u_int;
2432103: typedef unsigned long int __u_long;
2432103:
2432103:
2432103: typedef signed char __int8_t;
2432103: typedef unsigned char __uint8_t;
2432103: typedef signed short int __int16_t;
2432103: typedef unsigned short int __uint16_t;
2432103: typedef signed int __int32_t;
2432103: typedef unsigned int __uint32_t;
2432103:
2432103:
2432103:
2432103:
2432103: __extension__ typedef signed long long int __int64_t;
2432103: __extension__ typedef unsigned long long int __uint64_t;
2432103:
2432103:
2432103:
2432103: typedef __int8_t __int_least8_t;
2432103: typedef __uint8_t __uint_least8_t;
2432103: typedef __int16_t __int_least16_t;
2432103: typedef __uint16_t __uint_least16_t;
2432103: typedef __int32_t __int_least32_t;
2432103: typedef __uint32_t __uint_least32_t;
2432103: typedef __int64_t __int_least64_t;
2432103: typedef __uint64_t __uint_least64_t;
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: __extension__ typedef long long int __quad_t;
2432103: __extension__ typedef unsigned long long int __u_quad_t;
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: __extension__ typedef long long int __intmax_t;
2432103: __extension__ typedef unsigned long long int __uintmax_t;
2432103: # 141 "/usr/include/m68k-linux-gnu/bits/types.h" 3 4
2432103: # 1 "/usr/include/m68k-linux-gnu/bits/typesizes.h" 1 3 4
2432103: # 142 "/usr/include/m68k-linux-gnu/bits/types.h" 2 3 4
2432103: # 1 "/usr/include/m68k-linux-gnu/bits/time64.h" 1 3 4
2432103: # 143 "/usr/include/m68k-linux-gnu/bits/types.h" 2 3 4
2432103:
2432103:
2432103: __extension__ typedef __uint64_t __dev_t;
2432103: __extension__ typedef unsigned int __uid_t;
2432103: __extension__ typedef unsigned int __gid_t;
2432103: __extension__ typedef unsigned long int __ino_t;
2432103: __extension__ typedef __uint64_t __ino64_t;
2432103: __extension__ typedef unsigned int __mode_t;
2432103: __extension__ typedef unsigned int __nlink_t;
2432103: __extension__ typedef long int __off_t;
2432103: __extension__ typedef __int64_t __off64_t;
2432103: __extension__ typedef int __pid_t;
2432103: __extension__ typedef struct { int __val[2]; } __fsid_t;
2432103: __extension__ typedef long int __clock_t;
2432103: __extension__ typedef unsigned long int __rlim_t;
2432103: __extension__ typedef __uint64_t __rlim64_t;
2432103: __extension__ typedef unsigned int __id_t;
2432103: __extension__ typedef long int __time_t;
2432103: __extension__ typedef unsigned int __useconds_t;
2432103: __extension__ typedef long int __suseconds_t;
2432103: __extension__ typedef __int64_t __suseconds64_t;
2432103:
2432103: __extension__ typedef int __daddr_t;
2432103: __extension__ typedef int __key_t;
2432103:
2432103:
2432103: __extension__ typedef int __clockid_t;
2432103:
2432103:
2432103: __extension__ typedef void * __timer_t;
2432103:
2432103:
2432103: __extension__ typedef long int __blksize_t;
2432103:
2432103:
2432103:
2432103:
2432103: __extension__ typedef long int __blkcnt_t;
2432103: __extension__ typedef __int64_t __blkcnt64_t;
2432103:
2432103:
2432103: __extension__ typedef unsigned long int __fsblkcnt_t;
2432103: __extension__ typedef __uint64_t __fsblkcnt64_t;
2432103:
2432103:
2432103: __extension__ typedef unsigned long int __fsfilcnt_t;
2432103: __extension__ typedef __uint64_t __fsfilcnt64_t;
2432103:
2432103:
2432103: __extension__ typedef int __fsword_t;
2432103:
2432103: __extension__ typedef int __ssize_t;
2432103:
2432103:
2432103: __extension__ typedef long int __syscall_slong_t;
2432103:
2432103: __extension__ typedef unsigned long int __syscall_ulong_t;
2432103:
2432103:
2432103:
2432103: typedef __off64_t __loff_t;
2432103: typedef char *__caddr_t;
2432103:
2432103:
2432103: __extension__ typedef int __intptr_t;
2432103:
2432103:
2432103: __extension__ typedef unsigned int __socklen_t;
2432103:
2432103:
2432103:
2432103:
2432103: typedef int __sig_atomic_t;
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: __extension__ typedef __int64_t __time64_t;
2432103: # 30 "/usr/include/m68k-linux-gnu/sys/types.h" 2 3 4
2432103:
2432103:
2432103:
2432103: typedef __u_char u_char;
2432103: typedef __u_short u_short;
2432103: typedef __u_int u_int;
2432103: typedef __u_long u_long;
2432103: typedef __quad_t quad_t;
2432103: typedef __u_quad_t u_quad_t;
2432103: typedef __fsid_t fsid_t;
2432103:
2432103:
2432103: typedef __loff_t loff_t;
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: typedef __ino64_t ino_t;
2432103:
2432103:
2432103:
2432103:
2432103: typedef __ino64_t ino64_t;
2432103:
2432103:
2432103:
2432103:
2432103: typedef __dev_t dev_t;
2432103:
2432103:
2432103:
2432103:
2432103: typedef __gid_t gid_t;
2432103:
2432103:
2432103:
2432103:
2432103: typedef __mode_t mode_t;
2432103:
2432103:
2432103:
2432103:
2432103: typedef __nlink_t nlink_t;
2432103:
2432103:
2432103:
2432103:
2432103: typedef __uid_t uid_t;
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: typedef __off64_t off_t;
2432103:
2432103:
2432103:
2432103:
2432103: typedef __off64_t off64_t;
2432103:
2432103:
2432103:
2432103:
2432103: typedef __pid_t pid_t;
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: typedef __id_t id_t;
2432103:
2432103:
2432103:
2432103:
2432103: typedef __ssize_t ssize_t;
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: typedef __daddr_t daddr_t;
2432103: typedef __caddr_t caddr_t;
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: typedef __key_t key_t;
2432103:
2432103:
2432103:
2432103:
2432103: # 1 "/usr/include/m68k-linux-gnu/bits/types/clock_t.h" 1 3 4
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: typedef __clock_t clock_t;
2432103: # 127 "/usr/include/m68k-linux-gnu/sys/types.h" 2 3 4
2432103:
2432103: # 1 "/usr/include/m68k-linux-gnu/bits/types/clockid_t.h" 1 3 4
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: typedef __clockid_t clockid_t;
2432103: # 129 "/usr/include/m68k-linux-gnu/sys/types.h" 2 3 4
2432103: # 1 "/usr/include/m68k-linux-gnu/bits/types/time_t.h" 1 3 4
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: typedef __time64_t time_t;
2432103: # 130 "/usr/include/m68k-linux-gnu/sys/types.h" 2 3 4
2432103: # 1 "/usr/include/m68k-linux-gnu/bits/types/timer_t.h" 1 3 4
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: typedef __timer_t timer_t;
2432103: # 131 "/usr/include/m68k-linux-gnu/sys/types.h" 2 3 4
2432103:
2432103:
2432103:
2432103: typedef __useconds_t useconds_t;
2432103:
2432103:
2432103:
2432103: typedef __suseconds_t suseconds_t;
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: # 1 "/usr/lib/gcc/m68k-linux-gnu/13/include/stddef.h" 1 3 4
2432103: # 214 "/usr/lib/gcc/m68k-linux-gnu/13/include/stddef.h" 3 4
2432103: typedef unsigned int size_t;
2432103: # 145 "/usr/include/m68k-linux-gnu/sys/types.h" 2 3 4
2432103:
2432103:
2432103:
2432103: typedef unsigned long int ulong;
2432103: typedef unsigned short int ushort;
2432103: typedef unsigned int uint;
2432103:
2432103:
2432103:
2432103:
2432103: # 1 "/usr/include/m68k-linux-gnu/bits/stdint-intn.h" 1 3 4
2432103: # 24 "/usr/include/m68k-linux-gnu/bits/stdint-intn.h" 3 4
2432103: typedef __int8_t int8_t;
2432103: typedef __int16_t int16_t;
2432103: typedef __int32_t int32_t;
2432103: typedef __int64_t int64_t;
2432103: # 156 "/usr/include/m68k-linux-gnu/sys/types.h" 2 3 4
2432103:
2432103:
2432103: typedef __uint8_t u_int8_t;
2432103: typedef __uint16_t u_int16_t;
2432103: typedef __uint32_t u_int32_t;
2432103: typedef __uint64_t u_int64_t;
2432103:
2432103:
2432103: typedef int register_t __attribute__ ((__mode__ (__word__)));
2432103: # 176 "/usr/include/m68k-linux-gnu/sys/types.h" 3 4
2432103: # 1 "/usr/include/endian.h" 1 3 4
2432103: # 24 "/usr/include/endian.h" 3 4
2432103: # 1 "/usr/include/m68k-linux-gnu/bits/endian.h" 1 3 4
2432103: # 35 "/usr/include/m68k-linux-gnu/bits/endian.h" 3 4
2432103: # 1 "/usr/include/m68k-linux-gnu/bits/endianness.h" 1 3 4
2432103: # 36 "/usr/include/m68k-linux-gnu/bits/endian.h" 2 3 4
2432103: # 25 "/usr/include/endian.h" 2 3 4
2432103: # 35 "/usr/include/endian.h" 3 4
2432103: # 1 "/usr/include/m68k-linux-gnu/bits/byteswap.h" 1 3 4
2432103: # 33 "/usr/include/m68k-linux-gnu/bits/byteswap.h" 3 4
2432103: static __inline __uint16_t
2432103: __bswap_16 (__uint16_t __bsx)
2432103: {
2432103:
2432103: return __builtin_bswap16 (__bsx);
2432103:
2432103:
2432103:
2432103: }
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: static __inline __uint32_t
2432103: __bswap_32 (__uint32_t __bsx)
2432103: {
2432103:
2432103: return __builtin_bswap32 (__bsx);
2432103:
2432103:
2432103:
2432103: }
2432103: # 69 "/usr/include/m68k-linux-gnu/bits/byteswap.h" 3 4
2432103: __extension__ static __inline __uint64_t
2432103: __bswap_64 (__uint64_t __bsx)
2432103: {
2432103:
2432103: return __builtin_bswap64 (__bsx);
2432103:
2432103:
2432103:
2432103: }
2432103: # 36 "/usr/include/endian.h" 2 3 4
2432103: # 1 "/usr/include/m68k-linux-gnu/bits/uintn-identity.h" 1 3 4
2432103: # 32 "/usr/include/m68k-linux-gnu/bits/uintn-identity.h" 3 4
2432103: static __inline __uint16_t
2432103: __uint16_identity (__uint16_t __x)
2432103: {
2432103: return __x;
2432103: }
2432103:
2432103: static __inline __uint32_t
2432103: __uint32_identity (__uint32_t __x)
2432103: {
2432103: return __x;
2432103: }
2432103:
2432103: static __inline __uint64_t
2432103: __uint64_identity (__uint64_t __x)
2432103: {
2432103: return __x;
2432103: }
2432103: # 37 "/usr/include/endian.h" 2 3 4
2432103: # 177 "/usr/include/m68k-linux-gnu/sys/types.h" 2 3 4
2432103:
2432103:
2432103: # 1 "/usr/include/m68k-linux-gnu/sys/select.h" 1 3 4
2432103: # 30 "/usr/include/m68k-linux-gnu/sys/select.h" 3 4
2432103: # 1 "/usr/include/m68k-linux-gnu/bits/select.h" 1 3 4
2432103: # 31 "/usr/include/m68k-linux-gnu/sys/select.h" 2 3 4
2432103:
2432103:
2432103: # 1 "/usr/include/m68k-linux-gnu/bits/types/sigset_t.h" 1 3 4
2432103:
2432103:
2432103:
2432103: # 1 "/usr/include/m68k-linux-gnu/bits/types/__sigset_t.h" 1 3 4
2432103:
2432103:
2432103:
2432103:
2432103: typedef struct
2432103: {
2432103: unsigned long int __val[(1024 / (8 * sizeof (unsigned long int)))];
2432103: } __sigset_t;
2432103: # 5 "/usr/include/m68k-linux-gnu/bits/types/sigset_t.h" 2 3 4
2432103:
2432103:
2432103: typedef __sigset_t sigset_t;
2432103: # 34 "/usr/include/m68k-linux-gnu/sys/select.h" 2 3 4
2432103:
2432103:
2432103:
2432103: # 1 "/usr/include/m68k-linux-gnu/bits/types/struct_timeval.h" 1 3 4
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: struct timeval
2432103: {
2432103:
2432103: __time64_t tv_sec;
2432103: __suseconds64_t tv_usec;
2432103:
2432103:
2432103:
2432103:
2432103: };
2432103: # 38 "/usr/include/m68k-linux-gnu/sys/select.h" 2 3 4
2432103:
2432103: # 1 "/usr/include/m68k-linux-gnu/bits/types/struct_timespec.h" 1 3 4
2432103: # 11 "/usr/include/m68k-linux-gnu/bits/types/struct_timespec.h" 3 4
2432103: struct timespec
2432103: {
2432103:
2432103: __time64_t tv_sec;
2432103: # 24 "/usr/include/m68k-linux-gnu/bits/types/struct_timespec.h" 3 4
2432103: int: 32;
2432103: long int tv_nsec;
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: };
2432103: # 40 "/usr/include/m68k-linux-gnu/sys/select.h" 2 3 4
2432103: # 49 "/usr/include/m68k-linux-gnu/sys/select.h" 3 4
2432103: typedef long int __fd_mask;
2432103: # 59 "/usr/include/m68k-linux-gnu/sys/select.h" 3 4
2432103: typedef struct
2432103: {
2432103:
2432103:
2432103:
2432103: __fd_mask fds_bits[1024 / (8 * (int) sizeof (__fd_mask))];
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: } fd_set;
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: typedef __fd_mask fd_mask;
2432103: # 91 "/usr/include/m68k-linux-gnu/sys/select.h" 3 4
2432103:
2432103: # 108 "/usr/include/m68k-linux-gnu/sys/select.h" 3 4
2432103: extern int select (int __nfds, fd_set *__restrict __readfds, fd_set *__restrict __writefds, fd_set *__restrict __exceptfds, struct timeval *__restrict __timeout) __asm__ ("" "__select64")
2432103:
2432103:
2432103:
2432103:
2432103: ;
2432103: # 134 "/usr/include/m68k-linux-gnu/sys/select.h" 3 4
2432103: extern int pselect (int __nfds, fd_set *__restrict __readfds, fd_set *__restrict __writefds, fd_set *__restrict __exceptfds, const struct timespec *__restrict __timeout, const __sigset_t *__restrict __sigmask) __asm__ ("" "__pselect64")
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: ;
2432103: # 150 "/usr/include/m68k-linux-gnu/sys/select.h" 3 4
2432103: # 1 "/usr/include/m68k-linux-gnu/bits/select2.h" 1 3 4
2432103: # 24 "/usr/include/m68k-linux-gnu/bits/select2.h" 3 4
2432103: extern long int __fdelt_chk (long int __d);
2432103: extern long int __fdelt_warn (long int __d)
2432103: __attribute__((__warning__ ("bit outside of fd_set selected")));
2432103: # 151 "/usr/include/m68k-linux-gnu/sys/select.h" 2 3 4
2432103:
2432103:
2432103:
2432103: # 180 "/usr/include/m68k-linux-gnu/sys/types.h" 2 3 4
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: typedef __blksize_t blksize_t;
2432103: # 205 "/usr/include/m68k-linux-gnu/sys/types.h" 3 4
2432103: typedef __blkcnt64_t blkcnt_t;
2432103:
2432103:
2432103:
2432103: typedef __fsblkcnt64_t fsblkcnt_t;
2432103:
2432103:
2432103:
2432103: typedef __fsfilcnt64_t fsfilcnt_t;
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: typedef __blkcnt64_t blkcnt64_t;
2432103: typedef __fsblkcnt64_t fsblkcnt64_t;
2432103: typedef __fsfilcnt64_t fsfilcnt64_t;
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: # 1 "/usr/include/m68k-linux-gnu/bits/pthreadtypes.h" 1 3 4
2432103: # 23 "/usr/include/m68k-linux-gnu/bits/pthreadtypes.h" 3 4
2432103: # 1 "/usr/include/m68k-linux-gnu/bits/thread-shared-types.h" 1 3 4
2432103: # 44 "/usr/include/m68k-linux-gnu/bits/thread-shared-types.h" 3 4
2432103: # 1 "/usr/include/m68k-linux-gnu/bits/pthreadtypes-arch.h" 1 3 4
2432103: # 45 "/usr/include/m68k-linux-gnu/bits/thread-shared-types.h" 2 3 4
2432103:
2432103: # 1 "/usr/include/m68k-linux-gnu/bits/atomic_wide_counter.h" 1 3 4
2432103: # 25 "/usr/include/m68k-linux-gnu/bits/atomic_wide_counter.h" 3 4
2432103: typedef union
2432103: {
2432103: __extension__ unsigned long long int __value64;
2432103: struct
2432103: {
2432103: unsigned int __low;
2432103: unsigned int __high;
2432103: } __value32;
2432103: } __atomic_wide_counter;
2432103: # 47 "/usr/include/m68k-linux-gnu/bits/thread-shared-types.h" 2 3 4
2432103:
2432103:
2432103:
2432103:
2432103: typedef struct __pthread_internal_list
2432103: {
2432103: struct __pthread_internal_list *__prev;
2432103: struct __pthread_internal_list *__next;
2432103: } __pthread_list_t;
2432103:
2432103: typedef struct __pthread_internal_slist
2432103: {
2432103: struct __pthread_internal_slist *__next;
2432103: } __pthread_slist_t;
2432103: # 76 "/usr/include/m68k-linux-gnu/bits/thread-shared-types.h" 3 4
2432103: # 1 "/usr/include/m68k-linux-gnu/bits/struct_mutex.h" 1 3 4
2432103: # 27 "/usr/include/m68k-linux-gnu/bits/struct_mutex.h" 3 4
2432103: struct __pthread_mutex_s
2432103: {
2432103: int __lock __attribute__ ((__aligned__ (4)));
2432103: unsigned int __count;
2432103: int __owner;
2432103: # 58 "/usr/include/m68k-linux-gnu/bits/struct_mutex.h" 3 4
2432103: int __kind;
2432103:
2432103: unsigned int __nusers;
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: __extension__ union
2432103: {
2432103: int __spins;
2432103: __pthread_slist_t __list;
2432103: };
2432103:
2432103:
2432103: };
2432103: # 77 "/usr/include/m68k-linux-gnu/bits/thread-shared-types.h" 2 3 4
2432103: # 89 "/usr/include/m68k-linux-gnu/bits/thread-shared-types.h" 3 4
2432103: # 1 "/usr/include/m68k-linux-gnu/bits/struct_rwlock.h" 1 3 4
2432103: # 29 "/usr/include/m68k-linux-gnu/bits/struct_rwlock.h" 3 4
2432103: struct __pthread_rwlock_arch_t
2432103: {
2432103: unsigned int __readers;
2432103: unsigned int __writers;
2432103: unsigned int __wrphase_futex;
2432103: unsigned int __writers_futex;
2432103: unsigned int __pad3;
2432103: unsigned int __pad4;
2432103:
2432103:
2432103:
2432103: unsigned char __pad1;
2432103: unsigned char __pad2;
2432103: unsigned char __shared;
2432103: unsigned char __flags;
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: int __cur_writer;
2432103: };
2432103: # 90 "/usr/include/m68k-linux-gnu/bits/thread-shared-types.h" 2 3 4
2432103:
2432103:
2432103:
2432103:
2432103: struct __pthread_cond_s
2432103: {
2432103: __atomic_wide_counter __wseq;
2432103: __atomic_wide_counter __g1_start;
2432103: unsigned int __g_refs[2] __attribute__ ((__aligned__ (4)));
2432103: unsigned int __g_size[2];
2432103: unsigned int __g1_orig_size;
2432103: unsigned int __wrefs;
2432103: unsigned int __g_signals[2];
2432103: };
2432103:
2432103: typedef unsigned int __tss_t;
2432103: typedef unsigned long int __thrd_t;
2432103:
2432103: typedef struct
2432103: {
2432103: int __data __attribute__ ((__aligned__ (4)));
2432103: } __once_flag;
2432103: # 24 "/usr/include/m68k-linux-gnu/bits/pthreadtypes.h" 2 3 4
2432103:
2432103:
2432103:
2432103: typedef unsigned long int pthread_t;
2432103:
2432103:
2432103:
2432103:
2432103: typedef union
2432103: {
2432103: char __size[4];
2432103: int __align;
2432103: } pthread_mutexattr_t;
2432103:
2432103:
2432103:
2432103:
2432103: typedef union
2432103: {
2432103: char __size[4];
2432103: int __align;
2432103: } pthread_condattr_t;
2432103:
2432103:
2432103:
2432103: typedef unsigned int pthread_key_t;
2432103:
2432103:
2432103:
2432103: typedef int __attribute__ ((__aligned__ (4))) pthread_once_t;
2432103:
2432103:
2432103: union pthread_attr_t
2432103: {
2432103: char __size[36];
2432103: long int __align;
2432103: };
2432103:
2432103: typedef union pthread_attr_t pthread_attr_t;
2432103:
2432103:
2432103:
2432103:
2432103: typedef union
2432103: {
2432103: struct __pthread_mutex_s __data;
2432103: char __size[24];
2432103: long int __align;
2432103: } pthread_mutex_t;
2432103:
2432103:
2432103: typedef union
2432103: {
2432103: struct __pthread_cond_s __data;
2432103: char __size[48];
2432103: __extension__ long long int __align;
2432103: } pthread_cond_t;
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: typedef union
2432103: {
2432103: struct __pthread_rwlock_arch_t __data;
2432103: char __size[32];
2432103: long int __align;
2432103: } pthread_rwlock_t;
2432103:
2432103: typedef union
2432103: {
2432103: char __size[8];
2432103: long int __align;
2432103: } pthread_rwlockattr_t;
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: typedef volatile int pthread_spinlock_t;
2432103:
2432103:
2432103:
2432103:
2432103: typedef union
2432103: {
2432103: char __size[20];
2432103: long int __align;
2432103: } pthread_barrier_t;
2432103:
2432103: typedef union
2432103: {
2432103: char __size[4];
2432103: int __align;
2432103: } pthread_barrierattr_t;
2432103: # 228 "/usr/include/m68k-linux-gnu/sys/types.h" 2 3 4
2432103:
2432103:
2432103:
2432103: # 26 "../../includes.h" 2
2432103: # 1 "/usr/include/m68k-linux-gnu/sys/socket.h" 1 3 4
2432103: # 24 "/usr/include/m68k-linux-gnu/sys/socket.h" 3 4
2432103:
2432103:
2432103: # 1 "/usr/include/m68k-linux-gnu/bits/types/struct_iovec.h" 1 3 4
2432103: # 23 "/usr/include/m68k-linux-gnu/bits/types/struct_iovec.h" 3 4
2432103: # 1 "/usr/lib/gcc/m68k-linux-gnu/13/include/stddef.h" 1 3 4
2432103: # 24 "/usr/include/m68k-linux-gnu/bits/types/struct_iovec.h" 2 3 4
2432103:
2432103:
2432103: struct iovec
2432103: {
2432103: void *iov_base;
2432103: size_t iov_len;
2432103: };
2432103: # 27 "/usr/include/m68k-linux-gnu/sys/socket.h" 2 3 4
2432103:
2432103: # 1 "/usr/lib/gcc/m68k-linux-gnu/13/include/stddef.h" 1 3 4
2432103: # 29 "/usr/include/m68k-linux-gnu/sys/socket.h" 2 3 4
2432103:
2432103:
2432103:
2432103:
2432103: # 1 "/usr/include/m68k-linux-gnu/bits/socket.h" 1 3 4
2432103: # 27 "/usr/include/m68k-linux-gnu/bits/socket.h" 3 4
2432103: # 1 "/usr/lib/gcc/m68k-linux-gnu/13/include/stddef.h" 1 3 4
2432103: # 28 "/usr/include/m68k-linux-gnu/bits/socket.h" 2 3 4
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: typedef __socklen_t socklen_t;
2432103:
2432103:
2432103:
2432103:
2432103: # 1 "/usr/include/m68k-linux-gnu/bits/socket_type.h" 1 3 4
2432103: # 24 "/usr/include/m68k-linux-gnu/bits/socket_type.h" 3 4
2432103: enum __socket_type
2432103: {
2432103: SOCK_STREAM = 1,
2432103:
2432103:
2432103: SOCK_DGRAM = 2,
2432103:
2432103:
2432103: SOCK_RAW = 3,
2432103:
2432103: SOCK_RDM = 4,
2432103:
2432103: SOCK_SEQPACKET = 5,
2432103:
2432103:
2432103: SOCK_DCCP = 6,
2432103:
2432103: SOCK_PACKET = 10,
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: SOCK_CLOEXEC = 02000000,
2432103:
2432103:
2432103: SOCK_NONBLOCK = 00004000
2432103:
2432103:
2432103: };
2432103: # 39 "/usr/include/m68k-linux-gnu/bits/socket.h" 2 3 4
2432103: # 180 "/usr/include/m68k-linux-gnu/bits/socket.h" 3 4
2432103: # 1 "/usr/include/m68k-linux-gnu/bits/sockaddr.h" 1 3 4
2432103: # 28 "/usr/include/m68k-linux-gnu/bits/sockaddr.h" 3 4
2432103: typedef unsigned short int sa_family_t;
2432103: # 181 "/usr/include/m68k-linux-gnu/bits/socket.h" 2 3 4
2432103:
2432103:
2432103: struct sockaddr
2432103: {
2432103: sa_family_t sa_family;
2432103: char sa_data[14];
2432103: };
2432103: # 196 "/usr/include/m68k-linux-gnu/bits/socket.h" 3 4
2432103: struct sockaddr_storage
2432103: {
2432103: sa_family_t ss_family;
2432103: char __ss_padding[(126 - (sizeof (unsigned short int)) - sizeof (unsigned long int))];
2432103: unsigned long int __ss_align;
2432103: };
2432103:
2432103:
2432103:
2432103: enum
2432103: {
2432103: MSG_OOB = 0x01,
2432103:
2432103: MSG_PEEK = 0x02,
2432103:
2432103: MSG_DONTROUTE = 0x04,
2432103:
2432103:
2432103:
2432103: MSG_TRYHARD = MSG_DONTROUTE,
2432103:
2432103:
2432103: MSG_CTRUNC = 0x08,
2432103:
2432103: MSG_PROXY = 0x10,
2432103:
2432103: MSG_TRUNC = 0x20,
2432103:
2432103: MSG_DONTWAIT = 0x40,
2432103:
2432103: MSG_EOR = 0x80,
2432103:
2432103: MSG_WAITALL = 0x100,
2432103:
2432103: MSG_FIN = 0x200,
2432103:
2432103: MSG_SYN = 0x400,
2432103:
2432103: MSG_CONFIRM = 0x800,
2432103:
2432103: MSG_RST = 0x1000,
2432103:
2432103: MSG_ERRQUEUE = 0x2000,
2432103:
2432103: MSG_NOSIGNAL = 0x4000,
2432103:
2432103: MSG_MORE = 0x8000,
2432103:
2432103: MSG_WAITFORONE = 0x10000,
2432103:
2432103: MSG_BATCH = 0x40000,
2432103:
2432103: MSG_ZEROCOPY = 0x4000000,
2432103:
2432103: MSG_FASTOPEN = 0x20000000,
2432103:
2432103:
2432103: MSG_CMSG_CLOEXEC = 0x40000000
2432103:
2432103:
2432103:
2432103: };
2432103:
2432103:
2432103:
2432103:
2432103: struct msghdr
2432103: {
2432103: void *msg_name;
2432103: socklen_t msg_namelen;
2432103:
2432103: struct iovec *msg_iov;
2432103: size_t msg_iovlen;
2432103:
2432103: void *msg_control;
2432103: size_t msg_controllen;
2432103:
2432103:
2432103:
2432103:
2432103: int msg_flags;
2432103: };
2432103:
2432103:
2432103: struct cmsghdr
2432103: {
2432103: size_t cmsg_len;
2432103:
2432103:
2432103:
2432103:
2432103: int cmsg_level;
2432103: int cmsg_type;
2432103:
2432103: __extension__ unsigned char __cmsg_data [];
2432103:
2432103: };
2432103: # 316 "/usr/include/m68k-linux-gnu/bits/socket.h" 3 4
2432103: extern struct cmsghdr *__cmsg_nxthdr (struct msghdr *__mhdr,
2432103: struct cmsghdr *__cmsg) __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103:
2432103:
2432103:
2432103: extern __inline __attribute__ ((__gnu_inline__)) struct cmsghdr *
2432103: __attribute__ ((__nothrow__ , __leaf__)) __cmsg_nxthdr (struct msghdr *__mhdr, struct cmsghdr *__cmsg)
2432103: {
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: unsigned char * __msg_control_ptr = (unsigned char *) __mhdr->msg_control;
2432103: unsigned char * __cmsg_ptr = (unsigned char *) __cmsg;
2432103:
2432103: size_t __size_needed = sizeof (struct cmsghdr)
2432103: + ((sizeof (size_t) - ((__cmsg->cmsg_len) & (sizeof (size_t) - 1))) & (sizeof (size_t) - 1));
2432103:
2432103:
2432103: if ((size_t) __cmsg->cmsg_len < sizeof (struct cmsghdr))
2432103: return (struct cmsghdr *) 0;
2432103:
2432103:
2432103:
2432103: if (((size_t)
2432103: (__msg_control_ptr + __mhdr->msg_controllen - __cmsg_ptr)
2432103: < __size_needed)
2432103: || ((size_t)
2432103: (__msg_control_ptr + __mhdr->msg_controllen - __cmsg_ptr
2432103: - __size_needed)
2432103: < __cmsg->cmsg_len))
2432103:
2432103: return (struct cmsghdr *) 0;
2432103:
2432103:
2432103: __cmsg = (struct cmsghdr *) ((unsigned char *) __cmsg
2432103: + (((__cmsg->cmsg_len) + sizeof (size_t) - 1) & (size_t) ~(sizeof (size_t) - 1)));
2432103: return __cmsg;
2432103: }
2432103:
2432103:
2432103:
2432103:
2432103: enum
2432103: {
2432103: SCM_RIGHTS = 0x01
2432103:
2432103:
2432103: , SCM_CREDENTIALS = 0x02
2432103:
2432103:
2432103: };
2432103:
2432103:
2432103:
2432103: struct ucred
2432103: {
2432103: pid_t pid;
2432103: uid_t uid;
2432103: gid_t gid;
2432103: };
2432103:
2432103:
2432103:
2432103:
2432103: # 1 "/usr/lib/linux/uapi/m68k/asm/socket.h" 1 3 4
2432103: # 1 "/usr/include/asm-generic/socket.h" 1 3 4
2432103:
2432103:
2432103:
2432103:
2432103: # 1 "/usr/include/linux/posix_types.h" 1 3 4
2432103:
2432103:
2432103:
2432103:
2432103: # 1 "/usr/include/linux/stddef.h" 1 3 4
2432103: # 6 "/usr/include/linux/posix_types.h" 2 3 4
2432103: # 25 "/usr/include/linux/posix_types.h" 3 4
2432103: typedef struct {
2432103: unsigned long fds_bits[1024 / (8 * sizeof(long))];
2432103: } __kernel_fd_set;
2432103:
2432103:
2432103: typedef void (*__kernel_sighandler_t)(int);
2432103:
2432103:
2432103: typedef int __kernel_key_t;
2432103: typedef int __kernel_mqd_t;
2432103:
2432103: # 1 "/usr/lib/linux/uapi/m68k/asm/posix_types.h" 1 3 4
2432103: # 11 "/usr/lib/linux/uapi/m68k/asm/posix_types.h" 3 4
2432103: typedef unsigned short __kernel_mode_t;
2432103:
2432103:
2432103: typedef unsigned short __kernel_ipc_pid_t;
2432103:
2432103:
2432103: typedef unsigned short __kernel_uid_t;
2432103: typedef unsigned short __kernel_gid_t;
2432103:
2432103:
2432103: typedef unsigned short __kernel_old_dev_t;
2432103:
2432103:
2432103: # 1 "/usr/include/asm-generic/posix_types.h" 1 3 4
2432103:
2432103:
2432103:
2432103:
2432103: # 1 "/usr/lib/linux/uapi/m68k/asm/bitsperlong.h" 1 3 4
2432103: # 1 "/usr/include/asm-generic/bitsperlong.h" 1 3 4
2432103: # 2 "/usr/lib/linux/uapi/m68k/asm/bitsperlong.h" 2 3 4
2432103: # 6 "/usr/include/asm-generic/posix_types.h" 2 3 4
2432103: # 15 "/usr/include/asm-generic/posix_types.h" 3 4
2432103: typedef long __kernel_long_t;
2432103: typedef unsigned long __kernel_ulong_t;
2432103:
2432103:
2432103:
2432103: typedef __kernel_ulong_t __kernel_ino_t;
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: typedef int __kernel_pid_t;
2432103: # 41 "/usr/include/asm-generic/posix_types.h" 3 4
2432103: typedef __kernel_long_t __kernel_suseconds_t;
2432103:
2432103:
2432103:
2432103: typedef int __kernel_daddr_t;
2432103:
2432103:
2432103:
2432103: typedef unsigned int __kernel_uid32_t;
2432103: typedef unsigned int __kernel_gid32_t;
2432103:
2432103:
2432103:
2432103: typedef __kernel_uid_t __kernel_old_uid_t;
2432103: typedef __kernel_gid_t __kernel_old_gid_t;
2432103: # 68 "/usr/include/asm-generic/posix_types.h" 3 4
2432103: typedef unsigned int __kernel_size_t;
2432103: typedef int __kernel_ssize_t;
2432103: typedef int __kernel_ptrdiff_t;
2432103: # 79 "/usr/include/asm-generic/posix_types.h" 3 4
2432103: typedef struct {
2432103: int val[2];
2432103: } __kernel_fsid_t;
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: typedef __kernel_long_t __kernel_off_t;
2432103: typedef long long __kernel_loff_t;
2432103: typedef __kernel_long_t __kernel_old_time_t;
2432103: typedef __kernel_long_t __kernel_time_t;
2432103: typedef long long __kernel_time64_t;
2432103: typedef __kernel_long_t __kernel_clock_t;
2432103: typedef int __kernel_timer_t;
2432103: typedef int __kernel_clockid_t;
2432103: typedef char * __kernel_caddr_t;
2432103: typedef unsigned short __kernel_uid16_t;
2432103: typedef unsigned short __kernel_gid16_t;
2432103: # 25 "/usr/lib/linux/uapi/m68k/asm/posix_types.h" 2 3 4
2432103: # 37 "/usr/include/linux/posix_types.h" 2 3 4
2432103: # 6 "/usr/include/asm-generic/socket.h" 2 3 4
2432103: # 1 "/usr/lib/linux/uapi/m68k/asm/sockios.h" 1 3 4
2432103: # 1 "/usr/include/asm-generic/sockios.h" 1 3 4
2432103: # 2 "/usr/lib/linux/uapi/m68k/asm/sockios.h" 2 3 4
2432103: # 7 "/usr/include/asm-generic/socket.h" 2 3 4
2432103: # 2 "/usr/lib/linux/uapi/m68k/asm/socket.h" 2 3 4
2432103: # 386 "/usr/include/m68k-linux-gnu/bits/socket.h" 2 3 4
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: struct linger
2432103: {
2432103: int l_onoff;
2432103: int l_linger;
2432103: };
2432103: # 34 "/usr/include/m68k-linux-gnu/sys/socket.h" 2 3 4
2432103:
2432103:
2432103: # 1 "/usr/include/m68k-linux-gnu/bits/types/struct_osockaddr.h" 1 3 4
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: struct osockaddr
2432103: {
2432103: unsigned short int sa_family;
2432103: unsigned char sa_data[14];
2432103: };
2432103: # 37 "/usr/include/m68k-linux-gnu/sys/socket.h" 2 3 4
2432103:
2432103:
2432103:
2432103:
2432103: enum
2432103: {
2432103: SHUT_RD = 0,
2432103:
2432103: SHUT_WR,
2432103:
2432103: SHUT_RDWR
2432103:
2432103: };
2432103: # 79 "/usr/include/m68k-linux-gnu/sys/socket.h" 3 4
2432103: typedef union { struct sockaddr *__restrict __sockaddr__; struct sockaddr_at *__restrict __sockaddr_at__; struct sockaddr_ax25 *__restrict __sockaddr_ax25__; struct sockaddr_dl *__restrict __sockaddr_dl__; struct sockaddr_eon *__restrict __sockaddr_eon__; struct sockaddr_in *__restrict __sockaddr_in__; struct sockaddr_in6 *__restrict __sockaddr_in6__; struct sockaddr_inarp *__restrict __sockaddr_inarp__; struct sockaddr_ipx *__restrict __sockaddr_ipx__; struct sockaddr_iso *__restrict __sockaddr_iso__; struct sockaddr_ns *__restrict __sockaddr_ns__; struct sockaddr_un *__restrict __sockaddr_un__; struct sockaddr_x25 *__restrict __sockaddr_x25__;
2432103: } __SOCKADDR_ARG __attribute__ ((__transparent_union__));
2432103:
2432103:
2432103: typedef union { const struct sockaddr *__restrict __sockaddr__; const struct sockaddr_at *__restrict __sockaddr_at__; const struct sockaddr_ax25 *__restrict __sockaddr_ax25__; const struct sockaddr_dl *__restrict __sockaddr_dl__; const struct sockaddr_eon *__restrict __sockaddr_eon__; const struct sockaddr_in *__restrict __sockaddr_in__; const struct sockaddr_in6 *__restrict __sockaddr_in6__; const struct sockaddr_inarp *__restrict __sockaddr_inarp__; const struct sockaddr_ipx *__restrict __sockaddr_ipx__; const struct sockaddr_iso *__restrict __sockaddr_iso__; const struct sockaddr_ns *__restrict __sockaddr_ns__; const struct sockaddr_un *__restrict __sockaddr_un__; const struct sockaddr_x25 *__restrict __sockaddr_x25__;
2432103: } __CONST_SOCKADDR_ARG __attribute__ ((__transparent_union__));
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: struct mmsghdr
2432103: {
2432103: struct msghdr msg_hdr;
2432103: unsigned int msg_len;
2432103:
2432103: };
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern int socket (int __domain, int __type, int __protocol) __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern int socketpair (int __domain, int __type, int __protocol,
2432103: int __fds[2]) __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103:
2432103: extern int bind (int __fd, __CONST_SOCKADDR_ARG __addr, socklen_t __len)
2432103: __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103:
2432103: extern int getsockname (int __fd, __SOCKADDR_ARG __addr,
2432103: socklen_t *__restrict __len) __attribute__ ((__nothrow__ , __leaf__));
2432103: # 126 "/usr/include/m68k-linux-gnu/sys/socket.h" 3 4
2432103: extern int connect (int __fd, __CONST_SOCKADDR_ARG __addr, socklen_t __len);
2432103:
2432103:
2432103:
2432103: extern int getpeername (int __fd, __SOCKADDR_ARG __addr,
2432103: socklen_t *__restrict __len) __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags);
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern ssize_t sendto (int __fd, const void *__buf, size_t __n,
2432103: int __flags, __CONST_SOCKADDR_ARG __addr,
2432103: socklen_t __addr_len);
2432103: # 163 "/usr/include/m68k-linux-gnu/sys/socket.h" 3 4
2432103: extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
2432103: int __flags, __SOCKADDR_ARG __addr,
2432103: socklen_t *__restrict __addr_len);
2432103: # 178 "/usr/include/m68k-linux-gnu/sys/socket.h" 3 4
2432103: extern ssize_t sendmsg (int __fd, const struct msghdr *__message, int __flags) __asm__ ("" "__sendmsg64")
2432103:
2432103: ;
2432103: # 199 "/usr/include/m68k-linux-gnu/sys/socket.h" 3 4
2432103: extern int sendmmsg (int __fd, struct mmsghdr *__vmessages, unsigned int __vlen, int __flags) __asm__ ("" "__sendmmsg64")
2432103:
2432103: ;
2432103: # 219 "/usr/include/m68k-linux-gnu/sys/socket.h" 3 4
2432103: extern ssize_t recvmsg (int __fd, struct msghdr *__message, int __flags) __asm__ ("" "__recvmsg64")
2432103:
2432103: ;
2432103: # 240 "/usr/include/m68k-linux-gnu/sys/socket.h" 3 4
2432103: extern int recvmmsg (int __fd, struct mmsghdr *__vmessages, unsigned int __vlen, int __flags, struct timespec *__tmo) __asm__ ("" "__recvmmsg64")
2432103:
2432103:
2432103: ;
2432103: # 260 "/usr/include/m68k-linux-gnu/sys/socket.h" 3 4
2432103: extern int getsockopt (int __fd, int __level, int __optname, void *__restrict __optval, socklen_t *__restrict __optlen) __asm__ ("" "__getsockopt64") __attribute__ ((__nothrow__ , __leaf__))
2432103:
2432103:
2432103:
2432103: ;
2432103: # 281 "/usr/include/m68k-linux-gnu/sys/socket.h" 3 4
2432103: extern int setsockopt (int __fd, int __level, int __optname, const void *__optval, socklen_t __optlen) __asm__ ("" "__setsockopt64") __attribute__ ((__nothrow__ , __leaf__))
2432103:
2432103:
2432103: ;
2432103: # 296 "/usr/include/m68k-linux-gnu/sys/socket.h" 3 4
2432103: extern int listen (int __fd, int __n) __attribute__ ((__nothrow__ , __leaf__));
2432103: # 306 "/usr/include/m68k-linux-gnu/sys/socket.h" 3 4
2432103: extern int accept (int __fd, __SOCKADDR_ARG __addr,
2432103: socklen_t *__restrict __addr_len);
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern int accept4 (int __fd, __SOCKADDR_ARG __addr,
2432103: socklen_t *__restrict __addr_len, int __flags);
2432103: # 324 "/usr/include/m68k-linux-gnu/sys/socket.h" 3 4
2432103: extern int shutdown (int __fd, int __how) __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103:
2432103:
2432103:
2432103: extern int sockatmark (int __fd) __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern int isfdtype (int __fd, int __fdtype) __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: # 1 "/usr/include/m68k-linux-gnu/bits/socket2.h" 1 3 4
2432103: # 23 "/usr/include/m68k-linux-gnu/bits/socket2.h" 3 4
2432103: extern ssize_t __recv_chk (int __fd, void *__buf, size_t __n, size_t __buflen,
2432103: int __flags);
2432103: extern ssize_t __recv_alias (int __fd, void *__buf, size_t __n, int __flags) __asm__ ("" "recv")
2432103: ;
2432103: extern ssize_t __recv_chk_warn (int __fd, void *__buf, size_t __n, size_t __buflen, int __flags) __asm__ ("" "__recv_chk")
2432103:
2432103:
2432103: __attribute__((__warning__ ("recv called with bigger length than size of destination " "buffer")))
2432103: ;
2432103:
2432103: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) ssize_t
2432103: recv (int __fd, void *__buf, size_t __n, int __flags)
2432103: {
2432103: size_t sz = __builtin_object_size (__buf, 0);
2432103: if (((__builtin_constant_p (sz) && (sz) == (unsigned int) -1) || (((__typeof (__n)) 0 < (__typeof (__n)) -1 || (__builtin_constant_p (__n) && (__n) > 0)) && __builtin_constant_p ((((unsigned int) (__n)) <= ((sz)) / ((sizeof (char))))) && (((unsigned int) (__n)) <= ((sz)) / ((sizeof (char)))))))
2432103: return __recv_alias (__fd, __buf, __n, __flags);
2432103: if ((((__typeof (__n)) 0 < (__typeof (__n)) -1 || (__builtin_constant_p (__n) && (__n) > 0)) && __builtin_constant_p ((((unsigned int) (__n)) <= (sz) / (sizeof (char)))) && !(((unsigned int) (__n)) <= (sz) / (sizeof (char)))))
2432103: return __recv_chk_warn (__fd, __buf, __n, sz, __flags);
2432103: return __recv_chk (__fd, __buf, __n, sz, __flags);
2432103: }
2432103:
2432103: extern ssize_t __recvfrom_chk (int __fd, void *__restrict __buf, size_t __n,
2432103: size_t __buflen, int __flags,
2432103: __SOCKADDR_ARG __addr,
2432103: socklen_t *__restrict __addr_len);
2432103: extern ssize_t __recvfrom_alias (int __fd, void *__restrict __buf, size_t __n, int __flags, __SOCKADDR_ARG __addr, socklen_t *__restrict __addr_len) __asm__ ("" "recvfrom")
2432103:
2432103:
2432103: ;
2432103: extern ssize_t __recvfrom_chk_warn (int __fd, void *__restrict __buf, size_t __n, size_t __buflen, int __flags, __SOCKADDR_ARG __addr, socklen_t *__restrict __addr_len) __asm__ ("" "__recvfrom_chk")
2432103:
2432103:
2432103:
2432103:
2432103: __attribute__((__warning__ ("recvfrom called with bigger length than size of " "destination buffer")))
2432103: ;
2432103:
2432103: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) ssize_t
2432103: recvfrom (int __fd, void *__restrict __buf, size_t __n, int __flags,
2432103: __SOCKADDR_ARG __addr, socklen_t *__restrict __addr_len)
2432103: {
2432103: size_t sz = __builtin_object_size (__buf, 0);
2432103: if (((__builtin_constant_p (sz) && (sz) == (unsigned int) -1) || (((__typeof (__n)) 0 < (__typeof (__n)) -1 || (__builtin_constant_p (__n) && (__n) > 0)) && __builtin_constant_p ((((unsigned int) (__n)) <= ((sz)) / ((sizeof (char))))) && (((unsigned int) (__n)) <= ((sz)) / ((sizeof (char)))))))
2432103: return __recvfrom_alias (__fd, __buf, __n, __flags, __addr, __addr_len);
2432103: if ((((__typeof (__n)) 0 < (__typeof (__n)) -1 || (__builtin_constant_p (__n) && (__n) > 0)) && __builtin_constant_p ((((unsigned int) (__n)) <= (sz) / (sizeof (char)))) && !(((unsigned int) (__n)) <= (sz) / (sizeof (char)))))
2432103: return __recvfrom_chk_warn (__fd, __buf, __n, sz, __flags, __addr,
2432103: __addr_len);
2432103: return __recvfrom_chk (__fd, __buf, __n, sz, __flags, __addr, __addr_len);
2432103: }
2432103: # 344 "/usr/include/m68k-linux-gnu/sys/socket.h" 2 3 4
2432103:
2432103:
2432103:
2432103: # 27 "../../includes.h" 2
2432103:
2432103:
2432103: # 1 "/usr/lib/gcc/m68k-linux-gnu/13/include/limits.h" 1 3 4
2432103: # 34 "/usr/lib/gcc/m68k-linux-gnu/13/include/limits.h" 3 4
2432103: # 1 "/usr/lib/gcc/m68k-linux-gnu/13/include/syslimits.h" 1 3 4
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: # 1 "/usr/lib/gcc/m68k-linux-gnu/13/include/limits.h" 1 3 4
2432103: # 205 "/usr/lib/gcc/m68k-linux-gnu/13/include/limits.h" 3 4
2432103: # 1 "/usr/include/limits.h" 1 3 4
2432103: # 26 "/usr/include/limits.h" 3 4
2432103: # 1 "/usr/include/m68k-linux-gnu/bits/libc-header-start.h" 1 3 4
2432103: # 27 "/usr/include/limits.h" 2 3 4
2432103: # 195 "/usr/include/limits.h" 3 4
2432103: # 1 "/usr/include/m68k-linux-gnu/bits/posix1_lim.h" 1 3 4
2432103: # 27 "/usr/include/m68k-linux-gnu/bits/posix1_lim.h" 3 4
2432103: # 1 "/usr/include/m68k-linux-gnu/bits/wordsize.h" 1 3 4
2432103: # 28 "/usr/include/m68k-linux-gnu/bits/posix1_lim.h" 2 3 4
2432103: # 161 "/usr/include/m68k-linux-gnu/bits/posix1_lim.h" 3 4
2432103: # 1 "/usr/include/m68k-linux-gnu/bits/local_lim.h" 1 3 4
2432103: # 38 "/usr/include/m68k-linux-gnu/bits/local_lim.h" 3 4
2432103: # 1 "/usr/include/linux/limits.h" 1 3 4
2432103: # 39 "/usr/include/m68k-linux-gnu/bits/local_lim.h" 2 3 4
2432103: # 81 "/usr/include/m68k-linux-gnu/bits/local_lim.h" 3 4
2432103: # 1 "/usr/include/m68k-linux-gnu/bits/pthread_stack_min-dynamic.h" 1 3 4
2432103: # 23 "/usr/include/m68k-linux-gnu/bits/pthread_stack_min-dynamic.h" 3 4
2432103:
2432103: extern long int __sysconf (int __name) __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103: # 82 "/usr/include/m68k-linux-gnu/bits/local_lim.h" 2 3 4
2432103: # 162 "/usr/include/m68k-linux-gnu/bits/posix1_lim.h" 2 3 4
2432103: # 196 "/usr/include/limits.h" 2 3 4
2432103:
2432103:
2432103:
2432103: # 1 "/usr/include/m68k-linux-gnu/bits/posix2_lim.h" 1 3 4
2432103: # 200 "/usr/include/limits.h" 2 3 4
2432103:
2432103:
2432103:
2432103: # 1 "/usr/include/m68k-linux-gnu/bits/xopen_lim.h" 1 3 4
2432103: # 64 "/usr/include/m68k-linux-gnu/bits/xopen_lim.h" 3 4
2432103: # 1 "/usr/include/m68k-linux-gnu/bits/uio_lim.h" 1 3 4
2432103: # 65 "/usr/include/m68k-linux-gnu/bits/xopen_lim.h" 2 3 4
2432103: # 204 "/usr/include/limits.h" 2 3 4
2432103: # 206 "/usr/lib/gcc/m68k-linux-gnu/13/include/limits.h" 2 3 4
2432103: # 8 "/usr/lib/gcc/m68k-linux-gnu/13/include/syslimits.h" 2 3 4
2432103: # 35 "/usr/lib/gcc/m68k-linux-gnu/13/include/limits.h" 2 3 4
2432103: # 30 "../../includes.h" 2
2432103: # 38 "../../includes.h"
2432103: # 1 "/usr/include/ttyent.h" 1 3 4
2432103: # 44 "/usr/include/ttyent.h" 3 4
2432103: struct ttyent {
2432103: char *ty_name;
2432103: char *ty_getty;
2432103: char *ty_type;
2432103:
2432103:
2432103: int ty_status;
2432103: char *ty_window;
2432103: char *ty_comment;
2432103: };
2432103:
2432103:
2432103:
2432103:
2432103: extern struct ttyent *getttyent (void) __attribute__ ((__nothrow__ , __leaf__));
2432103: extern struct ttyent *getttynam (const char *__tty) __attribute__ ((__nothrow__ , __leaf__));
2432103: extern int setttyent (void) __attribute__ ((__nothrow__ , __leaf__));
2432103: extern int endttyent (void) __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103:
2432103: # 39 "../../includes.h" 2
2432103:
2432103:
2432103: # 1 "/usr/include/utime.h" 1 3 4
2432103: # 27 "/usr/include/utime.h" 3 4
2432103:
2432103: # 36 "/usr/include/utime.h" 3 4
2432103: struct utimbuf
2432103: {
2432103:
2432103: __time64_t actime;
2432103: __time64_t modtime;
2432103:
2432103:
2432103:
2432103:
2432103: };
2432103: # 56 "/usr/include/utime.h" 3 4
2432103: extern int utime (const char *__file, const struct utimbuf *__file_times) __asm__ ("" "__utime64") __attribute__ ((__nothrow__ , __leaf__))
2432103:
2432103: ;
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: # 42 "../../includes.h" 2
2432103: # 50 "../../includes.h"
2432103: # 1 "/usr/include/paths.h" 1 3 4
2432103: # 51 "../../includes.h" 2
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: # 1 "/usr/include/strings.h" 1 3 4
2432103: # 23 "/usr/include/strings.h" 3 4
2432103: # 1 "/usr/lib/gcc/m68k-linux-gnu/13/include/stddef.h" 1 3 4
2432103: # 24 "/usr/include/strings.h" 2 3 4
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern int bcmp (const void *__s1, const void *__s2, size_t __n)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
2432103:
2432103:
2432103: extern void bcopy (const void *__src, void *__dest, size_t __n)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2)));
2432103:
2432103:
2432103: extern void bzero (void *__s, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
2432103: # 68 "/usr/include/strings.h" 3 4
2432103: extern char *index (const char *__s, int __c)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
2432103: # 96 "/usr/include/strings.h" 3 4
2432103: extern char *rindex (const char *__s, int __c)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern int ffs (int __i) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__));
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern int ffsl (long int __l) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__));
2432103: __extension__ extern int ffsll (long long int __ll)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__));
2432103:
2432103:
2432103:
2432103: extern int strcasecmp (const char *__s1, const char *__s2)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
2432103:
2432103:
2432103: extern int strncasecmp (const char *__s1, const char *__s2, size_t __n)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
2432103:
2432103:
2432103:
2432103: # 1 "/usr/include/m68k-linux-gnu/bits/types/locale_t.h" 1 3 4
2432103: # 22 "/usr/include/m68k-linux-gnu/bits/types/locale_t.h" 3 4
2432103: # 1 "/usr/include/m68k-linux-gnu/bits/types/__locale_t.h" 1 3 4
2432103: # 27 "/usr/include/m68k-linux-gnu/bits/types/__locale_t.h" 3 4
2432103: struct __locale_struct
2432103: {
2432103:
2432103: struct __locale_data *__locales[13];
2432103:
2432103:
2432103: const unsigned short int *__ctype_b;
2432103: const int *__ctype_tolower;
2432103: const int *__ctype_toupper;
2432103:
2432103:
2432103: const char *__names[13];
2432103: };
2432103:
2432103: typedef struct __locale_struct *__locale_t;
2432103: # 23 "/usr/include/m68k-linux-gnu/bits/types/locale_t.h" 2 3 4
2432103:
2432103: typedef __locale_t locale_t;
2432103: # 126 "/usr/include/strings.h" 2 3 4
2432103:
2432103:
2432103: extern int strcasecmp_l (const char *__s1, const char *__s2, locale_t __loc)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2, 3)));
2432103:
2432103:
2432103:
2432103: extern int strncasecmp_l (const char *__s1, const char *__s2,
2432103: size_t __n, locale_t __loc)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2, 4)));
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: # 1 "/usr/include/m68k-linux-gnu/bits/strings_fortified.h" 1 3 4
2432103: # 22 "/usr/include/m68k-linux-gnu/bits/strings_fortified.h" 3 4
2432103: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) void
2432103: __attribute__ ((__nothrow__ , __leaf__)) bcopy (const void *__src, void *__dest, size_t __len)
2432103: {
2432103: (void) __builtin___memmove_chk (__dest, __src, __len,
2432103: __builtin_object_size (__dest, 0));
2432103: }
2432103:
2432103: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) void
2432103: __attribute__ ((__nothrow__ , __leaf__)) bzero (void *__dest, size_t __len)
2432103: {
2432103: (void) __builtin___memset_chk (__dest, '\0', __len,
2432103: __builtin_object_size (__dest, 0));
2432103: }
2432103: # 145 "/usr/include/strings.h" 2 3 4
2432103: # 58 "../../includes.h" 2
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: # 1 "/usr/include/utmp.h" 1 3 4
2432103: # 26 "/usr/include/utmp.h" 3 4
2432103:
2432103:
2432103:
2432103: # 1 "/usr/include/m68k-linux-gnu/bits/utmp.h" 1 3 4
2432103: # 24 "/usr/include/m68k-linux-gnu/bits/utmp.h" 3 4
2432103: # 1 "/usr/include/m68k-linux-gnu/sys/time.h" 1 3 4
2432103: # 34 "/usr/include/m68k-linux-gnu/sys/time.h" 3 4
2432103:
2432103: # 52 "/usr/include/m68k-linux-gnu/sys/time.h" 3 4
2432103: struct timezone
2432103: {
2432103: int tz_minuteswest;
2432103: int tz_dsttime;
2432103: };
2432103: # 71 "/usr/include/m68k-linux-gnu/sys/time.h" 3 4
2432103: extern int gettimeofday (struct timeval *__restrict __tv, void *__restrict __tz) __asm__ ("" "__gettimeofday64") __attribute__ ((__nothrow__ , __leaf__))
2432103:
2432103: __attribute__ ((__nonnull__ (1)));
2432103: # 98 "/usr/include/m68k-linux-gnu/sys/time.h" 3 4
2432103: extern int settimeofday (const struct timeval *__tv, const struct timezone *__tz) __asm__ ("" "__settimeofday64") __attribute__ ((__nothrow__ , __leaf__))
2432103:
2432103: ;
2432103:
2432103: extern int adjtime (const struct timeval *__delta, struct timeval *__olddelta) __asm__ ("" "__adjtime64") __attribute__ ((__nothrow__ , __leaf__))
2432103:
2432103: ;
2432103: # 114 "/usr/include/m68k-linux-gnu/sys/time.h" 3 4
2432103: enum __itimer_which
2432103: {
2432103:
2432103: ITIMER_REAL = 0,
2432103:
2432103:
2432103: ITIMER_VIRTUAL = 1,
2432103:
2432103:
2432103:
2432103: ITIMER_PROF = 2
2432103:
2432103: };
2432103:
2432103:
2432103:
2432103: struct itimerval
2432103: {
2432103:
2432103: struct timeval it_interval;
2432103:
2432103: struct timeval it_value;
2432103: };
2432103:
2432103:
2432103:
2432103:
2432103: typedef enum __itimer_which __itimer_which_t;
2432103: # 167 "/usr/include/m68k-linux-gnu/sys/time.h" 3 4
2432103: extern int getitimer (__itimer_which_t __which, struct itimerval *__value) __asm__ ("" "__getitimer64") __attribute__ ((__nothrow__ , __leaf__))
2432103:
2432103: ;
2432103:
2432103: extern int setitimer (__itimer_which_t __which, const struct itimerval *__restrict __new, struct itimerval *__restrict __old) __asm__ ("" "__setitimer64") __attribute__ ((__nothrow__ , __leaf__))
2432103:
2432103:
2432103: ;
2432103:
2432103: extern int utimes (const char *__file, const struct timeval __tvp[2]) __asm__ ("" "__utimes64") __attribute__ ((__nothrow__ , __leaf__))
2432103:
2432103: __attribute__ ((__nonnull__ (1)));
2432103: # 196 "/usr/include/m68k-linux-gnu/sys/time.h" 3 4
2432103: extern int lutimes (const char *__file, const struct timeval __tvp[2]) __asm__ ("" "__lutimes64") __attribute__ ((__nothrow__ , __leaf__))
2432103:
2432103: __attribute__ ((__nonnull__ (1)));
2432103:
2432103: extern int futimes (int __fd, const struct timeval __tvp[2]) __asm__ ("" "__futimes64") __attribute__ ((__nothrow__ , __leaf__))
2432103: ;
2432103: # 218 "/usr/include/m68k-linux-gnu/sys/time.h" 3 4
2432103: extern int futimesat (int __fd, const char *__file, const struct timeval __tvp[2]) __asm__ ("" "__futimesat64") __attribute__ ((__nothrow__ , __leaf__))
2432103:
2432103: ;
2432103: # 258 "/usr/include/m68k-linux-gnu/sys/time.h" 3 4
2432103:
2432103: # 25 "/usr/include/m68k-linux-gnu/bits/utmp.h" 2 3 4
2432103:
2432103: # 1 "/usr/include/m68k-linux-gnu/bits/wordsize.h" 1 3 4
2432103: # 27 "/usr/include/m68k-linux-gnu/bits/utmp.h" 2 3 4
2432103: # 36 "/usr/include/m68k-linux-gnu/bits/utmp.h" 3 4
2432103: struct lastlog
2432103: {
2432103:
2432103:
2432103:
2432103: __time_t ll_time;
2432103:
2432103: char ll_line[32];
2432103: char ll_host[256];
2432103: };
2432103:
2432103:
2432103:
2432103:
2432103: struct exit_status
2432103: {
2432103: short int e_termination;
2432103: short int e_exit;
2432103: };
2432103:
2432103:
2432103:
2432103: struct utmp
2432103: {
2432103: short int ut_type;
2432103: pid_t ut_pid;
2432103: char ut_line[32]
2432103: __attribute__ ((__nonstring__));
2432103: char ut_id[4]
2432103: __attribute__ ((__nonstring__));
2432103: char ut_user[32]
2432103: __attribute__ ((__nonstring__));
2432103: char ut_host[256]
2432103: __attribute__ ((__nonstring__));
2432103: struct exit_status ut_exit;
2432103: # 83 "/usr/include/m68k-linux-gnu/bits/utmp.h" 3 4
2432103: long int ut_session;
2432103: struct timeval ut_tv;
2432103:
2432103:
2432103: int32_t ut_addr_v6[4];
2432103: char __glibc_reserved[20];
2432103: };
2432103: # 30 "/usr/include/utmp.h" 2 3 4
2432103: # 41 "/usr/include/utmp.h" 3 4
2432103: extern int login_tty (int __fd) __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103:
2432103:
2432103: extern void login (const struct utmp *__entry) __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103:
2432103: extern int logout (const char *__ut_line) __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103:
2432103: extern void logwtmp (const char *__ut_line, const char *__ut_name,
2432103: const char *__ut_host) __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103:
2432103: extern void updwtmp (const char *__wtmp_file, const struct utmp *__utmp)
2432103: __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103:
2432103: extern int utmpname (const char *__file) __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103:
2432103: extern struct utmp *getutent (void) __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103:
2432103: extern void setutent (void) __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103:
2432103: extern void endutent (void) __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103:
2432103:
2432103: extern struct utmp *getutid (const struct utmp *__id) __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103:
2432103:
2432103: extern struct utmp *getutline (const struct utmp *__line) __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103:
2432103: extern struct utmp *pututline (const struct utmp *__utmp_ptr) __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103:
2432103:
2432103:
2432103: extern int getutent_r (struct utmp *__buffer, struct utmp **__result) __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103: extern int getutid_r (const struct utmp *__id, struct utmp *__buffer,
2432103: struct utmp **__result) __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103: extern int getutline_r (const struct utmp *__line,
2432103: struct utmp *__buffer, struct utmp **__result) __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103:
2432103:
2432103:
2432103: # 65 "../../includes.h" 2
2432103:
2432103:
2432103: # 1 "/usr/include/utmpx.h" 1 3 4
2432103: # 31 "/usr/include/utmpx.h" 3 4
2432103: # 1 "/usr/include/m68k-linux-gnu/bits/utmpx.h" 1 3 4
2432103: # 25 "/usr/include/m68k-linux-gnu/bits/utmpx.h" 3 4
2432103: # 1 "/usr/include/m68k-linux-gnu/bits/wordsize.h" 1 3 4
2432103: # 26 "/usr/include/m68k-linux-gnu/bits/utmpx.h" 2 3 4
2432103: # 42 "/usr/include/m68k-linux-gnu/bits/utmpx.h" 3 4
2432103: struct __exit_status
2432103: {
2432103:
2432103: short int e_termination;
2432103: short int e_exit;
2432103:
2432103:
2432103:
2432103:
2432103: };
2432103:
2432103:
2432103:
2432103: struct utmpx
2432103: {
2432103: short int ut_type;
2432103: __pid_t ut_pid;
2432103: char ut_line[32]
2432103: __attribute__ ((__nonstring__));
2432103: char ut_id[4]
2432103: __attribute__ ((__nonstring__));
2432103: char ut_user[32]
2432103: __attribute__ ((__nonstring__));
2432103: char ut_host[256]
2432103: __attribute__ ((__nonstring__));
2432103: struct __exit_status ut_exit;
2432103: # 81 "/usr/include/m68k-linux-gnu/bits/utmpx.h" 3 4
2432103: long int ut_session;
2432103: struct timeval ut_tv;
2432103:
2432103: __int32_t ut_addr_v6[4];
2432103: char __glibc_reserved[20];
2432103: };
2432103: # 32 "/usr/include/utmpx.h" 2 3 4
2432103: # 43 "/usr/include/utmpx.h" 3 4
2432103: struct utmp;
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern void setutxent (void);
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern void endutxent (void);
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern struct utmpx *getutxent (void);
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern struct utmpx *getutxid (const struct utmpx *__id);
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern struct utmpx *getutxline (const struct utmpx *__line);
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern struct utmpx *pututxline (const struct utmpx *__utmpx);
2432103: # 93 "/usr/include/utmpx.h" 3 4
2432103: extern int utmpxname (const char *__file);
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern void updwtmpx (const char *__wtmpx_file,
2432103: const struct utmpx *__utmpx);
2432103: # 111 "/usr/include/utmpx.h" 3 4
2432103: extern void getutmp (const struct utmpx *__utmpx,
2432103: struct utmp *__utmp);
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern void getutmpx (const struct utmp *__utmp, struct utmpx *__utmpx);
2432103:
2432103:
2432103:
2432103: # 68 "../../includes.h" 2
2432103:
2432103:
2432103: # 1 "/usr/include/lastlog.h" 1 3 4
2432103: # 71 "../../includes.h" 2
2432103: # 80 "../../includes.h"
2432103: # 1 "/usr/lib/gcc/m68k-linux-gnu/13/include/stdint.h" 1 3 4
2432103: # 9 "/usr/lib/gcc/m68k-linux-gnu/13/include/stdint.h" 3 4
2432103: # 1 "/usr/include/stdint.h" 1 3 4
2432103: # 26 "/usr/include/stdint.h" 3 4
2432103: # 1 "/usr/include/m68k-linux-gnu/bits/libc-header-start.h" 1 3 4
2432103: # 27 "/usr/include/stdint.h" 2 3 4
2432103:
2432103: # 1 "/usr/include/m68k-linux-gnu/bits/wchar.h" 1 3 4
2432103: # 29 "/usr/include/stdint.h" 2 3 4
2432103: # 1 "/usr/include/m68k-linux-gnu/bits/wordsize.h" 1 3 4
2432103: # 30 "/usr/include/stdint.h" 2 3 4
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: # 1 "/usr/include/m68k-linux-gnu/bits/stdint-uintn.h" 1 3 4
2432103: # 24 "/usr/include/m68k-linux-gnu/bits/stdint-uintn.h" 3 4
2432103: typedef __uint8_t uint8_t;
2432103: typedef __uint16_t uint16_t;
2432103: typedef __uint32_t uint32_t;
2432103: typedef __uint64_t uint64_t;
2432103: # 38 "/usr/include/stdint.h" 2 3 4
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: typedef __int_least8_t int_least8_t;
2432103: typedef __int_least16_t int_least16_t;
2432103: typedef __int_least32_t int_least32_t;
2432103: typedef __int_least64_t int_least64_t;
2432103:
2432103:
2432103: typedef __uint_least8_t uint_least8_t;
2432103: typedef __uint_least16_t uint_least16_t;
2432103: typedef __uint_least32_t uint_least32_t;
2432103: typedef __uint_least64_t uint_least64_t;
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: typedef signed char int_fast8_t;
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: typedef int int_fast16_t;
2432103: typedef int int_fast32_t;
2432103: __extension__
2432103: typedef long long int int_fast64_t;
2432103:
2432103:
2432103:
2432103: typedef unsigned char uint_fast8_t;
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: typedef unsigned int uint_fast16_t;
2432103: typedef unsigned int uint_fast32_t;
2432103: __extension__
2432103: typedef unsigned long long int uint_fast64_t;
2432103: # 93 "/usr/include/stdint.h" 3 4
2432103: typedef int intptr_t;
2432103:
2432103:
2432103: typedef unsigned int uintptr_t;
2432103:
2432103:
2432103:
2432103:
2432103: typedef __intmax_t intmax_t;
2432103: typedef __uintmax_t uintmax_t;
2432103: # 10 "/usr/lib/gcc/m68k-linux-gnu/13/include/stdint.h" 2 3 4
2432103: # 81 "../../includes.h" 2
2432103:
2432103: # 1 "/usr/include/termios.h" 1 3 4
2432103: # 35 "/usr/include/termios.h" 3 4
2432103:
2432103:
2432103:
2432103:
2432103: # 1 "/usr/include/m68k-linux-gnu/bits/termios.h" 1 3 4
2432103: # 23 "/usr/include/m68k-linux-gnu/bits/termios.h" 3 4
2432103: typedef unsigned char cc_t;
2432103: typedef unsigned int speed_t;
2432103: typedef unsigned int tcflag_t;
2432103:
2432103: # 1 "/usr/include/m68k-linux-gnu/bits/termios-struct.h" 1 3 4
2432103: # 24 "/usr/include/m68k-linux-gnu/bits/termios-struct.h" 3 4
2432103: struct termios
2432103: {
2432103: tcflag_t c_iflag;
2432103: tcflag_t c_oflag;
2432103: tcflag_t c_cflag;
2432103: tcflag_t c_lflag;
2432103: cc_t c_line;
2432103: cc_t c_cc[32];
2432103: speed_t c_ispeed;
2432103: speed_t c_ospeed;
2432103:
2432103:
2432103: };
2432103: # 28 "/usr/include/m68k-linux-gnu/bits/termios.h" 2 3 4
2432103: # 1 "/usr/include/m68k-linux-gnu/bits/termios-c_cc.h" 1 3 4
2432103: # 29 "/usr/include/m68k-linux-gnu/bits/termios.h" 2 3 4
2432103: # 1 "/usr/include/m68k-linux-gnu/bits/termios-c_iflag.h" 1 3 4
2432103: # 30 "/usr/include/m68k-linux-gnu/bits/termios.h" 2 3 4
2432103: # 1 "/usr/include/m68k-linux-gnu/bits/termios-c_oflag.h" 1 3 4
2432103: # 31 "/usr/include/m68k-linux-gnu/bits/termios.h" 2 3 4
2432103: # 53 "/usr/include/m68k-linux-gnu/bits/termios.h" 3 4
2432103: # 1 "/usr/include/m68k-linux-gnu/bits/termios-baud.h" 1 3 4
2432103: # 54 "/usr/include/m68k-linux-gnu/bits/termios.h" 2 3 4
2432103:
2432103: # 1 "/usr/include/m68k-linux-gnu/bits/termios-c_cflag.h" 1 3 4
2432103: # 56 "/usr/include/m68k-linux-gnu/bits/termios.h" 2 3 4
2432103: # 1 "/usr/include/m68k-linux-gnu/bits/termios-c_lflag.h" 1 3 4
2432103: # 57 "/usr/include/m68k-linux-gnu/bits/termios.h" 2 3 4
2432103: # 74 "/usr/include/m68k-linux-gnu/bits/termios.h" 3 4
2432103: # 1 "/usr/include/m68k-linux-gnu/bits/termios-tcflow.h" 1 3 4
2432103: # 75 "/usr/include/m68k-linux-gnu/bits/termios.h" 2 3 4
2432103:
2432103: # 1 "/usr/include/m68k-linux-gnu/bits/termios-misc.h" 1 3 4
2432103: # 77 "/usr/include/m68k-linux-gnu/bits/termios.h" 2 3 4
2432103: # 40 "/usr/include/termios.h" 2 3 4
2432103: # 48 "/usr/include/termios.h" 3 4
2432103: extern speed_t cfgetospeed (const struct termios *__termios_p) __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103:
2432103: extern speed_t cfgetispeed (const struct termios *__termios_p) __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103:
2432103: extern int cfsetospeed (struct termios *__termios_p, speed_t __speed) __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103:
2432103: extern int cfsetispeed (struct termios *__termios_p, speed_t __speed) __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103:
2432103:
2432103: extern int cfsetspeed (struct termios *__termios_p, speed_t __speed) __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103:
2432103:
2432103:
2432103: extern int tcgetattr (int __fd, struct termios *__termios_p) __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103:
2432103:
2432103: extern int tcsetattr (int __fd, int __optional_actions,
2432103: const struct termios *__termios_p) __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103:
2432103:
2432103:
2432103: extern void cfmakeraw (struct termios *__termios_p) __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103:
2432103:
2432103: extern int tcsendbreak (int __fd, int __duration) __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern int tcdrain (int __fd);
2432103:
2432103:
2432103:
2432103: extern int tcflush (int __fd, int __queue_selector) __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103:
2432103:
2432103: extern int tcflow (int __fd, int __action) __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103:
2432103:
2432103:
2432103: extern __pid_t tcgetsid (int __fd) __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103:
2432103:
2432103:
2432103: # 1 "/usr/include/m68k-linux-gnu/sys/ttydefaults.h" 1 3 4
2432103: # 105 "/usr/include/termios.h" 2 3 4
2432103:
2432103:
2432103:
2432103: # 83 "../../includes.h" 2
2432103:
2432103: # 1 "/usr/include/m68k-linux-gnu/sys/bitypes.h" 1 3 4
2432103: # 85 "../../includes.h" 2
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: # 1 "/usr/include/m68k-linux-gnu/sys/stat.h" 1 3 4
2432103: # 99 "/usr/include/m68k-linux-gnu/sys/stat.h" 3 4
2432103:
2432103:
2432103: # 1 "/usr/include/m68k-linux-gnu/bits/stat.h" 1 3 4
2432103: # 25 "/usr/include/m68k-linux-gnu/bits/stat.h" 3 4
2432103: # 1 "/usr/include/m68k-linux-gnu/bits/struct_stat.h" 1 3 4
2432103: # 26 "/usr/include/m68k-linux-gnu/bits/struct_stat.h" 3 4
2432103: struct stat
2432103: {
2432103:
2432103: # 1 "/usr/include/m68k-linux-gnu/bits/struct_stat_time64_helper.h" 1 3 4
2432103: # 20 "/usr/include/m68k-linux-gnu/bits/struct_stat_time64_helper.h" 3 4
2432103: __dev_t st_dev;
2432103: __ino64_t st_ino;
2432103: __mode_t st_mode;
2432103: __nlink_t st_nlink;
2432103: __uid_t st_uid;
2432103: __gid_t st_gid;
2432103: __dev_t st_rdev;
2432103: __off64_t st_size;
2432103: __blksize_t st_blksize;
2432103: __blkcnt64_t st_blocks;
2432103: # 40 "/usr/include/m68k-linux-gnu/bits/struct_stat_time64_helper.h" 3 4
2432103: struct timespec st_atim;
2432103: struct timespec st_mtim;
2432103: struct timespec st_ctim;
2432103: # 30 "/usr/include/m68k-linux-gnu/bits/struct_stat.h" 2 3 4
2432103: # 84 "/usr/include/m68k-linux-gnu/bits/struct_stat.h" 3 4
2432103: };
2432103:
2432103:
2432103: struct stat64
2432103: {
2432103:
2432103: # 1 "/usr/include/m68k-linux-gnu/bits/struct_stat_time64_helper.h" 1 3 4
2432103: # 20 "/usr/include/m68k-linux-gnu/bits/struct_stat_time64_helper.h" 3 4
2432103: __dev_t st_dev;
2432103: __ino64_t st_ino;
2432103: __mode_t st_mode;
2432103: __nlink_t st_nlink;
2432103: __uid_t st_uid;
2432103: __gid_t st_gid;
2432103: __dev_t st_rdev;
2432103: __off64_t st_size;
2432103: __blksize_t st_blksize;
2432103: __blkcnt64_t st_blocks;
2432103: # 40 "/usr/include/m68k-linux-gnu/bits/struct_stat_time64_helper.h" 3 4
2432103: struct timespec st_atim;
2432103: struct timespec st_mtim;
2432103: struct timespec st_ctim;
2432103: # 91 "/usr/include/m68k-linux-gnu/bits/struct_stat.h" 2 3 4
2432103: # 126 "/usr/include/m68k-linux-gnu/bits/struct_stat.h" 3 4
2432103: };
2432103: # 26 "/usr/include/m68k-linux-gnu/bits/stat.h" 2 3 4
2432103: # 102 "/usr/include/m68k-linux-gnu/sys/stat.h" 2 3 4
2432103: # 214 "/usr/include/m68k-linux-gnu/sys/stat.h" 3 4
2432103: extern int stat (const char *__restrict __file, struct stat *__restrict __buf) __asm__ ("" "__stat64_time64") __attribute__ ((__nothrow__ , __leaf__))
2432103:
2432103:
2432103: __attribute__ ((__nonnull__ (1, 2)));
2432103: extern int fstat (int __fd, struct stat *__buf) __asm__ ("" "__fstat64_time64") __attribute__ ((__nothrow__ , __leaf__))
2432103:
2432103: __attribute__ ((__nonnull__ (2)));
2432103: # 245 "/usr/include/m68k-linux-gnu/sys/stat.h" 3 4
2432103: extern int stat64 (const char *__restrict __file, struct stat64 *__restrict __buf) __asm__ ("" "__stat64_time64") __attribute__ ((__nothrow__ , __leaf__))
2432103:
2432103:
2432103: __attribute__ ((__nonnull__ (1, 2)));
2432103: extern int fstat64 (int __fd, struct stat64 *__buf) __asm__ ("" "__fstat64_time64") __attribute__ ((__nothrow__ , __leaf__))
2432103:
2432103: __attribute__ ((__nonnull__ (2)));
2432103: # 270 "/usr/include/m68k-linux-gnu/sys/stat.h" 3 4
2432103: extern int fstatat (int __fd, const char *__restrict __file, struct stat *__restrict __buf, int __flag) __asm__ ("" "__fstatat64_time64") __attribute__ ((__nothrow__ , __leaf__))
2432103:
2432103:
2432103: __attribute__ ((__nonnull__ (2, 3)));
2432103: # 296 "/usr/include/m68k-linux-gnu/sys/stat.h" 3 4
2432103: extern int fstatat64 (int __fd, const char *__restrict __file, struct stat64 *__restrict __buf, int __flag) __asm__ ("" "__fstatat64_time64") __attribute__ ((__nothrow__ , __leaf__))
2432103:
2432103:
2432103:
2432103:
2432103: __attribute__ ((__nonnull__ (2, 3)));
2432103: # 318 "/usr/include/m68k-linux-gnu/sys/stat.h" 3 4
2432103: extern int lstat (const char *__restrict __file, struct stat *__restrict __buf) __asm__ ("" "__lstat64_time64") __attribute__ ((__nothrow__ , __leaf__))
2432103:
2432103:
2432103: __attribute__ ((__nonnull__ (1, 2)));
2432103: # 342 "/usr/include/m68k-linux-gnu/sys/stat.h" 3 4
2432103: extern int lstat64 (const char *__restrict __file, struct stat64 *__restrict __buf) __asm__ ("" "__lstat64_time64") __attribute__ ((__nothrow__ , __leaf__))
2432103:
2432103:
2432103: __attribute__ ((__nonnull__ (1, 2)));
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern int chmod (const char *__file, __mode_t __mode)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern int lchmod (const char *__file, __mode_t __mode)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
2432103:
2432103:
2432103:
2432103:
2432103: extern int fchmod (int __fd, __mode_t __mode) __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern int fchmodat (int __fd, const char *__file, __mode_t __mode,
2432103: int __flag)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))) __attribute__ ((__warn_unused_result__));
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern __mode_t umask (__mode_t __mask) __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103:
2432103:
2432103:
2432103: extern __mode_t getumask (void) __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103:
2432103:
2432103: extern int mkdir (const char *__path, __mode_t __mode)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern int mkdirat (int __fd, const char *__path, __mode_t __mode)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2)));
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern int mknod (const char *__path, __mode_t __mode, __dev_t __dev)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern int mknodat (int __fd, const char *__path, __mode_t __mode,
2432103: __dev_t __dev) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2)));
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern int mkfifo (const char *__path, __mode_t __mode)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern int mkfifoat (int __fd, const char *__path, __mode_t __mode)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2)));
2432103: # 439 "/usr/include/m68k-linux-gnu/sys/stat.h" 3 4
2432103: extern int utimensat (int fd, const char *__path, const struct timespec __times[2], int flags) __asm__ ("" "__utimensat64") __attribute__ ((__nothrow__ , __leaf__))
2432103:
2432103:
2432103: __attribute__ ((__nonnull__ (2)));
2432103: # 456 "/usr/include/m68k-linux-gnu/sys/stat.h" 3 4
2432103: extern int futimens (int fd, const struct timespec __times[2]) __asm__ ("" "__futimens64") __attribute__ ((__nothrow__ , __leaf__))
2432103: ;
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: # 1 "/usr/include/m68k-linux-gnu/bits/statx.h" 1 3 4
2432103: # 31 "/usr/include/m68k-linux-gnu/bits/statx.h" 3 4
2432103: # 1 "/usr/include/linux/stat.h" 1 3 4
2432103:
2432103:
2432103:
2432103:
2432103: # 1 "/usr/include/linux/types.h" 1 3 4
2432103:
2432103:
2432103:
2432103:
2432103: # 1 "/usr/lib/linux/uapi/m68k/asm/types.h" 1 3 4
2432103: # 1 "/usr/include/asm-generic/types.h" 1 3 4
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: # 1 "/usr/include/asm-generic/int-ll64.h" 1 3 4
2432103: # 12 "/usr/include/asm-generic/int-ll64.h" 3 4
2432103: # 1 "/usr/lib/linux/uapi/m68k/asm/bitsperlong.h" 1 3 4
2432103: # 13 "/usr/include/asm-generic/int-ll64.h" 2 3 4
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: typedef __signed__ char __s8;
2432103: typedef unsigned char __u8;
2432103:
2432103: typedef __signed__ short __s16;
2432103: typedef unsigned short __u16;
2432103:
2432103: typedef __signed__ int __s32;
2432103: typedef unsigned int __u32;
2432103:
2432103:
2432103: __extension__ typedef __signed__ long long __s64;
2432103: __extension__ typedef unsigned long long __u64;
2432103: # 8 "/usr/include/asm-generic/types.h" 2 3 4
2432103: # 2 "/usr/lib/linux/uapi/m68k/asm/types.h" 2 3 4
2432103: # 6 "/usr/include/linux/types.h" 2 3 4
2432103: # 31 "/usr/include/linux/types.h" 3 4
2432103: typedef __u16 __le16;
2432103: typedef __u16 __be16;
2432103: typedef __u32 __le32;
2432103: typedef __u32 __be32;
2432103: typedef __u64 __le64;
2432103: typedef __u64 __be64;
2432103:
2432103: typedef __u16 __sum16;
2432103: typedef __u32 __wsum;
2432103: # 54 "/usr/include/linux/types.h" 3 4
2432103: typedef unsigned __poll_t;
2432103: # 6 "/usr/include/linux/stat.h" 2 3 4
2432103: # 56 "/usr/include/linux/stat.h" 3 4
2432103: struct statx_timestamp {
2432103: __s64 tv_sec;
2432103: __u32 tv_nsec;
2432103: __s32 __reserved;
2432103: };
2432103: # 99 "/usr/include/linux/stat.h" 3 4
2432103: struct statx {
2432103:
2432103: __u32 stx_mask;
2432103: __u32 stx_blksize;
2432103: __u64 stx_attributes;
2432103:
2432103: __u32 stx_nlink;
2432103: __u32 stx_uid;
2432103: __u32 stx_gid;
2432103: __u16 stx_mode;
2432103: __u16 __spare0[1];
2432103:
2432103: __u64 stx_ino;
2432103: __u64 stx_size;
2432103: __u64 stx_blocks;
2432103: __u64 stx_attributes_mask;
2432103:
2432103: struct statx_timestamp stx_atime;
2432103: struct statx_timestamp stx_btime;
2432103: struct statx_timestamp stx_ctime;
2432103: struct statx_timestamp stx_mtime;
2432103:
2432103: __u32 stx_rdev_major;
2432103: __u32 stx_rdev_minor;
2432103: __u32 stx_dev_major;
2432103: __u32 stx_dev_minor;
2432103:
2432103: __u64 stx_mnt_id;
2432103: __u32 stx_dio_mem_align;
2432103: __u32 stx_dio_offset_align;
2432103:
2432103: __u64 __spare3[12];
2432103:
2432103: };
2432103: # 32 "/usr/include/m68k-linux-gnu/bits/statx.h" 2 3 4
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: # 1 "/usr/include/m68k-linux-gnu/bits/statx-generic.h" 1 3 4
2432103: # 25 "/usr/include/m68k-linux-gnu/bits/statx-generic.h" 3 4
2432103: # 1 "/usr/include/m68k-linux-gnu/bits/types/struct_statx_timestamp.h" 1 3 4
2432103: # 26 "/usr/include/m68k-linux-gnu/bits/statx-generic.h" 2 3 4
2432103: # 1 "/usr/include/m68k-linux-gnu/bits/types/struct_statx.h" 1 3 4
2432103: # 27 "/usr/include/m68k-linux-gnu/bits/statx-generic.h" 2 3 4
2432103: # 58 "/usr/include/m68k-linux-gnu/bits/statx-generic.h" 3 4
2432103:
2432103:
2432103:
2432103: int statx (int __dirfd, const char *__restrict __path, int __flags,
2432103: unsigned int __mask, struct statx *__restrict __buf)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2, 5)));
2432103:
2432103:
2432103: # 40 "/usr/include/m68k-linux-gnu/bits/statx.h" 2 3 4
2432103: # 466 "/usr/include/m68k-linux-gnu/sys/stat.h" 2 3 4
2432103:
2432103:
2432103:
2432103: # 91 "../../includes.h" 2
2432103:
2432103:
2432103: # 1 "/usr/include/m68k-linux-gnu/sys/sysmacros.h" 1 3 4
2432103: # 24 "/usr/include/m68k-linux-gnu/sys/sysmacros.h" 3 4
2432103: # 1 "/usr/include/m68k-linux-gnu/bits/sysmacros.h" 1 3 4
2432103: # 25 "/usr/include/m68k-linux-gnu/sys/sysmacros.h" 2 3 4
2432103: # 33 "/usr/include/m68k-linux-gnu/sys/sysmacros.h" 3 4
2432103:
2432103:
2432103: extern unsigned int gnu_dev_major (__dev_t __dev) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__));
2432103: extern unsigned int gnu_dev_minor (__dev_t __dev) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__));
2432103: extern __dev_t gnu_dev_makedev (unsigned int __major, unsigned int __minor) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__));
2432103:
2432103:
2432103:
2432103: __extension__ extern __inline __attribute__ ((__gnu_inline__)) __attribute__ ((__const__)) unsigned int __attribute__ ((__nothrow__ , __leaf__)) gnu_dev_major (__dev_t __dev) { unsigned int __major; __major = ((__dev & (__dev_t) 0x00000000000fff00u) >> 8); __major |= ((__dev & (__dev_t) 0xfffff00000000000u) >> 32); return __major; }
2432103: __extension__ extern __inline __attribute__ ((__gnu_inline__)) __attribute__ ((__const__)) unsigned int __attribute__ ((__nothrow__ , __leaf__)) gnu_dev_minor (__dev_t __dev) { unsigned int __minor; __minor = ((__dev & (__dev_t) 0x00000000000000ffu) >> 0); __minor |= ((__dev & (__dev_t) 0x00000ffffff00000u) >> 12); return __minor; }
2432103: __extension__ extern __inline __attribute__ ((__gnu_inline__)) __attribute__ ((__const__)) __dev_t __attribute__ ((__nothrow__ , __leaf__)) gnu_dev_makedev (unsigned int __major, unsigned int __minor) { __dev_t __dev; __dev = (((__dev_t) (__major & 0x00000fffu)) << 8); __dev |= (((__dev_t) (__major & 0xfffff000u)) << 32); __dev |= (((__dev_t) (__minor & 0x000000ffu)) << 0); __dev |= (((__dev_t) (__minor & 0xffffff00u)) << 12); return __dev; }
2432103:
2432103:
2432103:
2432103:
2432103: # 94 "../../includes.h" 2
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: # 1 "/usr/include/m68k-linux-gnu/sys/mman.h" 1 3 4
2432103: # 25 "/usr/include/m68k-linux-gnu/sys/mman.h" 3 4
2432103: # 1 "/usr/lib/gcc/m68k-linux-gnu/13/include/stddef.h" 1 3 4
2432103: # 26 "/usr/include/m68k-linux-gnu/sys/mman.h" 2 3 4
2432103: # 41 "/usr/include/m68k-linux-gnu/sys/mman.h" 3 4
2432103: # 1 "/usr/include/m68k-linux-gnu/bits/mman.h" 1 3 4
2432103: # 29 "/usr/include/m68k-linux-gnu/bits/mman.h" 3 4
2432103: # 1 "/usr/include/m68k-linux-gnu/bits/mman-map-flags-generic.h" 1 3 4
2432103: # 30 "/usr/include/m68k-linux-gnu/bits/mman.h" 2 3 4
2432103:
2432103:
2432103: # 1 "/usr/include/m68k-linux-gnu/bits/mman-linux.h" 1 3 4
2432103: # 116 "/usr/include/m68k-linux-gnu/bits/mman-linux.h" 3 4
2432103: # 1 "/usr/include/m68k-linux-gnu/bits/mman-shared.h" 1 3 4
2432103: # 47 "/usr/include/m68k-linux-gnu/bits/mman-shared.h" 3 4
2432103:
2432103:
2432103:
2432103:
2432103: int memfd_create (const char *__name, unsigned int __flags) __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103:
2432103:
2432103: int mlock2 (const void *__addr, size_t __length, unsigned int __flags) __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: int pkey_alloc (unsigned int __flags, unsigned int __access_rights) __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103:
2432103:
2432103: int pkey_set (int __key, unsigned int __access_rights) __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103:
2432103:
2432103: int pkey_get (int __key) __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103:
2432103:
2432103: int pkey_free (int __key) __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103:
2432103:
2432103: int pkey_mprotect (void *__addr, size_t __len, int __prot, int __pkey) __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103:
2432103: # 117 "/usr/include/m68k-linux-gnu/bits/mman-linux.h" 2 3 4
2432103: # 33 "/usr/include/m68k-linux-gnu/bits/mman.h" 2 3 4
2432103: # 42 "/usr/include/m68k-linux-gnu/sys/mman.h" 2 3 4
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: # 61 "/usr/include/m68k-linux-gnu/sys/mman.h" 3 4
2432103: extern void * mmap (void *__addr, size_t __len, int __prot, int __flags, int __fd, __off64_t __offset) __asm__ ("" "mmap64") __attribute__ ((__nothrow__ , __leaf__))
2432103:
2432103:
2432103: ;
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern void *mmap64 (void *__addr, size_t __len, int __prot,
2432103: int __flags, int __fd, __off64_t __offset) __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103:
2432103:
2432103:
2432103: extern int munmap (void *__addr, size_t __len) __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103:
2432103:
2432103:
2432103: extern int mprotect (void *__addr, size_t __len, int __prot) __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern int msync (void *__addr, size_t __len, int __flags);
2432103:
2432103:
2432103:
2432103:
2432103: extern int madvise (void *__addr, size_t __len, int __advice) __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103:
2432103:
2432103: extern int posix_madvise (void *__addr, size_t __len, int __advice) __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103:
2432103:
2432103:
2432103: extern int mlock (const void *__addr, size_t __len) __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103:
2432103: extern int munlock (const void *__addr, size_t __len) __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103:
2432103:
2432103:
2432103: extern int mlockall (int __flags) __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103:
2432103:
2432103: extern int munlockall (void) __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern int mincore (void *__start, size_t __len, unsigned char *__vec)
2432103: __attribute__ ((__nothrow__ , __leaf__));
2432103: # 133 "/usr/include/m68k-linux-gnu/sys/mman.h" 3 4
2432103: extern void *mremap (void *__addr, size_t __old_len, size_t __new_len,
2432103: int __flags, ...) __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103:
2432103:
2432103: extern int remap_file_pages (void *__start, size_t __size, int __prot,
2432103: size_t __pgoff, int __flags) __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103:
2432103:
2432103:
2432103: extern int shm_open (const char *__name, int __oflag, mode_t __mode);
2432103:
2432103:
2432103: extern int shm_unlink (const char *__name);
2432103:
2432103:
2432103: # 1 "/usr/include/m68k-linux-gnu/bits/mman_ext.h" 1 3 4
2432103: # 24 "/usr/include/m68k-linux-gnu/bits/mman_ext.h" 3 4
2432103: struct iovec;
2432103: extern __ssize_t process_madvise (int __pid_fd, const struct iovec *__iov,
2432103: size_t __count, int __advice,
2432103: unsigned __flags)
2432103: __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103: extern int process_mrelease (int pidfd, unsigned int flags) __attribute__ ((__nothrow__ , __leaf__));
2432103: # 151 "/usr/include/m68k-linux-gnu/sys/mman.h" 2 3 4
2432103:
2432103:
2432103: # 100 "../../includes.h" 2
2432103: # 111 "../../includes.h"
2432103: # 1 "/usr/include/netinet/in.h" 1 3 4
2432103: # 27 "/usr/include/netinet/in.h" 3 4
2432103:
2432103:
2432103:
2432103: typedef uint32_t in_addr_t;
2432103: struct in_addr
2432103: {
2432103: in_addr_t s_addr;
2432103: };
2432103:
2432103:
2432103: # 1 "/usr/include/m68k-linux-gnu/bits/in.h" 1 3 4
2432103: # 143 "/usr/include/m68k-linux-gnu/bits/in.h" 3 4
2432103: struct ip_opts
2432103: {
2432103: struct in_addr ip_dst;
2432103: char ip_opts[40];
2432103: };
2432103:
2432103:
2432103: struct in_pktinfo
2432103: {
2432103: int ipi_ifindex;
2432103: struct in_addr ipi_spec_dst;
2432103: struct in_addr ipi_addr;
2432103: };
2432103: # 38 "/usr/include/netinet/in.h" 2 3 4
2432103:
2432103:
2432103: enum
2432103: {
2432103: IPPROTO_IP = 0,
2432103:
2432103: IPPROTO_ICMP = 1,
2432103:
2432103: IPPROTO_IGMP = 2,
2432103:
2432103: IPPROTO_IPIP = 4,
2432103:
2432103: IPPROTO_TCP = 6,
2432103:
2432103: IPPROTO_EGP = 8,
2432103:
2432103: IPPROTO_PUP = 12,
2432103:
2432103: IPPROTO_UDP = 17,
2432103:
2432103: IPPROTO_IDP = 22,
2432103:
2432103: IPPROTO_TP = 29,
2432103:
2432103: IPPROTO_DCCP = 33,
2432103:
2432103: IPPROTO_IPV6 = 41,
2432103:
2432103: IPPROTO_RSVP = 46,
2432103:
2432103: IPPROTO_GRE = 47,
2432103:
2432103: IPPROTO_ESP = 50,
2432103:
2432103: IPPROTO_AH = 51,
2432103:
2432103: IPPROTO_MTP = 92,
2432103:
2432103: IPPROTO_BEETPH = 94,
2432103:
2432103: IPPROTO_ENCAP = 98,
2432103:
2432103: IPPROTO_PIM = 103,
2432103:
2432103: IPPROTO_COMP = 108,
2432103:
2432103: IPPROTO_L2TP = 115,
2432103:
2432103: IPPROTO_SCTP = 132,
2432103:
2432103: IPPROTO_UDPLITE = 136,
2432103:
2432103: IPPROTO_MPLS = 137,
2432103:
2432103: IPPROTO_ETHERNET = 143,
2432103:
2432103: IPPROTO_RAW = 255,
2432103:
2432103: IPPROTO_MPTCP = 262,
2432103:
2432103: IPPROTO_MAX
2432103: };
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: enum
2432103: {
2432103: IPPROTO_HOPOPTS = 0,
2432103:
2432103: IPPROTO_ROUTING = 43,
2432103:
2432103: IPPROTO_FRAGMENT = 44,
2432103:
2432103: IPPROTO_ICMPV6 = 58,
2432103:
2432103: IPPROTO_NONE = 59,
2432103:
2432103: IPPROTO_DSTOPTS = 60,
2432103:
2432103: IPPROTO_MH = 135
2432103:
2432103: };
2432103:
2432103:
2432103:
2432103: typedef uint16_t in_port_t;
2432103:
2432103:
2432103: enum
2432103: {
2432103: IPPORT_ECHO = 7,
2432103: IPPORT_DISCARD = 9,
2432103: IPPORT_SYSTAT = 11,
2432103: IPPORT_DAYTIME = 13,
2432103: IPPORT_NETSTAT = 15,
2432103: IPPORT_FTP = 21,
2432103: IPPORT_TELNET = 23,
2432103: IPPORT_SMTP = 25,
2432103: IPPORT_TIMESERVER = 37,
2432103: IPPORT_NAMESERVER = 42,
2432103: IPPORT_WHOIS = 43,
2432103: IPPORT_MTP = 57,
2432103:
2432103: IPPORT_TFTP = 69,
2432103: IPPORT_RJE = 77,
2432103: IPPORT_FINGER = 79,
2432103: IPPORT_TTYLINK = 87,
2432103: IPPORT_SUPDUP = 95,
2432103:
2432103:
2432103: IPPORT_EXECSERVER = 512,
2432103: IPPORT_LOGINSERVER = 513,
2432103: IPPORT_CMDSERVER = 514,
2432103: IPPORT_EFSSERVER = 520,
2432103:
2432103:
2432103: IPPORT_BIFFUDP = 512,
2432103: IPPORT_WHOSERVER = 513,
2432103: IPPORT_ROUTESERVER = 520,
2432103:
2432103:
2432103: IPPORT_RESERVED = 1024,
2432103:
2432103:
2432103: IPPORT_USERRESERVED = 5000
2432103: };
2432103: # 221 "/usr/include/netinet/in.h" 3 4
2432103: struct in6_addr
2432103: {
2432103: union
2432103: {
2432103: uint8_t __u6_addr8[16];
2432103: uint16_t __u6_addr16[8];
2432103: uint32_t __u6_addr32[4];
2432103: } __in6_u;
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: };
2432103:
2432103:
2432103: extern const struct in6_addr in6addr_any;
2432103: extern const struct in6_addr in6addr_loopback;
2432103: # 247 "/usr/include/netinet/in.h" 3 4
2432103: struct sockaddr_in
2432103: {
2432103: sa_family_t sin_family;
2432103: in_port_t sin_port;
2432103: struct in_addr sin_addr;
2432103:
2432103:
2432103: unsigned char sin_zero[sizeof (struct sockaddr)
2432103: - (sizeof (unsigned short int))
2432103: - sizeof (in_port_t)
2432103: - sizeof (struct in_addr)];
2432103: };
2432103:
2432103:
2432103:
2432103: struct sockaddr_in6
2432103: {
2432103: sa_family_t sin6_family;
2432103: in_port_t sin6_port;
2432103: uint32_t sin6_flowinfo;
2432103: struct in6_addr sin6_addr;
2432103: uint32_t sin6_scope_id;
2432103: };
2432103:
2432103:
2432103:
2432103:
2432103: struct ip_mreq
2432103: {
2432103:
2432103: struct in_addr imr_multiaddr;
2432103:
2432103:
2432103: struct in_addr imr_interface;
2432103: };
2432103:
2432103:
2432103: struct ip_mreqn
2432103: {
2432103:
2432103: struct in_addr imr_multiaddr;
2432103:
2432103:
2432103: struct in_addr imr_address;
2432103:
2432103:
2432103: int imr_ifindex;
2432103: };
2432103:
2432103: struct ip_mreq_source
2432103: {
2432103:
2432103: struct in_addr imr_multiaddr;
2432103:
2432103:
2432103: struct in_addr imr_interface;
2432103:
2432103:
2432103: struct in_addr imr_sourceaddr;
2432103: };
2432103:
2432103:
2432103:
2432103:
2432103: struct ipv6_mreq
2432103: {
2432103:
2432103: struct in6_addr ipv6mr_multiaddr;
2432103:
2432103:
2432103: unsigned int ipv6mr_interface;
2432103: };
2432103:
2432103:
2432103:
2432103:
2432103: struct group_req
2432103: {
2432103:
2432103: uint32_t gr_interface;
2432103:
2432103:
2432103: struct sockaddr_storage gr_group;
2432103: };
2432103:
2432103: struct group_source_req
2432103: {
2432103:
2432103: uint32_t gsr_interface;
2432103:
2432103:
2432103: struct sockaddr_storage gsr_group;
2432103:
2432103:
2432103: struct sockaddr_storage gsr_source;
2432103: };
2432103:
2432103:
2432103:
2432103: struct ip_msfilter
2432103: {
2432103:
2432103: struct in_addr imsf_multiaddr;
2432103:
2432103:
2432103: struct in_addr imsf_interface;
2432103:
2432103:
2432103: uint32_t imsf_fmode;
2432103:
2432103:
2432103: uint32_t imsf_numsrc;
2432103:
2432103: struct in_addr imsf_slist[1];
2432103: };
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: struct group_filter
2432103: {
2432103:
2432103: uint32_t gf_interface;
2432103:
2432103:
2432103: struct sockaddr_storage gf_group;
2432103:
2432103:
2432103: uint32_t gf_fmode;
2432103:
2432103:
2432103: uint32_t gf_numsrc;
2432103:
2432103: struct sockaddr_storage gf_slist[1];
2432103: };
2432103: # 397 "/usr/include/netinet/in.h" 3 4
2432103: extern uint32_t ntohl (uint32_t __netlong) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__));
2432103: extern uint16_t ntohs (uint16_t __netshort)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__));
2432103: extern uint32_t htonl (uint32_t __hostlong)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__));
2432103: extern uint16_t htons (uint16_t __hostshort)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__));
2432103:
2432103:
2432103:
2432103:
2432103: # 1 "/usr/include/m68k-linux-gnu/bits/byteswap.h" 1 3 4
2432103: # 409 "/usr/include/netinet/in.h" 2 3 4
2432103: # 1 "/usr/include/m68k-linux-gnu/bits/uintn-identity.h" 1 3 4
2432103: # 410 "/usr/include/netinet/in.h" 2 3 4
2432103: # 525 "/usr/include/netinet/in.h" 3 4
2432103: extern int bindresvport (int __sockfd, struct sockaddr_in *__sock_in) __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103:
2432103: extern int bindresvport6 (int __sockfd, struct sockaddr_in6 *__sock_in)
2432103: __attribute__ ((__nothrow__ , __leaf__));
2432103: # 555 "/usr/include/netinet/in.h" 3 4
2432103: struct cmsghdr;
2432103:
2432103:
2432103:
2432103: struct in6_pktinfo
2432103: {
2432103: struct in6_addr ipi6_addr;
2432103: unsigned int ipi6_ifindex;
2432103: };
2432103:
2432103:
2432103: struct ip6_mtuinfo
2432103: {
2432103: struct sockaddr_in6 ip6m_addr;
2432103: uint32_t ip6m_mtu;
2432103: };
2432103:
2432103:
2432103:
2432103: extern int inet6_option_space (int __nbytes)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__deprecated__));
2432103: extern int inet6_option_init (void *__bp, struct cmsghdr **__cmsgp,
2432103: int __type) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__deprecated__));
2432103: extern int inet6_option_append (struct cmsghdr *__cmsg,
2432103: const uint8_t *__typep, int __multx,
2432103: int __plusy) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__deprecated__));
2432103: extern uint8_t *inet6_option_alloc (struct cmsghdr *__cmsg, int __datalen,
2432103: int __multx, int __plusy)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__deprecated__));
2432103: extern int inet6_option_next (const struct cmsghdr *__cmsg,
2432103: uint8_t **__tptrp)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__deprecated__));
2432103: extern int inet6_option_find (const struct cmsghdr *__cmsg,
2432103: uint8_t **__tptrp, int __type)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__deprecated__));
2432103:
2432103:
2432103:
2432103: extern int inet6_opt_init (void *__extbuf, socklen_t __extlen) __attribute__ ((__nothrow__ , __leaf__));
2432103: extern int inet6_opt_append (void *__extbuf, socklen_t __extlen, int __offset,
2432103: uint8_t __type, socklen_t __len, uint8_t __align,
2432103: void **__databufp) __attribute__ ((__nothrow__ , __leaf__));
2432103: extern int inet6_opt_finish (void *__extbuf, socklen_t __extlen, int __offset)
2432103: __attribute__ ((__nothrow__ , __leaf__));
2432103: extern int inet6_opt_set_val (void *__databuf, int __offset, void *__val,
2432103: socklen_t __vallen) __attribute__ ((__nothrow__ , __leaf__));
2432103: extern int inet6_opt_next (void *__extbuf, socklen_t __extlen, int __offset,
2432103: uint8_t *__typep, socklen_t *__lenp,
2432103: void **__databufp) __attribute__ ((__nothrow__ , __leaf__));
2432103: extern int inet6_opt_find (void *__extbuf, socklen_t __extlen, int __offset,
2432103: uint8_t __type, socklen_t *__lenp,
2432103: void **__databufp) __attribute__ ((__nothrow__ , __leaf__));
2432103: extern int inet6_opt_get_val (void *__databuf, int __offset, void *__val,
2432103: socklen_t __vallen) __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103:
2432103:
2432103: extern socklen_t inet6_rth_space (int __type, int __segments) __attribute__ ((__nothrow__ , __leaf__));
2432103: extern void *inet6_rth_init (void *__bp, socklen_t __bp_len, int __type,
2432103: int __segments) __attribute__ ((__nothrow__ , __leaf__));
2432103: extern int inet6_rth_add (void *__bp, const struct in6_addr *__addr) __attribute__ ((__nothrow__ , __leaf__));
2432103: extern int inet6_rth_reverse (const void *__in, void *__out) __attribute__ ((__nothrow__ , __leaf__));
2432103: extern int inet6_rth_segments (const void *__bp) __attribute__ ((__nothrow__ , __leaf__));
2432103: extern struct in6_addr *inet6_rth_getaddr (const void *__bp, int __index)
2432103: __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern int getipv4sourcefilter (int __s, struct in_addr __interface_addr,
2432103: struct in_addr __group, uint32_t *__fmode,
2432103: uint32_t *__numsrc, struct in_addr *__slist)
2432103: __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103:
2432103: extern int setipv4sourcefilter (int __s, struct in_addr __interface_addr,
2432103: struct in_addr __group, uint32_t __fmode,
2432103: uint32_t __numsrc,
2432103: const struct in_addr *__slist)
2432103: __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103:
2432103:
2432103: extern int getsourcefilter (int __s, uint32_t __interface_addr,
2432103: const struct sockaddr *__group,
2432103: socklen_t __grouplen, uint32_t *__fmode,
2432103: uint32_t *__numsrc,
2432103: struct sockaddr_storage *__slist) __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103:
2432103: extern int setsourcefilter (int __s, uint32_t __interface_addr,
2432103: const struct sockaddr *__group,
2432103: socklen_t __grouplen, uint32_t __fmode,
2432103: uint32_t __numsrc,
2432103: const struct sockaddr_storage *__slist) __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103:
2432103:
2432103: # 112 "../../includes.h" 2
2432103: # 1 "/usr/include/netinet/in_systm.h" 1 3 4
2432103: # 25 "/usr/include/netinet/in_systm.h" 3 4
2432103:
2432103: # 34 "/usr/include/netinet/in_systm.h" 3 4
2432103: typedef uint16_t n_short;
2432103: typedef uint32_t n_long;
2432103: typedef uint32_t n_time;
2432103:
2432103:
2432103: # 113 "../../includes.h" 2
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: # 1 "/usr/include/security/pam_appl.h" 1 3 4
2432103: # 18 "/usr/include/security/pam_appl.h" 3 4
2432103: # 1 "/usr/include/security/_pam_types.h" 1 3 4
2432103: # 18 "/usr/include/security/_pam_types.h" 3 4
2432103: typedef struct pam_handle pam_handle_t;
2432103: # 177 "/usr/include/security/_pam_types.h" 3 4
2432103: extern int __attribute__((__nonnull__ (1)))
2432103: pam_set_item(pam_handle_t *pamh, int item_type, const void *item);
2432103:
2432103: extern int __attribute__((__nonnull__ (1)))
2432103: pam_get_item(const pam_handle_t *pamh, int item_type, const void **item);
2432103:
2432103: extern const char *
2432103: pam_strerror(pam_handle_t *pamh, int errnum);
2432103:
2432103: extern int __attribute__((__nonnull__ (1,2)))
2432103: pam_putenv(pam_handle_t *pamh, const char *name_value);
2432103:
2432103: extern const char * __attribute__((__nonnull__ (1,2)))
2432103: pam_getenv(pam_handle_t *pamh, const char *name);
2432103:
2432103: extern char ** __attribute__((__nonnull__ (1)))
2432103: pam_getenvlist(pam_handle_t *pamh);
2432103: # 223 "/usr/include/security/_pam_types.h" 3 4
2432103: extern int pam_fail_delay(pam_handle_t *pamh, unsigned int musec_delay);
2432103: # 254 "/usr/include/security/_pam_types.h" 3 4
2432103: struct pam_message {
2432103: int msg_style;
2432103: const char *msg;
2432103: };
2432103: # 279 "/usr/include/security/_pam_types.h" 3 4
2432103: struct pam_response {
2432103: char *resp;
2432103: int resp_retcode;
2432103: };
2432103:
2432103:
2432103:
2432103: struct pam_conv {
2432103: int (*conv)(int num_msg, const struct pam_message **msg,
2432103: struct pam_response **resp, void *appdata_ptr);
2432103: void *appdata_ptr;
2432103: };
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: struct pam_xauth_data {
2432103: int namelen;
2432103: char *name;
2432103: int datalen;
2432103: char *data;
2432103: };
2432103: # 19 "/usr/include/security/pam_appl.h" 2 3 4
2432103:
2432103:
2432103:
2432103: extern int __attribute__((__nonnull__ (1,3,4)))
2432103: pam_start(const char *service_name, const char *user,
2432103: const struct pam_conv *pam_conversation,
2432103: pam_handle_t **pamh);
2432103:
2432103: extern int __attribute__((__nonnull__ (1,3,5)))
2432103: pam_start_confdir(const char *service_name, const char *user,
2432103: const struct pam_conv *pam_conversation,
2432103: const char *confdir, pam_handle_t **pamh);
2432103:
2432103: extern int __attribute__((__nonnull__ (1)))
2432103: pam_end(pam_handle_t *pamh, int pam_status);
2432103:
2432103:
2432103:
2432103: extern int __attribute__((__nonnull__ (1)))
2432103: pam_authenticate(pam_handle_t *pamh, int flags);
2432103:
2432103: extern int __attribute__((__nonnull__ (1)))
2432103: pam_setcred(pam_handle_t *pamh, int flags);
2432103:
2432103:
2432103:
2432103: extern int __attribute__((__nonnull__ (1)))
2432103: pam_acct_mgmt(pam_handle_t *pamh, int flags);
2432103:
2432103:
2432103:
2432103: extern int __attribute__((__nonnull__ (1)))
2432103: pam_open_session(pam_handle_t *pamh, int flags);
2432103:
2432103: extern int __attribute__((__nonnull__ (1)))
2432103: pam_close_session(pam_handle_t *pamh, int flags);
2432103:
2432103:
2432103:
2432103: extern int __attribute__((__nonnull__ (1)))
2432103: pam_chauthtok(pam_handle_t *pamh, int flags);
2432103:
2432103:
2432103:
2432103: # 1 "/usr/include/security/_pam_compat.h" 1 3 4
2432103: # 64 "/usr/include/security/pam_appl.h" 2 3 4
2432103: # 119 "../../includes.h" 2
2432103: # 140 "../../includes.h"
2432103: # 1 "/usr/include/m68k-linux-gnu/bsd/libutil.h" 1 3 4
2432103: # 45 "/usr/include/m68k-linux-gnu/bsd/libutil.h" 3 4
2432103: # 1 "/usr/include/m68k-linux-gnu/bsd/sys/cdefs.h" 1 3 4
2432103: # 46 "/usr/include/m68k-linux-gnu/bsd/libutil.h" 2 3 4
2432103:
2432103:
2432103:
2432103: # 1 "/usr/include/stdio.h" 1 3 4
2432103: # 27 "/usr/include/stdio.h" 3 4
2432103: # 1 "/usr/include/m68k-linux-gnu/bits/libc-header-start.h" 1 3 4
2432103: # 28 "/usr/include/stdio.h" 2 3 4
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: # 1 "/usr/lib/gcc/m68k-linux-gnu/13/include/stddef.h" 1 3 4
2432103: # 34 "/usr/include/stdio.h" 2 3 4
2432103:
2432103:
2432103: # 1 "/usr/lib/gcc/m68k-linux-gnu/13/include/stdarg.h" 1 3 4
2432103: # 40 "/usr/lib/gcc/m68k-linux-gnu/13/include/stdarg.h" 3 4
2432103: typedef __builtin_va_list __gnuc_va_list;
2432103: # 37 "/usr/include/stdio.h" 2 3 4
2432103:
2432103:
2432103: # 1 "/usr/include/m68k-linux-gnu/bits/types/__fpos_t.h" 1 3 4
2432103:
2432103:
2432103:
2432103:
2432103: # 1 "/usr/include/m68k-linux-gnu/bits/types/__mbstate_t.h" 1 3 4
2432103: # 13 "/usr/include/m68k-linux-gnu/bits/types/__mbstate_t.h" 3 4
2432103: typedef struct
2432103: {
2432103: int __count;
2432103: union
2432103: {
2432103: unsigned int __wch;
2432103: char __wchb[4];
2432103: } __value;
2432103: } __mbstate_t;
2432103: # 6 "/usr/include/m68k-linux-gnu/bits/types/__fpos_t.h" 2 3 4
2432103:
2432103:
2432103:
2432103:
2432103: typedef struct _G_fpos_t
2432103: {
2432103: __off_t __pos;
2432103: __mbstate_t __state;
2432103: } __fpos_t;
2432103: # 40 "/usr/include/stdio.h" 2 3 4
2432103: # 1 "/usr/include/m68k-linux-gnu/bits/types/__fpos64_t.h" 1 3 4
2432103: # 10 "/usr/include/m68k-linux-gnu/bits/types/__fpos64_t.h" 3 4
2432103: typedef struct _G_fpos64_t
2432103: {
2432103: __off64_t __pos;
2432103: __mbstate_t __state;
2432103: } __fpos64_t;
2432103: # 41 "/usr/include/stdio.h" 2 3 4
2432103: # 1 "/usr/include/m68k-linux-gnu/bits/types/__FILE.h" 1 3 4
2432103:
2432103:
2432103:
2432103: struct _IO_FILE;
2432103: typedef struct _IO_FILE __FILE;
2432103: # 42 "/usr/include/stdio.h" 2 3 4
2432103: # 1 "/usr/include/m68k-linux-gnu/bits/types/FILE.h" 1 3 4
2432103:
2432103:
2432103:
2432103: struct _IO_FILE;
2432103:
2432103:
2432103: typedef struct _IO_FILE FILE;
2432103: # 43 "/usr/include/stdio.h" 2 3 4
2432103: # 1 "/usr/include/m68k-linux-gnu/bits/types/struct_FILE.h" 1 3 4
2432103: # 35 "/usr/include/m68k-linux-gnu/bits/types/struct_FILE.h" 3 4
2432103: struct _IO_FILE;
2432103: struct _IO_marker;
2432103: struct _IO_codecvt;
2432103: struct _IO_wide_data;
2432103:
2432103:
2432103:
2432103:
2432103: typedef void _IO_lock_t;
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: struct _IO_FILE
2432103: {
2432103: int _flags;
2432103:
2432103:
2432103: char *_IO_read_ptr;
2432103: char *_IO_read_end;
2432103: char *_IO_read_base;
2432103: char *_IO_write_base;
2432103: char *_IO_write_ptr;
2432103: char *_IO_write_end;
2432103: char *_IO_buf_base;
2432103: char *_IO_buf_end;
2432103:
2432103:
2432103: char *_IO_save_base;
2432103: char *_IO_backup_base;
2432103: char *_IO_save_end;
2432103:
2432103: struct _IO_marker *_markers;
2432103:
2432103: struct _IO_FILE *_chain;
2432103:
2432103: int _fileno;
2432103: int _flags2;
2432103: __off_t _old_offset;
2432103:
2432103:
2432103: unsigned short _cur_column;
2432103: signed char _vtable_offset;
2432103: char _shortbuf[1];
2432103:
2432103: _IO_lock_t *_lock;
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: __off64_t _offset;
2432103:
2432103: struct _IO_codecvt *_codecvt;
2432103: struct _IO_wide_data *_wide_data;
2432103: struct _IO_FILE *_freeres_list;
2432103: void *_freeres_buf;
2432103: size_t __pad5;
2432103: int _mode;
2432103:
2432103: char _unused2[15 * sizeof (int) - 4 * sizeof (void *) - sizeof (size_t)];
2432103: };
2432103: # 44 "/usr/include/stdio.h" 2 3 4
2432103:
2432103:
2432103: # 1 "/usr/include/m68k-linux-gnu/bits/types/cookie_io_functions_t.h" 1 3 4
2432103: # 27 "/usr/include/m68k-linux-gnu/bits/types/cookie_io_functions_t.h" 3 4
2432103: typedef __ssize_t cookie_read_function_t (void *__cookie, char *__buf,
2432103: size_t __nbytes);
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: typedef __ssize_t cookie_write_function_t (void *__cookie, const char *__buf,
2432103: size_t __nbytes);
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: typedef int cookie_seek_function_t (void *__cookie, __off64_t *__pos, int __w);
2432103:
2432103:
2432103: typedef int cookie_close_function_t (void *__cookie);
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: typedef struct _IO_cookie_io_functions_t
2432103: {
2432103: cookie_read_function_t *read;
2432103: cookie_write_function_t *write;
2432103: cookie_seek_function_t *seek;
2432103: cookie_close_function_t *close;
2432103: } cookie_io_functions_t;
2432103: # 47 "/usr/include/stdio.h" 2 3 4
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: typedef __gnuc_va_list va_list;
2432103: # 86 "/usr/include/stdio.h" 3 4
2432103: typedef __fpos64_t fpos_t;
2432103:
2432103:
2432103: typedef __fpos64_t fpos64_t;
2432103: # 133 "/usr/include/stdio.h" 3 4
2432103: # 1 "/usr/include/m68k-linux-gnu/bits/stdio_lim.h" 1 3 4
2432103: # 134 "/usr/include/stdio.h" 2 3 4
2432103: # 143 "/usr/include/stdio.h" 3 4
2432103: extern FILE *stdin;
2432103: extern FILE *stdout;
2432103: extern FILE *stderr;
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern int remove (const char *__filename) __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103: extern int rename (const char *__old, const char *__new) __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103:
2432103:
2432103: extern int renameat (int __oldfd, const char *__old, int __newfd,
2432103: const char *__new) __attribute__ ((__nothrow__ , __leaf__));
2432103: # 170 "/usr/include/stdio.h" 3 4
2432103: extern int renameat2 (int __oldfd, const char *__old, int __newfd,
2432103: const char *__new, unsigned int __flags) __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern int fclose (FILE *__stream);
2432103: # 192 "/usr/include/stdio.h" 3 4
2432103: extern FILE *tmpfile (void) __asm__ ("" "tmpfile64")
2432103: __attribute__ ((__malloc__)) __attribute__ ((__malloc__ (fclose, 1))) __attribute__ ((__warn_unused_result__));
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern FILE *tmpfile64 (void)
2432103: __attribute__ ((__malloc__)) __attribute__ ((__malloc__ (fclose, 1))) __attribute__ ((__warn_unused_result__));
2432103:
2432103:
2432103:
2432103: extern char *tmpnam (char[20]) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__));
2432103:
2432103:
2432103:
2432103:
2432103: extern char *tmpnam_r (char __s[20]) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__));
2432103: # 222 "/usr/include/stdio.h" 3 4
2432103: extern char *tempnam (const char *__dir, const char *__pfx)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__malloc__)) __attribute__ ((__warn_unused_result__)) __attribute__ ((__malloc__ (__builtin_free, 1)));
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern int fflush (FILE *__stream);
2432103: # 239 "/usr/include/stdio.h" 3 4
2432103: extern int fflush_unlocked (FILE *__stream);
2432103: # 249 "/usr/include/stdio.h" 3 4
2432103: extern int fcloseall (void);
2432103: # 270 "/usr/include/stdio.h" 3 4
2432103: extern FILE *fopen (const char *__restrict __filename, const char *__restrict __modes) __asm__ ("" "fopen64")
2432103:
2432103: __attribute__ ((__malloc__)) __attribute__ ((__malloc__ (fclose, 1))) __attribute__ ((__warn_unused_result__));
2432103: extern FILE *freopen (const char *__restrict __filename, const char *__restrict __modes, FILE *__restrict __stream) __asm__ ("" "freopen64")
2432103:
2432103:
2432103: __attribute__ ((__warn_unused_result__));
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern FILE *fopen64 (const char *__restrict __filename,
2432103: const char *__restrict __modes)
2432103: __attribute__ ((__malloc__)) __attribute__ ((__malloc__ (fclose, 1))) __attribute__ ((__warn_unused_result__));
2432103: extern FILE *freopen64 (const char *__restrict __filename,
2432103: const char *__restrict __modes,
2432103: FILE *__restrict __stream) __attribute__ ((__warn_unused_result__));
2432103:
2432103:
2432103:
2432103:
2432103: extern FILE *fdopen (int __fd, const char *__modes) __attribute__ ((__nothrow__ , __leaf__))
2432103: __attribute__ ((__malloc__)) __attribute__ ((__malloc__ (fclose, 1))) __attribute__ ((__warn_unused_result__));
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern FILE *fopencookie (void *__restrict __magic_cookie,
2432103: const char *__restrict __modes,
2432103: cookie_io_functions_t __io_funcs) __attribute__ ((__nothrow__ , __leaf__))
2432103: __attribute__ ((__malloc__)) __attribute__ ((__malloc__ (fclose, 1))) __attribute__ ((__warn_unused_result__));
2432103:
2432103:
2432103:
2432103:
2432103: extern FILE *fmemopen (void *__s, size_t __len, const char *__modes)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__malloc__)) __attribute__ ((__malloc__ (fclose, 1))) __attribute__ ((__warn_unused_result__));
2432103:
2432103:
2432103:
2432103:
2432103: extern FILE *open_memstream (char **__bufloc, size_t *__sizeloc) __attribute__ ((__nothrow__ , __leaf__))
2432103: __attribute__ ((__malloc__)) __attribute__ ((__malloc__ (fclose, 1))) __attribute__ ((__warn_unused_result__));
2432103: # 328 "/usr/include/stdio.h" 3 4
2432103: extern void setbuf (FILE *__restrict __stream, char *__restrict __buf) __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103:
2432103:
2432103: extern int setvbuf (FILE *__restrict __stream, char *__restrict __buf,
2432103: int __modes, size_t __n) __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103:
2432103:
2432103:
2432103: extern void setbuffer (FILE *__restrict __stream, char *__restrict __buf,
2432103: size_t __size) __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103:
2432103: extern void setlinebuf (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern int fprintf (FILE *__restrict __stream,
2432103: const char *__restrict __format, ...);
2432103:
2432103:
2432103:
2432103:
2432103: extern int printf (const char *__restrict __format, ...);
2432103:
2432103: extern int sprintf (char *__restrict __s,
2432103: const char *__restrict __format, ...) __attribute__ ((__nothrow__));
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern int vfprintf (FILE *__restrict __s, const char *__restrict __format,
2432103: __gnuc_va_list __arg);
2432103:
2432103:
2432103:
2432103:
2432103: extern int vprintf (const char *__restrict __format, __gnuc_va_list __arg);
2432103:
2432103: extern int vsprintf (char *__restrict __s, const char *__restrict __format,
2432103: __gnuc_va_list __arg) __attribute__ ((__nothrow__));
2432103:
2432103:
2432103:
2432103: extern int snprintf (char *__restrict __s, size_t __maxlen,
2432103: const char *__restrict __format, ...)
2432103: __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 3, 4)));
2432103:
2432103: extern int vsnprintf (char *__restrict __s, size_t __maxlen,
2432103: const char *__restrict __format, __gnuc_va_list __arg)
2432103: __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 3, 0)));
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern int vasprintf (char **__restrict __ptr, const char *__restrict __f,
2432103: __gnuc_va_list __arg)
2432103: __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 2, 0))) __attribute__ ((__warn_unused_result__));
2432103: extern int __asprintf (char **__restrict __ptr,
2432103: const char *__restrict __fmt, ...)
2432103: __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 2, 3))) __attribute__ ((__warn_unused_result__));
2432103: extern int asprintf (char **__restrict __ptr,
2432103: const char *__restrict __fmt, ...)
2432103: __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 2, 3))) __attribute__ ((__warn_unused_result__));
2432103:
2432103:
2432103:
2432103:
2432103: extern int vdprintf (int __fd, const char *__restrict __fmt,
2432103: __gnuc_va_list __arg)
2432103: __attribute__ ((__format__ (__printf__, 2, 0)));
2432103: extern int dprintf (int __fd, const char *__restrict __fmt, ...)
2432103: __attribute__ ((__format__ (__printf__, 2, 3)));
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern int fscanf (FILE *__restrict __stream,
2432103: const char *__restrict __format, ...) __attribute__ ((__warn_unused_result__));
2432103:
2432103:
2432103:
2432103:
2432103: extern int scanf (const char *__restrict __format, ...) __attribute__ ((__warn_unused_result__));
2432103:
2432103: extern int sscanf (const char *__restrict __s,
2432103: const char *__restrict __format, ...) __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: # 1 "/usr/include/m68k-linux-gnu/bits/floatn.h" 1 3 4
2432103: # 52 "/usr/include/m68k-linux-gnu/bits/floatn.h" 3 4
2432103: # 1 "/usr/include/m68k-linux-gnu/bits/floatn-common.h" 1 3 4
2432103: # 24 "/usr/include/m68k-linux-gnu/bits/floatn-common.h" 3 4
2432103: # 1 "/usr/include/m68k-linux-gnu/bits/long-double.h" 1 3 4
2432103: # 25 "/usr/include/m68k-linux-gnu/bits/floatn-common.h" 2 3 4
2432103: # 53 "/usr/include/m68k-linux-gnu/bits/floatn.h" 2 3 4
2432103: # 431 "/usr/include/stdio.h" 2 3 4
2432103:
2432103:
2432103:
2432103: extern int fscanf (FILE *__restrict __stream, const char *__restrict __format, ...) __asm__ ("" "__isoc99_fscanf")
2432103:
2432103: __attribute__ ((__warn_unused_result__));
2432103: extern int scanf (const char *__restrict __format, ...) __asm__ ("" "__isoc99_scanf")
2432103: __attribute__ ((__warn_unused_result__));
2432103: extern int sscanf (const char *__restrict __s, const char *__restrict __format, ...) __asm__ ("" "__isoc99_sscanf") __attribute__ ((__nothrow__ , __leaf__))
2432103:
2432103: ;
2432103: # 459 "/usr/include/stdio.h" 3 4
2432103: extern int vfscanf (FILE *__restrict __s, const char *__restrict __format,
2432103: __gnuc_va_list __arg)
2432103: __attribute__ ((__format__ (__scanf__, 2, 0))) __attribute__ ((__warn_unused_result__));
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern int vscanf (const char *__restrict __format, __gnuc_va_list __arg)
2432103: __attribute__ ((__format__ (__scanf__, 1, 0))) __attribute__ ((__warn_unused_result__));
2432103:
2432103:
2432103: extern int vsscanf (const char *__restrict __s,
2432103: const char *__restrict __format, __gnuc_va_list __arg)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__format__ (__scanf__, 2, 0)));
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern int vfscanf (FILE *__restrict __s, const char *__restrict __format, __gnuc_va_list __arg) __asm__ ("" "__isoc99_vfscanf")
2432103:
2432103:
2432103:
2432103: __attribute__ ((__format__ (__scanf__, 2, 0))) __attribute__ ((__warn_unused_result__));
2432103: extern int vscanf (const char *__restrict __format, __gnuc_va_list __arg) __asm__ ("" "__isoc99_vscanf")
2432103:
2432103: __attribute__ ((__format__ (__scanf__, 1, 0))) __attribute__ ((__warn_unused_result__));
2432103: extern int vsscanf (const char *__restrict __s, const char *__restrict __format, __gnuc_va_list __arg) __asm__ ("" "__isoc99_vsscanf") __attribute__ ((__nothrow__ , __leaf__))
2432103:
2432103:
2432103:
2432103: __attribute__ ((__format__ (__scanf__, 2, 0)));
2432103: # 513 "/usr/include/stdio.h" 3 4
2432103: extern int fgetc (FILE *__stream);
2432103: extern int getc (FILE *__stream);
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern int getchar (void);
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern int getc_unlocked (FILE *__stream);
2432103: extern int getchar_unlocked (void);
2432103: # 538 "/usr/include/stdio.h" 3 4
2432103: extern int fgetc_unlocked (FILE *__stream);
2432103: # 549 "/usr/include/stdio.h" 3 4
2432103: extern int fputc (int __c, FILE *__stream);
2432103: extern int putc (int __c, FILE *__stream);
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern int putchar (int __c);
2432103: # 565 "/usr/include/stdio.h" 3 4
2432103: extern int fputc_unlocked (int __c, FILE *__stream);
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern int putc_unlocked (int __c, FILE *__stream);
2432103: extern int putchar_unlocked (int __c);
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern int getw (FILE *__stream);
2432103:
2432103:
2432103: extern int putw (int __w, FILE *__stream);
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern char *fgets (char *__restrict __s, int __n, FILE *__restrict __stream)
2432103: __attribute__ ((__warn_unused_result__)) __attribute__ ((__access__ (__write_only__, 1, 2)));
2432103: # 615 "/usr/include/stdio.h" 3 4
2432103: extern char *fgets_unlocked (char *__restrict __s, int __n,
2432103: FILE *__restrict __stream) __attribute__ ((__warn_unused_result__))
2432103: __attribute__ ((__access__ (__write_only__, 1, 2)));
2432103: # 632 "/usr/include/stdio.h" 3 4
2432103: extern __ssize_t __getdelim (char **__restrict __lineptr,
2432103: size_t *__restrict __n, int __delimiter,
2432103: FILE *__restrict __stream) __attribute__ ((__warn_unused_result__));
2432103: extern __ssize_t getdelim (char **__restrict __lineptr,
2432103: size_t *__restrict __n, int __delimiter,
2432103: FILE *__restrict __stream) __attribute__ ((__warn_unused_result__));
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern __ssize_t getline (char **__restrict __lineptr,
2432103: size_t *__restrict __n,
2432103: FILE *__restrict __stream) __attribute__ ((__warn_unused_result__));
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern int fputs (const char *__restrict __s, FILE *__restrict __stream);
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern int puts (const char *__s);
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern int ungetc (int __c, FILE *__stream);
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern size_t fread (void *__restrict __ptr, size_t __size,
2432103: size_t __n, FILE *__restrict __stream) __attribute__ ((__warn_unused_result__));
2432103:
2432103:
2432103:
2432103:
2432103: extern size_t fwrite (const void *__restrict __ptr, size_t __size,
2432103: size_t __n, FILE *__restrict __s);
2432103: # 691 "/usr/include/stdio.h" 3 4
2432103: extern int fputs_unlocked (const char *__restrict __s,
2432103: FILE *__restrict __stream);
2432103: # 702 "/usr/include/stdio.h" 3 4
2432103: extern size_t fread_unlocked (void *__restrict __ptr, size_t __size,
2432103: size_t __n, FILE *__restrict __stream) __attribute__ ((__warn_unused_result__));
2432103: extern size_t fwrite_unlocked (const void *__restrict __ptr, size_t __size,
2432103: size_t __n, FILE *__restrict __stream);
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern int fseek (FILE *__stream, long int __off, int __whence);
2432103:
2432103:
2432103:
2432103:
2432103: extern long int ftell (FILE *__stream) __attribute__ ((__warn_unused_result__));
2432103:
2432103:
2432103:
2432103:
2432103: extern void rewind (FILE *__stream);
2432103: # 744 "/usr/include/stdio.h" 3 4
2432103: extern int fseeko (FILE *__stream, __off64_t __off, int __whence) __asm__ ("" "fseeko64")
2432103:
2432103: ;
2432103: extern __off64_t ftello (FILE *__stream) __asm__ ("" "ftello64");
2432103: # 768 "/usr/include/stdio.h" 3 4
2432103: extern int fgetpos (FILE *__restrict __stream, fpos_t *__restrict __pos) __asm__ ("" "fgetpos64")
2432103: ;
2432103: extern int fsetpos (FILE *__stream, const fpos_t *__pos) __asm__ ("" "fsetpos64")
2432103: ;
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern int fseeko64 (FILE *__stream, __off64_t __off, int __whence);
2432103: extern __off64_t ftello64 (FILE *__stream) __attribute__ ((__warn_unused_result__));
2432103: extern int fgetpos64 (FILE *__restrict __stream, fpos64_t *__restrict __pos);
2432103: extern int fsetpos64 (FILE *__stream, const fpos64_t *__pos);
2432103:
2432103:
2432103:
2432103: extern void clearerr (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103: extern int feof (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__));
2432103:
2432103: extern int ferror (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__));
2432103:
2432103:
2432103:
2432103: extern void clearerr_unlocked (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__));
2432103: extern int feof_unlocked (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__));
2432103: extern int ferror_unlocked (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__));
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern void perror (const char *__s);
2432103:
2432103:
2432103:
2432103:
2432103: extern int fileno (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__));
2432103:
2432103:
2432103:
2432103:
2432103: extern int fileno_unlocked (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__));
2432103: # 823 "/usr/include/stdio.h" 3 4
2432103: extern int pclose (FILE *__stream);
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern FILE *popen (const char *__command, const char *__modes)
2432103: __attribute__ ((__malloc__)) __attribute__ ((__malloc__ (pclose, 1))) __attribute__ ((__warn_unused_result__));
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern char *ctermid (char *__s) __attribute__ ((__nothrow__ , __leaf__))
2432103: __attribute__ ((__access__ (__write_only__, 1)));
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern char *cuserid (char *__s)
2432103: __attribute__ ((__access__ (__write_only__, 1)));
2432103:
2432103:
2432103:
2432103:
2432103: struct obstack;
2432103:
2432103:
2432103: extern int obstack_printf (struct obstack *__restrict __obstack,
2432103: const char *__restrict __format, ...)
2432103: __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 2, 3)));
2432103: extern int obstack_vprintf (struct obstack *__restrict __obstack,
2432103: const char *__restrict __format,
2432103: __gnuc_va_list __args)
2432103: __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 2, 0)));
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern void flockfile (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103:
2432103:
2432103: extern int ftrylockfile (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__));
2432103:
2432103:
2432103: extern void funlockfile (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__));
2432103: # 885 "/usr/include/stdio.h" 3 4
2432103: extern int __uflow (FILE *);
2432103: extern int __overflow (FILE *, int);
2432103:
2432103:
2432103:
2432103: # 1 "/usr/include/m68k-linux-gnu/bits/stdio2-decl.h" 1 3 4
2432103: # 26 "/usr/include/m68k-linux-gnu/bits/stdio2-decl.h" 3 4
2432103: extern int __sprintf_chk (char *__restrict __s, int __flag, size_t __slen,
2432103: const char *__restrict __format, ...) __attribute__ ((__nothrow__ , __leaf__))
2432103: __attribute__ ((__access__ (__write_only__, 1, 3)));
2432103: extern int __vsprintf_chk (char *__restrict __s, int __flag, size_t __slen,
2432103: const char *__restrict __format,
2432103: __gnuc_va_list __ap) __attribute__ ((__nothrow__ , __leaf__))
2432103: __attribute__ ((__access__ (__write_only__, 1, 3)));
2432103:
2432103:
2432103:
2432103: extern int __snprintf_chk (char *__restrict __s, size_t __n, int __flag,
2432103: size_t __slen, const char *__restrict __format,
2432103: ...) __attribute__ ((__nothrow__ , __leaf__))
2432103: __attribute__ ((__access__ (__write_only__, 1, 2)));
2432103: extern int __vsnprintf_chk (char *__restrict __s, size_t __n, int __flag,
2432103: size_t __slen, const char *__restrict __format,
2432103: __gnuc_va_list __ap) __attribute__ ((__nothrow__ , __leaf__))
2432103: __attribute__ ((__access__ (__write_only__, 1, 2)));
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern int __fprintf_chk (FILE *__restrict __stream, int __flag,
2432103: const char *__restrict __format, ...);
2432103: extern int __printf_chk (int __flag, const char *__restrict __format, ...);
2432103: extern int __vfprintf_chk (FILE *__restrict __stream, int __flag,
2432103: const char *__restrict __format, __gnuc_va_list __ap);
2432103: extern int __vprintf_chk (int __flag, const char *__restrict __format,
2432103: __gnuc_va_list __ap);
2432103:
2432103:
2432103: extern int __dprintf_chk (int __fd, int __flag, const char *__restrict __fmt,
2432103: ...) __attribute__ ((__format__ (__printf__, 3, 4)));
2432103: extern int __vdprintf_chk (int __fd, int __flag,
2432103: const char *__restrict __fmt, __gnuc_va_list __arg)
2432103: __attribute__ ((__format__ (__printf__, 3, 0)));
2432103:
2432103:
2432103:
2432103:
2432103: extern int __asprintf_chk (char **__restrict __ptr, int __flag,
2432103: const char *__restrict __fmt, ...)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__format__ (__printf__, 3, 4))) __attribute__ ((__warn_unused_result__));
2432103: extern int __vasprintf_chk (char **__restrict __ptr, int __flag,
2432103: const char *__restrict __fmt, __gnuc_va_list __arg)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__format__ (__printf__, 3, 0))) __attribute__ ((__warn_unused_result__));
2432103: extern int __obstack_printf_chk (struct obstack *__restrict __obstack,
2432103: int __flag, const char *__restrict __format,
2432103: ...)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__format__ (__printf__, 3, 4)));
2432103: extern int __obstack_vprintf_chk (struct obstack *__restrict __obstack,
2432103: int __flag,
2432103: const char *__restrict __format,
2432103: __gnuc_va_list __args)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__format__ (__printf__, 3, 0)));
2432103: # 90 "/usr/include/m68k-linux-gnu/bits/stdio2-decl.h" 3 4
2432103: extern char *__fgets_chk (char *__restrict __s, size_t __size, int __n,
2432103: FILE *__restrict __stream)
2432103: __attribute__ ((__warn_unused_result__)) __attribute__ ((__access__ (__write_only__, 1, 3)));
2432103:
2432103: extern size_t __fread_chk (void *__restrict __ptr, size_t __ptrlen,
2432103: size_t __size, size_t __n,
2432103: FILE *__restrict __stream) __attribute__ ((__warn_unused_result__));
2432103:
2432103:
2432103: extern char *__fgets_unlocked_chk (char *__restrict __s, size_t __size,
2432103: int __n, FILE *__restrict __stream)
2432103: __attribute__ ((__warn_unused_result__)) __attribute__ ((__access__ (__write_only__, 1, 3)));
2432103:
2432103:
2432103:
2432103:
2432103: extern size_t __fread_unlocked_chk (void *__restrict __ptr, size_t __ptrlen,
2432103: size_t __size, size_t __n,
2432103: FILE *__restrict __stream) __attribute__ ((__warn_unused_result__));
2432103: # 891 "/usr/include/stdio.h" 2 3 4
2432103: # 902 "/usr/include/stdio.h" 3 4
2432103: # 1 "/usr/include/m68k-linux-gnu/bits/stdio.h" 1 3 4
2432103: # 46 "/usr/include/m68k-linux-gnu/bits/stdio.h" 3 4
2432103: extern __inline __attribute__ ((__gnu_inline__)) int
2432103: getchar (void)
2432103: {
2432103: return getc (stdin);
2432103: }
2432103:
2432103:
2432103:
2432103:
2432103: extern __inline __attribute__ ((__gnu_inline__)) int
2432103: fgetc_unlocked (FILE *__fp)
2432103: {
2432103: return (__builtin_expect (((__fp)->_IO_read_ptr >= (__fp)->_IO_read_end), 0) ? __uflow (__fp) : *(unsigned char *) (__fp)->_IO_read_ptr++);
2432103: }
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern __inline __attribute__ ((__gnu_inline__)) int
2432103: getc_unlocked (FILE *__fp)
2432103: {
2432103: return (__builtin_expect (((__fp)->_IO_read_ptr >= (__fp)->_IO_read_end), 0) ? __uflow (__fp) : *(unsigned char *) (__fp)->_IO_read_ptr++);
2432103: }
2432103:
2432103:
2432103: extern __inline __attribute__ ((__gnu_inline__)) int
2432103: getchar_unlocked (void)
2432103: {
2432103: return (__builtin_expect (((stdin)->_IO_read_ptr >= (stdin)->_IO_read_end), 0) ? __uflow (stdin) : *(unsigned char *) (stdin)->_IO_read_ptr++);
2432103: }
2432103:
2432103:
2432103:
2432103:
2432103: extern __inline __attribute__ ((__gnu_inline__)) int
2432103: putchar (int __c)
2432103: {
2432103: return putc (__c, stdout);
2432103: }
2432103:
2432103:
2432103:
2432103:
2432103: extern __inline __attribute__ ((__gnu_inline__)) int
2432103: fputc_unlocked (int __c, FILE *__stream)
2432103: {
2432103: return (__builtin_expect (((__stream)->_IO_write_ptr >= (__stream)->_IO_write_end), 0) ? __overflow (__stream, (unsigned char) (__c)) : (unsigned char) (*(__stream)->_IO_write_ptr++ = (__c)));
2432103: }
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern __inline __attribute__ ((__gnu_inline__)) int
2432103: putc_unlocked (int __c, FILE *__stream)
2432103: {
2432103: return (__builtin_expect (((__stream)->_IO_write_ptr >= (__stream)->_IO_write_end), 0) ? __overflow (__stream, (unsigned char) (__c)) : (unsigned char) (*(__stream)->_IO_write_ptr++ = (__c)));
2432103: }
2432103:
2432103:
2432103: extern __inline __attribute__ ((__gnu_inline__)) int
2432103: putchar_unlocked (int __c)
2432103: {
2432103: return (__builtin_expect (((stdout)->_IO_write_ptr >= (stdout)->_IO_write_end), 0) ? __overflow (stdout, (unsigned char) (__c)) : (unsigned char) (*(stdout)->_IO_write_ptr++ = (__c)));
2432103: }
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern __inline __attribute__ ((__gnu_inline__)) __ssize_t
2432103: getline (char **__lineptr, size_t *__n, FILE *__stream)
2432103: {
2432103: return __getdelim (__lineptr, __n, '\n', __stream);
2432103: }
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern __inline __attribute__ ((__gnu_inline__)) int
2432103: __attribute__ ((__nothrow__ , __leaf__)) feof_unlocked (FILE *__stream)
2432103: {
2432103: return (((__stream)->_flags & 0x0010) != 0);
2432103: }
2432103:
2432103:
2432103: extern __inline __attribute__ ((__gnu_inline__)) int
2432103: __attribute__ ((__nothrow__ , __leaf__)) ferror_unlocked (FILE *__stream)
2432103: {
2432103: return (((__stream)->_flags & 0x0020) != 0);
2432103: }
2432103: # 903 "/usr/include/stdio.h" 2 3 4
2432103:
2432103:
2432103:
2432103: # 1 "/usr/include/m68k-linux-gnu/bits/stdio2.h" 1 3 4
2432103: # 27 "/usr/include/m68k-linux-gnu/bits/stdio2.h" 3 4
2432103: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) int
2432103: __attribute__ ((__nothrow__ , __leaf__)) sprintf (char *__restrict __s, const char *__restrict __fmt, ...)
2432103: {
2432103: return __builtin___sprintf_chk (__s, 2 - 1,
2432103: __builtin_object_size (__s, 2 > 1), __fmt,
2432103: __builtin_va_arg_pack ());
2432103: }
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) int
2432103: __attribute__ ((__nothrow__ , __leaf__)) vsprintf (char *__restrict __s, const char *__restrict __fmt, __gnuc_va_list __ap)
2432103:
2432103: {
2432103: return __builtin___vsprintf_chk (__s, 2 - 1,
2432103: __builtin_object_size (__s, 2 > 1), __fmt, __ap);
2432103: }
2432103:
2432103:
2432103:
2432103: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) int
2432103: __attribute__ ((__nothrow__ , __leaf__)) snprintf (char *__restrict __s, size_t __n, const char *__restrict __fmt, ...)
2432103:
2432103: {
2432103: return __builtin___snprintf_chk (__s, __n, 2 - 1,
2432103: __builtin_object_size (__s, 2 > 1), __fmt,
2432103: __builtin_va_arg_pack ());
2432103: }
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) int
2432103: __attribute__ ((__nothrow__ , __leaf__)) vsnprintf (char *__restrict __s, size_t __n, const char *__restrict __fmt, __gnuc_va_list __ap)
2432103:
2432103: {
2432103: return __builtin___vsnprintf_chk (__s, __n, 2 - 1,
2432103: __builtin_object_size (__s, 2 > 1), __fmt, __ap);
2432103: }
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) int
2432103: fprintf (FILE *__restrict __stream, const char *__restrict __fmt, ...)
2432103: {
2432103: return __fprintf_chk (__stream, 2 - 1, __fmt,
2432103: __builtin_va_arg_pack ());
2432103: }
2432103:
2432103: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) int
2432103: printf (const char *__restrict __fmt, ...)
2432103: {
2432103: return __printf_chk (2 - 1, __fmt, __builtin_va_arg_pack ());
2432103: }
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) int
2432103: vprintf (const char *__restrict __fmt, __gnuc_va_list __ap)
2432103: {
2432103:
2432103: return __vfprintf_chk (stdout, 2 - 1, __fmt, __ap);
2432103:
2432103:
2432103:
2432103: }
2432103:
2432103: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) int
2432103: vfprintf (FILE *__restrict __stream,
2432103: const char *__restrict __fmt, __gnuc_va_list __ap)
2432103: {
2432103: return __vfprintf_chk (__stream, 2 - 1, __fmt, __ap);
2432103: }
2432103:
2432103:
2432103:
2432103: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) int
2432103: dprintf (int __fd, const char *__restrict __fmt, ...)
2432103: {
2432103: return __dprintf_chk (__fd, 2 - 1, __fmt,
2432103: __builtin_va_arg_pack ());
2432103: }
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) int
2432103: vdprintf (int __fd, const char *__restrict __fmt, __gnuc_va_list __ap)
2432103: {
2432103: return __vdprintf_chk (__fd, 2 - 1, __fmt, __ap);
2432103: }
2432103:
2432103:
2432103:
2432103:
2432103: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) int
2432103: __attribute__ ((__nothrow__ , __leaf__)) asprintf (char **__restrict __ptr, const char *__restrict __fmt, ...)
2432103: {
2432103: return __asprintf_chk (__ptr, 2 - 1, __fmt,
2432103: __builtin_va_arg_pack ());
2432103: }
2432103:
2432103: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) int
2432103: __attribute__ ((__nothrow__ , __leaf__)) __asprintf (char **__restrict __ptr, const char *__restrict __fmt, ...)
2432103:
2432103: {
2432103: return __asprintf_chk (__ptr, 2 - 1, __fmt,
2432103: __builtin_va_arg_pack ());
2432103: }
2432103:
2432103: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) int
2432103: __attribute__ ((__nothrow__ , __leaf__)) obstack_printf (struct obstack *__restrict __obstack, const char *__restrict __fmt, ...)
2432103:
2432103: {
2432103: return __obstack_printf_chk (__obstack, 2 - 1, __fmt,
2432103: __builtin_va_arg_pack ());
2432103: }
2432103: # 165 "/usr/include/m68k-linux-gnu/bits/stdio2.h" 3 4
2432103: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) int
2432103: __attribute__ ((__nothrow__ , __leaf__)) vasprintf (char **__restrict __ptr, const char *__restrict __fmt, __gnuc_va_list __ap)
2432103:
2432103: {
2432103: return __vasprintf_chk (__ptr, 2 - 1, __fmt, __ap);
2432103: }
2432103:
2432103: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) int
2432103: __attribute__ ((__nothrow__ , __leaf__)) obstack_vprintf (struct obstack *__restrict __obstack, const char *__restrict __fmt, __gnuc_va_list __ap)
2432103:
2432103: {
2432103: return __obstack_vprintf_chk (__obstack, 2 - 1, __fmt,
2432103: __ap);
2432103: }
2432103: # 198 "/usr/include/m68k-linux-gnu/bits/stdio2.h" 3 4
2432103: extern char *__fgets_alias (char *__restrict __s, int __n, FILE *__restrict __stream) __asm__ ("" "fgets")
2432103:
2432103:
2432103: __attribute__ ((__warn_unused_result__)) __attribute__ ((__access__ (__write_only__, 1, 2)));
2432103: extern char *__fgets_chk_warn (char *__restrict __s, size_t __size, int __n, FILE *__restrict __stream) __asm__ ("" "__fgets_chk")
2432103:
2432103:
2432103: __attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("fgets called with bigger size than length " "of destination buffer")))
2432103: ;
2432103:
2432103: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) __attribute__ ((__warn_unused_result__)) __attribute__ ((__access__ (__write_only__, 1, 2))) char *
2432103: fgets (char *__restrict __s, int __n, FILE *__restrict __stream)
2432103: {
2432103: size_t sz = __builtin_object_size (__s, 2 > 1);
2432103: if (((__builtin_constant_p (sz) && (sz) == (unsigned int) -1) || (((__typeof (__n)) 0 < (__typeof (__n)) -1 || (__builtin_constant_p (__n) && (__n) > 0)) && __builtin_constant_p ((((unsigned int) (__n)) <= ((sz)) / ((sizeof (char))))) && (((unsigned int) (__n)) <= ((sz)) / ((sizeof (char)))))))
2432103: return __fgets_alias (__s, __n, __stream);
2432103: if ((((__typeof (__n)) 0 < (__typeof (__n)) -1 || (__builtin_constant_p (__n) && (__n) > 0)) && __builtin_constant_p ((((unsigned int) (__n)) <= (sz) / (sizeof (char)))) && !(((unsigned int) (__n)) <= (sz) / (sizeof (char)))))
2432103: return __fgets_chk_warn (__s, sz, __n, __stream);
2432103: return __fgets_chk (__s, sz, __n, __stream);
2432103: }
2432103:
2432103: extern size_t __fread_alias (void *__restrict __ptr, size_t __size, size_t __n, FILE *__restrict __stream) __asm__ ("" "fread")
2432103:
2432103:
2432103: __attribute__ ((__warn_unused_result__));
2432103: extern size_t __fread_chk_warn (void *__restrict __ptr, size_t __ptrlen, size_t __size, size_t __n, FILE *__restrict __stream) __asm__ ("" "__fread_chk")
2432103:
2432103:
2432103:
2432103:
2432103: __attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("fread called with bigger size * nmemb than length " "of destination buffer")))
2432103: ;
2432103:
2432103: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) __attribute__ ((__warn_unused_result__)) size_t
2432103: fread (void *__restrict __ptr, size_t __size, size_t __n,
2432103: FILE *__restrict __stream)
2432103: {
2432103: size_t sz = __builtin_object_size (__ptr, 0);
2432103: if (((__builtin_constant_p (sz) && (sz) == (unsigned int) -1) || (((__typeof (__n)) 0 < (__typeof (__n)) -1 || (__builtin_constant_p (__n) && (__n) > 0)) && __builtin_constant_p ((((unsigned int) (__n)) <= ((sz)) / ((__size)))) && (((unsigned int) (__n)) <= ((sz)) / ((__size))))))
2432103: return __fread_alias (__ptr, __size, __n, __stream);
2432103: if ((((__typeof (__n)) 0 < (__typeof (__n)) -1 || (__builtin_constant_p (__n) && (__n) > 0)) && __builtin_constant_p ((((unsigned int) (__n)) <= (sz) / (__size))) && !(((unsigned int) (__n)) <= (sz) / (__size))))
2432103: return __fread_chk_warn (__ptr, sz, __size, __n, __stream);
2432103: return __fread_chk (__ptr, sz, __size, __n, __stream);
2432103: }
2432103:
2432103:
2432103: extern char *__fgets_unlocked_alias (char *__restrict __s, int __n, FILE *__restrict __stream) __asm__ ("" "fgets_unlocked")
2432103:
2432103:
2432103: __attribute__ ((__warn_unused_result__)) __attribute__ ((__access__ (__write_only__, 1, 2)));
2432103: extern char *__fgets_unlocked_chk_warn (char *__restrict __s, size_t __size, int __n, FILE *__restrict __stream) __asm__ ("" "__fgets_unlocked_chk")
2432103:
2432103:
2432103: __attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("fgets_unlocked called with bigger size than length " "of destination buffer")))
2432103: ;
2432103:
2432103: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) __attribute__ ((__warn_unused_result__)) __attribute__ ((__access__ (__write_only__, 1, 2))) char *
2432103: fgets_unlocked (char *__restrict __s, int __n, FILE *__restrict __stream)
2432103: {
2432103: size_t sz = __builtin_object_size (__s, 2 > 1);
2432103: if (((__builtin_constant_p (sz) && (sz) == (unsigned int) -1) || (((__typeof (__n)) 0 < (__typeof (__n)) -1 || (__builtin_constant_p (__n) && (__n) > 0)) && __builtin_constant_p ((((unsigned int) (__n)) <= ((sz)) / ((sizeof (char))))) && (((unsigned int) (__n)) <= ((sz)) / ((sizeof (char)))))))
2432103: return __fgets_unlocked_alias (__s, __n, __stream);
2432103: if ((((__typeof (__n)) 0 < (__typeof (__n)) -1 || (__builtin_constant_p (__n) && (__n) > 0)) && __builtin_constant_p ((((unsigned int) (__n)) <= (sz) / (sizeof (char)))) && !(((unsigned int) (__n)) <= (sz) / (sizeof (char)))))
2432103: return __fgets_unlocked_chk_warn (__s, sz, __n, __stream);
2432103: return __fgets_unlocked_chk (__s, sz, __n, __stream);
2432103: }
2432103:
2432103:
2432103:
2432103:
2432103: extern size_t __fread_unlocked_alias (void *__restrict __ptr, size_t __size, size_t __n, FILE *__restrict __stream) __asm__ ("" "fread_unlocked")
2432103:
2432103:
2432103: __attribute__ ((__warn_unused_result__));
2432103: extern size_t __fread_unlocked_chk_warn (void *__restrict __ptr, size_t __ptrlen, size_t __size, size_t __n, FILE *__restrict __stream) __asm__ ("" "__fread_unlocked_chk")
2432103:
2432103:
2432103:
2432103:
2432103: __attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("fread_unlocked called with bigger size * nmemb than " "length of destination buffer")))
2432103: ;
2432103:
2432103: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) __attribute__ ((__warn_unused_result__)) size_t
2432103: fread_unlocked (void *__restrict __ptr, size_t __size, size_t __n,
2432103: FILE *__restrict __stream)
2432103: {
2432103: size_t sz = __builtin_object_size (__ptr, 0);
2432103: if (((__builtin_constant_p (sz) && (sz) == (unsigned int) -1) || (((__typeof (__n)) 0 < (__typeof (__n)) -1 || (__builtin_constant_p (__n) && (__n) > 0)) && __builtin_constant_p ((((unsigned int) (__n)) <= ((sz)) / ((__size)))) && (((unsigned int) (__n)) <= ((sz)) / ((__size))))))
2432103: {
2432103:
2432103: if (__builtin_constant_p (__size)
2432103: && __builtin_constant_p (__n)
2432103: && (__size | __n) < (((size_t) 1) << (8 * sizeof (size_t) / 2))
2432103: && __size * __n <= 8)
2432103: {
2432103: size_t __cnt = __size * __n;
2432103: char *__cptr = (char *) __ptr;
2432103: if (__cnt == 0)
2432103: return 0;
2432103:
2432103: for (; __cnt > 0; --__cnt)
2432103: {
2432103: int __c = getc_unlocked (__stream);
2432103: if (__c == (-1))
2432103: break;
2432103: *__cptr++ = __c;
2432103: }
2432103: return (__cptr - (char *) __ptr) / __size;
2432103: }
2432103:
2432103: return __fread_unlocked_alias (__ptr, __size, __n, __stream);
2432103: }
2432103: if ((((__typeof (__n)) 0 < (__typeof (__n)) -1 || (__builtin_constant_p (__n) && (__n) > 0)) && __builtin_constant_p ((((unsigned int) (__n)) <= (sz) / (__size))) && !(((unsigned int) (__n)) <= (sz) / (__size))))
2432103: return __fread_unlocked_chk_warn (__ptr, sz, __size, __n, __stream);
2432103: return __fread_unlocked_chk (__ptr, sz, __size, __n, __stream);
2432103:
2432103: }
2432103: # 907 "/usr/include/stdio.h" 2 3 4
2432103:
2432103:
2432103:
2432103: # 50 "/usr/include/m68k-linux-gnu/bsd/libutil.h" 2 3 4
2432103:
2432103: struct pidfh;
2432103:
2432103:
2432103: int humanize_number(char *buf, size_t len, int64_t bytes,
2432103: const char *suffix, int scale, int flags);
2432103: int expand_number(const char *_buf, uint64_t *_num);
2432103:
2432103: int flopen(const char *_path, int _flags, ...);
2432103: int flopenat(int dirfd, const char *path, int flags, ...);
2432103:
2432103: struct pidfh *pidfile_open(const char *path, mode_t mode, pid_t *pidptr);
2432103: int pidfile_fileno(const struct pidfh *pfh);
2432103: int pidfile_write(struct pidfh *pfh);
2432103: int pidfile_close(struct pidfh *pfh);
2432103: int pidfile_remove(struct pidfh *pfh);
2432103:
2432103: char *fparseln(FILE *, size_t *, size_t *, const char[3], int);
2432103:
2432103: # 141 "../../includes.h" 2
2432103: # 154 "../../includes.h"
2432103: # 1 "/usr/include/errno.h" 1 3 4
2432103: # 28 "/usr/include/errno.h" 3 4
2432103: # 1 "/usr/include/m68k-linux-gnu/bits/errno.h" 1 3 4
2432103: # 26 "/usr/include/m68k-linux-gnu/bits/errno.h" 3 4
2432103: # 1 "/usr/include/linux/errno.h" 1 3 4
2432103: # 1 "/usr/lib/linux/uapi/m68k/asm/errno.h" 1 3 4
2432103: # 1 "/usr/include/asm-generic/errno.h" 1 3 4
2432103:
2432103:
2432103:
2432103:
2432103: # 1 "/usr/include/asm-generic/errno-base.h" 1 3 4
2432103: # 6 "/usr/include/asm-generic/errno.h" 2 3 4
2432103: # 2 "/usr/lib/linux/uapi/m68k/asm/errno.h" 2 3 4
2432103: # 2 "/usr/include/linux/errno.h" 2 3 4
2432103: # 27 "/usr/include/m68k-linux-gnu/bits/errno.h" 2 3 4
2432103: # 29 "/usr/include/errno.h" 2 3 4
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern int *__errno_location (void) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__));
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern char *program_invocation_name;
2432103: extern char *program_invocation_short_name;
2432103:
2432103: # 1 "/usr/include/m68k-linux-gnu/bits/types/error_t.h" 1 3 4
2432103: # 22 "/usr/include/m68k-linux-gnu/bits/types/error_t.h" 3 4
2432103: typedef int error_t;
2432103: # 49 "/usr/include/errno.h" 2 3 4
2432103:
2432103:
2432103:
2432103:
2432103: # 155 "../../includes.h" 2
2432103: # 167 "../../includes.h"
2432103: # 1 "/usr/include/openssl/opensslv.h" 1 3 4
2432103: # 15 "/usr/include/openssl/opensslv.h" 3 4
2432103:
2432103: # 109 "/usr/include/openssl/opensslv.h" 3 4
2432103: # 1 "/usr/include/openssl/macros.h" 1 3 4
2432103: # 12 "/usr/include/openssl/macros.h" 3 4
2432103:
2432103:
2432103: # 1 "/usr/include/m68k-linux-gnu/openssl/opensslconf.h" 1 3 4
2432103: # 12 "/usr/include/m68k-linux-gnu/openssl/opensslconf.h" 3 4
2432103:
2432103:
2432103: # 1 "/usr/include/m68k-linux-gnu/openssl/configuration.h" 1 3 4
2432103: # 16 "/usr/include/m68k-linux-gnu/openssl/configuration.h" 3 4
2432103:
2432103: # 15 "/usr/include/m68k-linux-gnu/openssl/opensslconf.h" 2 3 4
2432103: # 15 "/usr/include/openssl/macros.h" 2 3 4
2432103: # 110 "/usr/include/openssl/opensslv.h" 2 3 4
2432103: # 168 "../../includes.h" 2
2432103:
2432103:
2432103: # 1 "../../defines.h" 1
2432103: # 59 "../../defines.h"
2432103: # 1 "/usr/include/netinet/ip.h" 1 3 4
2432103: # 26 "/usr/include/netinet/ip.h" 3 4
2432103:
2432103:
2432103: struct timestamp
2432103: {
2432103: uint8_t len;
2432103: uint8_t ptr;
2432103:
2432103:
2432103:
2432103:
2432103: unsigned int overflow:4;
2432103: unsigned int flags:4;
2432103:
2432103:
2432103:
2432103: uint32_t data[9];
2432103: };
2432103:
2432103: struct iphdr
2432103: {
2432103:
2432103:
2432103:
2432103:
2432103: unsigned int version:4;
2432103: unsigned int ihl:4;
2432103:
2432103:
2432103:
2432103: uint8_t tos;
2432103: uint16_t tot_len;
2432103: uint16_t id;
2432103: uint16_t frag_off;
2432103: uint8_t ttl;
2432103: uint8_t protocol;
2432103: uint16_t check;
2432103: uint32_t saddr;
2432103: uint32_t daddr;
2432103:
2432103: };
2432103: # 107 "/usr/include/netinet/ip.h" 3 4
2432103: struct ip
2432103: {
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: unsigned int ip_v:4;
2432103: unsigned int ip_hl:4;
2432103:
2432103: uint8_t ip_tos;
2432103: unsigned short ip_len;
2432103: unsigned short ip_id;
2432103: unsigned short ip_off;
2432103:
2432103:
2432103:
2432103:
2432103: uint8_t ip_ttl;
2432103: uint8_t ip_p;
2432103: unsigned short ip_sum;
2432103: struct in_addr ip_src, ip_dst;
2432103: };
2432103:
2432103:
2432103:
2432103:
2432103: struct ip_timestamp
2432103: {
2432103: uint8_t ipt_code;
2432103: uint8_t ipt_len;
2432103: uint8_t ipt_ptr;
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: unsigned int ipt_oflw:4;
2432103: unsigned int ipt_flg:4;
2432103:
2432103: uint32_t data[9];
2432103: };
2432103: # 300 "/usr/include/netinet/ip.h" 3 4
2432103:
2432103: # 60 "../../defines.h" 2
2432103: # 171 "../../includes.h" 2
2432103:
2432103: # 1 "../../platform.h" 1
2432103: # 19 "../../platform.h"
2432103: # 1 "/usr/include/pwd.h" 1 3 4
2432103: # 27 "/usr/include/pwd.h" 3 4
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: # 1 "/usr/lib/gcc/m68k-linux-gnu/13/include/stddef.h" 1 3 4
2432103: # 33 "/usr/include/pwd.h" 2 3 4
2432103: # 49 "/usr/include/pwd.h" 3 4
2432103: struct passwd
2432103: {
2432103: char *pw_name;
2432103: char *pw_passwd;
2432103:
2432103: __uid_t pw_uid;
2432103: __gid_t pw_gid;
2432103: char *pw_gecos;
2432103: char *pw_dir;
2432103: char *pw_shell;
2432103: };
2432103: # 72 "/usr/include/pwd.h" 3 4
2432103: extern void setpwent (void);
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern void endpwent (void);
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern struct passwd *getpwent (void);
2432103: # 94 "/usr/include/pwd.h" 3 4
2432103: extern struct passwd *fgetpwent (FILE *__stream) __attribute__ ((__nonnull__ (1)));
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern int putpwent (const struct passwd *__restrict __p,
2432103: FILE *__restrict __f);
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern struct passwd *getpwuid (__uid_t __uid);
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern struct passwd *getpwnam (const char *__name) __attribute__ ((__nonnull__ (1)));
2432103: # 139 "/usr/include/pwd.h" 3 4
2432103: extern int getpwent_r (struct passwd *__restrict __resultbuf,
2432103: char *__restrict __buffer, size_t __buflen,
2432103: struct passwd **__restrict __result)
2432103: __attribute__ ((__nonnull__ (1, 2, 4)))
2432103: __attribute__ ((__access__ (__write_only__, 2, 3)));
2432103:
2432103:
2432103: extern int getpwuid_r (__uid_t __uid,
2432103: struct passwd *__restrict __resultbuf,
2432103: char *__restrict __buffer, size_t __buflen,
2432103: struct passwd **__restrict __result)
2432103: __attribute__ ((__nonnull__ (2, 3, 5)))
2432103: __attribute__ ((__access__ (__write_only__, 3, 4)));
2432103:
2432103: extern int getpwnam_r (const char *__restrict __name,
2432103: struct passwd *__restrict __resultbuf,
2432103: char *__restrict __buffer, size_t __buflen,
2432103: struct passwd **__restrict __result)
2432103: __attribute__ ((__nonnull__ (1, 2, 3, 5)))
2432103: __attribute__ ((__access__ (__write_only__, 3, 4)));
2432103: # 169 "/usr/include/pwd.h" 3 4
2432103: extern int fgetpwent_r (FILE *__restrict __stream,
2432103: struct passwd *__restrict __resultbuf,
2432103: char *__restrict __buffer, size_t __buflen,
2432103: struct passwd **__restrict __result)
2432103: __attribute__ ((__nonnull__ (1, 2, 3, 5)))
2432103: __attribute__ ((__access__ (__write_only__, 3, 4)));
2432103: # 188 "/usr/include/pwd.h" 3 4
2432103: extern int getpw (__uid_t __uid, char *__buffer);
2432103:
2432103:
2432103:
2432103: # 20 "../../platform.h" 2
2432103:
2432103:
2432103: # 21 "../../platform.h"
2432103: void platform_pre_listen(void);
2432103: void platform_pre_fork(void);
2432103: void platform_pre_restart(void);
2432103: void platform_post_fork_parent(pid_t child_pid);
2432103: void platform_post_fork_child(void);
2432103: int platform_privileged_uidswap(void);
2432103: void platform_setusercontext(struct passwd *);
2432103: void platform_setusercontext_post_groups(struct passwd *, const char *);
2432103: char *platform_get_krb5_client(const char *);
2432103: char *platform_krb5_get_principal_name(const char *);
2432103: int platform_locked_account(struct passwd *);
2432103: int platform_sys_dir_uid(uid_t);
2432103: void platform_disable_tracing(int);
2432103:
2432103:
2432103: void platform_pledge_agent(void);
2432103: void platform_pledge_sftp_server(void);
2432103: void platform_pledge_mux(void);
2432103: # 173 "../../includes.h" 2
2432103: # 1 "../../openbsd-compat/openbsd-compat.h" 1
2432103: # 30 "../../openbsd-compat/openbsd-compat.h"
2432103: # 1 "../../includes.h" 1
2432103: # 31 "../../openbsd-compat/openbsd-compat.h" 2
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: # 1 "/usr/lib/gcc/m68k-linux-gnu/13/include/stddef.h" 1 3 4
2432103: # 145 "/usr/lib/gcc/m68k-linux-gnu/13/include/stddef.h" 3 4
2432103:
2432103: # 145 "/usr/lib/gcc/m68k-linux-gnu/13/include/stddef.h" 3 4
2432103: typedef int ptrdiff_t;
2432103: # 329 "/usr/lib/gcc/m68k-linux-gnu/13/include/stddef.h" 3 4
2432103: typedef long int wchar_t;
2432103: # 425 "/usr/lib/gcc/m68k-linux-gnu/13/include/stddef.h" 3 4
2432103: typedef struct {
2432103: long long __max_align_ll __attribute__((__aligned__(__alignof__(long long))));
2432103: long double __max_align_ld __attribute__((__aligned__(__alignof__(long double))));
2432103: # 436 "/usr/lib/gcc/m68k-linux-gnu/13/include/stddef.h" 3 4
2432103: } max_align_t;
2432103: # 38 "../../openbsd-compat/openbsd-compat.h" 2
2432103:
2432103:
2432103: # 1 "../../openbsd-compat/base64.h" 1
2432103: # 50 "../../openbsd-compat/base64.h"
2432103:
2432103: # 50 "../../openbsd-compat/base64.h"
2432103: int b64_ntop(u_char const *src, size_t srclength, char *target,
2432103: size_t targsize);
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: int b64_pton(char const *src, u_char *target, size_t targsize);
2432103: # 41 "../../openbsd-compat/openbsd-compat.h" 2
2432103: # 1 "../../openbsd-compat/sigact.h" 1
2432103: # 42 "../../openbsd-compat/openbsd-compat.h" 2
2432103: # 1 "../../openbsd-compat/readpassphrase.h" 1
2432103: # 40 "../../openbsd-compat/readpassphrase.h"
2432103: char * readpassphrase(const char *, char *, size_t, int);
2432103: # 43 "../../openbsd-compat/openbsd-compat.h" 2
2432103: # 1 "../../openbsd-compat/vis.h" 1
2432103: # 44 "../../openbsd-compat/vis.h"
2432103: # 1 "/usr/lib/gcc/m68k-linux-gnu/13/include/limits.h" 1 3 4
2432103: # 45 "../../openbsd-compat/vis.h" 2
2432103: # 84 "../../openbsd-compat/vis.h"
2432103: char *vis(char *, int, int, int);
2432103: int strvis(char *, const char *, int);
2432103: int stravis(char **, const char *, int);
2432103: int strnvis(char *, const char *, size_t, int)
2432103: __attribute__ (());
2432103: int strvisx(char *, const char *, size_t, int)
2432103: __attribute__ (());
2432103: int strunvis(char *, const char *);
2432103: int unvis(char *, char, int *, int);
2432103: ssize_t strnunvis(char *, const char *, size_t)
2432103: __attribute__ (());
2432103: # 44 "../../openbsd-compat/openbsd-compat.h" 2
2432103: # 1 "../../openbsd-compat/getrrsetbyname.h" 1
2432103: # 57 "../../openbsd-compat/getrrsetbyname.h"
2432103: # 1 "/usr/include/arpa/nameser.h" 1 3 4
2432103: # 51 "/usr/include/arpa/nameser.h" 3 4
2432103: # 1 "/usr/include/m68k-linux-gnu/sys/param.h" 1 3 4
2432103: # 23 "/usr/include/m68k-linux-gnu/sys/param.h" 3 4
2432103: # 1 "/usr/lib/gcc/m68k-linux-gnu/13/include/stddef.h" 1 3 4
2432103: # 24 "/usr/include/m68k-linux-gnu/sys/param.h" 2 3 4
2432103:
2432103:
2432103: # 1 "/usr/lib/gcc/m68k-linux-gnu/13/include/limits.h" 1 3 4
2432103: # 27 "/usr/include/m68k-linux-gnu/sys/param.h" 2 3 4
2432103:
2432103: # 1 "/usr/include/signal.h" 1 3 4
2432103: # 27 "/usr/include/signal.h" 3 4
2432103:
2432103:
2432103:
2432103: # 1 "/usr/include/m68k-linux-gnu/bits/signum-generic.h" 1 3 4
2432103: # 76 "/usr/include/m68k-linux-gnu/bits/signum-generic.h" 3 4
2432103: # 1 "/usr/include/m68k-linux-gnu/bits/signum-arch.h" 1 3 4
2432103: # 77 "/usr/include/m68k-linux-gnu/bits/signum-generic.h" 2 3 4
2432103: # 31 "/usr/include/signal.h" 2 3 4
2432103:
2432103: # 1 "/usr/include/m68k-linux-gnu/bits/types/sig_atomic_t.h" 1 3 4
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: # 8 "/usr/include/m68k-linux-gnu/bits/types/sig_atomic_t.h" 3 4
2432103: typedef __sig_atomic_t sig_atomic_t;
2432103: # 33 "/usr/include/signal.h" 2 3 4
2432103: # 57 "/usr/include/signal.h" 3 4
2432103: # 1 "/usr/include/m68k-linux-gnu/bits/types/siginfo_t.h" 1 3 4
2432103:
2432103:
2432103:
2432103: # 1 "/usr/include/m68k-linux-gnu/bits/wordsize.h" 1 3 4
2432103: # 5 "/usr/include/m68k-linux-gnu/bits/types/siginfo_t.h" 2 3 4
2432103:
2432103: # 1 "/usr/include/m68k-linux-gnu/bits/types/__sigval_t.h" 1 3 4
2432103: # 24 "/usr/include/m68k-linux-gnu/bits/types/__sigval_t.h" 3 4
2432103: union sigval
2432103: {
2432103: int sival_int;
2432103: void *sival_ptr;
2432103: };
2432103:
2432103: typedef union sigval __sigval_t;
2432103: # 7 "/usr/include/m68k-linux-gnu/bits/types/siginfo_t.h" 2 3 4
2432103: # 16 "/usr/include/m68k-linux-gnu/bits/types/siginfo_t.h" 3 4
2432103: # 1 "/usr/include/m68k-linux-gnu/bits/siginfo-arch.h" 1 3 4
2432103: # 17 "/usr/include/m68k-linux-gnu/bits/types/siginfo_t.h" 2 3 4
2432103: # 36 "/usr/include/m68k-linux-gnu/bits/types/siginfo_t.h" 3 4
2432103: typedef struct
2432103: {
2432103: int si_signo;
2432103:
2432103: int si_errno;
2432103:
2432103: int si_code;
2432103: # 51 "/usr/include/m68k-linux-gnu/bits/types/siginfo_t.h" 3 4
2432103: union
2432103: {
2432103: int _pad[((128 / sizeof (int)) - 3)];
2432103:
2432103:
2432103: struct
2432103: {
2432103: __pid_t si_pid;
2432103: __uid_t si_uid;
2432103: } _kill;
2432103:
2432103:
2432103: struct
2432103: {
2432103: int si_tid;
2432103: int si_overrun;
2432103: __sigval_t si_sigval;
2432103: } _timer;
2432103:
2432103:
2432103: struct
2432103: {
2432103: __pid_t si_pid;
2432103: __uid_t si_uid;
2432103: __sigval_t si_sigval;
2432103: } _rt;
2432103:
2432103:
2432103: struct
2432103: {
2432103: __pid_t si_pid;
2432103: __uid_t si_uid;
2432103: int si_status;
2432103: __clock_t si_utime;
2432103: __clock_t si_stime;
2432103: } _sigchld;
2432103:
2432103:
2432103: struct
2432103: {
2432103: void *si_addr;
2432103:
2432103: short int si_addr_lsb;
2432103: union
2432103: {
2432103:
2432103: struct
2432103: {
2432103: void *_lower;
2432103: void *_upper;
2432103: } _addr_bnd;
2432103:
2432103: __uint32_t _pkey;
2432103: } _bounds;
2432103: } _sigfault;
2432103:
2432103:
2432103: struct
2432103: {
2432103: long int si_band;
2432103: int si_fd;
2432103: } _sigpoll;
2432103:
2432103:
2432103:
2432103: struct
2432103: {
2432103: void *_call_addr;
2432103: int _syscall;
2432103: unsigned int _arch;
2432103: } _sigsys;
2432103:
2432103: } _sifields;
2432103: } siginfo_t ;
2432103: # 58 "/usr/include/signal.h" 2 3 4
2432103: # 1 "/usr/include/m68k-linux-gnu/bits/siginfo-consts.h" 1 3 4
2432103: # 35 "/usr/include/m68k-linux-gnu/bits/siginfo-consts.h" 3 4
2432103: enum
2432103: {
2432103: SI_ASYNCNL = -60,
2432103: SI_DETHREAD = -7,
2432103:
2432103: SI_TKILL,
2432103: SI_SIGIO,
2432103:
2432103: SI_ASYNCIO,
2432103: SI_MESGQ,
2432103: SI_TIMER,
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: SI_QUEUE,
2432103: SI_USER,
2432103: SI_KERNEL = 0x80
2432103: # 66 "/usr/include/m68k-linux-gnu/bits/siginfo-consts.h" 3 4
2432103: };
2432103:
2432103:
2432103:
2432103:
2432103: enum
2432103: {
2432103: ILL_ILLOPC = 1,
2432103:
2432103: ILL_ILLOPN,
2432103:
2432103: ILL_ILLADR,
2432103:
2432103: ILL_ILLTRP,
2432103:
2432103: ILL_PRVOPC,
2432103:
2432103: ILL_PRVREG,
2432103:
2432103: ILL_COPROC,
2432103:
2432103: ILL_BADSTK,
2432103:
2432103: ILL_BADIADDR
2432103:
2432103: };
2432103:
2432103:
2432103: enum
2432103: {
2432103: FPE_INTDIV = 1,
2432103:
2432103: FPE_INTOVF,
2432103:
2432103: FPE_FLTDIV,
2432103:
2432103: FPE_FLTOVF,
2432103:
2432103: FPE_FLTUND,
2432103:
2432103: FPE_FLTRES,
2432103:
2432103: FPE_FLTINV,
2432103:
2432103: FPE_FLTSUB,
2432103:
2432103: FPE_FLTUNK = 14,
2432103:
2432103: FPE_CONDTRAP
2432103:
2432103: };
2432103:
2432103:
2432103: enum
2432103: {
2432103: SEGV_MAPERR = 1,
2432103:
2432103: SEGV_ACCERR,
2432103:
2432103: SEGV_BNDERR,
2432103:
2432103: SEGV_PKUERR,
2432103:
2432103: SEGV_ACCADI,
2432103:
2432103: SEGV_ADIDERR,
2432103:
2432103: SEGV_ADIPERR,
2432103:
2432103: SEGV_MTEAERR,
2432103:
2432103: SEGV_MTESERR
2432103:
2432103: };
2432103:
2432103:
2432103: enum
2432103: {
2432103: BUS_ADRALN = 1,
2432103:
2432103: BUS_ADRERR,
2432103:
2432103: BUS_OBJERR,
2432103:
2432103: BUS_MCEERR_AR,
2432103:
2432103: BUS_MCEERR_AO
2432103:
2432103: };
2432103:
2432103:
2432103:
2432103:
2432103: enum
2432103: {
2432103: TRAP_BRKPT = 1,
2432103:
2432103: TRAP_TRACE,
2432103:
2432103: TRAP_BRANCH,
2432103:
2432103: TRAP_HWBKPT,
2432103:
2432103: TRAP_UNK
2432103:
2432103: };
2432103:
2432103:
2432103:
2432103:
2432103: enum
2432103: {
2432103: CLD_EXITED = 1,
2432103:
2432103: CLD_KILLED,
2432103:
2432103: CLD_DUMPED,
2432103:
2432103: CLD_TRAPPED,
2432103:
2432103: CLD_STOPPED,
2432103:
2432103: CLD_CONTINUED
2432103:
2432103: };
2432103:
2432103:
2432103: enum
2432103: {
2432103: POLL_IN = 1,
2432103:
2432103: POLL_OUT,
2432103:
2432103: POLL_MSG,
2432103:
2432103: POLL_ERR,
2432103:
2432103: POLL_PRI,
2432103:
2432103: POLL_HUP
2432103:
2432103: };
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: # 1 "/usr/include/m68k-linux-gnu/bits/siginfo-consts-arch.h" 1 3 4
2432103: # 214 "/usr/include/m68k-linux-gnu/bits/siginfo-consts.h" 2 3 4
2432103: # 59 "/usr/include/signal.h" 2 3 4
2432103:
2432103:
2432103:
2432103: # 1 "/usr/include/m68k-linux-gnu/bits/types/sigval_t.h" 1 3 4
2432103: # 16 "/usr/include/m68k-linux-gnu/bits/types/sigval_t.h" 3 4
2432103: typedef __sigval_t sigval_t;
2432103: # 63 "/usr/include/signal.h" 2 3 4
2432103:
2432103:
2432103:
2432103: # 1 "/usr/include/m68k-linux-gnu/bits/types/sigevent_t.h" 1 3 4
2432103:
2432103:
2432103:
2432103: # 1 "/usr/include/m68k-linux-gnu/bits/wordsize.h" 1 3 4
2432103: # 5 "/usr/include/m68k-linux-gnu/bits/types/sigevent_t.h" 2 3 4
2432103: # 22 "/usr/include/m68k-linux-gnu/bits/types/sigevent_t.h" 3 4
2432103: typedef struct sigevent
2432103: {
2432103: __sigval_t sigev_value;
2432103: int sigev_signo;
2432103: int sigev_notify;
2432103:
2432103: union
2432103: {
2432103: int _pad[((64 / sizeof (int)) - 3)];
2432103:
2432103:
2432103:
2432103: __pid_t _tid;
2432103:
2432103: struct
2432103: {
2432103: void (*_function) (__sigval_t);
2432103: pthread_attr_t *_attribute;
2432103: } _sigev_thread;
2432103: } _sigev_un;
2432103: } sigevent_t;
2432103: # 67 "/usr/include/signal.h" 2 3 4
2432103: # 1 "/usr/include/m68k-linux-gnu/bits/sigevent-consts.h" 1 3 4
2432103: # 27 "/usr/include/m68k-linux-gnu/bits/sigevent-consts.h" 3 4
2432103: enum
2432103: {
2432103: SIGEV_SIGNAL = 0,
2432103:
2432103: SIGEV_NONE,
2432103:
2432103: SIGEV_THREAD,
2432103:
2432103:
2432103: SIGEV_THREAD_ID = 4
2432103:
2432103:
2432103: };
2432103: # 68 "/usr/include/signal.h" 2 3 4
2432103:
2432103:
2432103:
2432103:
2432103: typedef void (*__sighandler_t) (int);
2432103:
2432103:
2432103:
2432103:
2432103: extern __sighandler_t __sysv_signal (int __sig, __sighandler_t __handler)
2432103: __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103: extern __sighandler_t sysv_signal (int __sig, __sighandler_t __handler)
2432103: __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern __sighandler_t signal (int __sig, __sighandler_t __handler)
2432103: __attribute__ ((__nothrow__ , __leaf__));
2432103: # 112 "/usr/include/signal.h" 3 4
2432103: extern int kill (__pid_t __pid, int __sig) __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern int killpg (__pid_t __pgrp, int __sig) __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103:
2432103:
2432103: extern int raise (int __sig) __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103:
2432103:
2432103: extern __sighandler_t ssignal (int __sig, __sighandler_t __handler)
2432103: __attribute__ ((__nothrow__ , __leaf__));
2432103: extern int gsignal (int __sig) __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103:
2432103:
2432103:
2432103: extern void psignal (int __sig, const char *__s);
2432103:
2432103:
2432103: extern void psiginfo (const siginfo_t *__pinfo, const char *__s);
2432103: # 151 "/usr/include/signal.h" 3 4
2432103: extern int sigpause (int __sig) __asm__ ("__xpg_sigpause")
2432103: __attribute__ ((__deprecated__ ("Use the sigsuspend function instead")));
2432103: # 173 "/usr/include/signal.h" 3 4
2432103: extern int sigblock (int __mask) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__deprecated__));
2432103:
2432103:
2432103: extern int sigsetmask (int __mask) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__deprecated__));
2432103:
2432103:
2432103: extern int siggetmask (void) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__deprecated__));
2432103: # 188 "/usr/include/signal.h" 3 4
2432103: typedef __sighandler_t sighandler_t;
2432103:
2432103:
2432103:
2432103:
2432103: typedef __sighandler_t sig_t;
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern int sigemptyset (sigset_t *__set) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
2432103:
2432103:
2432103: extern int sigfillset (sigset_t *__set) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
2432103:
2432103:
2432103: extern int sigaddset (sigset_t *__set, int __signo) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
2432103:
2432103:
2432103: extern int sigdelset (sigset_t *__set, int __signo) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
2432103:
2432103:
2432103: extern int sigismember (const sigset_t *__set, int __signo)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
2432103:
2432103:
2432103:
2432103: extern int sigisemptyset (const sigset_t *__set) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
2432103:
2432103:
2432103: extern int sigandset (sigset_t *__set, const sigset_t *__left,
2432103: const sigset_t *__right) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2, 3)));
2432103:
2432103:
2432103: extern int sigorset (sigset_t *__set, const sigset_t *__left,
2432103: const sigset_t *__right) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2, 3)));
2432103:
2432103:
2432103:
2432103:
2432103: # 1 "/usr/include/m68k-linux-gnu/bits/sigaction.h" 1 3 4
2432103: # 27 "/usr/include/m68k-linux-gnu/bits/sigaction.h" 3 4
2432103: struct sigaction
2432103: {
2432103:
2432103:
2432103: union
2432103: {
2432103:
2432103: __sighandler_t sa_handler;
2432103:
2432103: void (*sa_sigaction) (int, siginfo_t *, void *);
2432103: }
2432103: __sigaction_handler;
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: __sigset_t sa_mask;
2432103:
2432103:
2432103: int sa_flags;
2432103:
2432103:
2432103: void (*sa_restorer) (void);
2432103: };
2432103: # 230 "/usr/include/signal.h" 2 3 4
2432103:
2432103:
2432103: extern int sigprocmask (int __how, const sigset_t *__restrict __set,
2432103: sigset_t *__restrict __oset) __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern int sigsuspend (const sigset_t *__set) __attribute__ ((__nonnull__ (1)));
2432103:
2432103:
2432103: extern int sigaction (int __sig, const struct sigaction *__restrict __act,
2432103: struct sigaction *__restrict __oact) __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103:
2432103: extern int sigpending (sigset_t *__set) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern int sigwait (const sigset_t *__restrict __set, int *__restrict __sig)
2432103: __attribute__ ((__nonnull__ (1, 2)));
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern int sigwaitinfo (const sigset_t *__restrict __set,
2432103: siginfo_t *__restrict __info) __attribute__ ((__nonnull__ (1)));
2432103: # 279 "/usr/include/signal.h" 3 4
2432103: extern int sigtimedwait (const sigset_t *__restrict __set, siginfo_t *__restrict __info, const struct timespec *__restrict __timeout) __asm__ ("" "__sigtimedwait64")
2432103:
2432103:
2432103:
2432103:
2432103: __attribute__ ((__nonnull__ (1)));
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern int sigqueue (__pid_t __pid, int __sig, const union sigval __val)
2432103: __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: # 1 "/usr/include/m68k-linux-gnu/bits/sigcontext.h" 1 3 4
2432103: # 30 "/usr/include/m68k-linux-gnu/bits/sigcontext.h" 3 4
2432103: # 1 "/usr/lib/linux/uapi/m68k/asm/sigcontext.h" 1 3 4
2432103:
2432103:
2432103:
2432103:
2432103: struct sigcontext {
2432103: unsigned long sc_mask;
2432103: unsigned long sc_usp;
2432103: unsigned long sc_d0;
2432103: unsigned long sc_d1;
2432103: unsigned long sc_a0;
2432103: unsigned long sc_a1;
2432103:
2432103:
2432103:
2432103: unsigned short sc_sr;
2432103: unsigned long sc_pc;
2432103: unsigned short sc_formatvec;
2432103:
2432103: unsigned long sc_fpregs[2*3];
2432103: unsigned long sc_fpcntl[3];
2432103: unsigned char sc_fpstate[216];
2432103:
2432103: };
2432103: # 31 "/usr/include/m68k-linux-gnu/bits/sigcontext.h" 2 3 4
2432103:
2432103:
2432103:
2432103: # 1 "/usr/lib/gcc/m68k-linux-gnu/13/include/stddef.h" 1 3 4
2432103: # 35 "/usr/include/m68k-linux-gnu/bits/sigcontext.h" 2 3 4
2432103: # 302 "/usr/include/signal.h" 2 3 4
2432103:
2432103:
2432103: extern int sigreturn (struct sigcontext *__scp) __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: # 1 "/usr/lib/gcc/m68k-linux-gnu/13/include/stddef.h" 1 3 4
2432103: # 312 "/usr/include/signal.h" 2 3 4
2432103:
2432103: # 1 "/usr/include/m68k-linux-gnu/bits/types/stack_t.h" 1 3 4
2432103: # 23 "/usr/include/m68k-linux-gnu/bits/types/stack_t.h" 3 4
2432103: # 1 "/usr/lib/gcc/m68k-linux-gnu/13/include/stddef.h" 1 3 4
2432103: # 24 "/usr/include/m68k-linux-gnu/bits/types/stack_t.h" 2 3 4
2432103:
2432103:
2432103: typedef struct
2432103: {
2432103: void *ss_sp;
2432103: int ss_flags;
2432103: size_t ss_size;
2432103: } stack_t;
2432103: # 314 "/usr/include/signal.h" 2 3 4
2432103:
2432103:
2432103: # 1 "/usr/include/m68k-linux-gnu/sys/ucontext.h" 1 3 4
2432103: # 30 "/usr/include/m68k-linux-gnu/sys/ucontext.h" 3 4
2432103: typedef int greg_t;
2432103: # 39 "/usr/include/m68k-linux-gnu/sys/ucontext.h" 3 4
2432103: typedef greg_t gregset_t[18];
2432103:
2432103:
2432103:
2432103: enum
2432103: {
2432103: R_D0 = 0,
2432103:
2432103: R_D1 = 1,
2432103:
2432103: R_D2 = 2,
2432103:
2432103: R_D3 = 3,
2432103:
2432103: R_D4 = 4,
2432103:
2432103: R_D5 = 5,
2432103:
2432103: R_D6 = 6,
2432103:
2432103: R_D7 = 7,
2432103:
2432103: R_A0 = 8,
2432103:
2432103: R_A1 = 9,
2432103:
2432103: R_A2 = 10,
2432103:
2432103: R_A3 = 11,
2432103:
2432103: R_A4 = 12,
2432103:
2432103: R_A5 = 13,
2432103:
2432103: R_A6 = 14,
2432103:
2432103: R_A7 = 15,
2432103:
2432103: R_SP = 15,
2432103:
2432103: R_PC = 16,
2432103:
2432103: R_PS = 17
2432103:
2432103: };
2432103: # 93 "/usr/include/m68k-linux-gnu/sys/ucontext.h" 3 4
2432103: typedef struct
2432103: {
2432103: int f_pcr;
2432103: int f_psr;
2432103: int f_fpiaddr;
2432103:
2432103:
2432103:
2432103: int f_fpregs[8][3];
2432103:
2432103: } fpregset_t;
2432103:
2432103:
2432103: typedef struct
2432103: {
2432103: int version;
2432103: gregset_t gregs;
2432103: fpregset_t fpregs;
2432103: } mcontext_t;
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: typedef struct ucontext_t
2432103: {
2432103: unsigned long uc_flags;
2432103: struct ucontext_t *uc_link;
2432103: stack_t uc_stack;
2432103: mcontext_t uc_mcontext;
2432103: unsigned long __glibc_reserved1[80];
2432103: sigset_t uc_sigmask;
2432103: } ucontext_t;
2432103: # 317 "/usr/include/signal.h" 2 3 4
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern int siginterrupt (int __sig, int __interrupt) __attribute__ ((__nothrow__ , __leaf__))
2432103: __attribute__ ((__deprecated__ ("Use sigaction with SA_RESTART instead")));
2432103:
2432103: # 1 "/usr/include/m68k-linux-gnu/bits/sigstack.h" 1 3 4
2432103: # 328 "/usr/include/signal.h" 2 3 4
2432103: # 1 "/usr/include/m68k-linux-gnu/bits/sigstksz.h" 1 3 4
2432103: # 24 "/usr/include/m68k-linux-gnu/bits/sigstksz.h" 3 4
2432103: # 1 "/usr/include/unistd.h" 1 3 4
2432103: # 27 "/usr/include/unistd.h" 3 4
2432103:
2432103: # 202 "/usr/include/unistd.h" 3 4
2432103: # 1 "/usr/include/m68k-linux-gnu/bits/posix_opt.h" 1 3 4
2432103: # 203 "/usr/include/unistd.h" 2 3 4
2432103:
2432103:
2432103:
2432103: # 1 "/usr/include/m68k-linux-gnu/bits/environments.h" 1 3 4
2432103: # 22 "/usr/include/m68k-linux-gnu/bits/environments.h" 3 4
2432103: # 1 "/usr/include/m68k-linux-gnu/bits/wordsize.h" 1 3 4
2432103: # 23 "/usr/include/m68k-linux-gnu/bits/environments.h" 2 3 4
2432103: # 207 "/usr/include/unistd.h" 2 3 4
2432103: # 226 "/usr/include/unistd.h" 3 4
2432103: # 1 "/usr/lib/gcc/m68k-linux-gnu/13/include/stddef.h" 1 3 4
2432103: # 227 "/usr/include/unistd.h" 2 3 4
2432103: # 287 "/usr/include/unistd.h" 3 4
2432103: extern int access (const char *__name, int __type) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
2432103:
2432103:
2432103:
2432103:
2432103: extern int euidaccess (const char *__name, int __type)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
2432103:
2432103:
2432103: extern int eaccess (const char *__name, int __type)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
2432103:
2432103:
2432103: extern int execveat (int __fd, const char *__path, char *const __argv[],
2432103: char *const __envp[], int __flags)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2, 3)));
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern int faccessat (int __fd, const char *__file, int __type, int __flag)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))) __attribute__ ((__warn_unused_result__));
2432103: # 342 "/usr/include/unistd.h" 3 4
2432103: extern __off64_t lseek (int __fd, __off64_t __offset, int __whence) __asm__ ("" "lseek64") __attribute__ ((__nothrow__ , __leaf__))
2432103:
2432103: ;
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern __off64_t lseek64 (int __fd, __off64_t __offset, int __whence)
2432103: __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern int close (int __fd);
2432103:
2432103:
2432103:
2432103:
2432103: extern void closefrom (int __lowfd) __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern ssize_t read (int __fd, void *__buf, size_t __nbytes) __attribute__ ((__warn_unused_result__))
2432103: __attribute__ ((__access__ (__write_only__, 2, 3)));
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern ssize_t write (int __fd, const void *__buf, size_t __n) __attribute__ ((__warn_unused_result__))
2432103: __attribute__ ((__access__ (__read_only__, 2, 3)));
2432103: # 404 "/usr/include/unistd.h" 3 4
2432103: extern ssize_t pread (int __fd, void *__buf, size_t __nbytes, __off64_t __offset) __asm__ ("" "pread64")
2432103:
2432103: __attribute__ ((__warn_unused_result__))
2432103: __attribute__ ((__access__ (__write_only__, 2, 3)));
2432103: extern ssize_t pwrite (int __fd, const void *__buf, size_t __nbytes, __off64_t __offset) __asm__ ("" "pwrite64")
2432103:
2432103: __attribute__ ((__warn_unused_result__))
2432103: __attribute__ ((__access__ (__read_only__, 2, 3)));
2432103: # 422 "/usr/include/unistd.h" 3 4
2432103: extern ssize_t pread64 (int __fd, void *__buf, size_t __nbytes,
2432103: __off64_t __offset) __attribute__ ((__warn_unused_result__))
2432103: __attribute__ ((__access__ (__write_only__, 2, 3)));
2432103:
2432103:
2432103: extern ssize_t pwrite64 (int __fd, const void *__buf, size_t __n,
2432103: __off64_t __offset) __attribute__ ((__warn_unused_result__))
2432103: __attribute__ ((__access__ (__read_only__, 2, 3)));
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern int pipe (int __pipedes[2]) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__));
2432103:
2432103:
2432103:
2432103:
2432103: extern int pipe2 (int __pipedes[2], int __flags) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__));
2432103: # 452 "/usr/include/unistd.h" 3 4
2432103: extern unsigned int alarm (unsigned int __seconds) __attribute__ ((__nothrow__ , __leaf__));
2432103: # 464 "/usr/include/unistd.h" 3 4
2432103: extern unsigned int sleep (unsigned int __seconds);
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern __useconds_t ualarm (__useconds_t __value, __useconds_t __interval)
2432103: __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern int usleep (__useconds_t __useconds);
2432103: # 489 "/usr/include/unistd.h" 3 4
2432103: extern int pause (void);
2432103:
2432103:
2432103:
2432103: extern int chown (const char *__file, __uid_t __owner, __gid_t __group)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
2432103:
2432103:
2432103:
2432103: extern int fchown (int __fd, __uid_t __owner, __gid_t __group) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__));
2432103:
2432103:
2432103:
2432103:
2432103: extern int lchown (const char *__file, __uid_t __owner, __gid_t __group)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern int fchownat (int __fd, const char *__file, __uid_t __owner,
2432103: __gid_t __group, int __flag)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))) __attribute__ ((__warn_unused_result__));
2432103:
2432103:
2432103:
2432103: extern int chdir (const char *__path) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
2432103:
2432103:
2432103:
2432103: extern int fchdir (int __fd) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__));
2432103: # 531 "/usr/include/unistd.h" 3 4
2432103: extern char *getcwd (char *__buf, size_t __size) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__));
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern char *get_current_dir_name (void) __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern char *getwd (char *__buf)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__deprecated__)) __attribute__ ((__warn_unused_result__))
2432103: __attribute__ ((__access__ (__write_only__, 1)));
2432103:
2432103:
2432103:
2432103:
2432103: extern int dup (int __fd) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__));
2432103:
2432103:
2432103: extern int dup2 (int __fd, int __fd2) __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103:
2432103:
2432103:
2432103: extern int dup3 (int __fd, int __fd2, int __flags) __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103:
2432103:
2432103: extern char **__environ;
2432103:
2432103: extern char **environ;
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern int execve (const char *__path, char *const __argv[],
2432103: char *const __envp[]) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2)));
2432103:
2432103:
2432103:
2432103:
2432103: extern int fexecve (int __fd, char *const __argv[], char *const __envp[])
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2)));
2432103:
2432103:
2432103:
2432103:
2432103: extern int execv (const char *__path, char *const __argv[])
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2)));
2432103:
2432103:
2432103:
2432103: extern int execle (const char *__path, const char *__arg, ...)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2)));
2432103:
2432103:
2432103:
2432103: extern int execl (const char *__path, const char *__arg, ...)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2)));
2432103:
2432103:
2432103:
2432103: extern int execvp (const char *__file, char *const __argv[])
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2)));
2432103:
2432103:
2432103:
2432103:
2432103: extern int execlp (const char *__file, const char *__arg, ...)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2)));
2432103:
2432103:
2432103:
2432103:
2432103: extern int execvpe (const char *__file, char *const __argv[],
2432103: char *const __envp[])
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2)));
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern int nice (int __inc) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__));
2432103:
2432103:
2432103:
2432103:
2432103: extern void _exit (int __status) __attribute__ ((__noreturn__));
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: # 1 "/usr/include/m68k-linux-gnu/bits/confname.h" 1 3 4
2432103: # 24 "/usr/include/m68k-linux-gnu/bits/confname.h" 3 4
2432103: enum
2432103: {
2432103: _PC_LINK_MAX,
2432103:
2432103: _PC_MAX_CANON,
2432103:
2432103: _PC_MAX_INPUT,
2432103:
2432103: _PC_NAME_MAX,
2432103:
2432103: _PC_PATH_MAX,
2432103:
2432103: _PC_PIPE_BUF,
2432103:
2432103: _PC_CHOWN_RESTRICTED,
2432103:
2432103: _PC_NO_TRUNC,
2432103:
2432103: _PC_VDISABLE,
2432103:
2432103: _PC_SYNC_IO,
2432103:
2432103: _PC_ASYNC_IO,
2432103:
2432103: _PC_PRIO_IO,
2432103:
2432103: _PC_SOCK_MAXBUF,
2432103:
2432103: _PC_FILESIZEBITS,
2432103:
2432103: _PC_REC_INCR_XFER_SIZE,
2432103:
2432103: _PC_REC_MAX_XFER_SIZE,
2432103:
2432103: _PC_REC_MIN_XFER_SIZE,
2432103:
2432103: _PC_REC_XFER_ALIGN,
2432103:
2432103: _PC_ALLOC_SIZE_MIN,
2432103:
2432103: _PC_SYMLINK_MAX,
2432103:
2432103: _PC_2_SYMLINKS
2432103:
2432103: };
2432103:
2432103:
2432103: enum
2432103: {
2432103: _SC_ARG_MAX,
2432103:
2432103: _SC_CHILD_MAX,
2432103:
2432103: _SC_CLK_TCK,
2432103:
2432103: _SC_NGROUPS_MAX,
2432103:
2432103: _SC_OPEN_MAX,
2432103:
2432103: _SC_STREAM_MAX,
2432103:
2432103: _SC_TZNAME_MAX,
2432103:
2432103: _SC_JOB_CONTROL,
2432103:
2432103: _SC_SAVED_IDS,
2432103:
2432103: _SC_REALTIME_SIGNALS,
2432103:
2432103: _SC_PRIORITY_SCHEDULING,
2432103:
2432103: _SC_TIMERS,
2432103:
2432103: _SC_ASYNCHRONOUS_IO,
2432103:
2432103: _SC_PRIORITIZED_IO,
2432103:
2432103: _SC_SYNCHRONIZED_IO,
2432103:
2432103: _SC_FSYNC,
2432103:
2432103: _SC_MAPPED_FILES,
2432103:
2432103: _SC_MEMLOCK,
2432103:
2432103: _SC_MEMLOCK_RANGE,
2432103:
2432103: _SC_MEMORY_PROTECTION,
2432103:
2432103: _SC_MESSAGE_PASSING,
2432103:
2432103: _SC_SEMAPHORES,
2432103:
2432103: _SC_SHARED_MEMORY_OBJECTS,
2432103:
2432103: _SC_AIO_LISTIO_MAX,
2432103:
2432103: _SC_AIO_MAX,
2432103:
2432103: _SC_AIO_PRIO_DELTA_MAX,
2432103:
2432103: _SC_DELAYTIMER_MAX,
2432103:
2432103: _SC_MQ_OPEN_MAX,
2432103:
2432103: _SC_MQ_PRIO_MAX,
2432103:
2432103: _SC_VERSION,
2432103:
2432103: _SC_PAGESIZE,
2432103:
2432103:
2432103: _SC_RTSIG_MAX,
2432103:
2432103: _SC_SEM_NSEMS_MAX,
2432103:
2432103: _SC_SEM_VALUE_MAX,
2432103:
2432103: _SC_SIGQUEUE_MAX,
2432103:
2432103: _SC_TIMER_MAX,
2432103:
2432103:
2432103:
2432103:
2432103: _SC_BC_BASE_MAX,
2432103:
2432103: _SC_BC_DIM_MAX,
2432103:
2432103: _SC_BC_SCALE_MAX,
2432103:
2432103: _SC_BC_STRING_MAX,
2432103:
2432103: _SC_COLL_WEIGHTS_MAX,
2432103:
2432103: _SC_EQUIV_CLASS_MAX,
2432103:
2432103: _SC_EXPR_NEST_MAX,
2432103:
2432103: _SC_LINE_MAX,
2432103:
2432103: _SC_RE_DUP_MAX,
2432103:
2432103: _SC_CHARCLASS_NAME_MAX,
2432103:
2432103:
2432103: _SC_2_VERSION,
2432103:
2432103: _SC_2_C_BIND,
2432103:
2432103: _SC_2_C_DEV,
2432103:
2432103: _SC_2_FORT_DEV,
2432103:
2432103: _SC_2_FORT_RUN,
2432103:
2432103: _SC_2_SW_DEV,
2432103:
2432103: _SC_2_LOCALEDEF,
2432103:
2432103:
2432103: _SC_PII,
2432103:
2432103: _SC_PII_XTI,
2432103:
2432103: _SC_PII_SOCKET,
2432103:
2432103: _SC_PII_INTERNET,
2432103:
2432103: _SC_PII_OSI,
2432103:
2432103: _SC_POLL,
2432103:
2432103: _SC_SELECT,
2432103:
2432103: _SC_UIO_MAXIOV,
2432103:
2432103: _SC_IOV_MAX = _SC_UIO_MAXIOV,
2432103:
2432103: _SC_PII_INTERNET_STREAM,
2432103:
2432103: _SC_PII_INTERNET_DGRAM,
2432103:
2432103: _SC_PII_OSI_COTS,
2432103:
2432103: _SC_PII_OSI_CLTS,
2432103:
2432103: _SC_PII_OSI_M,
2432103:
2432103: _SC_T_IOV_MAX,
2432103:
2432103:
2432103:
2432103: _SC_THREADS,
2432103:
2432103: _SC_THREAD_SAFE_FUNCTIONS,
2432103:
2432103: _SC_GETGR_R_SIZE_MAX,
2432103:
2432103: _SC_GETPW_R_SIZE_MAX,
2432103:
2432103: _SC_LOGIN_NAME_MAX,
2432103:
2432103: _SC_TTY_NAME_MAX,
2432103:
2432103: _SC_THREAD_DESTRUCTOR_ITERATIONS,
2432103:
2432103: _SC_THREAD_KEYS_MAX,
2432103:
2432103: _SC_THREAD_STACK_MIN,
2432103:
2432103: _SC_THREAD_THREADS_MAX,
2432103:
2432103: _SC_THREAD_ATTR_STACKADDR,
2432103:
2432103: _SC_THREAD_ATTR_STACKSIZE,
2432103:
2432103: _SC_THREAD_PRIORITY_SCHEDULING,
2432103:
2432103: _SC_THREAD_PRIO_INHERIT,
2432103:
2432103: _SC_THREAD_PRIO_PROTECT,
2432103:
2432103: _SC_THREAD_PROCESS_SHARED,
2432103:
2432103:
2432103: _SC_NPROCESSORS_CONF,
2432103:
2432103: _SC_NPROCESSORS_ONLN,
2432103:
2432103: _SC_PHYS_PAGES,
2432103:
2432103: _SC_AVPHYS_PAGES,
2432103:
2432103: _SC_ATEXIT_MAX,
2432103:
2432103: _SC_PASS_MAX,
2432103:
2432103:
2432103: _SC_XOPEN_VERSION,
2432103:
2432103: _SC_XOPEN_XCU_VERSION,
2432103:
2432103: _SC_XOPEN_UNIX,
2432103:
2432103: _SC_XOPEN_CRYPT,
2432103:
2432103: _SC_XOPEN_ENH_I18N,
2432103:
2432103: _SC_XOPEN_SHM,
2432103:
2432103:
2432103: _SC_2_CHAR_TERM,
2432103:
2432103: _SC_2_C_VERSION,
2432103:
2432103: _SC_2_UPE,
2432103:
2432103:
2432103: _SC_XOPEN_XPG2,
2432103:
2432103: _SC_XOPEN_XPG3,
2432103:
2432103: _SC_XOPEN_XPG4,
2432103:
2432103:
2432103: _SC_CHAR_BIT,
2432103:
2432103: _SC_CHAR_MAX,
2432103:
2432103: _SC_CHAR_MIN,
2432103:
2432103: _SC_INT_MAX,
2432103:
2432103: _SC_INT_MIN,
2432103:
2432103: _SC_LONG_BIT,
2432103:
2432103: _SC_WORD_BIT,
2432103:
2432103: _SC_MB_LEN_MAX,
2432103:
2432103: _SC_NZERO,
2432103:
2432103: _SC_SSIZE_MAX,
2432103:
2432103: _SC_SCHAR_MAX,
2432103:
2432103: _SC_SCHAR_MIN,
2432103:
2432103: _SC_SHRT_MAX,
2432103:
2432103: _SC_SHRT_MIN,
2432103:
2432103: _SC_UCHAR_MAX,
2432103:
2432103: _SC_UINT_MAX,
2432103:
2432103: _SC_ULONG_MAX,
2432103:
2432103: _SC_USHRT_MAX,
2432103:
2432103:
2432103: _SC_NL_ARGMAX,
2432103:
2432103: _SC_NL_LANGMAX,
2432103:
2432103: _SC_NL_MSGMAX,
2432103:
2432103: _SC_NL_NMAX,
2432103:
2432103: _SC_NL_SETMAX,
2432103:
2432103: _SC_NL_TEXTMAX,
2432103:
2432103:
2432103: _SC_XBS5_ILP32_OFF32,
2432103:
2432103: _SC_XBS5_ILP32_OFFBIG,
2432103:
2432103: _SC_XBS5_LP64_OFF64,
2432103:
2432103: _SC_XBS5_LPBIG_OFFBIG,
2432103:
2432103:
2432103: _SC_XOPEN_LEGACY,
2432103:
2432103: _SC_XOPEN_REALTIME,
2432103:
2432103: _SC_XOPEN_REALTIME_THREADS,
2432103:
2432103:
2432103: _SC_ADVISORY_INFO,
2432103:
2432103: _SC_BARRIERS,
2432103:
2432103: _SC_BASE,
2432103:
2432103: _SC_C_LANG_SUPPORT,
2432103:
2432103: _SC_C_LANG_SUPPORT_R,
2432103:
2432103: _SC_CLOCK_SELECTION,
2432103:
2432103: _SC_CPUTIME,
2432103:
2432103: _SC_THREAD_CPUTIME,
2432103:
2432103: _SC_DEVICE_IO,
2432103:
2432103: _SC_DEVICE_SPECIFIC,
2432103:
2432103: _SC_DEVICE_SPECIFIC_R,
2432103:
2432103: _SC_FD_MGMT,
2432103:
2432103: _SC_FIFO,
2432103:
2432103: _SC_PIPE,
2432103:
2432103: _SC_FILE_ATTRIBUTES,
2432103:
2432103: _SC_FILE_LOCKING,
2432103:
2432103: _SC_FILE_SYSTEM,
2432103:
2432103: _SC_MONOTONIC_CLOCK,
2432103:
2432103: _SC_MULTI_PROCESS,
2432103:
2432103: _SC_SINGLE_PROCESS,
2432103:
2432103: _SC_NETWORKING,
2432103:
2432103: _SC_READER_WRITER_LOCKS,
2432103:
2432103: _SC_SPIN_LOCKS,
2432103:
2432103: _SC_REGEXP,
2432103:
2432103: _SC_REGEX_VERSION,
2432103:
2432103: _SC_SHELL,
2432103:
2432103: _SC_SIGNALS,
2432103:
2432103: _SC_SPAWN,
2432103:
2432103: _SC_SPORADIC_SERVER,
2432103:
2432103: _SC_THREAD_SPORADIC_SERVER,
2432103:
2432103: _SC_SYSTEM_DATABASE,
2432103:
2432103: _SC_SYSTEM_DATABASE_R,
2432103:
2432103: _SC_TIMEOUTS,
2432103:
2432103: _SC_TYPED_MEMORY_OBJECTS,
2432103:
2432103: _SC_USER_GROUPS,
2432103:
2432103: _SC_USER_GROUPS_R,
2432103:
2432103: _SC_2_PBS,
2432103:
2432103: _SC_2_PBS_ACCOUNTING,
2432103:
2432103: _SC_2_PBS_LOCATE,
2432103:
2432103: _SC_2_PBS_MESSAGE,
2432103:
2432103: _SC_2_PBS_TRACK,
2432103:
2432103: _SC_SYMLOOP_MAX,
2432103:
2432103: _SC_STREAMS,
2432103:
2432103: _SC_2_PBS_CHECKPOINT,
2432103:
2432103:
2432103: _SC_V6_ILP32_OFF32,
2432103:
2432103: _SC_V6_ILP32_OFFBIG,
2432103:
2432103: _SC_V6_LP64_OFF64,
2432103:
2432103: _SC_V6_LPBIG_OFFBIG,
2432103:
2432103:
2432103: _SC_HOST_NAME_MAX,
2432103:
2432103: _SC_TRACE,
2432103:
2432103: _SC_TRACE_EVENT_FILTER,
2432103:
2432103: _SC_TRACE_INHERIT,
2432103:
2432103: _SC_TRACE_LOG,
2432103:
2432103:
2432103: _SC_LEVEL1_ICACHE_SIZE,
2432103:
2432103: _SC_LEVEL1_ICACHE_ASSOC,
2432103:
2432103: _SC_LEVEL1_ICACHE_LINESIZE,
2432103:
2432103: _SC_LEVEL1_DCACHE_SIZE,
2432103:
2432103: _SC_LEVEL1_DCACHE_ASSOC,
2432103:
2432103: _SC_LEVEL1_DCACHE_LINESIZE,
2432103:
2432103: _SC_LEVEL2_CACHE_SIZE,
2432103:
2432103: _SC_LEVEL2_CACHE_ASSOC,
2432103:
2432103: _SC_LEVEL2_CACHE_LINESIZE,
2432103:
2432103: _SC_LEVEL3_CACHE_SIZE,
2432103:
2432103: _SC_LEVEL3_CACHE_ASSOC,
2432103:
2432103: _SC_LEVEL3_CACHE_LINESIZE,
2432103:
2432103: _SC_LEVEL4_CACHE_SIZE,
2432103:
2432103: _SC_LEVEL4_CACHE_ASSOC,
2432103:
2432103: _SC_LEVEL4_CACHE_LINESIZE,
2432103:
2432103:
2432103:
2432103: _SC_IPV6 = _SC_LEVEL1_ICACHE_SIZE + 50,
2432103:
2432103: _SC_RAW_SOCKETS,
2432103:
2432103:
2432103: _SC_V7_ILP32_OFF32,
2432103:
2432103: _SC_V7_ILP32_OFFBIG,
2432103:
2432103: _SC_V7_LP64_OFF64,
2432103:
2432103: _SC_V7_LPBIG_OFFBIG,
2432103:
2432103:
2432103: _SC_SS_REPL_MAX,
2432103:
2432103:
2432103: _SC_TRACE_EVENT_NAME_MAX,
2432103:
2432103: _SC_TRACE_NAME_MAX,
2432103:
2432103: _SC_TRACE_SYS_MAX,
2432103:
2432103: _SC_TRACE_USER_EVENT_MAX,
2432103:
2432103:
2432103: _SC_XOPEN_STREAMS,
2432103:
2432103:
2432103: _SC_THREAD_ROBUST_PRIO_INHERIT,
2432103:
2432103: _SC_THREAD_ROBUST_PRIO_PROTECT,
2432103:
2432103:
2432103: _SC_MINSIGSTKSZ,
2432103:
2432103:
2432103: _SC_SIGSTKSZ
2432103:
2432103: };
2432103:
2432103:
2432103: enum
2432103: {
2432103: _CS_PATH,
2432103:
2432103:
2432103: _CS_V6_WIDTH_RESTRICTED_ENVS,
2432103:
2432103:
2432103:
2432103: _CS_GNU_LIBC_VERSION,
2432103:
2432103: _CS_GNU_LIBPTHREAD_VERSION,
2432103:
2432103:
2432103: _CS_V5_WIDTH_RESTRICTED_ENVS,
2432103:
2432103:
2432103:
2432103: _CS_V7_WIDTH_RESTRICTED_ENVS,
2432103:
2432103:
2432103:
2432103: _CS_LFS_CFLAGS = 1000,
2432103:
2432103: _CS_LFS_LDFLAGS,
2432103:
2432103: _CS_LFS_LIBS,
2432103:
2432103: _CS_LFS_LINTFLAGS,
2432103:
2432103: _CS_LFS64_CFLAGS,
2432103:
2432103: _CS_LFS64_LDFLAGS,
2432103:
2432103: _CS_LFS64_LIBS,
2432103:
2432103: _CS_LFS64_LINTFLAGS,
2432103:
2432103:
2432103: _CS_XBS5_ILP32_OFF32_CFLAGS = 1100,
2432103:
2432103: _CS_XBS5_ILP32_OFF32_LDFLAGS,
2432103:
2432103: _CS_XBS5_ILP32_OFF32_LIBS,
2432103:
2432103: _CS_XBS5_ILP32_OFF32_LINTFLAGS,
2432103:
2432103: _CS_XBS5_ILP32_OFFBIG_CFLAGS,
2432103:
2432103: _CS_XBS5_ILP32_OFFBIG_LDFLAGS,
2432103:
2432103: _CS_XBS5_ILP32_OFFBIG_LIBS,
2432103:
2432103: _CS_XBS5_ILP32_OFFBIG_LINTFLAGS,
2432103:
2432103: _CS_XBS5_LP64_OFF64_CFLAGS,
2432103:
2432103: _CS_XBS5_LP64_OFF64_LDFLAGS,
2432103:
2432103: _CS_XBS5_LP64_OFF64_LIBS,
2432103:
2432103: _CS_XBS5_LP64_OFF64_LINTFLAGS,
2432103:
2432103: _CS_XBS5_LPBIG_OFFBIG_CFLAGS,
2432103:
2432103: _CS_XBS5_LPBIG_OFFBIG_LDFLAGS,
2432103:
2432103: _CS_XBS5_LPBIG_OFFBIG_LIBS,
2432103:
2432103: _CS_XBS5_LPBIG_OFFBIG_LINTFLAGS,
2432103:
2432103:
2432103: _CS_POSIX_V6_ILP32_OFF32_CFLAGS,
2432103:
2432103: _CS_POSIX_V6_ILP32_OFF32_LDFLAGS,
2432103:
2432103: _CS_POSIX_V6_ILP32_OFF32_LIBS,
2432103:
2432103: _CS_POSIX_V6_ILP32_OFF32_LINTFLAGS,
2432103:
2432103: _CS_POSIX_V6_ILP32_OFFBIG_CFLAGS,
2432103:
2432103: _CS_POSIX_V6_ILP32_OFFBIG_LDFLAGS,
2432103:
2432103: _CS_POSIX_V6_ILP32_OFFBIG_LIBS,
2432103:
2432103: _CS_POSIX_V6_ILP32_OFFBIG_LINTFLAGS,
2432103:
2432103: _CS_POSIX_V6_LP64_OFF64_CFLAGS,
2432103:
2432103: _CS_POSIX_V6_LP64_OFF64_LDFLAGS,
2432103:
2432103: _CS_POSIX_V6_LP64_OFF64_LIBS,
2432103:
2432103: _CS_POSIX_V6_LP64_OFF64_LINTFLAGS,
2432103:
2432103: _CS_POSIX_V6_LPBIG_OFFBIG_CFLAGS,
2432103:
2432103: _CS_POSIX_V6_LPBIG_OFFBIG_LDFLAGS,
2432103:
2432103: _CS_POSIX_V6_LPBIG_OFFBIG_LIBS,
2432103:
2432103: _CS_POSIX_V6_LPBIG_OFFBIG_LINTFLAGS,
2432103:
2432103:
2432103: _CS_POSIX_V7_ILP32_OFF32_CFLAGS,
2432103:
2432103: _CS_POSIX_V7_ILP32_OFF32_LDFLAGS,
2432103:
2432103: _CS_POSIX_V7_ILP32_OFF32_LIBS,
2432103:
2432103: _CS_POSIX_V7_ILP32_OFF32_LINTFLAGS,
2432103:
2432103: _CS_POSIX_V7_ILP32_OFFBIG_CFLAGS,
2432103:
2432103: _CS_POSIX_V7_ILP32_OFFBIG_LDFLAGS,
2432103:
2432103: _CS_POSIX_V7_ILP32_OFFBIG_LIBS,
2432103:
2432103: _CS_POSIX_V7_ILP32_OFFBIG_LINTFLAGS,
2432103:
2432103: _CS_POSIX_V7_LP64_OFF64_CFLAGS,
2432103:
2432103: _CS_POSIX_V7_LP64_OFF64_LDFLAGS,
2432103:
2432103: _CS_POSIX_V7_LP64_OFF64_LIBS,
2432103:
2432103: _CS_POSIX_V7_LP64_OFF64_LINTFLAGS,
2432103:
2432103: _CS_POSIX_V7_LPBIG_OFFBIG_CFLAGS,
2432103:
2432103: _CS_POSIX_V7_LPBIG_OFFBIG_LDFLAGS,
2432103:
2432103: _CS_POSIX_V7_LPBIG_OFFBIG_LIBS,
2432103:
2432103: _CS_POSIX_V7_LPBIG_OFFBIG_LINTFLAGS,
2432103:
2432103:
2432103: _CS_V6_ENV,
2432103:
2432103: _CS_V7_ENV
2432103:
2432103: };
2432103: # 631 "/usr/include/unistd.h" 2 3 4
2432103:
2432103:
2432103: extern long int pathconf (const char *__path, int __name)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
2432103:
2432103:
2432103: extern long int fpathconf (int __fd, int __name) __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103:
2432103: extern long int sysconf (int __name) __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103:
2432103:
2432103: extern size_t confstr (int __name, char *__buf, size_t __len) __attribute__ ((__nothrow__ , __leaf__))
2432103: __attribute__ ((__access__ (__write_only__, 2, 3)));
2432103:
2432103:
2432103:
2432103:
2432103: extern __pid_t getpid (void) __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103:
2432103: extern __pid_t getppid (void) __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103:
2432103: extern __pid_t getpgrp (void) __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103:
2432103: extern __pid_t __getpgid (__pid_t __pid) __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103: extern __pid_t getpgid (__pid_t __pid) __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern int setpgid (__pid_t __pid, __pid_t __pgid) __attribute__ ((__nothrow__ , __leaf__));
2432103: # 682 "/usr/include/unistd.h" 3 4
2432103: extern int setpgrp (void) __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern __pid_t setsid (void) __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103:
2432103:
2432103: extern __pid_t getsid (__pid_t __pid) __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103:
2432103:
2432103: extern __uid_t getuid (void) __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103:
2432103: extern __uid_t geteuid (void) __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103:
2432103: extern __gid_t getgid (void) __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103:
2432103: extern __gid_t getegid (void) __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103:
2432103:
2432103:
2432103: extern int getgroups (int __size, __gid_t __list[]) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__))
2432103: __attribute__ ((__access__ (__write_only__, 2, 1)));
2432103:
2432103:
2432103: extern int group_member (__gid_t __gid) __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern int setuid (__uid_t __uid) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__));
2432103:
2432103:
2432103:
2432103:
2432103: extern int setreuid (__uid_t __ruid, __uid_t __euid) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__));
2432103:
2432103:
2432103:
2432103:
2432103: extern int seteuid (__uid_t __uid) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__));
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern int setgid (__gid_t __gid) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__));
2432103:
2432103:
2432103:
2432103:
2432103: extern int setregid (__gid_t __rgid, __gid_t __egid) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__));
2432103:
2432103:
2432103:
2432103:
2432103: extern int setegid (__gid_t __gid) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__));
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern int getresuid (__uid_t *__ruid, __uid_t *__euid, __uid_t *__suid)
2432103: __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103:
2432103:
2432103: extern int getresgid (__gid_t *__rgid, __gid_t *__egid, __gid_t *__sgid)
2432103: __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103:
2432103:
2432103: extern int setresuid (__uid_t __ruid, __uid_t __euid, __uid_t __suid)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__));
2432103:
2432103:
2432103:
2432103: extern int setresgid (__gid_t __rgid, __gid_t __egid, __gid_t __sgid)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__));
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern __pid_t fork (void) __attribute__ ((__nothrow__));
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern __pid_t vfork (void) __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern __pid_t _Fork (void) __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern char *ttyname (int __fd) __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103:
2432103:
2432103: extern int ttyname_r (int __fd, char *__buf, size_t __buflen)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))) __attribute__ ((__warn_unused_result__))
2432103: __attribute__ ((__access__ (__write_only__, 2, 3)));
2432103:
2432103:
2432103:
2432103: extern int isatty (int __fd) __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103:
2432103:
2432103:
2432103: extern int ttyslot (void) __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103:
2432103:
2432103:
2432103: extern int link (const char *__from, const char *__to)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))) __attribute__ ((__warn_unused_result__));
2432103:
2432103:
2432103:
2432103:
2432103: extern int linkat (int __fromfd, const char *__from, int __tofd,
2432103: const char *__to, int __flags)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2, 4))) __attribute__ ((__warn_unused_result__));
2432103:
2432103:
2432103:
2432103:
2432103: extern int symlink (const char *__from, const char *__to)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))) __attribute__ ((__warn_unused_result__));
2432103:
2432103:
2432103:
2432103:
2432103: extern ssize_t readlink (const char *__restrict __path,
2432103: char *__restrict __buf, size_t __len)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))) __attribute__ ((__warn_unused_result__))
2432103: __attribute__ ((__access__ (__write_only__, 2, 3)));
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern int symlinkat (const char *__from, int __tofd,
2432103: const char *__to) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 3))) __attribute__ ((__warn_unused_result__));
2432103:
2432103:
2432103: extern ssize_t readlinkat (int __fd, const char *__restrict __path,
2432103: char *__restrict __buf, size_t __len)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2, 3))) __attribute__ ((__warn_unused_result__))
2432103: __attribute__ ((__access__ (__write_only__, 3, 4)));
2432103:
2432103:
2432103:
2432103: extern int unlink (const char *__name) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
2432103:
2432103:
2432103:
2432103: extern int unlinkat (int __fd, const char *__name, int __flag)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2)));
2432103:
2432103:
2432103:
2432103: extern int rmdir (const char *__path) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
2432103:
2432103:
2432103:
2432103: extern __pid_t tcgetpgrp (int __fd) __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103:
2432103: extern int tcsetpgrp (int __fd, __pid_t __pgrp_id) __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern char *getlogin (void);
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern int getlogin_r (char *__name, size_t __name_len) __attribute__ ((__nonnull__ (1)))
2432103: __attribute__ ((__access__ (__write_only__, 1, 2)));
2432103:
2432103:
2432103:
2432103:
2432103: extern int setlogin (const char *__name) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: # 1 "/usr/include/m68k-linux-gnu/bits/getopt_posix.h" 1 3 4
2432103: # 27 "/usr/include/m68k-linux-gnu/bits/getopt_posix.h" 3 4
2432103: # 1 "/usr/include/m68k-linux-gnu/bits/getopt_core.h" 1 3 4
2432103: # 28 "/usr/include/m68k-linux-gnu/bits/getopt_core.h" 3 4
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern char *
2432103: # 36 "/usr/include/m68k-linux-gnu/bits/getopt_core.h"
2432103: BSDoptarg
2432103: # 36 "/usr/include/m68k-linux-gnu/bits/getopt_core.h" 3 4
2432103: ;
2432103: # 50 "/usr/include/m68k-linux-gnu/bits/getopt_core.h" 3 4
2432103: extern int
2432103: # 50 "/usr/include/m68k-linux-gnu/bits/getopt_core.h"
2432103: BSDoptind
2432103: # 50 "/usr/include/m68k-linux-gnu/bits/getopt_core.h" 3 4
2432103: ;
2432103:
2432103:
2432103:
2432103:
2432103: extern int
2432103: # 55 "/usr/include/m68k-linux-gnu/bits/getopt_core.h"
2432103: BSDopterr
2432103: # 55 "/usr/include/m68k-linux-gnu/bits/getopt_core.h" 3 4
2432103: ;
2432103:
2432103:
2432103:
2432103: extern int
2432103: # 59 "/usr/include/m68k-linux-gnu/bits/getopt_core.h"
2432103: BSDoptopt
2432103: # 59 "/usr/include/m68k-linux-gnu/bits/getopt_core.h" 3 4
2432103: ;
2432103: # 91 "/usr/include/m68k-linux-gnu/bits/getopt_core.h" 3 4
2432103: extern int
2432103: # 91 "/usr/include/m68k-linux-gnu/bits/getopt_core.h"
2432103: BSDgetopt(
2432103: # 91 "/usr/include/m68k-linux-gnu/bits/getopt_core.h" 3 4
2432103: int ___argc
2432103: # 91 "/usr/include/m68k-linux-gnu/bits/getopt_core.h"
2432103: ,
2432103: # 91 "/usr/include/m68k-linux-gnu/bits/getopt_core.h" 3 4
2432103: char *const *___argv
2432103: # 91 "/usr/include/m68k-linux-gnu/bits/getopt_core.h"
2432103: ,
2432103: # 91 "/usr/include/m68k-linux-gnu/bits/getopt_core.h" 3 4
2432103: const char *__shortopts
2432103: # 91 "/usr/include/m68k-linux-gnu/bits/getopt_core.h"
2432103: )
2432103:
2432103: # 92 "/usr/include/m68k-linux-gnu/bits/getopt_core.h" 3 4
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2, 3)));
2432103:
2432103:
2432103: # 28 "/usr/include/m68k-linux-gnu/bits/getopt_posix.h" 2 3 4
2432103:
2432103:
2432103: # 49 "/usr/include/m68k-linux-gnu/bits/getopt_posix.h" 3 4
2432103:
2432103: # 904 "/usr/include/unistd.h" 2 3 4
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern int gethostname (char *__name, size_t __len) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)))
2432103: __attribute__ ((__access__ (__write_only__, 1, 2)));
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern int sethostname (const char *__name, size_t __len)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)) __attribute__ ((__access__ (__read_only__, 1, 2)));
2432103:
2432103:
2432103:
2432103: extern int sethostid (long int __id) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__));
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern int getdomainname (char *__name, size_t __len)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__))
2432103: __attribute__ ((__access__ (__write_only__, 1, 2)));
2432103: extern int setdomainname (const char *__name, size_t __len)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)) __attribute__ ((__access__ (__read_only__, 1, 2)));
2432103:
2432103:
2432103:
2432103:
2432103: extern int vhangup (void) __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103:
2432103: extern int revoke (const char *__file) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern int profil (unsigned short int *__sample_buffer, size_t __size,
2432103: size_t __offset, unsigned int __scale)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern int acct (const char *__name) __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103:
2432103:
2432103: extern char *getusershell (void) __attribute__ ((__nothrow__ , __leaf__));
2432103: extern void endusershell (void) __attribute__ ((__nothrow__ , __leaf__));
2432103: extern void setusershell (void) __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern int daemon (int __nochdir, int __noclose) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__));
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern int chroot (const char *__path) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
2432103:
2432103:
2432103:
2432103: extern char *getpass (const char *__prompt) __attribute__ ((__nonnull__ (1)));
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern int fsync (int __fd);
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern int syncfs (int __fd) __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern long int gethostid (void);
2432103:
2432103:
2432103: extern void sync (void) __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern int getpagesize (void) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__));
2432103:
2432103:
2432103:
2432103:
2432103: extern int getdtablesize (void) __attribute__ ((__nothrow__ , __leaf__));
2432103: # 1030 "/usr/include/unistd.h" 3 4
2432103: extern int truncate (const char *__file, __off64_t __length) __asm__ ("" "truncate64") __attribute__ ((__nothrow__ , __leaf__))
2432103:
2432103: __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern int truncate64 (const char *__file, __off64_t __length)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
2432103: # 1052 "/usr/include/unistd.h" 3 4
2432103: extern int ftruncate (int __fd, __off64_t __length) __asm__ ("" "ftruncate64") __attribute__ ((__nothrow__ , __leaf__))
2432103: __attribute__ ((__warn_unused_result__));
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern int ftruncate64 (int __fd, __off64_t __length) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__));
2432103: # 1070 "/usr/include/unistd.h" 3 4
2432103: extern int brk (void *__addr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__));
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern void *sbrk (intptr_t __delta) __attribute__ ((__nothrow__ , __leaf__));
2432103: # 1091 "/usr/include/unistd.h" 3 4
2432103: extern long int syscall (long int __sysno, ...) __attribute__ ((__nothrow__ , __leaf__));
2432103: # 1117 "/usr/include/unistd.h" 3 4
2432103: extern int lockf (int __fd, int __cmd, __off64_t __len) __asm__ ("" "lockf64")
2432103: __attribute__ ((__warn_unused_result__));
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern int lockf64 (int __fd, int __cmd, __off64_t __len) __attribute__ ((__warn_unused_result__));
2432103: # 1142 "/usr/include/unistd.h" 3 4
2432103: ssize_t copy_file_range (int __infd, __off64_t *__pinoff,
2432103: int __outfd, __off64_t *__poutoff,
2432103: size_t __length, unsigned int __flags);
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern int fdatasync (int __fildes);
2432103: # 1159 "/usr/include/unistd.h" 3 4
2432103: extern char *crypt (const char *__key, const char *__salt)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2)));
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern void swab (const void *__restrict __from, void *__restrict __to,
2432103: ssize_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2)))
2432103: __attribute__ ((__access__ (__read_only__, 1, 3)))
2432103: __attribute__ ((__access__ (__write_only__, 2, 3)));
2432103: # 1198 "/usr/include/unistd.h" 3 4
2432103: int getentropy (void *__buffer, size_t __length) __attribute__ ((__warn_unused_result__))
2432103: __attribute__ ((__access__ (__write_only__, 1, 2)));
2432103: # 1208 "/usr/include/unistd.h" 3 4
2432103: extern int close_range (unsigned int __fd, unsigned int __max_fd,
2432103: int __flags) __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103:
2432103:
2432103:
2432103: # 1 "/usr/include/m68k-linux-gnu/bits/unistd.h" 1 3 4
2432103: # 23 "/usr/include/m68k-linux-gnu/bits/unistd.h" 3 4
2432103: extern ssize_t __read_chk (int __fd, void *__buf, size_t __nbytes,
2432103: size_t __buflen)
2432103: __attribute__ ((__warn_unused_result__)) __attribute__ ((__access__ (__write_only__, 2, 3)));
2432103: extern ssize_t __read_alias (int __fd, void *__buf, size_t __nbytes) __asm__ ("" "read")
2432103:
2432103: __attribute__ ((__warn_unused_result__)) __attribute__ ((__access__ (__write_only__, 2, 3)));
2432103: extern ssize_t __read_chk_warn (int __fd, void *__buf, size_t __nbytes, size_t __buflen) __asm__ ("" "__read_chk")
2432103:
2432103:
2432103: __attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("read called with bigger length than size of " "the destination buffer")))
2432103: ;
2432103:
2432103: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) __attribute__ ((__warn_unused_result__)) ssize_t
2432103: read (int __fd, void *__buf, size_t __nbytes)
2432103: {
2432103: return (((__builtin_constant_p (__builtin_object_size (__buf, 0)) && (__builtin_object_size (__buf, 0)) == (unsigned int) -1) || (((__typeof (__nbytes)) 0 < (__typeof (__nbytes)) -1 || (__builtin_constant_p (__nbytes) && (__nbytes) > 0)) && __builtin_constant_p ((((unsigned int) (__nbytes)) <= ((__builtin_object_size (__buf, 0))) / ((sizeof (char))))) && (((unsigned int) (__nbytes)) <= ((__builtin_object_size (__buf, 0))) / ((sizeof (char)))))) ? __read_alias (__fd, __buf, __nbytes) : ((((__typeof (__nbytes)) 0 < (__typeof (__nbytes)) -1 || (__builtin_constant_p (__nbytes) && (__nbytes) > 0)) && __builtin_constant_p ((((unsigned int) (__nbytes)) <= (__builtin_object_size (__buf, 0)) / (sizeof (char)))) && !(((unsigned int) (__nbytes)) <= (__builtin_object_size (__buf, 0)) / (sizeof (char)))) ? __read_chk_warn (__fd, __buf, __nbytes, __builtin_object_size (__buf, 0)) : __read_chk (__fd, __buf, __nbytes, __builtin_object_size (__buf, 0))))
2432103:
2432103: ;
2432103: }
2432103:
2432103:
2432103: extern ssize_t __pread_chk (int __fd, void *__buf, size_t __nbytes,
2432103: __off_t __offset, size_t __bufsize)
2432103: __attribute__ ((__warn_unused_result__)) __attribute__ ((__access__ (__write_only__, 2, 3)));
2432103: extern ssize_t __pread64_chk (int __fd, void *__buf, size_t __nbytes,
2432103: __off64_t __offset, size_t __bufsize)
2432103: __attribute__ ((__warn_unused_result__)) __attribute__ ((__access__ (__write_only__, 2, 3)));
2432103: extern ssize_t __pread_alias (int __fd, void *__buf, size_t __nbytes, __off_t __offset) __asm__ ("" "pread")
2432103:
2432103:
2432103: __attribute__ ((__warn_unused_result__)) __attribute__ ((__access__ (__write_only__, 2, 3)));
2432103: extern ssize_t __pread64_alias (int __fd, void *__buf, size_t __nbytes, __off64_t __offset) __asm__ ("" "pread64")
2432103:
2432103:
2432103: __attribute__ ((__warn_unused_result__)) __attribute__ ((__access__ (__write_only__, 2, 3)));
2432103: extern ssize_t __pread_chk_warn (int __fd, void *__buf, size_t __nbytes, __off_t __offset, size_t __bufsize) __asm__ ("" "__pread_chk")
2432103:
2432103:
2432103: __attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("pread called with bigger length than size of " "the destination buffer")))
2432103: ;
2432103: extern ssize_t __pread64_chk_warn (int __fd, void *__buf, size_t __nbytes, __off64_t __offset, size_t __bufsize) __asm__ ("" "__pread64_chk")
2432103:
2432103:
2432103:
2432103: __attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("pread64 called with bigger length than size of " "the destination buffer")))
2432103: ;
2432103: # 79 "/usr/include/m68k-linux-gnu/bits/unistd.h" 3 4
2432103: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) __attribute__ ((__warn_unused_result__)) ssize_t
2432103: pread (int __fd, void *__buf, size_t __nbytes, __off64_t __offset)
2432103: {
2432103: return (((__builtin_constant_p (__builtin_object_size (__buf, 0)) && (__builtin_object_size (__buf, 0)) == (unsigned int) -1) || (((__typeof (__nbytes)) 0 < (__typeof (__nbytes)) -1 || (__builtin_constant_p (__nbytes) && (__nbytes) > 0)) && __builtin_constant_p ((((unsigned int) (__nbytes)) <= ((__builtin_object_size (__buf, 0))) / ((sizeof (char))))) && (((unsigned int) (__nbytes)) <= ((__builtin_object_size (__buf, 0))) / ((sizeof (char)))))) ? __pread64_alias (__fd, __buf, __nbytes, __offset) : ((((__typeof (__nbytes)) 0 < (__typeof (__nbytes)) -1 || (__builtin_constant_p (__nbytes) && (__nbytes) > 0)) && __builtin_constant_p ((((unsigned int) (__nbytes)) <= (__builtin_object_size (__buf, 0)) / (sizeof (char)))) && !(((unsigned int) (__nbytes)) <= (__builtin_object_size (__buf, 0)) / (sizeof (char)))) ? __pread64_chk_warn (__fd, __buf, __nbytes, __offset, __builtin_object_size (__buf, 0)) : __pread64_chk (__fd, __buf, __nbytes, __offset, __builtin_object_size (__buf, 0))))
2432103:
2432103: ;
2432103: }
2432103:
2432103:
2432103:
2432103: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) __attribute__ ((__warn_unused_result__)) ssize_t
2432103: pread64 (int __fd, void *__buf, size_t __nbytes, __off64_t __offset)
2432103: {
2432103: return (((__builtin_constant_p (__builtin_object_size (__buf, 0)) && (__builtin_object_size (__buf, 0)) == (unsigned int) -1) || (((__typeof (__nbytes)) 0 < (__typeof (__nbytes)) -1 || (__builtin_constant_p (__nbytes) && (__nbytes) > 0)) && __builtin_constant_p ((((unsigned int) (__nbytes)) <= ((__builtin_object_size (__buf, 0))) / ((sizeof (char))))) && (((unsigned int) (__nbytes)) <= ((__builtin_object_size (__buf, 0))) / ((sizeof (char)))))) ? __pread64_alias (__fd, __buf, __nbytes, __offset) : ((((__typeof (__nbytes)) 0 < (__typeof (__nbytes)) -1 || (__builtin_constant_p (__nbytes) && (__nbytes) > 0)) && __builtin_constant_p ((((unsigned int) (__nbytes)) <= (__builtin_object_size (__buf, 0)) / (sizeof (char)))) && !(((unsigned int) (__nbytes)) <= (__builtin_object_size (__buf, 0)) / (sizeof (char)))) ? __pread64_chk_warn (__fd, __buf, __nbytes, __offset, __builtin_object_size (__buf, 0)) : __pread64_chk (__fd, __buf, __nbytes, __offset, __builtin_object_size (__buf, 0))))
2432103:
2432103: ;
2432103: }
2432103:
2432103:
2432103:
2432103:
2432103: extern ssize_t __readlink_chk (const char *__restrict __path,
2432103: char *__restrict __buf, size_t __len,
2432103: size_t __buflen)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))) __attribute__ ((__warn_unused_result__)) __attribute__ ((__access__ (__write_only__, 2, 3)));
2432103: extern ssize_t __readlink_alias (const char *__restrict __path, char *__restrict __buf, size_t __len) __asm__ ("" "readlink") __attribute__ ((__nothrow__ , __leaf__))
2432103:
2432103:
2432103: __attribute__ ((__nonnull__ (1, 2))) __attribute__ ((__warn_unused_result__)) __attribute__ ((__access__ (__write_only__, 2, 3)));
2432103: extern ssize_t __readlink_chk_warn (const char *__restrict __path, char *__restrict __buf, size_t __len, size_t __buflen) __asm__ ("" "__readlink_chk") __attribute__ ((__nothrow__ , __leaf__))
2432103:
2432103:
2432103:
2432103: __attribute__ ((__nonnull__ (1, 2))) __attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("readlink called with bigger length " "than size of destination buffer")))
2432103: ;
2432103:
2432103: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) __attribute__ ((__nonnull__ (1, 2))) __attribute__ ((__warn_unused_result__)) ssize_t
2432103: __attribute__ ((__nothrow__ , __leaf__)) readlink (const char *__restrict __path, char *__restrict __buf, size_t __len)
2432103:
2432103: {
2432103: return (((__builtin_constant_p (__builtin_object_size (__buf, 2 > 1)) && (__builtin_object_size (__buf, 2 > 1)) == (unsigned int) -1) || (((__typeof (__len)) 0 < (__typeof (__len)) -1 || (__builtin_constant_p (__len) && (__len) > 0)) && __builtin_constant_p ((((unsigned int) (__len)) <= ((__builtin_object_size (__buf, 2 > 1))) / ((sizeof (char))))) && (((unsigned int) (__len)) <= ((__builtin_object_size (__buf, 2 > 1))) / ((sizeof (char)))))) ? __readlink_alias (__path, __buf, __len) : ((((__typeof (__len)) 0 < (__typeof (__len)) -1 || (__builtin_constant_p (__len) && (__len) > 0)) && __builtin_constant_p ((((unsigned int) (__len)) <= (__builtin_object_size (__buf, 2 > 1)) / (sizeof (char)))) && !(((unsigned int) (__len)) <= (__builtin_object_size (__buf, 2 > 1)) / (sizeof (char)))) ? __readlink_chk_warn (__path, __buf, __len, __builtin_object_size (__buf, 2 > 1)) : __readlink_chk (__path, __buf, __len, __builtin_object_size (__buf, 2 > 1))))
2432103:
2432103: ;
2432103: }
2432103:
2432103:
2432103:
2432103: extern ssize_t __readlinkat_chk (int __fd, const char *__restrict __path,
2432103: char *__restrict __buf, size_t __len,
2432103: size_t __buflen)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2, 3))) __attribute__ ((__warn_unused_result__)) __attribute__ ((__access__ (__write_only__, 3, 4)));
2432103: extern ssize_t __readlinkat_alias (int __fd, const char *__restrict __path, char *__restrict __buf, size_t __len) __asm__ ("" "readlinkat") __attribute__ ((__nothrow__ , __leaf__))
2432103:
2432103:
2432103:
2432103: __attribute__ ((__nonnull__ (2, 3))) __attribute__ ((__warn_unused_result__)) __attribute__ ((__access__ (__write_only__, 3, 4)));
2432103: extern ssize_t __readlinkat_chk_warn (int __fd, const char *__restrict __path, char *__restrict __buf, size_t __len, size_t __buflen) __asm__ ("" "__readlinkat_chk") __attribute__ ((__nothrow__ , __leaf__))
2432103:
2432103:
2432103:
2432103: __attribute__ ((__nonnull__ (2, 3))) __attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("readlinkat called with bigger " "length than size of destination " "buffer")))
2432103:
2432103: ;
2432103:
2432103: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) __attribute__ ((__nonnull__ (2, 3))) __attribute__ ((__warn_unused_result__)) ssize_t
2432103: __attribute__ ((__nothrow__ , __leaf__)) readlinkat (int __fd, const char *__restrict __path, char *__restrict __buf, size_t __len)
2432103:
2432103: {
2432103: return (((__builtin_constant_p (__builtin_object_size (__buf, 2 > 1)) && (__builtin_object_size (__buf, 2 > 1)) == (unsigned int) -1) || (((__typeof (__len)) 0 < (__typeof (__len)) -1 || (__builtin_constant_p (__len) && (__len) > 0)) && __builtin_constant_p ((((unsigned int) (__len)) <= ((__builtin_object_size (__buf, 2 > 1))) / ((sizeof (char))))) && (((unsigned int) (__len)) <= ((__builtin_object_size (__buf, 2 > 1))) / ((sizeof (char)))))) ? __readlinkat_alias (__fd, __path, __buf, __len) : ((((__typeof (__len)) 0 < (__typeof (__len)) -1 || (__builtin_constant_p (__len) && (__len) > 0)) && __builtin_constant_p ((((unsigned int) (__len)) <= (__builtin_object_size (__buf, 2 > 1)) / (sizeof (char)))) && !(((unsigned int) (__len)) <= (__builtin_object_size (__buf, 2 > 1)) / (sizeof (char)))) ? __readlinkat_chk_warn (__fd, __path, __buf, __len, __builtin_object_size (__buf, 2 > 1)) : __readlinkat_chk (__fd, __path, __buf, __len, __builtin_object_size (__buf, 2 > 1))))
2432103:
2432103: ;
2432103: }
2432103:
2432103:
2432103: extern char *__getcwd_chk (char *__buf, size_t __size, size_t __buflen)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__));
2432103: extern char *__getcwd_alias (char *__buf, size_t __size) __asm__ ("" "getcwd") __attribute__ ((__nothrow__ , __leaf__))
2432103: __attribute__ ((__warn_unused_result__));
2432103: extern char *__getcwd_chk_warn (char *__buf, size_t __size, size_t __buflen) __asm__ ("" "__getcwd_chk") __attribute__ ((__nothrow__ , __leaf__))
2432103:
2432103:
2432103: __attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("getcwd caller with bigger length than size of " "destination buffer")))
2432103: ;
2432103:
2432103: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) __attribute__ ((__warn_unused_result__)) char *
2432103: __attribute__ ((__nothrow__ , __leaf__)) getcwd (char *__buf, size_t __size)
2432103: {
2432103: return (((__builtin_constant_p (__builtin_object_size (__buf, 2 > 1)) && (__builtin_object_size (__buf, 2 > 1)) == (unsigned int) -1) || (((__typeof (__size)) 0 < (__typeof (__size)) -1 || (__builtin_constant_p (__size) && (__size) > 0)) && __builtin_constant_p ((((unsigned int) (__size)) <= ((__builtin_object_size (__buf, 2 > 1))) / ((sizeof (char))))) && (((unsigned int) (__size)) <= ((__builtin_object_size (__buf, 2 > 1))) / ((sizeof (char)))))) ? __getcwd_alias (__buf, __size) : ((((__typeof (__size)) 0 < (__typeof (__size)) -1 || (__builtin_constant_p (__size) && (__size) > 0)) && __builtin_constant_p ((((unsigned int) (__size)) <= (__builtin_object_size (__buf, 2 > 1)) / (sizeof (char)))) && !(((unsigned int) (__size)) <= (__builtin_object_size (__buf, 2 > 1)) / (sizeof (char)))) ? __getcwd_chk_warn (__buf, __size, __builtin_object_size (__buf, 2 > 1)) : __getcwd_chk (__buf, __size, __builtin_object_size (__buf, 2 > 1))))
2432103:
2432103: ;
2432103: }
2432103:
2432103:
2432103: extern char *__getwd_chk (char *__buf, size_t buflen)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)) __attribute__ ((__access__ (__write_only__, 1, 2)));
2432103: extern char *__getwd_warn (char *__buf) __asm__ ("" "getwd") __attribute__ ((__nothrow__ , __leaf__))
2432103: __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("please use getcwd instead, as getwd " "doesn't specify buffer size")))
2432103: ;
2432103:
2432103: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__deprecated__)) __attribute__ ((__warn_unused_result__)) char *
2432103: __attribute__ ((__nothrow__ , __leaf__)) getwd (char *__buf)
2432103: {
2432103: if (__builtin_object_size (__buf, 2 > 1) != (size_t) -1)
2432103: return __getwd_chk (__buf, __builtin_object_size (__buf, 2 > 1));
2432103: return __getwd_warn (__buf);
2432103: }
2432103:
2432103:
2432103: extern size_t __confstr_chk (int __name, char *__buf, size_t __len,
2432103: size_t __buflen) __attribute__ ((__nothrow__ , __leaf__))
2432103: __attribute__ ((__access__ (__write_only__, 2, 3)));
2432103: extern size_t __confstr_alias (int __name, char *__buf, size_t __len) __asm__ ("" "confstr") __attribute__ ((__nothrow__ , __leaf__))
2432103:
2432103: __attribute__ ((__access__ (__write_only__, 2, 3)));
2432103: extern size_t __confstr_chk_warn (int __name, char *__buf, size_t __len, size_t __buflen) __asm__ ("" "__confstr_chk") __attribute__ ((__nothrow__ , __leaf__))
2432103:
2432103:
2432103: __attribute__((__warning__ ("confstr called with bigger length than size of destination " "buffer")))
2432103: ;
2432103:
2432103: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) size_t
2432103: __attribute__ ((__nothrow__ , __leaf__)) confstr (int __name, char *__buf, size_t __len)
2432103: {
2432103: return (((__builtin_constant_p (__builtin_object_size (__buf, 2 > 1)) && (__builtin_object_size (__buf, 2 > 1)) == (unsigned int) -1) || (((__typeof (__len)) 0 < (__typeof (__len)) -1 || (__builtin_constant_p (__len) && (__len) > 0)) && __builtin_constant_p ((((unsigned int) (__len)) <= ((__builtin_object_size (__buf, 2 > 1))) / ((sizeof (char))))) && (((unsigned int) (__len)) <= ((__builtin_object_size (__buf, 2 > 1))) / ((sizeof (char)))))) ? __confstr_alias (__name, __buf, __len) : ((((__typeof (__len)) 0 < (__typeof (__len)) -1 || (__builtin_constant_p (__len) && (__len) > 0)) && __builtin_constant_p ((((unsigned int) (__len)) <= (__builtin_object_size (__buf, 2 > 1)) / (sizeof (char)))) && !(((unsigned int) (__len)) <= (__builtin_object_size (__buf, 2 > 1)) / (sizeof (char)))) ? __confstr_chk_warn (__name, __buf, __len, __builtin_object_size (__buf, 2 > 1)) : __confstr_chk (__name, __buf, __len, __builtin_object_size (__buf, 2 > 1))))
2432103:
2432103: ;
2432103: }
2432103:
2432103:
2432103: extern int __getgroups_chk (int __size, __gid_t __list[], size_t __listlen)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__)) __attribute__ ((__access__ (__write_only__, 2, 1)));
2432103: extern int __getgroups_alias (int __size, __gid_t __list[]) __asm__ ("" "getgroups") __attribute__ ((__nothrow__ , __leaf__))
2432103: __attribute__ ((__warn_unused_result__)) __attribute__ ((__access__ (__write_only__, 2, 1)));
2432103: extern int __getgroups_chk_warn (int __size, __gid_t __list[], size_t __listlen) __asm__ ("" "__getgroups_chk") __attribute__ ((__nothrow__ , __leaf__))
2432103:
2432103:
2432103: __attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("getgroups called with bigger group count than what " "can fit into destination buffer")))
2432103: ;
2432103:
2432103: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) int
2432103: __attribute__ ((__nothrow__ , __leaf__)) getgroups (int __size, __gid_t __list[])
2432103: {
2432103: return (((__builtin_constant_p (__builtin_object_size (__list, 2 > 1)) && (__builtin_object_size (__list, 2 > 1)) == (unsigned int) -1) || (((__typeof (__size)) 0 < (__typeof (__size)) -1 || (__builtin_constant_p (__size) && (__size) > 0)) && __builtin_constant_p ((((unsigned int) (__size)) <= ((__builtin_object_size (__list, 2 > 1))) / ((sizeof (__gid_t))))) && (((unsigned int) (__size)) <= ((__builtin_object_size (__list, 2 > 1))) / ((sizeof (__gid_t)))))) ? __getgroups_alias (__size, __list) : ((((__typeof (__size)) 0 < (__typeof (__size)) -1 || (__builtin_constant_p (__size) && (__size) > 0)) && __builtin_constant_p ((((unsigned int) (__size)) <= (__builtin_object_size (__list, 2 > 1)) / (sizeof (__gid_t)))) && !(((unsigned int) (__size)) <= (__builtin_object_size (__list, 2 > 1)) / (sizeof (__gid_t)))) ? __getgroups_chk_warn (__size, __list, __builtin_object_size (__list, 2 > 1)) : __getgroups_chk (__size, __list, __builtin_object_size (__list, 2 > 1))))
2432103:
2432103: ;
2432103: }
2432103:
2432103:
2432103: extern int __ttyname_r_chk (int __fd, char *__buf, size_t __buflen,
2432103: size_t __nreal) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2)))
2432103: __attribute__ ((__access__ (__write_only__, 2, 3)));
2432103: extern int __ttyname_r_alias (int __fd, char *__buf, size_t __buflen) __asm__ ("" "ttyname_r") __attribute__ ((__nothrow__ , __leaf__))
2432103:
2432103: __attribute__ ((__nonnull__ (2)));
2432103: extern int __ttyname_r_chk_warn (int __fd, char *__buf, size_t __buflen, size_t __nreal) __asm__ ("" "__ttyname_r_chk") __attribute__ ((__nothrow__ , __leaf__))
2432103:
2432103:
2432103: __attribute__ ((__nonnull__ (2))) __attribute__((__warning__ ("ttyname_r called with bigger buflen than " "size of destination buffer")))
2432103: ;
2432103:
2432103: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) int
2432103: __attribute__ ((__nothrow__ , __leaf__)) ttyname_r (int __fd, char *__buf, size_t __buflen)
2432103: {
2432103: return (((__builtin_constant_p (__builtin_object_size (__buf, 2 > 1)) && (__builtin_object_size (__buf, 2 > 1)) == (unsigned int) -1) || (((__typeof (__buflen)) 0 < (__typeof (__buflen)) -1 || (__builtin_constant_p (__buflen) && (__buflen) > 0)) && __builtin_constant_p ((((unsigned int) (__buflen)) <= ((__builtin_object_size (__buf, 2 > 1))) / ((sizeof (char))))) && (((unsigned int) (__buflen)) <= ((__builtin_object_size (__buf, 2 > 1))) / ((sizeof (char)))))) ? __ttyname_r_alias (__fd, __buf, __buflen) : ((((__typeof (__buflen)) 0 < (__typeof (__buflen)) -1 || (__builtin_constant_p (__buflen) && (__buflen) > 0)) && __builtin_constant_p ((((unsigned int) (__buflen)) <= (__builtin_object_size (__buf, 2 > 1)) / (sizeof (char)))) && !(((unsigned int) (__buflen)) <= (__builtin_object_size (__buf, 2 > 1)) / (sizeof (char)))) ? __ttyname_r_chk_warn (__fd, __buf, __buflen, __builtin_object_size (__buf, 2 > 1)) : __ttyname_r_chk (__fd, __buf, __buflen, __builtin_object_size (__buf, 2 > 1))))
2432103:
2432103: ;
2432103: }
2432103:
2432103:
2432103:
2432103: extern int __getlogin_r_chk (char *__buf, size_t __buflen, size_t __nreal)
2432103: __attribute__ ((__nonnull__ (1))) __attribute__ ((__access__ (__write_only__, 1, 2)));
2432103: extern int __getlogin_r_alias (char *__buf, size_t __buflen) __asm__ ("" "getlogin_r")
2432103: __attribute__ ((__nonnull__ (1)));
2432103: extern int __getlogin_r_chk_warn (char *__buf, size_t __buflen, size_t __nreal) __asm__ ("" "__getlogin_r_chk")
2432103:
2432103:
2432103: __attribute__ ((__nonnull__ (1))) __attribute__((__warning__ ("getlogin_r called with bigger buflen than " "size of destination buffer")))
2432103: ;
2432103:
2432103: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) int
2432103: getlogin_r (char *__buf, size_t __buflen)
2432103: {
2432103: return (((__builtin_constant_p (__builtin_object_size (__buf, 2 > 1)) && (__builtin_object_size (__buf, 2 > 1)) == (unsigned int) -1) || (((__typeof (__buflen)) 0 < (__typeof (__buflen)) -1 || (__builtin_constant_p (__buflen) && (__buflen) > 0)) && __builtin_constant_p ((((unsigned int) (__buflen)) <= ((__builtin_object_size (__buf, 2 > 1))) / ((sizeof (char))))) && (((unsigned int) (__buflen)) <= ((__builtin_object_size (__buf, 2 > 1))) / ((sizeof (char)))))) ? __getlogin_r_alias (__buf, __buflen) : ((((__typeof (__buflen)) 0 < (__typeof (__buflen)) -1 || (__builtin_constant_p (__buflen) && (__buflen) > 0)) && __builtin_constant_p ((((unsigned int) (__buflen)) <= (__builtin_object_size (__buf, 2 > 1)) / (sizeof (char)))) && !(((unsigned int) (__buflen)) <= (__builtin_object_size (__buf, 2 > 1)) / (sizeof (char)))) ? __getlogin_r_chk_warn (__buf, __buflen, __builtin_object_size (__buf, 2 > 1)) : __getlogin_r_chk (__buf, __buflen, __builtin_object_size (__buf, 2 > 1))))
2432103:
2432103: ;
2432103: }
2432103:
2432103:
2432103:
2432103:
2432103: extern int __gethostname_chk (char *__buf, size_t __buflen, size_t __nreal)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__access__ (__write_only__, 1, 2)));
2432103: extern int __gethostname_alias (char *__buf, size_t __buflen) __asm__ ("" "gethostname") __attribute__ ((__nothrow__ , __leaf__))
2432103:
2432103: __attribute__ ((__nonnull__ (1))) __attribute__ ((__access__ (__write_only__, 1, 2)));
2432103: extern int __gethostname_chk_warn (char *__buf, size_t __buflen, size_t __nreal) __asm__ ("" "__gethostname_chk") __attribute__ ((__nothrow__ , __leaf__))
2432103:
2432103:
2432103: __attribute__ ((__nonnull__ (1))) __attribute__((__warning__ ("gethostname called with bigger buflen than " "size of destination buffer")))
2432103: ;
2432103:
2432103: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) int
2432103: __attribute__ ((__nothrow__ , __leaf__)) gethostname (char *__buf, size_t __buflen)
2432103: {
2432103: return (((__builtin_constant_p (__builtin_object_size (__buf, 2 > 1)) && (__builtin_object_size (__buf, 2 > 1)) == (unsigned int) -1) || (((__typeof (__buflen)) 0 < (__typeof (__buflen)) -1 || (__builtin_constant_p (__buflen) && (__buflen) > 0)) && __builtin_constant_p ((((unsigned int) (__buflen)) <= ((__builtin_object_size (__buf, 2 > 1))) / ((sizeof (char))))) && (((unsigned int) (__buflen)) <= ((__builtin_object_size (__buf, 2 > 1))) / ((sizeof (char)))))) ? __gethostname_alias (__buf, __buflen) : ((((__typeof (__buflen)) 0 < (__typeof (__buflen)) -1 || (__builtin_constant_p (__buflen) && (__buflen) > 0)) && __builtin_constant_p ((((unsigned int) (__buflen)) <= (__builtin_object_size (__buf, 2 > 1)) / (sizeof (char)))) && !(((unsigned int) (__buflen)) <= (__builtin_object_size (__buf, 2 > 1)) / (sizeof (char)))) ? __gethostname_chk_warn (__buf, __buflen, __builtin_object_size (__buf, 2 > 1)) : __gethostname_chk (__buf, __buflen, __builtin_object_size (__buf, 2 > 1))))
2432103:
2432103: ;
2432103: }
2432103:
2432103:
2432103:
2432103:
2432103: extern int __getdomainname_chk (char *__buf, size_t __buflen, size_t __nreal)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)) __attribute__ ((__access__ (__write_only__, 1, 2)));
2432103: extern int __getdomainname_alias (char *__buf, size_t __buflen) __asm__ ("" "getdomainname") __attribute__ ((__nothrow__ , __leaf__))
2432103:
2432103: __attribute__ ((__nonnull__ (1)))
2432103: __attribute__ ((__warn_unused_result__)) __attribute__ ((__access__ (__write_only__, 1, 2)));
2432103: extern int __getdomainname_chk_warn (char *__buf, size_t __buflen, size_t __nreal) __asm__ ("" "__getdomainname_chk") __attribute__ ((__nothrow__ , __leaf__))
2432103:
2432103:
2432103: __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("getdomainname called with bigger " "buflen than size of destination " "buffer")))
2432103:
2432103: ;
2432103:
2432103: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) int
2432103: __attribute__ ((__nothrow__ , __leaf__)) getdomainname (char *__buf, size_t __buflen)
2432103: {
2432103: return (((__builtin_constant_p (__builtin_object_size (__buf, 2 > 1)) && (__builtin_object_size (__buf, 2 > 1)) == (unsigned int) -1) || (((__typeof (__buflen)) 0 < (__typeof (__buflen)) -1 || (__builtin_constant_p (__buflen) && (__buflen) > 0)) && __builtin_constant_p ((((unsigned int) (__buflen)) <= ((__builtin_object_size (__buf, 2 > 1))) / ((sizeof (char))))) && (((unsigned int) (__buflen)) <= ((__builtin_object_size (__buf, 2 > 1))) / ((sizeof (char)))))) ? __getdomainname_alias (__buf, __buflen) : ((((__typeof (__buflen)) 0 < (__typeof (__buflen)) -1 || (__builtin_constant_p (__buflen) && (__buflen) > 0)) && __builtin_constant_p ((((unsigned int) (__buflen)) <= (__builtin_object_size (__buf, 2 > 1)) / (sizeof (char)))) && !(((unsigned int) (__buflen)) <= (__builtin_object_size (__buf, 2 > 1)) / (sizeof (char)))) ? __getdomainname_chk_warn (__buf, __buflen, __builtin_object_size (__buf, 2 > 1)) : __getdomainname_chk (__buf, __buflen, __builtin_object_size (__buf, 2 > 1))))
2432103:
2432103: ;
2432103: }
2432103: # 1215 "/usr/include/unistd.h" 2 3 4
2432103:
2432103:
2432103:
2432103: # 1 "/usr/include/m68k-linux-gnu/bits/unistd_ext.h" 1 3 4
2432103: # 34 "/usr/include/m68k-linux-gnu/bits/unistd_ext.h" 3 4
2432103: extern __pid_t gettid (void) __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103:
2432103:
2432103: # 1 "/usr/include/linux/close_range.h" 1 3 4
2432103: # 39 "/usr/include/m68k-linux-gnu/bits/unistd_ext.h" 2 3 4
2432103: # 1219 "/usr/include/unistd.h" 2 3 4
2432103:
2432103:
2432103: # 25 "/usr/include/m68k-linux-gnu/bits/sigstksz.h" 2 3 4
2432103: # 329 "/usr/include/signal.h" 2 3 4
2432103: # 1 "/usr/include/m68k-linux-gnu/bits/ss_flags.h" 1 3 4
2432103: # 27 "/usr/include/m68k-linux-gnu/bits/ss_flags.h" 3 4
2432103: enum
2432103: {
2432103: SS_ONSTACK = 1,
2432103:
2432103: SS_DISABLE
2432103:
2432103: };
2432103: # 330 "/usr/include/signal.h" 2 3 4
2432103:
2432103:
2432103:
2432103: extern int sigaltstack (const stack_t *__restrict __ss,
2432103: stack_t *__restrict __oss) __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103:
2432103:
2432103:
2432103: # 1 "/usr/include/m68k-linux-gnu/bits/types/struct_sigstack.h" 1 3 4
2432103: # 23 "/usr/include/m68k-linux-gnu/bits/types/struct_sigstack.h" 3 4
2432103: struct sigstack
2432103: {
2432103: void *ss_sp;
2432103: int ss_onstack;
2432103: };
2432103: # 340 "/usr/include/signal.h" 2 3 4
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern int sigstack (struct sigstack *__ss, struct sigstack *__oss)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__deprecated__));
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern int sighold (int __sig) __attribute__ ((__nothrow__ , __leaf__))
2432103: __attribute__ ((__deprecated__ ("Use the sigprocmask function instead")));
2432103:
2432103:
2432103: extern int sigrelse (int __sig) __attribute__ ((__nothrow__ , __leaf__))
2432103: __attribute__ ((__deprecated__ ("Use the sigprocmask function instead")));
2432103:
2432103:
2432103: extern int sigignore (int __sig) __attribute__ ((__nothrow__ , __leaf__))
2432103: __attribute__ ((__deprecated__ ("Use the signal function instead")));
2432103:
2432103:
2432103: extern __sighandler_t sigset (int __sig, __sighandler_t __disp) __attribute__ ((__nothrow__ , __leaf__))
2432103: __attribute__ ((__deprecated__ ("Use the signal and sigprocmask functions instead")))
2432103: ;
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: # 1 "/usr/include/m68k-linux-gnu/bits/sigthread.h" 1 3 4
2432103: # 31 "/usr/include/m68k-linux-gnu/bits/sigthread.h" 3 4
2432103: extern int pthread_sigmask (int __how,
2432103: const __sigset_t *__restrict __newmask,
2432103: __sigset_t *__restrict __oldmask)__attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103:
2432103: extern int pthread_kill (pthread_t __threadid, int __signo) __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103:
2432103:
2432103: extern int pthread_sigqueue (pthread_t __threadid, int __signo,
2432103: const union sigval __value) __attribute__ ((__nothrow__ , __leaf__));
2432103: # 377 "/usr/include/signal.h" 2 3 4
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern int __libc_current_sigrtmin (void) __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103: extern int __libc_current_sigrtmax (void) __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: # 1 "/usr/include/m68k-linux-gnu/bits/signal_ext.h" 1 3 4
2432103: # 29 "/usr/include/m68k-linux-gnu/bits/signal_ext.h" 3 4
2432103: extern int tgkill (__pid_t __tgid, __pid_t __tid, int __signal);
2432103: # 392 "/usr/include/signal.h" 2 3 4
2432103:
2432103:
2432103: # 29 "/usr/include/m68k-linux-gnu/sys/param.h" 2 3 4
2432103:
2432103:
2432103: # 1 "/usr/include/m68k-linux-gnu/bits/param.h" 1 3 4
2432103: # 28 "/usr/include/m68k-linux-gnu/bits/param.h" 3 4
2432103: # 1 "/usr/include/linux/param.h" 1 3 4
2432103:
2432103:
2432103:
2432103:
2432103: # 1 "/usr/lib/linux/uapi/m68k/asm/param.h" 1 3 4
2432103: # 11 "/usr/lib/linux/uapi/m68k/asm/param.h" 3 4
2432103: # 1 "/usr/include/asm-generic/param.h" 1 3 4
2432103: # 12 "/usr/lib/linux/uapi/m68k/asm/param.h" 2 3 4
2432103: # 6 "/usr/include/linux/param.h" 2 3 4
2432103: # 29 "/usr/include/m68k-linux-gnu/bits/param.h" 2 3 4
2432103: # 32 "/usr/include/m68k-linux-gnu/sys/param.h" 2 3 4
2432103: # 52 "/usr/include/arpa/nameser.h" 2 3 4
2432103: # 83 "/usr/include/arpa/nameser.h" 3 4
2432103: typedef enum __ns_sect {
2432103: ns_s_qd = 0,
2432103: ns_s_zn = 0,
2432103: ns_s_an = 1,
2432103: ns_s_pr = 1,
2432103: ns_s_ns = 2,
2432103: ns_s_ud = 2,
2432103: ns_s_ar = 3,
2432103: ns_s_max = 4
2432103: } ns_sect;
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: typedef struct __ns_msg {
2432103: const unsigned char *_msg, *_eom;
2432103: uint16_t _id, _flags, _counts[ns_s_max];
2432103: const unsigned char *_sections[ns_s_max];
2432103: ns_sect _sect;
2432103: int _rrnum;
2432103: const unsigned char *_msg_ptr;
2432103: } ns_msg;
2432103:
2432103:
2432103: struct _ns_flagdata { int mask, shift; };
2432103: extern const struct _ns_flagdata _ns_flagdata[];
2432103: # 123 "/usr/include/arpa/nameser.h" 3 4
2432103: typedef struct __ns_rr {
2432103: char name[1025];
2432103: uint16_t type;
2432103: uint16_t rr_class;
2432103: uint32_t ttl;
2432103: uint16_t rdlength;
2432103: const unsigned char * rdata;
2432103: } ns_rr;
2432103: # 145 "/usr/include/arpa/nameser.h" 3 4
2432103: typedef enum __ns_flag {
2432103: ns_f_qr,
2432103: ns_f_opcode,
2432103: ns_f_aa,
2432103: ns_f_tc,
2432103: ns_f_rd,
2432103: ns_f_ra,
2432103: ns_f_z,
2432103: ns_f_ad,
2432103: ns_f_cd,
2432103: ns_f_rcode,
2432103: ns_f_max
2432103: } ns_flag;
2432103:
2432103:
2432103:
2432103:
2432103: typedef enum __ns_opcode {
2432103: ns_o_query = 0,
2432103: ns_o_iquery = 1,
2432103: ns_o_status = 2,
2432103:
2432103: ns_o_notify = 4,
2432103: ns_o_update = 5,
2432103: ns_o_max = 6
2432103: } ns_opcode;
2432103:
2432103:
2432103:
2432103:
2432103: typedef enum __ns_rcode {
2432103: ns_r_noerror = 0,
2432103: ns_r_formerr = 1,
2432103: ns_r_servfail = 2,
2432103: ns_r_nxdomain = 3,
2432103: ns_r_notimpl = 4,
2432103: ns_r_refused = 5,
2432103:
2432103: ns_r_yxdomain = 6,
2432103: ns_r_yxrrset = 7,
2432103: ns_r_nxrrset = 8,
2432103: ns_r_notauth = 9,
2432103: ns_r_notzone = 10,
2432103: ns_r_max = 11,
2432103:
2432103: ns_r_badvers = 16,
2432103:
2432103: ns_r_badsig = 16,
2432103: ns_r_badkey = 17,
2432103: ns_r_badtime = 18
2432103: } ns_rcode;
2432103:
2432103:
2432103: typedef enum __ns_update_operation {
2432103: ns_uop_delete = 0,
2432103: ns_uop_add = 1,
2432103: ns_uop_max = 2
2432103: } ns_update_operation;
2432103:
2432103:
2432103:
2432103:
2432103: struct ns_tsig_key {
2432103: char name[1025], alg[1025];
2432103: unsigned char *data;
2432103: int len;
2432103: };
2432103: typedef struct ns_tsig_key ns_tsig_key;
2432103:
2432103:
2432103:
2432103:
2432103: struct ns_tcp_tsig_state {
2432103: int counter;
2432103: struct dst_key *key;
2432103: void *ctx;
2432103: unsigned char sig[512];
2432103: int siglen;
2432103: };
2432103: typedef struct ns_tcp_tsig_state ns_tcp_tsig_state;
2432103: # 237 "/usr/include/arpa/nameser.h" 3 4
2432103: typedef enum __ns_type
2432103: {
2432103: ns_t_invalid = 0,
2432103:
2432103: ns_t_a = 1,
2432103: ns_t_ns = 2,
2432103: ns_t_md = 3,
2432103: ns_t_mf = 4,
2432103: ns_t_cname = 5,
2432103: ns_t_soa = 6,
2432103: ns_t_mb = 7,
2432103: ns_t_mg = 8,
2432103: ns_t_mr = 9,
2432103: ns_t_null = 10,
2432103: ns_t_wks = 11,
2432103: ns_t_ptr = 12,
2432103: ns_t_hinfo = 13,
2432103: ns_t_minfo = 14,
2432103: ns_t_mx = 15,
2432103: ns_t_txt = 16,
2432103: ns_t_rp = 17,
2432103: ns_t_afsdb = 18,
2432103: ns_t_x25 = 19,
2432103: ns_t_isdn = 20,
2432103: ns_t_rt = 21,
2432103: ns_t_nsap = 22,
2432103: ns_t_nsap_ptr = 23,
2432103: ns_t_sig = 24,
2432103: ns_t_key = 25,
2432103: ns_t_px = 26,
2432103: ns_t_gpos = 27,
2432103: ns_t_aaaa = 28,
2432103: ns_t_loc = 29,
2432103: ns_t_nxt = 30,
2432103: ns_t_eid = 31,
2432103: ns_t_nimloc = 32,
2432103: ns_t_srv = 33,
2432103: ns_t_atma = 34,
2432103: ns_t_naptr = 35,
2432103: ns_t_kx = 36,
2432103: ns_t_cert = 37,
2432103: ns_t_a6 = 38,
2432103: ns_t_dname = 39,
2432103: ns_t_sink = 40,
2432103: ns_t_opt = 41,
2432103: ns_t_apl = 42,
2432103: ns_t_ds = 43,
2432103: ns_t_sshfp = 44,
2432103: ns_t_ipseckey = 45,
2432103: ns_t_rrsig = 46,
2432103: ns_t_nsec = 47,
2432103: ns_t_dnskey = 48,
2432103: ns_t_dhcid = 49,
2432103: ns_t_nsec3 = 50,
2432103: ns_t_nsec3param = 51,
2432103: ns_t_tlsa = 52,
2432103: ns_t_smimea = 53,
2432103: ns_t_hip = 55,
2432103: ns_t_ninfo = 56,
2432103: ns_t_rkey = 57,
2432103: ns_t_talink = 58,
2432103: ns_t_cds = 59,
2432103: ns_t_cdnskey = 60,
2432103: ns_t_openpgpkey = 61,
2432103: ns_t_csync = 62,
2432103: ns_t_spf = 99,
2432103: ns_t_uinfo = 100,
2432103: ns_t_uid = 101,
2432103: ns_t_gid = 102,
2432103: ns_t_unspec = 103,
2432103: ns_t_nid = 104,
2432103: ns_t_l32 = 105,
2432103: ns_t_l64 = 106,
2432103: ns_t_lp = 107,
2432103: ns_t_eui48 = 108,
2432103: ns_t_eui64 = 109,
2432103: ns_t_tkey = 249,
2432103: ns_t_tsig = 250,
2432103: ns_t_ixfr = 251,
2432103: ns_t_axfr = 252,
2432103: ns_t_mailb = 253,
2432103: ns_t_maila = 254,
2432103: ns_t_any = 255,
2432103: ns_t_uri = 256,
2432103: ns_t_caa = 257,
2432103: ns_t_avc = 258,
2432103: ns_t_ta = 32768,
2432103: ns_t_dlv = 32769,
2432103:
2432103: ns_t_max = 65536
2432103: } ns_type;
2432103:
2432103:
2432103:
2432103:
2432103: typedef enum __ns_class {
2432103: ns_c_invalid = 0,
2432103: ns_c_in = 1,
2432103: ns_c_2 = 2,
2432103: ns_c_chaos = 3,
2432103: ns_c_hs = 4,
2432103:
2432103: ns_c_none = 254,
2432103: ns_c_any = 255,
2432103: ns_c_max = 65536
2432103: } ns_class;
2432103:
2432103:
2432103: typedef enum __ns_cert_types {
2432103: cert_t_pkix = 1,
2432103: cert_t_spki = 2,
2432103: cert_t_pgp = 3,
2432103: cert_t_url = 253,
2432103: cert_t_oid = 254
2432103: } ns_cert_types;
2432103: # 398 "/usr/include/arpa/nameser.h" 3 4
2432103:
2432103: int ns_msg_getflag (ns_msg, int) __attribute__ ((__nothrow__ , __leaf__));
2432103: unsigned int ns_get16 (const unsigned char *) __attribute__ ((__nothrow__ , __leaf__));
2432103: unsigned long ns_get32 (const unsigned char *) __attribute__ ((__nothrow__ , __leaf__));
2432103: void ns_put16 (unsigned int, unsigned char *) __attribute__ ((__nothrow__ , __leaf__));
2432103: void ns_put32 (unsigned long, unsigned char *) __attribute__ ((__nothrow__ , __leaf__));
2432103: int ns_initparse (const unsigned char *, int, ns_msg *) __attribute__ ((__nothrow__ , __leaf__));
2432103: int ns_skiprr (const unsigned char *, const unsigned char *,
2432103: ns_sect, int) __attribute__ ((__nothrow__ , __leaf__));
2432103: int ns_parserr (ns_msg *, ns_sect, int, ns_rr *) __attribute__ ((__nothrow__ , __leaf__));
2432103: int ns_sprintrr (const ns_msg *, const ns_rr *,
2432103: const char *, const char *, char *, size_t)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__deprecated__));
2432103: int ns_sprintrrf (const unsigned char *, size_t, const char *,
2432103: ns_class, ns_type, unsigned long,
2432103: const unsigned char *, size_t, const char *,
2432103: const char *, char *, size_t)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__deprecated__));
2432103: int ns_format_ttl (unsigned long, char *, size_t)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__deprecated__));
2432103: int ns_parse_ttl (const char *, unsigned long *)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__deprecated__));
2432103: uint32_t ns_datetosecs (const char *, int *)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__deprecated__));
2432103: int ns_name_ntol (const unsigned char *, unsigned char *, size_t)
2432103: __attribute__ ((__nothrow__ , __leaf__));
2432103: int ns_name_ntop (const unsigned char *, char *, size_t) __attribute__ ((__nothrow__ , __leaf__));
2432103: int ns_name_pton (const char *, unsigned char *, size_t) __attribute__ ((__nothrow__ , __leaf__));
2432103: int ns_name_unpack (const unsigned char *, const unsigned char *,
2432103: const unsigned char *, unsigned char *, size_t)
2432103: __attribute__ ((__nothrow__ , __leaf__));
2432103: int ns_name_pack (const unsigned char *, unsigned char *, int,
2432103: const unsigned char **, const unsigned char **)
2432103: __attribute__ ((__nothrow__ , __leaf__));
2432103: int ns_name_uncompress (const unsigned char *,
2432103: const unsigned char *,
2432103: const unsigned char *,
2432103: char *, size_t) __attribute__ ((__nothrow__ , __leaf__));
2432103: int ns_name_compress (const char *, unsigned char *, size_t,
2432103: const unsigned char **,
2432103: const unsigned char **) __attribute__ ((__nothrow__ , __leaf__));
2432103: int ns_name_skip (const unsigned char **, const unsigned char *)
2432103: __attribute__ ((__nothrow__ , __leaf__));
2432103: void ns_name_rollback (const unsigned char *,
2432103: const unsigned char **,
2432103: const unsigned char **) __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103: int ns_samedomain (const char *, const char *) __attribute__ ((__nothrow__ , __leaf__))
2432103: __attribute__ ((__deprecated__));
2432103: int ns_subdomain (const char *, const char *) __attribute__ ((__nothrow__ , __leaf__))
2432103: __attribute__ ((__deprecated__));
2432103: int ns_makecanon (const char *, char *, size_t) __attribute__ ((__nothrow__ , __leaf__))
2432103: __attribute__ ((__deprecated__));
2432103: int ns_samename (const char *, const char *) __attribute__ ((__nothrow__ , __leaf__))
2432103: __attribute__ ((__deprecated__));
2432103:
2432103:
2432103: # 1 "/usr/include/arpa/nameser_compat.h" 1 3 4
2432103: # 41 "/usr/include/arpa/nameser_compat.h" 3 4
2432103: typedef struct {
2432103: unsigned id :16;
2432103:
2432103:
2432103: unsigned qr: 1;
2432103: unsigned opcode: 4;
2432103: unsigned aa: 1;
2432103: unsigned tc: 1;
2432103: unsigned rd: 1;
2432103:
2432103: unsigned ra: 1;
2432103: unsigned unused :1;
2432103: unsigned ad: 1;
2432103: unsigned cd: 1;
2432103: unsigned rcode :4;
2432103: # 72 "/usr/include/arpa/nameser_compat.h" 3 4
2432103: unsigned qdcount :16;
2432103: unsigned ancount :16;
2432103: unsigned nscount :16;
2432103: unsigned arcount :16;
2432103: } HEADER;
2432103: # 456 "/usr/include/arpa/nameser.h" 2 3 4
2432103: # 58 "../../openbsd-compat/getrrsetbyname.h" 2
2432103: # 1 "/usr/include/netdb.h" 1 3 4
2432103: # 32 "/usr/include/netdb.h" 3 4
2432103: # 1 "/usr/include/rpc/netdb.h" 1 3 4
2432103: # 42 "/usr/include/rpc/netdb.h" 3 4
2432103: # 1 "/usr/lib/gcc/m68k-linux-gnu/13/include/stddef.h" 1 3 4
2432103: # 43 "/usr/include/rpc/netdb.h" 2 3 4
2432103:
2432103:
2432103:
2432103: struct rpcent
2432103: {
2432103: char *r_name;
2432103: char **r_aliases;
2432103: int r_number;
2432103: };
2432103:
2432103: extern void setrpcent (int __stayopen) __attribute__ ((__nothrow__ , __leaf__));
2432103: extern void endrpcent (void) __attribute__ ((__nothrow__ , __leaf__));
2432103: extern struct rpcent *getrpcbyname (const char *__name) __attribute__ ((__nothrow__ , __leaf__));
2432103: extern struct rpcent *getrpcbynumber (int __number) __attribute__ ((__nothrow__ , __leaf__));
2432103: extern struct rpcent *getrpcent (void) __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103:
2432103: extern int getrpcbyname_r (const char *__name, struct rpcent *__result_buf,
2432103: char *__buffer, size_t __buflen,
2432103: struct rpcent **__result) __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103: extern int getrpcbynumber_r (int __number, struct rpcent *__result_buf,
2432103: char *__buffer, size_t __buflen,
2432103: struct rpcent **__result) __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103: extern int getrpcent_r (struct rpcent *__result_buf, char *__buffer,
2432103: size_t __buflen, struct rpcent **__result) __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103:
2432103:
2432103: # 33 "/usr/include/netdb.h" 2 3 4
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: # 1 "/usr/include/m68k-linux-gnu/bits/netdb.h" 1 3 4
2432103: # 26 "/usr/include/m68k-linux-gnu/bits/netdb.h" 3 4
2432103: struct netent
2432103: {
2432103: char *n_name;
2432103: char **n_aliases;
2432103: int n_addrtype;
2432103: uint32_t n_net;
2432103: };
2432103: # 41 "/usr/include/netdb.h" 2 3 4
2432103: # 51 "/usr/include/netdb.h" 3 4
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern int *__h_errno_location (void) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__));
2432103: # 90 "/usr/include/netdb.h" 3 4
2432103: extern void herror (const char *__str) __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103:
2432103: extern const char *hstrerror (int __err_num) __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103:
2432103:
2432103:
2432103: struct hostent
2432103: {
2432103: char *h_name;
2432103: char **h_aliases;
2432103: int h_addrtype;
2432103: int h_length;
2432103: char **h_addr_list;
2432103:
2432103:
2432103:
2432103: };
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern void sethostent (int __stay_open);
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern void endhostent (void);
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern struct hostent *gethostent (void);
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern struct hostent *gethostbyaddr (const void *__addr, __socklen_t __len,
2432103: int __type);
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern struct hostent *gethostbyname (const char *__name);
2432103: # 153 "/usr/include/netdb.h" 3 4
2432103: extern struct hostent *gethostbyname2 (const char *__name, int __af);
2432103: # 165 "/usr/include/netdb.h" 3 4
2432103: extern int gethostent_r (struct hostent *__restrict __result_buf,
2432103: char *__restrict __buf, size_t __buflen,
2432103: struct hostent **__restrict __result,
2432103: int *__restrict __h_errnop);
2432103:
2432103: extern int gethostbyaddr_r (const void *__restrict __addr, __socklen_t __len,
2432103: int __type,
2432103: struct hostent *__restrict __result_buf,
2432103: char *__restrict __buf, size_t __buflen,
2432103: struct hostent **__restrict __result,
2432103: int *__restrict __h_errnop);
2432103:
2432103: extern int gethostbyname_r (const char *__restrict __name,
2432103: struct hostent *__restrict __result_buf,
2432103: char *__restrict __buf, size_t __buflen,
2432103: struct hostent **__restrict __result,
2432103: int *__restrict __h_errnop);
2432103:
2432103: extern int gethostbyname2_r (const char *__restrict __name, int __af,
2432103: struct hostent *__restrict __result_buf,
2432103: char *__restrict __buf, size_t __buflen,
2432103: struct hostent **__restrict __result,
2432103: int *__restrict __h_errnop);
2432103: # 196 "/usr/include/netdb.h" 3 4
2432103: extern void setnetent (int __stay_open);
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern void endnetent (void);
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern struct netent *getnetent (void);
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern struct netent *getnetbyaddr (uint32_t __net, int __type);
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern struct netent *getnetbyname (const char *__name);
2432103: # 235 "/usr/include/netdb.h" 3 4
2432103: extern int getnetent_r (struct netent *__restrict __result_buf,
2432103: char *__restrict __buf, size_t __buflen,
2432103: struct netent **__restrict __result,
2432103: int *__restrict __h_errnop);
2432103:
2432103: extern int getnetbyaddr_r (uint32_t __net, int __type,
2432103: struct netent *__restrict __result_buf,
2432103: char *__restrict __buf, size_t __buflen,
2432103: struct netent **__restrict __result,
2432103: int *__restrict __h_errnop);
2432103:
2432103: extern int getnetbyname_r (const char *__restrict __name,
2432103: struct netent *__restrict __result_buf,
2432103: char *__restrict __buf, size_t __buflen,
2432103: struct netent **__restrict __result,
2432103: int *__restrict __h_errnop);
2432103:
2432103:
2432103:
2432103:
2432103: struct servent
2432103: {
2432103: char *s_name;
2432103: char **s_aliases;
2432103: int s_port;
2432103: char *s_proto;
2432103: };
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern void setservent (int __stay_open);
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern void endservent (void);
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern struct servent *getservent (void);
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern struct servent *getservbyname (const char *__name, const char *__proto);
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern struct servent *getservbyport (int __port, const char *__proto);
2432103: # 306 "/usr/include/netdb.h" 3 4
2432103: extern int getservent_r (struct servent *__restrict __result_buf,
2432103: char *__restrict __buf, size_t __buflen,
2432103: struct servent **__restrict __result);
2432103:
2432103: extern int getservbyname_r (const char *__restrict __name,
2432103: const char *__restrict __proto,
2432103: struct servent *__restrict __result_buf,
2432103: char *__restrict __buf, size_t __buflen,
2432103: struct servent **__restrict __result);
2432103:
2432103: extern int getservbyport_r (int __port, const char *__restrict __proto,
2432103: struct servent *__restrict __result_buf,
2432103: char *__restrict __buf, size_t __buflen,
2432103: struct servent **__restrict __result);
2432103:
2432103:
2432103:
2432103:
2432103: struct protoent
2432103: {
2432103: char *p_name;
2432103: char **p_aliases;
2432103: int p_proto;
2432103: };
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern void setprotoent (int __stay_open);
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern void endprotoent (void);
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern struct protoent *getprotoent (void);
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern struct protoent *getprotobyname (const char *__name);
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern struct protoent *getprotobynumber (int __proto);
2432103: # 372 "/usr/include/netdb.h" 3 4
2432103: extern int getprotoent_r (struct protoent *__restrict __result_buf,
2432103: char *__restrict __buf, size_t __buflen,
2432103: struct protoent **__restrict __result);
2432103:
2432103: extern int getprotobyname_r (const char *__restrict __name,
2432103: struct protoent *__restrict __result_buf,
2432103: char *__restrict __buf, size_t __buflen,
2432103: struct protoent **__restrict __result);
2432103:
2432103: extern int getprotobynumber_r (int __proto,
2432103: struct protoent *__restrict __result_buf,
2432103: char *__restrict __buf, size_t __buflen,
2432103: struct protoent **__restrict __result);
2432103: # 393 "/usr/include/netdb.h" 3 4
2432103: extern int setnetgrent (const char *__netgroup);
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern void endnetgrent (void);
2432103: # 410 "/usr/include/netdb.h" 3 4
2432103: extern int getnetgrent (char **__restrict __hostp,
2432103: char **__restrict __userp,
2432103: char **__restrict __domainp);
2432103: # 421 "/usr/include/netdb.h" 3 4
2432103: extern int innetgr (const char *__netgroup, const char *__host,
2432103: const char *__user, const char *__domain);
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern int getnetgrent_r (char **__restrict __hostp,
2432103: char **__restrict __userp,
2432103: char **__restrict __domainp,
2432103: char *__restrict __buffer, size_t __buflen);
2432103: # 449 "/usr/include/netdb.h" 3 4
2432103: extern int rcmd (char **__restrict __ahost, unsigned short int __rport,
2432103: const char *__restrict __locuser,
2432103: const char *__restrict __remuser,
2432103: const char *__restrict __cmd, int *__restrict __fd2p);
2432103: # 461 "/usr/include/netdb.h" 3 4
2432103: extern int rcmd_af (char **__restrict __ahost, unsigned short int __rport,
2432103: const char *__restrict __locuser,
2432103: const char *__restrict __remuser,
2432103: const char *__restrict __cmd, int *__restrict __fd2p,
2432103: sa_family_t __af);
2432103: # 477 "/usr/include/netdb.h" 3 4
2432103: extern int rexec (char **__restrict __ahost, int __rport,
2432103: const char *__restrict __name,
2432103: const char *__restrict __pass,
2432103: const char *__restrict __cmd, int *__restrict __fd2p);
2432103: # 489 "/usr/include/netdb.h" 3 4
2432103: extern int rexec_af (char **__restrict __ahost, int __rport,
2432103: const char *__restrict __name,
2432103: const char *__restrict __pass,
2432103: const char *__restrict __cmd, int *__restrict __fd2p,
2432103: sa_family_t __af);
2432103: # 503 "/usr/include/netdb.h" 3 4
2432103: extern int ruserok (const char *__rhost, int __suser,
2432103: const char *__remuser, const char *__locuser);
2432103: # 513 "/usr/include/netdb.h" 3 4
2432103: extern int ruserok_af (const char *__rhost, int __suser,
2432103: const char *__remuser, const char *__locuser,
2432103: sa_family_t __af);
2432103: # 526 "/usr/include/netdb.h" 3 4
2432103: extern int iruserok (uint32_t __raddr, int __suser,
2432103: const char *__remuser, const char *__locuser);
2432103: # 537 "/usr/include/netdb.h" 3 4
2432103: extern int iruserok_af (const void *__raddr, int __suser,
2432103: const char *__remuser, const char *__locuser,
2432103: sa_family_t __af);
2432103: # 549 "/usr/include/netdb.h" 3 4
2432103: extern int rresvport (int *__alport);
2432103: # 558 "/usr/include/netdb.h" 3 4
2432103: extern int rresvport_af (int *__alport, sa_family_t __af);
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: struct addrinfo
2432103: {
2432103: int ai_flags;
2432103: int ai_family;
2432103: int ai_socktype;
2432103: int ai_protocol;
2432103: socklen_t ai_addrlen;
2432103: struct sockaddr *ai_addr;
2432103: char *ai_canonname;
2432103: struct addrinfo *ai_next;
2432103: };
2432103:
2432103:
2432103:
2432103: struct gaicb
2432103: {
2432103: const char *ar_name;
2432103: const char *ar_service;
2432103: const struct addrinfo *ar_request;
2432103: struct addrinfo *ar_result;
2432103:
2432103: int __return;
2432103: int __glibc_reserved[5];
2432103: };
2432103: # 660 "/usr/include/netdb.h" 3 4
2432103: extern int getaddrinfo (const char *__restrict __name,
2432103: const char *__restrict __service,
2432103: const struct addrinfo *__restrict __req,
2432103: struct addrinfo **__restrict __pai);
2432103:
2432103:
2432103: extern void freeaddrinfo (struct addrinfo *__ai) __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103:
2432103: extern const char *gai_strerror (int __ecode) __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern int getnameinfo (const struct sockaddr *__restrict __sa,
2432103: socklen_t __salen, char *__restrict __host,
2432103: socklen_t __hostlen, char *__restrict __serv,
2432103: socklen_t __servlen, int __flags);
2432103: # 690 "/usr/include/netdb.h" 3 4
2432103: extern int getaddrinfo_a (int __mode, struct gaicb *__list[__restrict],
2432103: int __ent, struct sigevent *__restrict __sig);
2432103: # 701 "/usr/include/netdb.h" 3 4
2432103: extern int gai_suspend (const struct gaicb *const __list[], int __ent,
2432103: const struct timespec *__timeout);
2432103:
2432103:
2432103:
2432103: extern int gai_suspend (const struct gaicb *const __list[], int __ent, const struct timespec *__timeout) __asm__ ("" "__gai_suspend_time64")
2432103:
2432103:
2432103: ;
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern int gai_error (struct gaicb *__req) __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103:
2432103: extern int gai_cancel (struct gaicb *__gaicbp) __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103:
2432103:
2432103: # 59 "../../openbsd-compat/getrrsetbyname.h" 2
2432103: # 1 "/usr/include/resolv.h" 1 3 4
2432103: # 61 "/usr/include/resolv.h" 3 4
2432103: # 1 "/usr/include/m68k-linux-gnu/bits/types/res_state.h" 1 3 4
2432103: # 13 "/usr/include/m68k-linux-gnu/bits/types/res_state.h" 3 4
2432103: struct __res_state {
2432103: int retrans;
2432103: int retry;
2432103: unsigned long options;
2432103: int nscount;
2432103: struct sockaddr_in
2432103: nsaddr_list[3];
2432103: unsigned short id;
2432103:
2432103: char *dnsrch[6 +1];
2432103: char defdname[256];
2432103: unsigned long pfcode;
2432103: unsigned ndots:4;
2432103: unsigned nsort:4;
2432103: unsigned ipv6_unavail:1;
2432103: unsigned unused:23;
2432103: struct {
2432103: struct in_addr addr;
2432103: uint32_t mask;
2432103: } sort_list[10];
2432103:
2432103: void * __glibc_unused_qhook;
2432103: void * __glibc_unused_rhook;
2432103: int res_h_errno;
2432103: int _vcsock;
2432103: unsigned int _flags;
2432103:
2432103: union {
2432103: char pad[52];
2432103: struct {
2432103: uint16_t nscount;
2432103: uint16_t nsmap[3];
2432103: int nssocks[3];
2432103: uint16_t nscount6;
2432103: uint16_t nsinit;
2432103: struct sockaddr_in6 *nsaddrs[3];
2432103:
2432103:
2432103:
2432103:
2432103: unsigned int __glibc_reserved[2];
2432103:
2432103: } _ext;
2432103: } _u;
2432103: };
2432103:
2432103: typedef struct __res_state *res_state;
2432103: # 62 "/usr/include/resolv.h" 2 3 4
2432103: # 97 "/usr/include/resolv.h" 3 4
2432103: struct res_sym {
2432103: int number;
2432103: char * name;
2432103: char * humanname;
2432103: };
2432103: # 160 "/usr/include/resolv.h" 3 4
2432103:
2432103: extern struct __res_state *__res_state(void) __attribute__ ((__const__));
2432103:
2432103: # 181 "/usr/include/resolv.h" 3 4
2432103:
2432103: void __fp_nquery (const unsigned char *, int, FILE *) __attribute__ ((__nothrow__ , __leaf__))
2432103: __attribute__ ((__deprecated__));
2432103: void __fp_query (const unsigned char *, FILE *) __attribute__ ((__nothrow__ , __leaf__))
2432103: __attribute__ ((__deprecated__));
2432103: const char * __hostalias (const char *) __attribute__ ((__nothrow__ , __leaf__))
2432103: __attribute__ ((__deprecated__ ("use getaddrinfo instead")));
2432103: void __p_query (const unsigned char *) __attribute__ ((__nothrow__ , __leaf__))
2432103: __attribute__ ((__deprecated__));
2432103: void __res_close (void) __attribute__ ((__nothrow__ , __leaf__));
2432103: int __res_init (void) __attribute__ ((__nothrow__ , __leaf__));
2432103: int __res_isourserver (const struct sockaddr_in *) __attribute__ ((__nothrow__ , __leaf__))
2432103: __attribute__ ((__deprecated__));
2432103: int res_mkquery (int, const char *, int, int,
2432103: const unsigned char *, int, const unsigned char *,
2432103: unsigned char *, int) __attribute__ ((__nothrow__ , __leaf__));
2432103: int res_query (const char *, int, int, unsigned char *, int)
2432103: __attribute__ ((__nothrow__ , __leaf__));
2432103: int res_querydomain (const char *, const char *, int, int,
2432103: unsigned char *, int) __attribute__ ((__nothrow__ , __leaf__));
2432103: int res_search (const char *, int, int, unsigned char *, int)
2432103: __attribute__ ((__nothrow__ , __leaf__));
2432103: int res_send (const unsigned char *, int, unsigned char *, int)
2432103: __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103: # 233 "/usr/include/resolv.h" 3 4
2432103:
2432103: int res_hnok (const char *) __attribute__ ((__nothrow__ , __leaf__));
2432103: int res_ownok (const char *) __attribute__ ((__nothrow__ , __leaf__));
2432103: int res_mailok (const char *) __attribute__ ((__nothrow__ , __leaf__));
2432103: int res_dnok (const char *) __attribute__ ((__nothrow__ , __leaf__));
2432103: int __sym_ston (const struct res_sym *, const char *, int *) __attribute__ ((__nothrow__ , __leaf__))
2432103: __attribute__ ((__deprecated__));
2432103: const char * __sym_ntos (const struct res_sym *, int, int *) __attribute__ ((__nothrow__ , __leaf__))
2432103: __attribute__ ((__deprecated__));
2432103: const char * __sym_ntop (const struct res_sym *, int, int *) __attribute__ ((__nothrow__ , __leaf__))
2432103: __attribute__ ((__deprecated__));
2432103: int __b64_ntop
2432103: # 244 "/usr/include/resolv.h"
2432103: (
2432103: # 244 "/usr/include/resolv.h" 3 4
2432103: const unsigned char *
2432103: # 244 "/usr/include/resolv.h"
2432103: ,
2432103: # 244 "/usr/include/resolv.h" 3 4
2432103: size_t
2432103: # 244 "/usr/include/resolv.h"
2432103: ,
2432103: # 244 "/usr/include/resolv.h" 3 4
2432103: char *
2432103: # 244 "/usr/include/resolv.h"
2432103: ,
2432103: # 244 "/usr/include/resolv.h" 3 4
2432103: size_t
2432103: # 244 "/usr/include/resolv.h"
2432103: )
2432103:
2432103: # 245 "/usr/include/resolv.h" 3 4
2432103: __attribute__ ((__nothrow__ , __leaf__));
2432103: int __b64_pton
2432103: # 246 "/usr/include/resolv.h"
2432103: (
2432103: # 246 "/usr/include/resolv.h" 3 4
2432103: char const *
2432103: # 246 "/usr/include/resolv.h"
2432103: ,
2432103: # 246 "/usr/include/resolv.h" 3 4
2432103: unsigned char *
2432103: # 246 "/usr/include/resolv.h"
2432103: ,
2432103: # 246 "/usr/include/resolv.h" 3 4
2432103: size_t
2432103: # 246 "/usr/include/resolv.h"
2432103: )
2432103: # 246 "/usr/include/resolv.h" 3 4
2432103: __attribute__ ((__nothrow__ , __leaf__));
2432103: int __loc_aton (const char *__ascii, unsigned char *__binary) __attribute__ ((__nothrow__ , __leaf__))
2432103: __attribute__ ((__deprecated__));
2432103: const char * __loc_ntoa (const unsigned char *__binary, char *__ascii) __attribute__ ((__nothrow__ , __leaf__))
2432103: __attribute__ ((__deprecated__));
2432103: int dn_skipname (const unsigned char *, const unsigned char *)
2432103: __attribute__ ((__nothrow__ , __leaf__));
2432103: void __putlong (uint32_t, unsigned char *) __attribute__ ((__nothrow__ , __leaf__))
2432103: __attribute__ ((__deprecated__ ("use NS_PUT16 instead")));
2432103: void __putshort (uint16_t, unsigned char *) __attribute__ ((__nothrow__ , __leaf__))
2432103: __attribute__ ((__deprecated__ ("use NS_PUT32 instead")));
2432103: const char * __p_class (int) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__deprecated__));
2432103: const char * __p_time (uint32_t) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__deprecated__));
2432103: const char * __p_type (int) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__deprecated__));
2432103: const char * __p_rcode (int) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__deprecated__));
2432103: const unsigned char * __p_cdnname (const unsigned char *, const unsigned char *,
2432103: int, FILE *) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__deprecated__));
2432103: const unsigned char * __p_cdname (const unsigned char *, const unsigned char *,
2432103: FILE *) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__deprecated__));
2432103: const unsigned char * __p_fqnname (const unsigned char *__cp,
2432103: const unsigned char *__msg,
2432103: int, char *, int) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__deprecated__));
2432103: const unsigned char * __p_fqname (const unsigned char *, const unsigned char *,
2432103: FILE *) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__deprecated__));
2432103: const char * __p_option (unsigned long __option) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__deprecated__));
2432103: int __dn_count_labels (const char *) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__deprecated__));
2432103: int dn_comp (const char *, unsigned char *, int, unsigned char **,
2432103: unsigned char **) __attribute__ ((__nothrow__ , __leaf__));
2432103: int dn_expand (const unsigned char *, const unsigned char *,
2432103: const unsigned char *, char *, int) __attribute__ ((__nothrow__ , __leaf__));
2432103: unsigned int __res_randomid (void) __attribute__ ((__nothrow__ , __leaf__))
2432103: __attribute__ ((__deprecated__ ("use getentropy instead")));
2432103: int __res_nameinquery (const char *, int, int,
2432103: const unsigned char *,
2432103: const unsigned char *) __attribute__ ((__nothrow__ , __leaf__))
2432103: __attribute__ ((__deprecated__));
2432103: int __res_queriesmatch (const unsigned char *,
2432103: const unsigned char *,
2432103: const unsigned char *,
2432103: const unsigned char *) __attribute__ ((__nothrow__ , __leaf__))
2432103: __attribute__ ((__deprecated__));
2432103:
2432103: int __res_ninit (res_state) __attribute__ ((__nothrow__ , __leaf__));
2432103: void __fp_resstat (const res_state, FILE *) __attribute__ ((__nothrow__ , __leaf__))
2432103: __attribute__ ((__deprecated__));
2432103: const char * __res_hostalias (const res_state, const char *, char *, size_t)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__deprecated__ ("use getaddrinfo instead")));
2432103: int res_nquery (res_state, const char *, int, int,
2432103: unsigned char *, int) __attribute__ ((__nothrow__ , __leaf__));
2432103: int res_nsearch (res_state, const char *, int, int,
2432103: unsigned char *, int) __attribute__ ((__nothrow__ , __leaf__));
2432103: int res_nquerydomain (res_state, const char *, const char *, int,
2432103: int, unsigned char *, int) __attribute__ ((__nothrow__ , __leaf__));
2432103: int res_nmkquery (res_state, int, const char *, int, int,
2432103: const unsigned char *, int,
2432103: const unsigned char *, unsigned char *, int)
2432103: __attribute__ ((__nothrow__ , __leaf__));
2432103: int res_nsend (res_state, const unsigned char *, int,
2432103: unsigned char *, int) __attribute__ ((__nothrow__ , __leaf__));
2432103: void __res_nclose (res_state) __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103:
2432103: # 60 "../../openbsd-compat/getrrsetbyname.h" 2
2432103: # 91 "../../openbsd-compat/getrrsetbyname.h"
2432103:
2432103: # 91 "../../openbsd-compat/getrrsetbyname.h"
2432103: struct rdatainfo {
2432103: unsigned int rdi_length;
2432103: unsigned char *rdi_data;
2432103: };
2432103:
2432103: struct rrsetinfo {
2432103: unsigned int rri_flags;
2432103: unsigned int rri_rdclass;
2432103: unsigned int rri_rdtype;
2432103: unsigned int rri_ttl;
2432103: unsigned int rri_nrdatas;
2432103: unsigned int rri_nsigs;
2432103: char *rri_name;
2432103: struct rdatainfo *rri_rdatas;
2432103: struct rdatainfo *rri_sigs;
2432103: };
2432103:
2432103: int getrrsetbyname(const char *, unsigned int, unsigned int, unsigned int, struct rrsetinfo **);
2432103: void freerrset(struct rrsetinfo *);
2432103: # 45 "../../openbsd-compat/openbsd-compat.h" 2
2432103: # 1 "../../openbsd-compat/sha1.h" 1
2432103: # 46 "../../openbsd-compat/openbsd-compat.h" 2
2432103: # 1 "../../openbsd-compat/sha2.h" 1
2432103: # 47 "../../openbsd-compat/openbsd-compat.h" 2
2432103: # 1 "../../openbsd-compat/md5.h" 1
2432103: # 48 "../../openbsd-compat/openbsd-compat.h" 2
2432103: # 1 "../../openbsd-compat/blf.h" 1
2432103: # 50 "../../openbsd-compat/blf.h"
2432103: typedef struct BlowfishContext {
2432103: u_int32_t S[4][256];
2432103: u_int32_t P[16 + 2];
2432103: } blf_ctx;
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: void Blowfish_encipher(blf_ctx *, u_int32_t *, u_int32_t *);
2432103: void Blowfish_decipher(blf_ctx *, u_int32_t *, u_int32_t *);
2432103: void Blowfish_initstate(blf_ctx *);
2432103: void Blowfish_expand0state(blf_ctx *, const u_int8_t *, u_int16_t);
2432103: void Blowfish_expandstate
2432103: (blf_ctx *, const u_int8_t *, u_int16_t, const u_int8_t *, u_int16_t);
2432103:
2432103:
2432103:
2432103: void blf_key(blf_ctx *, const u_int8_t *, u_int16_t);
2432103: void blf_enc(blf_ctx *, u_int32_t *, u_int16_t);
2432103: void blf_dec(blf_ctx *, u_int32_t *, u_int16_t);
2432103:
2432103: void blf_ecb_encrypt(blf_ctx *, u_int8_t *, u_int32_t);
2432103: void blf_ecb_decrypt(blf_ctx *, u_int8_t *, u_int32_t);
2432103:
2432103: void blf_cbc_encrypt(blf_ctx *, u_int8_t *, u_int8_t *, u_int32_t);
2432103: void blf_cbc_decrypt(blf_ctx *, u_int8_t *, u_int8_t *, u_int32_t);
2432103:
2432103:
2432103: u_int32_t Blowfish_stream2word(const u_int8_t *, u_int16_t , u_int16_t *);
2432103: # 49 "../../openbsd-compat/openbsd-compat.h" 2
2432103: # 1 "../../openbsd-compat/fnmatch.h" 1
2432103: # 50 "../../openbsd-compat/openbsd-compat.h" 2
2432103: # 69 "../../openbsd-compat/openbsd-compat.h"
2432103: int bindresvport_sa(int sd, struct sockaddr *sa);
2432103: # 106 "../../openbsd-compat/openbsd-compat.h"
2432103: void *recallocarray(void *, size_t, size_t, size_t);
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: size_t strlcpy(char *dst, const char *src, size_t siz);
2432103:
2432103:
2432103:
2432103: size_t strlcat(char *dst, const char *src, size_t siz);
2432103: # 138 "../../openbsd-compat/openbsd-compat.h"
2432103: void strmode(int mode, char *p);
2432103: # 147 "../../openbsd-compat/openbsd-compat.h"
2432103: int mkstemps(char *path, int slen);
2432103: int mkstemp(char *path);
2432103: char *mkdtemp(char *path);
2432103:
2432103:
2432103:
2432103: int _ssh_mkstemp(char *);
2432103: # 165 "../../openbsd-compat/openbsd-compat.h"
2432103: int fmt_scaled(long long number, char *result);
2432103:
2432103:
2432103:
2432103: int scan_scaled(char *, long long *);
2432103: # 189 "../../openbsd-compat/openbsd-compat.h"
2432103: void setproctitle(const char *fmt, ...);
2432103: void compat_init_setproctitle(int argc, char *argv[]);
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: int BSDgetopt(int argc, char * const *argv, const char *opts)
2432103: # 198 "../../openbsd-compat/openbsd-compat.h" 3 4
2432103: __attribute__ ((__nothrow__ , __leaf__))
2432103: # 198 "../../openbsd-compat/openbsd-compat.h"
2432103: ;
2432103: # 1 "../../openbsd-compat/getopt.h" 1
2432103: # 74 "../../openbsd-compat/getopt.h"
2432103: int BSDgetopt(int, char * const *, const char *)
2432103: # 74 "../../openbsd-compat/getopt.h" 3 4
2432103: __attribute__ ((__nothrow__ , __leaf__))
2432103: # 74 "../../openbsd-compat/getopt.h"
2432103: ;
2432103: int getsubopt(char **, char * const *, char **)
2432103: # 75 "../../openbsd-compat/getopt.h" 3 4
2432103: __attribute__ ((__nothrow__ , __leaf__))
2432103: # 75 "../../openbsd-compat/getopt.h"
2432103: ;
2432103:
2432103: extern char *BSDoptarg;
2432103: extern int BSDopterr;
2432103: extern int BSDoptind;
2432103: extern int BSDoptopt;
2432103: extern int BSDoptreset;
2432103: extern char *suboptarg;
2432103: # 200 "../../openbsd-compat/openbsd-compat.h" 2
2432103: # 217 "../../openbsd-compat/openbsd-compat.h"
2432103: # 1 "../../openbsd-compat/bsd-signal.h" 1
2432103: # 218 "../../openbsd-compat/openbsd-compat.h" 2
2432103: # 1 "../../openbsd-compat/bsd-misc.h" 1
2432103: # 22 "../../openbsd-compat/bsd-misc.h"
2432103: char *ssh_get_progname(char *);
2432103: int seed_from_prngd(unsigned char *, size_t);
2432103: # 34 "../../openbsd-compat/bsd-misc.h"
2432103: int setlogin(const char *);
2432103: # 147 "../../openbsd-compat/bsd-misc.h"
2432103: int pledge(const char *promises, const char *paths[]);
2432103: # 219 "../../openbsd-compat/openbsd-compat.h" 2
2432103: # 1 "../../openbsd-compat/bsd-setres_id.h" 1
2432103: # 220 "../../openbsd-compat/openbsd-compat.h" 2
2432103: # 1 "../../openbsd-compat/bsd-statvfs.h" 1
2432103: # 221 "../../openbsd-compat/openbsd-compat.h" 2
2432103: # 1 "../../openbsd-compat/bsd-waitpid.h" 1
2432103: # 222 "../../openbsd-compat/openbsd-compat.h" 2
2432103: # 1 "../../openbsd-compat/bsd-poll.h" 1
2432103: # 35 "../../openbsd-compat/bsd-poll.h"
2432103: # 1 "/usr/include/poll.h" 1 3 4
2432103: # 1 "/usr/include/m68k-linux-gnu/sys/poll.h" 1 3 4
2432103: # 25 "/usr/include/m68k-linux-gnu/sys/poll.h" 3 4
2432103: # 1 "/usr/include/m68k-linux-gnu/bits/poll.h" 1 3 4
2432103: # 26 "/usr/include/m68k-linux-gnu/sys/poll.h" 2 3 4
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: # 33 "/usr/include/m68k-linux-gnu/sys/poll.h" 3 4
2432103: typedef unsigned long int nfds_t;
2432103:
2432103:
2432103: struct pollfd
2432103: {
2432103: int fd;
2432103: short int events;
2432103: short int revents;
2432103: };
2432103:
2432103:
2432103:
2432103: # 54 "/usr/include/m68k-linux-gnu/sys/poll.h" 3 4
2432103: extern int poll (struct pollfd *__fds, nfds_t __nfds, int __timeout)
2432103: __attribute__ ((__access__ (__write_only__, 1, 2)));
2432103: # 64 "/usr/include/m68k-linux-gnu/sys/poll.h" 3 4
2432103: extern int ppoll (struct pollfd *__fds, nfds_t __nfds,
2432103: const struct timespec *__timeout,
2432103: const __sigset_t *__ss)
2432103: __attribute__ ((__access__ (__write_only__, 1, 2)));
2432103:
2432103:
2432103:
2432103: extern int ppoll (struct pollfd *__fds, nfds_t __nfds, const struct timespec *__timeout, const __sigset_t *__ss) __asm__ ("" "__ppoll64")
2432103:
2432103:
2432103:
2432103: __attribute__ ((__access__ (__write_only__, 1, 2)));
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: # 1 "/usr/include/m68k-linux-gnu/bits/poll2.h" 1 3 4
2432103: # 24 "/usr/include/m68k-linux-gnu/bits/poll2.h" 3 4
2432103:
2432103:
2432103: extern int __poll_alias (struct pollfd *__fds, nfds_t __nfds, int __timeout) __asm__ ("" "poll")
2432103: ;
2432103: extern int __poll_chk (struct pollfd *__fds, nfds_t __nfds, int __timeout,
2432103: unsigned int __fdslen)
2432103: __attribute__ ((__access__ (__write_only__, 1, 2)));
2432103: extern int __poll_chk_warn (struct pollfd *__fds, nfds_t __nfds, int __timeout, unsigned int __fdslen) __asm__ ("" "__poll_chk")
2432103:
2432103:
2432103: __attribute__((__warning__ ("poll called with fds buffer too small file nfds entries")));
2432103:
2432103: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) __attribute__ ((__access__ (__write_only__, 1, 2))) int
2432103: poll (struct pollfd *__fds, nfds_t __nfds, int __timeout)
2432103: {
2432103: return (((__builtin_constant_p (__builtin_object_size (__fds, 2 > 1)) && (__builtin_object_size (__fds, 2 > 1)) == (unsigned int) -1) || (((__typeof (__nfds)) 0 < (__typeof (__nfds)) -1 || (__builtin_constant_p (__nfds) && (__nfds) > 0)) && __builtin_constant_p ((((unsigned int) (__nfds)) <= ((__builtin_object_size (__fds, 2 > 1))) / ((sizeof (*__fds))))) && (((unsigned int) (__nfds)) <= ((__builtin_object_size (__fds, 2 > 1))) / ((sizeof (*__fds)))))) ? __poll_alias (__fds, __nfds, __timeout) : ((((__typeof (__nfds)) 0 < (__typeof (__nfds)) -1 || (__builtin_constant_p (__nfds) && (__nfds) > 0)) && __builtin_constant_p ((((unsigned int) (__nfds)) <= (__builtin_object_size (__fds, 2 > 1)) / (sizeof (*__fds)))) && !(((unsigned int) (__nfds)) <= (__builtin_object_size (__fds, 2 > 1)) / (sizeof (*__fds)))) ? __poll_chk_warn (__fds, __nfds, __timeout, __builtin_object_size (__fds, 2 > 1)) : __poll_chk (__fds, __nfds, __timeout, __builtin_object_size (__fds, 2 > 1))))
2432103:
2432103: ;
2432103: }
2432103:
2432103:
2432103:
2432103:
2432103: extern int __ppoll64_alias (struct pollfd *__fds, nfds_t __nfds, const struct timespec *__timeout, const __sigset_t *__ss) __asm__ ("" "__ppoll64")
2432103:
2432103: ;
2432103: extern int __ppoll64_chk (struct pollfd *__fds, nfds_t __nfds,
2432103: const struct timespec *__timeout,
2432103: const __sigset_t *__ss, unsigned int __fdslen)
2432103: __attribute__ ((__access__ (__write_only__, 1, 2)));
2432103: extern int __ppoll64_chk_warn (struct pollfd *__fds, nfds_t __n, const struct timespec *__timeout, const __sigset_t *__ss, unsigned int __fdslen) __asm__ ("" "__ppoll64_chk")
2432103:
2432103:
2432103:
2432103:
2432103: __attribute__((__warning__ ("ppoll called with fds buffer too small file nfds entries")));
2432103:
2432103: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) __attribute__ ((__access__ (__write_only__, 1, 2))) int
2432103: ppoll (struct pollfd *__fds, nfds_t __nfds, const struct timespec *__timeout,
2432103: const __sigset_t *__ss)
2432103: {
2432103: return (((__builtin_constant_p (__builtin_object_size (__fds, 2 > 1)) && (__builtin_object_size (__fds, 2 > 1)) == (unsigned int) -1) || (((__typeof (__nfds)) 0 < (__typeof (__nfds)) -1 || (__builtin_constant_p (__nfds) && (__nfds) > 0)) && __builtin_constant_p ((((unsigned int) (__nfds)) <= ((__builtin_object_size (__fds, 2 > 1))) / ((sizeof (*__fds))))) && (((unsigned int) (__nfds)) <= ((__builtin_object_size (__fds, 2 > 1))) / ((sizeof (*__fds)))))) ? __ppoll64_alias (__fds, __nfds, __timeout, __ss) : ((((__typeof (__nfds)) 0 < (__typeof (__nfds)) -1 || (__builtin_constant_p (__nfds) && (__nfds) > 0)) && __builtin_constant_p ((((unsigned int) (__nfds)) <= (__builtin_object_size (__fds, 2 > 1)) / (sizeof (*__fds)))) && !(((unsigned int) (__nfds)) <= (__builtin_object_size (__fds, 2 > 1)) / (sizeof (*__fds)))) ? __ppoll64_chk_warn (__fds, __nfds, __timeout, __ss, __builtin_object_size (__fds, 2 > 1)) : __ppoll64_chk (__fds, __nfds, __timeout, __ss, __builtin_object_size (__fds, 2 > 1))))
2432103:
2432103: ;
2432103: }
2432103: # 95 "/usr/include/m68k-linux-gnu/bits/poll2.h" 3 4
2432103:
2432103: # 88 "/usr/include/m68k-linux-gnu/sys/poll.h" 2 3 4
2432103: # 2 "/usr/include/poll.h" 2 3 4
2432103: # 36 "../../openbsd-compat/bsd-poll.h" 2
2432103: # 223 "../../openbsd-compat/openbsd-compat.h" 2
2432103:
2432103:
2432103:
2432103: # 225 "../../openbsd-compat/openbsd-compat.h"
2432103: int getpeereid(int , uid_t *, gid_t *);
2432103: # 270 "../../openbsd-compat/openbsd-compat.h"
2432103: long long strtonum(const char *, long long, long long, const char **);
2432103: # 324 "../../openbsd-compat/openbsd-compat.h"
2432103: char *user_from_uid(uid_t, int);
2432103:
2432103:
2432103:
2432103: char *group_from_gid(gid_t, int);
2432103:
2432103:
2432103:
2432103: int timingsafe_bcmp(const void *, const void *, size_t);
2432103:
2432103:
2432103:
2432103: int bcrypt_pbkdf(const char *, size_t, const uint8_t *, size_t,
2432103: uint8_t *, size_t, unsigned int);
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: void freezero(void *, size_t);
2432103: # 357 "../../openbsd-compat/openbsd-compat.h"
2432103: char *xcrypt(const char *password, const char *salt);
2432103: char *shadow_pw(struct passwd *pw);
2432103:
2432103:
2432103: # 1 "../../openbsd-compat/fake-rfc2553.h" 1
2432103: # 362 "../../openbsd-compat/openbsd-compat.h" 2
2432103:
2432103:
2432103: # 1 "../../openbsd-compat/bsd-cygwin_util.h" 1
2432103: # 365 "../../openbsd-compat/openbsd-compat.h" 2
2432103:
2432103: # 1 "../../openbsd-compat/port-aix.h" 1
2432103: # 367 "../../openbsd-compat/openbsd-compat.h" 2
2432103: # 1 "../../openbsd-compat/port-irix.h" 1
2432103: # 368 "../../openbsd-compat/openbsd-compat.h" 2
2432103: # 1 "../../openbsd-compat/port-linux.h" 1
2432103: # 21 "../../openbsd-compat/port-linux.h"
2432103: int ssh_selinux_enabled(void);
2432103: void ssh_selinux_setup_pty(char *, const char *, const char *);
2432103: void ssh_selinux_setup_exec_context(char *, const char *);
2432103: void ssh_selinux_change_context(const char *);
2432103: void ssh_selinux_setfscreatecon(const char *);
2432103:
2432103:
2432103:
2432103: void oom_adjust_restore(void);
2432103: void oom_adjust_setup(void);
2432103: # 369 "../../openbsd-compat/openbsd-compat.h" 2
2432103: # 1 "../../openbsd-compat/port-solaris.h" 1
2432103: # 23 "../../openbsd-compat/port-solaris.h"
2432103: void solaris_contract_pre_fork(void);
2432103: void solaris_contract_post_fork_child(void);
2432103: void solaris_contract_post_fork_parent(pid_t pid);
2432103: void solaris_set_default_project(struct passwd *);
2432103: # 370 "../../openbsd-compat/openbsd-compat.h" 2
2432103: # 1 "../../openbsd-compat/port-net.h" 1
2432103: # 20 "../../openbsd-compat/port-net.h"
2432103: struct Channel;
2432103: struct ssh;
2432103:
2432103:
2432103:
2432103: int sys_tun_open(int, int, char **);
2432103:
2432103:
2432103:
2432103:
2432103: int sys_tun_infilter(struct ssh *, struct Channel *, char *, int);
2432103: u_char *sys_tun_outfilter(struct ssh *, struct Channel *, u_char **, size_t *);
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: char *sys_get_rdomain(int fd);
2432103: int sys_set_rdomain(int fd, const char *name);
2432103: int sys_valid_rdomain(const char *name);
2432103: # 371 "../../openbsd-compat/openbsd-compat.h" 2
2432103: # 1 "../../openbsd-compat/port-uw.h" 1
2432103: # 372 "../../openbsd-compat/openbsd-compat.h" 2
2432103: # 383 "../../openbsd-compat/openbsd-compat.h"
2432103: void kludge_FD_SET(int, fd_set *);
2432103: int kludge_FD_ISSET(int, fd_set *);
2432103: # 174 "../../includes.h" 2
2432103: # 1 "../../openbsd-compat/bsd-nextstep.h" 1
2432103: # 175 "../../includes.h" 2
2432103:
2432103: # 1 "../../entropy.h" 1
2432103: # 28 "../../entropy.h"
2432103: struct sshbuf;
2432103:
2432103: void seed_rng(void);
2432103: void rexec_send_rng_seed(struct sshbuf *);
2432103: void rexec_recv_rng_seed(struct sshbuf *);
2432103: # 177 "../../includes.h" 2
2432103: # 41 "../../packet.c" 2
2432103:
2432103:
2432103: # 1 "../../openbsd-compat/sys-queue.h" 1
2432103: # 44 "../../packet.c" 2
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: # 1 "/usr/include/arpa/inet.h" 1 3 4
2432103: # 30 "/usr/include/arpa/inet.h" 3 4
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: # 34 "/usr/include/arpa/inet.h" 3 4
2432103: extern in_addr_t inet_addr (const char *__cp) __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103:
2432103: extern in_addr_t inet_lnaof (struct in_addr __in) __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103:
2432103:
2432103: extern struct in_addr inet_makeaddr (in_addr_t __net, in_addr_t __host)
2432103: __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103:
2432103: extern in_addr_t inet_netof (struct in_addr __in) __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103:
2432103:
2432103: extern in_addr_t inet_network (const char *__cp) __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103:
2432103:
2432103: extern char *inet_ntoa (struct in_addr __in) __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103:
2432103:
2432103:
2432103: extern int inet_pton (int __af, const char *__restrict __cp,
2432103: void *__restrict __buf) __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103:
2432103:
2432103:
2432103: extern const char *inet_ntop (int __af, const void *__restrict __cp,
2432103: char *__restrict __buf, socklen_t __len)
2432103: __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern int inet_aton (const char *__cp, struct in_addr *__inp) __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103:
2432103:
2432103: extern char *inet_neta (in_addr_t __net, char *__buf, size_t __len) __attribute__ ((__nothrow__ , __leaf__))
2432103: __attribute__ ((__deprecated__ ("Use inet_ntop instead")));
2432103:
2432103:
2432103:
2432103:
2432103: extern char *inet_net_ntop (int __af, const void *__cp, int __bits,
2432103: char *__buf, size_t __len) __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103:
2432103:
2432103:
2432103: extern int inet_net_pton (int __af, const char *__cp,
2432103: void *__buf, size_t __len) __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103:
2432103:
2432103:
2432103: extern unsigned int inet_nsap_addr (const char *__cp,
2432103: unsigned char *__buf, int __len) __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103:
2432103:
2432103: extern char *inet_nsap_ntoa (int __len, const unsigned char *__cp,
2432103: char *__buf) __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103:
2432103:
2432103: # 52 "../../packet.c" 2
2432103:
2432103:
2432103:
2432103: # 1 "/usr/lib/gcc/m68k-linux-gnu/13/include/stdarg.h" 1 3 4
2432103: # 56 "../../packet.c" 2
2432103:
2432103: # 1 "/usr/include/stdlib.h" 1 3 4
2432103: # 26 "/usr/include/stdlib.h" 3 4
2432103: # 1 "/usr/include/m68k-linux-gnu/bits/libc-header-start.h" 1 3 4
2432103: # 27 "/usr/include/stdlib.h" 2 3 4
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: # 1 "/usr/lib/gcc/m68k-linux-gnu/13/include/stddef.h" 1 3 4
2432103: # 33 "/usr/include/stdlib.h" 2 3 4
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: # 1 "/usr/include/m68k-linux-gnu/bits/waitflags.h" 1 3 4
2432103: # 41 "/usr/include/stdlib.h" 2 3 4
2432103: # 1 "/usr/include/m68k-linux-gnu/bits/waitstatus.h" 1 3 4
2432103: # 42 "/usr/include/stdlib.h" 2 3 4
2432103: # 56 "/usr/include/stdlib.h" 3 4
2432103: # 1 "/usr/include/m68k-linux-gnu/bits/floatn.h" 1 3 4
2432103: # 57 "/usr/include/stdlib.h" 2 3 4
2432103:
2432103:
2432103: typedef struct
2432103: {
2432103: int quot;
2432103: int rem;
2432103: } div_t;
2432103:
2432103:
2432103:
2432103: typedef struct
2432103: {
2432103: long int quot;
2432103: long int rem;
2432103: } ldiv_t;
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: __extension__ typedef struct
2432103: {
2432103: long long int quot;
2432103: long long int rem;
2432103: } lldiv_t;
2432103: # 98 "/usr/include/stdlib.h" 3 4
2432103: extern size_t __ctype_get_mb_cur_max (void) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__));
2432103:
2432103:
2432103:
2432103: extern double atof (const char *__nptr)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
2432103:
2432103: extern int atoi (const char *__nptr)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
2432103:
2432103: extern long int atol (const char *__nptr)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
2432103:
2432103:
2432103:
2432103: __extension__ extern long long int atoll (const char *__nptr)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
2432103:
2432103:
2432103:
2432103: extern double strtod (const char *__restrict __nptr,
2432103: char **__restrict __endptr)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
2432103:
2432103:
2432103:
2432103: extern float strtof (const char *__restrict __nptr,
2432103: char **__restrict __endptr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
2432103:
2432103: extern long double strtold (const char *__restrict __nptr,
2432103: char **__restrict __endptr)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
2432103: # 141 "/usr/include/stdlib.h" 3 4
2432103: extern _Float32 strtof32 (const char *__restrict __nptr,
2432103: char **__restrict __endptr)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
2432103:
2432103:
2432103:
2432103: extern _Float64 strtof64 (const char *__restrict __nptr,
2432103: char **__restrict __endptr)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
2432103: # 159 "/usr/include/stdlib.h" 3 4
2432103: extern _Float32x strtof32x (const char *__restrict __nptr,
2432103: char **__restrict __endptr)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
2432103: # 177 "/usr/include/stdlib.h" 3 4
2432103: extern long int strtol (const char *__restrict __nptr,
2432103: char **__restrict __endptr, int __base)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
2432103:
2432103: extern unsigned long int strtoul (const char *__restrict __nptr,
2432103: char **__restrict __endptr, int __base)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
2432103:
2432103:
2432103:
2432103: __extension__
2432103: extern long long int strtoq (const char *__restrict __nptr,
2432103: char **__restrict __endptr, int __base)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
2432103:
2432103: __extension__
2432103: extern unsigned long long int strtouq (const char *__restrict __nptr,
2432103: char **__restrict __endptr, int __base)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
2432103:
2432103:
2432103:
2432103:
2432103: __extension__
2432103: extern long long int strtoll (const char *__restrict __nptr,
2432103: char **__restrict __endptr, int __base)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
2432103:
2432103: __extension__
2432103: extern unsigned long long int strtoull (const char *__restrict __nptr,
2432103: char **__restrict __endptr, int __base)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
2432103:
2432103:
2432103:
2432103:
2432103: extern int strfromd (char *__dest, size_t __size, const char *__format,
2432103: double __f)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3)));
2432103:
2432103: extern int strfromf (char *__dest, size_t __size, const char *__format,
2432103: float __f)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3)));
2432103:
2432103: extern int strfroml (char *__dest, size_t __size, const char *__format,
2432103: long double __f)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3)));
2432103: # 233 "/usr/include/stdlib.h" 3 4
2432103: extern int strfromf32 (char *__dest, size_t __size, const char * __format,
2432103: _Float32 __f)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3)));
2432103:
2432103:
2432103:
2432103: extern int strfromf64 (char *__dest, size_t __size, const char * __format,
2432103: _Float64 __f)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3)));
2432103: # 251 "/usr/include/stdlib.h" 3 4
2432103: extern int strfromf32x (char *__dest, size_t __size, const char * __format,
2432103: _Float32x __f)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3)));
2432103: # 275 "/usr/include/stdlib.h" 3 4
2432103: extern long int strtol_l (const char *__restrict __nptr,
2432103: char **__restrict __endptr, int __base,
2432103: locale_t __loc) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 4)));
2432103:
2432103: extern unsigned long int strtoul_l (const char *__restrict __nptr,
2432103: char **__restrict __endptr,
2432103: int __base, locale_t __loc)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 4)));
2432103:
2432103: __extension__
2432103: extern long long int strtoll_l (const char *__restrict __nptr,
2432103: char **__restrict __endptr, int __base,
2432103: locale_t __loc)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 4)));
2432103:
2432103: __extension__
2432103: extern unsigned long long int strtoull_l (const char *__restrict __nptr,
2432103: char **__restrict __endptr,
2432103: int __base, locale_t __loc)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 4)));
2432103:
2432103: extern double strtod_l (const char *__restrict __nptr,
2432103: char **__restrict __endptr, locale_t __loc)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 3)));
2432103:
2432103: extern float strtof_l (const char *__restrict __nptr,
2432103: char **__restrict __endptr, locale_t __loc)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 3)));
2432103:
2432103: extern long double strtold_l (const char *__restrict __nptr,
2432103: char **__restrict __endptr,
2432103: locale_t __loc)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 3)));
2432103: # 317 "/usr/include/stdlib.h" 3 4
2432103: extern _Float32 strtof32_l (const char *__restrict __nptr,
2432103: char **__restrict __endptr,
2432103: locale_t __loc)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 3)));
2432103:
2432103:
2432103:
2432103: extern _Float64 strtof64_l (const char *__restrict __nptr,
2432103: char **__restrict __endptr,
2432103: locale_t __loc)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 3)));
2432103: # 338 "/usr/include/stdlib.h" 3 4
2432103: extern _Float32x strtof32x_l (const char *__restrict __nptr,
2432103: char **__restrict __endptr,
2432103: locale_t __loc)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 3)));
2432103: # 361 "/usr/include/stdlib.h" 3 4
2432103: extern __inline __attribute__ ((__gnu_inline__)) int
2432103: __attribute__ ((__nothrow__ , __leaf__)) atoi (const char *__nptr)
2432103: {
2432103: return (int) strtol (__nptr, (char **) ((void *)0), 10);
2432103: }
2432103: extern __inline __attribute__ ((__gnu_inline__)) long int
2432103: __attribute__ ((__nothrow__ , __leaf__)) atol (const char *__nptr)
2432103: {
2432103: return strtol (__nptr, (char **) ((void *)0), 10);
2432103: }
2432103:
2432103:
2432103: __extension__ extern __inline __attribute__ ((__gnu_inline__)) long long int
2432103: __attribute__ ((__nothrow__ , __leaf__)) atoll (const char *__nptr)
2432103: {
2432103: return strtoll (__nptr, (char **) ((void *)0), 10);
2432103: }
2432103: # 386 "/usr/include/stdlib.h" 3 4
2432103: extern char *l64a (long int __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__));
2432103:
2432103:
2432103: extern long int a64l (const char *__s)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
2432103: # 402 "/usr/include/stdlib.h" 3 4
2432103: extern long int random (void) __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103:
2432103: extern void srandom (unsigned int __seed) __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern char *initstate (unsigned int __seed, char *__statebuf,
2432103: size_t __statelen) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2)));
2432103:
2432103:
2432103:
2432103: extern char *setstate (char *__statebuf) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: struct random_data
2432103: {
2432103: int32_t *fptr;
2432103: int32_t *rptr;
2432103: int32_t *state;
2432103: int rand_type;
2432103: int rand_deg;
2432103: int rand_sep;
2432103: int32_t *end_ptr;
2432103: };
2432103:
2432103: extern int random_r (struct random_data *__restrict __buf,
2432103: int32_t *__restrict __result) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2)));
2432103:
2432103: extern int srandom_r (unsigned int __seed, struct random_data *__buf)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2)));
2432103:
2432103: extern int initstate_r (unsigned int __seed, char *__restrict __statebuf,
2432103: size_t __statelen,
2432103: struct random_data *__restrict __buf)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2, 4)));
2432103:
2432103: extern int setstate_r (char *__restrict __statebuf,
2432103: struct random_data *__restrict __buf)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2)));
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern int rand (void) __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103: extern void srand (unsigned int __seed) __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103:
2432103:
2432103: extern int rand_r (unsigned int *__seed) __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern double drand48 (void) __attribute__ ((__nothrow__ , __leaf__));
2432103: extern double erand48 (unsigned short int __xsubi[3]) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
2432103:
2432103:
2432103: extern long int lrand48 (void) __attribute__ ((__nothrow__ , __leaf__));
2432103: extern long int nrand48 (unsigned short int __xsubi[3])
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
2432103:
2432103:
2432103: extern long int mrand48 (void) __attribute__ ((__nothrow__ , __leaf__));
2432103: extern long int jrand48 (unsigned short int __xsubi[3])
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
2432103:
2432103:
2432103: extern void srand48 (long int __seedval) __attribute__ ((__nothrow__ , __leaf__));
2432103: extern unsigned short int *seed48 (unsigned short int __seed16v[3])
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
2432103: extern void lcong48 (unsigned short int __param[7]) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: struct drand48_data
2432103: {
2432103: unsigned short int __x[3];
2432103: unsigned short int __old_x[3];
2432103: unsigned short int __c;
2432103: unsigned short int __init;
2432103: __extension__ unsigned long long int __a;
2432103:
2432103: };
2432103:
2432103:
2432103: extern int drand48_r (struct drand48_data *__restrict __buffer,
2432103: double *__restrict __result) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2)));
2432103: extern int erand48_r (unsigned short int __xsubi[3],
2432103: struct drand48_data *__restrict __buffer,
2432103: double *__restrict __result) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2)));
2432103:
2432103:
2432103: extern int lrand48_r (struct drand48_data *__restrict __buffer,
2432103: long int *__restrict __result)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2)));
2432103: extern int nrand48_r (unsigned short int __xsubi[3],
2432103: struct drand48_data *__restrict __buffer,
2432103: long int *__restrict __result)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2)));
2432103:
2432103:
2432103: extern int mrand48_r (struct drand48_data *__restrict __buffer,
2432103: long int *__restrict __result)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2)));
2432103: extern int jrand48_r (unsigned short int __xsubi[3],
2432103: struct drand48_data *__restrict __buffer,
2432103: long int *__restrict __result)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2)));
2432103:
2432103:
2432103: extern int srand48_r (long int __seedval, struct drand48_data *__buffer)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2)));
2432103:
2432103: extern int seed48_r (unsigned short int __seed16v[3],
2432103: struct drand48_data *__buffer) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2)));
2432103:
2432103: extern int lcong48_r (unsigned short int __param[7],
2432103: struct drand48_data *__buffer)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2)));
2432103:
2432103:
2432103: extern __uint32_t arc4random (void)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__));
2432103:
2432103:
2432103: extern void arc4random_buf (void *__buf, size_t __size)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
2432103:
2432103:
2432103:
2432103: extern __uint32_t arc4random_uniform (__uint32_t __upper_bound)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__));
2432103:
2432103:
2432103:
2432103:
2432103: extern void *malloc (size_t __size) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__malloc__))
2432103: __attribute__ ((__alloc_size__ (1))) __attribute__ ((__warn_unused_result__));
2432103:
2432103: extern void *calloc (size_t __nmemb, size_t __size)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__malloc__)) __attribute__ ((__alloc_size__ (1, 2))) __attribute__ ((__warn_unused_result__));
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern void *realloc (void *__ptr, size_t __size)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__)) __attribute__ ((__alloc_size__ (2)));
2432103:
2432103:
2432103: extern void free (void *__ptr) __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern void *reallocarray (void *__ptr, size_t __nmemb, size_t __size)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__))
2432103: __attribute__ ((__alloc_size__ (2, 3)))
2432103: __attribute__ ((__malloc__ (__builtin_free, 1)));
2432103:
2432103:
2432103: extern void *reallocarray (void *__ptr, size_t __nmemb, size_t __size)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__malloc__ (reallocarray, 1)));
2432103:
2432103:
2432103:
2432103: # 1 "/usr/include/alloca.h" 1 3 4
2432103: # 24 "/usr/include/alloca.h" 3 4
2432103: # 1 "/usr/lib/gcc/m68k-linux-gnu/13/include/stddef.h" 1 3 4
2432103: # 25 "/usr/include/alloca.h" 2 3 4
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern void *alloca (size_t __size) __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: # 588 "/usr/include/stdlib.h" 2 3 4
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern void *valloc (size_t __size) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__malloc__))
2432103: __attribute__ ((__alloc_size__ (1))) __attribute__ ((__warn_unused_result__));
2432103:
2432103:
2432103:
2432103:
2432103: extern int posix_memalign (void **__memptr, size_t __alignment, size_t __size)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
2432103:
2432103:
2432103:
2432103:
2432103: extern void *aligned_alloc (size_t __alignment, size_t __size)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__malloc__)) __attribute__ ((__alloc_align__ (1)))
2432103: __attribute__ ((__alloc_size__ (2))) __attribute__ ((__warn_unused_result__));
2432103:
2432103:
2432103:
2432103: extern void abort (void) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__noreturn__));
2432103:
2432103:
2432103:
2432103: extern int atexit (void (*__func) (void)) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern int at_quick_exit (void (*__func) (void)) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern int on_exit (void (*__func) (int __status, void *__arg), void *__arg)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern void exit (int __status) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__noreturn__));
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern void quick_exit (int __status) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__noreturn__));
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern void _Exit (int __status) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__noreturn__));
2432103:
2432103:
2432103:
2432103:
2432103: extern char *getenv (const char *__name) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
2432103:
2432103:
2432103:
2432103:
2432103: extern char *secure_getenv (const char *__name)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern int putenv (char *__string) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern int setenv (const char *__name, const char *__value, int __replace)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2)));
2432103:
2432103:
2432103: extern int unsetenv (const char *__name) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern int clearenv (void) __attribute__ ((__nothrow__ , __leaf__));
2432103: # 695 "/usr/include/stdlib.h" 3 4
2432103: extern char *mktemp (char *__template) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
2432103: # 711 "/usr/include/stdlib.h" 3 4
2432103: extern int
2432103: # 711 "/usr/include/stdlib.h"
2432103: _ssh_mkstemp(
2432103: # 711 "/usr/include/stdlib.h" 3 4
2432103: char *__template
2432103: # 711 "/usr/include/stdlib.h"
2432103: )
2432103: # 711 "/usr/include/stdlib.h" 3 4
2432103: __asm__ ("" "mkstemp64")
2432103: __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern int mkstemp64 (char *__template) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
2432103: # 733 "/usr/include/stdlib.h" 3 4
2432103: extern int mkstemps (char *__template, int __suffixlen) __asm__ ("" "mkstemps64")
2432103: __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern int mkstemps64 (char *__template, int __suffixlen)
2432103: __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
2432103: # 751 "/usr/include/stdlib.h" 3 4
2432103: extern char *mkdtemp (char *__template) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
2432103: # 765 "/usr/include/stdlib.h" 3 4
2432103: extern int mkostemp (char *__template, int __flags) __asm__ ("" "mkostemp64")
2432103: __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern int mkostemp64 (char *__template, int __flags) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
2432103: # 786 "/usr/include/stdlib.h" 3 4
2432103: extern int mkostemps (char *__template, int __suffixlen, int __flags) __asm__ ("" "mkostemps64")
2432103:
2432103: __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern int mkostemps64 (char *__template, int __suffixlen, int __flags)
2432103: __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
2432103: # 804 "/usr/include/stdlib.h" 3 4
2432103: extern int system (const char *__command) __attribute__ ((__warn_unused_result__));
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern char *canonicalize_file_name (const char *__name)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__malloc__))
2432103: __attribute__ ((__malloc__ (__builtin_free, 1))) __attribute__ ((__warn_unused_result__));
2432103: # 821 "/usr/include/stdlib.h" 3 4
2432103: extern char *realpath (const char *__restrict __name,
2432103: char *__restrict __resolved) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__));
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: typedef int (*__compar_fn_t) (const void *, const void *);
2432103:
2432103:
2432103: typedef __compar_fn_t comparison_fn_t;
2432103:
2432103:
2432103:
2432103: typedef int (*__compar_d_fn_t) (const void *, const void *, void *);
2432103:
2432103:
2432103:
2432103:
2432103: extern void *bsearch (const void *__key, const void *__base,
2432103: size_t __nmemb, size_t __size, __compar_fn_t __compar)
2432103: __attribute__ ((__nonnull__ (1, 2, 5))) __attribute__ ((__warn_unused_result__));
2432103:
2432103:
2432103: # 1 "/usr/include/m68k-linux-gnu/bits/stdlib-bsearch.h" 1 3 4
2432103: # 19 "/usr/include/m68k-linux-gnu/bits/stdlib-bsearch.h" 3 4
2432103: extern __inline __attribute__ ((__gnu_inline__)) void *
2432103: bsearch (const void *__key, const void *__base, size_t __nmemb, size_t __size,
2432103: __compar_fn_t __compar)
2432103: {
2432103: size_t __l, __u, __idx;
2432103: const void *__p;
2432103: int __comparison;
2432103:
2432103: __l = 0;
2432103: __u = __nmemb;
2432103: while (__l < __u)
2432103: {
2432103: __idx = (__l + __u) / 2;
2432103: __p = (const void *) (((const char *) __base) + (__idx * __size));
2432103: __comparison = (*__compar) (__key, __p);
2432103: if (__comparison < 0)
2432103: __u = __idx;
2432103: else if (__comparison > 0)
2432103: __l = __idx + 1;
2432103: else
2432103: {
2432103:
2432103: #pragma GCC diagnostic push
2432103: #pragma GCC diagnostic ignored "-Wcast-qual"
2432103:
2432103: return (void *) __p;
2432103:
2432103: #pragma GCC diagnostic pop
2432103:
2432103: }
2432103: }
2432103:
2432103: return ((void *)0);
2432103: }
2432103: # 847 "/usr/include/stdlib.h" 2 3 4
2432103:
2432103:
2432103:
2432103:
2432103: extern void qsort (void *__base, size_t __nmemb, size_t __size,
2432103: __compar_fn_t __compar) __attribute__ ((__nonnull__ (1, 4)));
2432103:
2432103: extern void qsort_r (void *__base, size_t __nmemb, size_t __size,
2432103: __compar_d_fn_t __compar, void *__arg)
2432103: __attribute__ ((__nonnull__ (1, 4)));
2432103:
2432103:
2432103:
2432103:
2432103: extern int abs (int __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)) __attribute__ ((__warn_unused_result__));
2432103: extern long int labs (long int __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)) __attribute__ ((__warn_unused_result__));
2432103:
2432103:
2432103: __extension__ extern long long int llabs (long long int __x)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)) __attribute__ ((__warn_unused_result__));
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern div_t div (int __numer, int __denom)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)) __attribute__ ((__warn_unused_result__));
2432103: extern ldiv_t ldiv (long int __numer, long int __denom)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)) __attribute__ ((__warn_unused_result__));
2432103:
2432103:
2432103: __extension__ extern lldiv_t lldiv (long long int __numer,
2432103: long long int __denom)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)) __attribute__ ((__warn_unused_result__));
2432103: # 893 "/usr/include/stdlib.h" 3 4
2432103: extern char *ecvt (double __value, int __ndigit, int *__restrict __decpt,
2432103: int *__restrict __sign) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3, 4))) __attribute__ ((__warn_unused_result__));
2432103:
2432103:
2432103:
2432103:
2432103: extern char *fcvt (double __value, int __ndigit, int *__restrict __decpt,
2432103: int *__restrict __sign) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3, 4))) __attribute__ ((__warn_unused_result__));
2432103:
2432103:
2432103:
2432103:
2432103: extern char *gcvt (double __value, int __ndigit, char *__buf)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3))) __attribute__ ((__warn_unused_result__));
2432103:
2432103:
2432103:
2432103:
2432103: extern char *qecvt (long double __value, int __ndigit,
2432103: int *__restrict __decpt, int *__restrict __sign)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3, 4))) __attribute__ ((__warn_unused_result__));
2432103: extern char *qfcvt (long double __value, int __ndigit,
2432103: int *__restrict __decpt, int *__restrict __sign)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3, 4))) __attribute__ ((__warn_unused_result__));
2432103: extern char *qgcvt (long double __value, int __ndigit, char *__buf)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3))) __attribute__ ((__warn_unused_result__));
2432103:
2432103:
2432103:
2432103:
2432103: extern int ecvt_r (double __value, int __ndigit, int *__restrict __decpt,
2432103: int *__restrict __sign, char *__restrict __buf,
2432103: size_t __len) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3, 4, 5)));
2432103: extern int fcvt_r (double __value, int __ndigit, int *__restrict __decpt,
2432103: int *__restrict __sign, char *__restrict __buf,
2432103: size_t __len) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3, 4, 5)));
2432103:
2432103: extern int qecvt_r (long double __value, int __ndigit,
2432103: int *__restrict __decpt, int *__restrict __sign,
2432103: char *__restrict __buf, size_t __len)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3, 4, 5)));
2432103: extern int qfcvt_r (long double __value, int __ndigit,
2432103: int *__restrict __decpt, int *__restrict __sign,
2432103: char *__restrict __buf, size_t __len)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3, 4, 5)));
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern int mblen (const char *__s, size_t __n) __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103:
2432103: extern int mbtowc (wchar_t *__restrict __pwc,
2432103: const char *__restrict __s, size_t __n) __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103:
2432103: extern int wctomb (char *__s, wchar_t __wchar) __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103:
2432103:
2432103: extern size_t mbstowcs (wchar_t *__restrict __pwcs,
2432103: const char *__restrict __s, size_t __n) __attribute__ ((__nothrow__ , __leaf__))
2432103: __attribute__ ((__access__ (__read_only__, 2)));
2432103:
2432103: extern size_t wcstombs (char *__restrict __s,
2432103: const wchar_t *__restrict __pwcs, size_t __n)
2432103: __attribute__ ((__nothrow__ , __leaf__))
2432103: __attribute__ ((__access__ (__write_only__, 1, 3)))
2432103: __attribute__ ((__access__ (__read_only__, 2)));
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern int rpmatch (const char *__response) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
2432103: # 980 "/usr/include/stdlib.h" 3 4
2432103: extern int getsubopt (char **__restrict __optionp,
2432103: char *const *__restrict __tokens,
2432103: char **__restrict __valuep)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2, 3))) __attribute__ ((__warn_unused_result__));
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern int posix_openpt (int __oflag) __attribute__ ((__warn_unused_result__));
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern int grantpt (int __fd) __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103:
2432103:
2432103: extern int unlockpt (int __fd) __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103:
2432103:
2432103:
2432103: extern char *ptsname (int __fd) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__));
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern int ptsname_r (int __fd, char *__buf, size_t __buflen)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))) __attribute__ ((__access__ (__write_only__, 2, 3)));
2432103:
2432103:
2432103: extern int getpt (void);
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern int getloadavg (double __loadavg[], int __nelem)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
2432103: # 1036 "/usr/include/stdlib.h" 3 4
2432103: # 1 "/usr/include/m68k-linux-gnu/bits/stdlib-float.h" 1 3 4
2432103: # 24 "/usr/include/m68k-linux-gnu/bits/stdlib-float.h" 3 4
2432103: extern __inline __attribute__ ((__gnu_inline__)) double
2432103: __attribute__ ((__nothrow__ , __leaf__)) atof (const char *__nptr)
2432103: {
2432103: return strtod (__nptr, (char **) ((void *)0));
2432103: }
2432103: # 1037 "/usr/include/stdlib.h" 2 3 4
2432103:
2432103:
2432103:
2432103: # 1 "/usr/include/m68k-linux-gnu/bits/stdlib.h" 1 3 4
2432103: # 23 "/usr/include/m68k-linux-gnu/bits/stdlib.h" 3 4
2432103: extern char *__realpath_chk (const char *__restrict __name,
2432103: char *__restrict __resolved,
2432103: size_t __resolvedlen) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__));
2432103: extern char *__realpath_alias (const char *__restrict __name, char *__restrict __resolved) __asm__ ("" "realpath") __attribute__ ((__nothrow__ , __leaf__))
2432103:
2432103: __attribute__ ((__warn_unused_result__));
2432103: extern char *__realpath_chk_warn (const char *__restrict __name, char *__restrict __resolved, size_t __resolvedlen) __asm__ ("" "__realpath_chk") __attribute__ ((__nothrow__ , __leaf__))
2432103:
2432103:
2432103: __attribute__ ((__warn_unused_result__))
2432103: __attribute__((__warning__ ("second argument of realpath must be either NULL or at " "least PATH_MAX bytes long buffer")))
2432103: ;
2432103:
2432103: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) __attribute__ ((__warn_unused_result__)) char *
2432103: __attribute__ ((__nothrow__ , __leaf__)) realpath (const char *__restrict __name, char *__restrict __resolved)
2432103: {
2432103: size_t sz = __builtin_object_size (__resolved, 2 > 1);
2432103:
2432103: if (sz == (size_t) -1)
2432103: return __realpath_alias (__name, __resolved);
2432103:
2432103:
2432103: if ((((__typeof (4096)) 0 < (__typeof (4096)) -1 || (__builtin_constant_p (4096) && (4096) > 0)) && __builtin_constant_p ((((unsigned int) (4096)) <= (sz) / (sizeof (char)))) && !(((unsigned int) (4096)) <= (sz) / (sizeof (char)))))
2432103: return __realpath_chk_warn (__name, __resolved, sz);
2432103:
2432103: return __realpath_chk (__name, __resolved, sz);
2432103: }
2432103:
2432103:
2432103: extern int __ptsname_r_chk (int __fd, char *__buf, size_t __buflen,
2432103: size_t __nreal) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2)))
2432103: __attribute__ ((__access__ (__write_only__, 2, 3)));
2432103: extern int __ptsname_r_alias (int __fd, char *__buf, size_t __buflen) __asm__ ("" "ptsname_r") __attribute__ ((__nothrow__ , __leaf__))
2432103:
2432103: __attribute__ ((__nonnull__ (2))) __attribute__ ((__access__ (__write_only__, 2, 3)));
2432103: extern int __ptsname_r_chk_warn (int __fd, char *__buf, size_t __buflen, size_t __nreal) __asm__ ("" "__ptsname_r_chk") __attribute__ ((__nothrow__ , __leaf__))
2432103:
2432103:
2432103: __attribute__ ((__nonnull__ (2))) __attribute__((__warning__ ("ptsname_r called with buflen bigger than " "size of buf")))
2432103: ;
2432103:
2432103: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) int
2432103: __attribute__ ((__nothrow__ , __leaf__)) ptsname_r (int __fd, char *__buf, size_t __buflen)
2432103: {
2432103: return (((__builtin_constant_p (__builtin_object_size (__buf, 2 > 1)) && (__builtin_object_size (__buf, 2 > 1)) == (unsigned int) -1) || (((__typeof (__buflen)) 0 < (__typeof (__buflen)) -1 || (__builtin_constant_p (__buflen) && (__buflen) > 0)) && __builtin_constant_p ((((unsigned int) (__buflen)) <= ((__builtin_object_size (__buf, 2 > 1))) / ((sizeof (char))))) && (((unsigned int) (__buflen)) <= ((__builtin_object_size (__buf, 2 > 1))) / ((sizeof (char)))))) ? __ptsname_r_alias (__fd, __buf, __buflen) : ((((__typeof (__buflen)) 0 < (__typeof (__buflen)) -1 || (__builtin_constant_p (__buflen) && (__buflen) > 0)) && __builtin_constant_p ((((unsigned int) (__buflen)) <= (__builtin_object_size (__buf, 2 > 1)) / (sizeof (char)))) && !(((unsigned int) (__buflen)) <= (__builtin_object_size (__buf, 2 > 1)) / (sizeof (char)))) ? __ptsname_r_chk_warn (__fd, __buf, __buflen, __builtin_object_size (__buf, 2 > 1)) : __ptsname_r_chk (__fd, __buf, __buflen, __builtin_object_size (__buf, 2 > 1))))
2432103:
2432103: ;
2432103: }
2432103:
2432103:
2432103: extern int __wctomb_chk (char *__s, wchar_t __wchar, size_t __buflen)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__));
2432103: extern int __wctomb_alias (char *__s, wchar_t __wchar) __asm__ ("" "wctomb") __attribute__ ((__nothrow__ , __leaf__))
2432103: __attribute__ ((__warn_unused_result__));
2432103:
2432103: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) __attribute__ ((__warn_unused_result__)) int
2432103: __attribute__ ((__nothrow__ , __leaf__)) wctomb (char *__s, wchar_t __wchar)
2432103: {
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: if (__builtin_object_size (__s, 2 > 1) != (size_t) -1
2432103: && 16 > __builtin_object_size (__s, 2 > 1))
2432103: return __wctomb_chk (__s, __wchar, __builtin_object_size (__s, 2 > 1));
2432103: return __wctomb_alias (__s, __wchar);
2432103: }
2432103:
2432103:
2432103: extern size_t __mbstowcs_chk (wchar_t *__restrict __dst,
2432103: const char *__restrict __src,
2432103: size_t __len, size_t __dstlen) __attribute__ ((__nothrow__ , __leaf__))
2432103: __attribute__ ((__access__ (__write_only__, 1, 3))) __attribute__ ((__access__ (__read_only__, 2)));
2432103: extern size_t __mbstowcs_nulldst (wchar_t *__restrict __dst, const char *__restrict __src, size_t __len) __asm__ ("" "mbstowcs") __attribute__ ((__nothrow__ , __leaf__))
2432103:
2432103:
2432103:
2432103: __attribute__ ((__access__ (__read_only__, 2)));
2432103: extern size_t __mbstowcs_alias (wchar_t *__restrict __dst, const char *__restrict __src, size_t __len) __asm__ ("" "mbstowcs") __attribute__ ((__nothrow__ , __leaf__))
2432103:
2432103:
2432103:
2432103: __attribute__ ((__access__ (__write_only__, 1, 3))) __attribute__ ((__access__ (__read_only__, 2)));
2432103: extern size_t __mbstowcs_chk_warn (wchar_t *__restrict __dst, const char *__restrict __src, size_t __len, size_t __dstlen) __asm__ ("" "__mbstowcs_chk") __attribute__ ((__nothrow__ , __leaf__))
2432103:
2432103:
2432103:
2432103: __attribute__((__warning__ ("mbstowcs called with dst buffer smaller than len " "* sizeof (wchar_t)")))
2432103: ;
2432103:
2432103: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) size_t
2432103: __attribute__ ((__nothrow__ , __leaf__)) mbstowcs (wchar_t *__restrict __dst, const char *__restrict __src, size_t __len)
2432103:
2432103: {
2432103: if (__builtin_constant_p (__dst == ((void *)0)) && __dst == ((void *)0))
2432103: return __mbstowcs_nulldst (__dst, __src, __len);
2432103: else
2432103: return (((__builtin_constant_p (__builtin_object_size (__dst, 2 > 1)) && (__builtin_object_size (__dst, 2 > 1)) == (unsigned int) -1) || (((__typeof (__len)) 0 < (__typeof (__len)) -1 || (__builtin_constant_p (__len) && (__len) > 0)) && __builtin_constant_p ((((unsigned int) (__len)) <= ((__builtin_object_size (__dst, 2 > 1))) / ((sizeof (wchar_t))))) && (((unsigned int) (__len)) <= ((__builtin_object_size (__dst, 2 > 1))) / ((sizeof (wchar_t)))))) ? __mbstowcs_alias (__dst, __src, __len) : ((((__typeof (__len)) 0 < (__typeof (__len)) -1 || (__builtin_constant_p (__len) && (__len) > 0)) && __builtin_constant_p ((((unsigned int) (__len)) <= (__builtin_object_size (__dst, 2 > 1)) / (sizeof (wchar_t)))) && !(((unsigned int) (__len)) <= (__builtin_object_size (__dst, 2 > 1)) / (sizeof (wchar_t)))) ? __mbstowcs_chk_warn (__dst, __src, __len, (__builtin_object_size (__dst, 2 > 1)) / (sizeof (wchar_t))) : __mbstowcs_chk (__dst, __src, __len, (__builtin_object_size (__dst, 2 > 1)) / (sizeof (wchar_t)))))
2432103: ;
2432103: }
2432103:
2432103: extern size_t __wcstombs_chk (char *__restrict __dst,
2432103: const wchar_t *__restrict __src,
2432103: size_t __len, size_t __dstlen) __attribute__ ((__nothrow__ , __leaf__))
2432103: __attribute__ ((__access__ (__write_only__, 1, 3))) __attribute__ ((__access__ (__read_only__, 2)));
2432103: extern size_t __wcstombs_alias (char *__restrict __dst, const wchar_t *__restrict __src, size_t __len) __asm__ ("" "wcstombs") __attribute__ ((__nothrow__ , __leaf__))
2432103:
2432103:
2432103:
2432103: __attribute__ ((__access__ (__write_only__, 1, 3))) __attribute__ ((__access__ (__read_only__, 2)));
2432103: extern size_t __wcstombs_chk_warn (char *__restrict __dst, const wchar_t *__restrict __src, size_t __len, size_t __dstlen) __asm__ ("" "__wcstombs_chk") __attribute__ ((__nothrow__ , __leaf__))
2432103:
2432103:
2432103:
2432103: __attribute__((__warning__ ("wcstombs called with dst buffer smaller than len")));
2432103:
2432103: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) size_t
2432103: __attribute__ ((__nothrow__ , __leaf__)) wcstombs (char *__restrict __dst, const wchar_t *__restrict __src, size_t __len)
2432103:
2432103: {
2432103: return (((__builtin_constant_p (__builtin_object_size (__dst, 2 > 1)) && (__builtin_object_size (__dst, 2 > 1)) == (unsigned int) -1) || (((__typeof (__len)) 0 < (__typeof (__len)) -1 || (__builtin_constant_p (__len) && (__len) > 0)) && __builtin_constant_p ((((unsigned int) (__len)) <= ((__builtin_object_size (__dst, 2 > 1))) / ((sizeof (char))))) && (((unsigned int) (__len)) <= ((__builtin_object_size (__dst, 2 > 1))) / ((sizeof (char)))))) ? __wcstombs_alias (__dst, __src, __len) : ((((__typeof (__len)) 0 < (__typeof (__len)) -1 || (__builtin_constant_p (__len) && (__len) > 0)) && __builtin_constant_p ((((unsigned int) (__len)) <= (__builtin_object_size (__dst, 2 > 1)) / (sizeof (char)))) && !(((unsigned int) (__len)) <= (__builtin_object_size (__dst, 2 > 1)) / (sizeof (char)))) ? __wcstombs_chk_warn (__dst, __src, __len, __builtin_object_size (__dst, 2 > 1)) : __wcstombs_chk (__dst, __src, __len, __builtin_object_size (__dst, 2 > 1))))
2432103:
2432103: ;
2432103: }
2432103: # 1041 "/usr/include/stdlib.h" 2 3 4
2432103:
2432103:
2432103: # 1 "/usr/include/m68k-linux-gnu/bits/floatn.h" 1 3 4
2432103: # 1044 "/usr/include/stdlib.h" 2 3 4
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: # 58 "../../packet.c" 2
2432103: # 1 "/usr/include/string.h" 1 3 4
2432103: # 26 "/usr/include/string.h" 3 4
2432103: # 1 "/usr/include/m68k-linux-gnu/bits/libc-header-start.h" 1 3 4
2432103: # 27 "/usr/include/string.h" 2 3 4
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: # 1 "/usr/lib/gcc/m68k-linux-gnu/13/include/stddef.h" 1 3 4
2432103: # 34 "/usr/include/string.h" 2 3 4
2432103: # 43 "/usr/include/string.h" 3 4
2432103: extern void *memcpy (void *__restrict __dest, const void *__restrict __src,
2432103: size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2)));
2432103:
2432103:
2432103: extern void *memmove (void *__dest, const void *__src, size_t __n)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2)));
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern void *memccpy (void *__restrict __dest, const void *__restrict __src,
2432103: int __c, size_t __n)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))) __attribute__ ((__access__ (__write_only__, 1, 4)));
2432103:
2432103:
2432103:
2432103:
2432103: extern void *memset (void *__s, int __c, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
2432103:
2432103:
2432103: extern int memcmp (const void *__s1, const void *__s2, size_t __n)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
2432103: # 80 "/usr/include/string.h" 3 4
2432103: extern int __memcmpeq (const void *__s1, const void *__s2, size_t __n)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
2432103: # 107 "/usr/include/string.h" 3 4
2432103: extern void *memchr (const void *__s, int __c, size_t __n)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
2432103: # 120 "/usr/include/string.h" 3 4
2432103: extern void *rawmemchr (const void *__s, int __c)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
2432103: # 133 "/usr/include/string.h" 3 4
2432103: extern void *memrchr (const void *__s, int __c, size_t __n)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)))
2432103: __attribute__ ((__access__ (__read_only__, 1, 3)));
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern char *strcpy (char *__restrict __dest, const char *__restrict __src)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2)));
2432103:
2432103: extern char *strncpy (char *__restrict __dest,
2432103: const char *__restrict __src, size_t __n)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2)));
2432103:
2432103:
2432103: extern char *strcat (char *__restrict __dest, const char *__restrict __src)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2)));
2432103:
2432103: extern char *strncat (char *__restrict __dest, const char *__restrict __src,
2432103: size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2)));
2432103:
2432103:
2432103: extern int strcmp (const char *__s1, const char *__s2)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
2432103:
2432103: extern int strncmp (const char *__s1, const char *__s2, size_t __n)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
2432103:
2432103:
2432103: extern int strcoll (const char *__s1, const char *__s2)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
2432103:
2432103: extern size_t strxfrm (char *__restrict __dest,
2432103: const char *__restrict __src, size_t __n)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))) __attribute__ ((__access__ (__write_only__, 1, 3)));
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern int strcoll_l (const char *__s1, const char *__s2, locale_t __l)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2, 3)));
2432103:
2432103:
2432103: extern size_t strxfrm_l (char *__dest, const char *__src, size_t __n,
2432103: locale_t __l) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2, 4)))
2432103: __attribute__ ((__access__ (__write_only__, 1, 3)));
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern char *strdup (const char *__s)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__malloc__)) __attribute__ ((__nonnull__ (1)));
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern char *strndup (const char *__string, size_t __n)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__malloc__)) __attribute__ ((__nonnull__ (1)));
2432103: # 246 "/usr/include/string.h" 3 4
2432103: extern char *strchr (const char *__s, int __c)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
2432103: # 273 "/usr/include/string.h" 3 4
2432103: extern char *strrchr (const char *__s, int __c)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
2432103: # 286 "/usr/include/string.h" 3 4
2432103: extern char *strchrnul (const char *__s, int __c)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern size_t strcspn (const char *__s, const char *__reject)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
2432103:
2432103:
2432103: extern size_t strspn (const char *__s, const char *__accept)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
2432103: # 323 "/usr/include/string.h" 3 4
2432103: extern char *strpbrk (const char *__s, const char *__accept)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
2432103: # 350 "/usr/include/string.h" 3 4
2432103: extern char *strstr (const char *__haystack, const char *__needle)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
2432103:
2432103:
2432103:
2432103:
2432103: extern char *strtok (char *__restrict __s, const char *__restrict __delim)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2)));
2432103:
2432103:
2432103:
2432103: extern char *__strtok_r (char *__restrict __s,
2432103: const char *__restrict __delim,
2432103: char **__restrict __save_ptr)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2, 3)));
2432103:
2432103: extern char *strtok_r (char *__restrict __s, const char *__restrict __delim,
2432103: char **__restrict __save_ptr)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2, 3)));
2432103: # 380 "/usr/include/string.h" 3 4
2432103: extern char *strcasestr (const char *__haystack, const char *__needle)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern void *memmem (const void *__haystack, size_t __haystacklen,
2432103: const void *__needle, size_t __needlelen)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 3)))
2432103: __attribute__ ((__access__ (__read_only__, 1, 2)))
2432103: __attribute__ ((__access__ (__read_only__, 3, 4)));
2432103:
2432103:
2432103:
2432103: extern void *__mempcpy (void *__restrict __dest,
2432103: const void *__restrict __src, size_t __n)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2)));
2432103: extern void *mempcpy (void *__restrict __dest,
2432103: const void *__restrict __src, size_t __n)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2)));
2432103:
2432103:
2432103:
2432103:
2432103: extern size_t strlen (const char *__s)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
2432103:
2432103:
2432103:
2432103:
2432103: extern size_t strnlen (const char *__string, size_t __maxlen)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
2432103:
2432103:
2432103:
2432103:
2432103: extern char *strerror (int __errnum) __attribute__ ((__nothrow__ , __leaf__));
2432103: # 444 "/usr/include/string.h" 3 4
2432103: extern char *strerror_r (int __errnum, char *__buf, size_t __buflen)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))) __attribute__ ((__warn_unused_result__)) __attribute__ ((__access__ (__write_only__, 2, 3)));
2432103:
2432103:
2432103:
2432103:
2432103: extern const char *strerrordesc_np (int __err) __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103: extern const char *strerrorname_np (int __err) __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern char *strerror_l (int __errnum, locale_t __l) __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern void explicit_bzero (void *__s, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)))
2432103: __attribute__ ((__access__ (__write_only__, 1, 2)));
2432103:
2432103:
2432103:
2432103: extern char *strsep (char **__restrict __stringp,
2432103: const char *__restrict __delim)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2)));
2432103:
2432103:
2432103:
2432103:
2432103: extern char *strsignal (int __sig) __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103:
2432103:
2432103: extern const char *sigabbrev_np (int __sig) __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103:
2432103: extern const char *sigdescr_np (int __sig) __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103:
2432103:
2432103: extern char *__stpcpy (char *__restrict __dest, const char *__restrict __src)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2)));
2432103: extern char *stpcpy (char *__restrict __dest, const char *__restrict __src)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2)));
2432103:
2432103:
2432103:
2432103: extern char *__stpncpy (char *__restrict __dest,
2432103: const char *__restrict __src, size_t __n)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2)));
2432103: extern char *stpncpy (char *__restrict __dest,
2432103: const char *__restrict __src, size_t __n)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2)));
2432103:
2432103:
2432103:
2432103:
2432103: extern int strverscmp (const char *__s1, const char *__s2)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
2432103:
2432103:
2432103: extern char *strfry (char *__string) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
2432103:
2432103:
2432103: extern void *memfrob (void *__s, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)))
2432103: __attribute__ ((__access__ (__read_write__, 1, 2)));
2432103: # 527 "/usr/include/string.h" 3 4
2432103: extern char *basename (const char *__filename) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: # 1 "/usr/include/m68k-linux-gnu/bits/string_fortified.h" 1 3 4
2432103: # 25 "/usr/include/m68k-linux-gnu/bits/string_fortified.h" 3 4
2432103: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) void *
2432103: __attribute__ ((__nothrow__ , __leaf__)) memcpy (void *__restrict __dest, const void *__restrict __src, size_t __len)
2432103:
2432103: {
2432103: return __builtin___memcpy_chk (__dest, __src, __len,
2432103: __builtin_object_size (__dest, 0));
2432103: }
2432103:
2432103: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) void *
2432103: __attribute__ ((__nothrow__ , __leaf__)) memmove (void *__dest, const void *__src, size_t __len)
2432103: {
2432103: return __builtin___memmove_chk (__dest, __src, __len,
2432103: __builtin_object_size (__dest, 0));
2432103: }
2432103:
2432103:
2432103: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) void *
2432103: __attribute__ ((__nothrow__ , __leaf__)) mempcpy (void *__restrict __dest, const void *__restrict __src, size_t __len)
2432103:
2432103: {
2432103: return __builtin___mempcpy_chk (__dest, __src, __len,
2432103: __builtin_object_size (__dest, 0));
2432103: }
2432103: # 56 "/usr/include/m68k-linux-gnu/bits/string_fortified.h" 3 4
2432103: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) void *
2432103: __attribute__ ((__nothrow__ , __leaf__)) memset (void *__dest, int __ch, size_t __len)
2432103: {
2432103: return __builtin___memset_chk (__dest, __ch, __len,
2432103: __builtin_object_size (__dest, 0));
2432103: }
2432103:
2432103:
2432103:
2432103:
2432103: void __explicit_bzero_chk (void *__dest, size_t __len, size_t __destlen)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__access__ (__write_only__, 1, 2)));
2432103:
2432103: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) void
2432103: __attribute__ ((__nothrow__ , __leaf__)) explicit_bzero (void *__dest, size_t __len)
2432103: {
2432103: __explicit_bzero_chk (__dest, __len, __builtin_object_size (__dest, 0));
2432103: }
2432103:
2432103:
2432103: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) char *
2432103: __attribute__ ((__nothrow__ , __leaf__)) strcpy (char *__restrict __dest, const char *__restrict __src)
2432103: {
2432103: return __builtin___strcpy_chk (__dest, __src, __builtin_object_size (__dest, 2 > 1));
2432103: }
2432103:
2432103:
2432103: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) char *
2432103: __attribute__ ((__nothrow__ , __leaf__)) stpcpy (char *__restrict __dest, const char *__restrict __src)
2432103: {
2432103: return __builtin___stpcpy_chk (__dest, __src, __builtin_object_size (__dest, 2 > 1));
2432103: }
2432103:
2432103:
2432103:
2432103: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) char *
2432103: __attribute__ ((__nothrow__ , __leaf__)) strncpy (char *__restrict __dest, const char *__restrict __src, size_t __len)
2432103:
2432103: {
2432103: return __builtin___strncpy_chk (__dest, __src, __len,
2432103: __builtin_object_size (__dest, 2 > 1));
2432103: }
2432103:
2432103:
2432103:
2432103: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) char *
2432103: __attribute__ ((__nothrow__ , __leaf__)) stpncpy (char *__dest, const char *__src, size_t __n)
2432103: {
2432103: return __builtin___stpncpy_chk (__dest, __src, __n,
2432103: __builtin_object_size (__dest, 2 > 1));
2432103: }
2432103: # 127 "/usr/include/m68k-linux-gnu/bits/string_fortified.h" 3 4
2432103: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) char *
2432103: __attribute__ ((__nothrow__ , __leaf__)) strcat (char *__restrict __dest, const char *__restrict __src)
2432103: {
2432103: return __builtin___strcat_chk (__dest, __src, __builtin_object_size (__dest, 2 > 1));
2432103: }
2432103:
2432103:
2432103: extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) char *
2432103: __attribute__ ((__nothrow__ , __leaf__)) strncat (char *__restrict __dest, const char *__restrict __src, size_t __len)
2432103:
2432103: {
2432103: return __builtin___strncat_chk (__dest, __src, __len,
2432103: __builtin_object_size (__dest, 2 > 1));
2432103: }
2432103: # 536 "/usr/include/string.h" 2 3 4
2432103:
2432103:
2432103:
2432103:
2432103: # 59 "../../packet.c" 2
2432103:
2432103: # 1 "/usr/lib/gcc/m68k-linux-gnu/13/include/limits.h" 1 3 4
2432103: # 61 "../../packet.c" 2
2432103:
2432103: # 1 "/usr/include/poll.h" 1 3 4
2432103: # 63 "../../packet.c" 2
2432103:
2432103:
2432103: # 1 "/usr/include/time.h" 1 3 4
2432103: # 29 "/usr/include/time.h" 3 4
2432103: # 1 "/usr/lib/gcc/m68k-linux-gnu/13/include/stddef.h" 1 3 4
2432103: # 30 "/usr/include/time.h" 2 3 4
2432103:
2432103:
2432103:
2432103: # 1 "/usr/include/m68k-linux-gnu/bits/time.h" 1 3 4
2432103: # 73 "/usr/include/m68k-linux-gnu/bits/time.h" 3 4
2432103: # 1 "/usr/include/m68k-linux-gnu/bits/timex.h" 1 3 4
2432103: # 26 "/usr/include/m68k-linux-gnu/bits/timex.h" 3 4
2432103: struct timex
2432103: {
2432103:
2432103: unsigned int modes;
2432103: int :32;
2432103: long long offset;
2432103: long long freq;
2432103: long long maxerror;
2432103: long long esterror;
2432103: int status;
2432103: int :32;
2432103: long long constant;
2432103: long long precision;
2432103: long long tolerance;
2432103: struct timeval time;
2432103: long long tick;
2432103: long long ppsfreq;
2432103: long long jitter;
2432103: int shift;
2432103: int :32;
2432103: long long stabil;
2432103: long long jitcnt;
2432103: long long calcnt;
2432103: long long errcnt;
2432103: long long stbcnt;
2432103:
2432103: int tai;
2432103:
2432103: int :32; int :32; int :32; int :32;
2432103: int :32; int :32; int :32; int :32;
2432103: int :32; int :32; int :32;
2432103: # 85 "/usr/include/m68k-linux-gnu/bits/timex.h" 3 4
2432103: };
2432103: # 74 "/usr/include/m68k-linux-gnu/bits/time.h" 2 3 4
2432103:
2432103:
2432103:
2432103:
2432103: extern int clock_adjtime (__clockid_t __clock_id, struct timex *__utx) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2)));
2432103:
2432103:
2432103:
2432103: extern int clock_adjtime (__clockid_t __clock_id, struct timex *__utx) __asm__ ("" "__clock_adjtime64") __attribute__ ((__nothrow__ , __leaf__))
2432103:
2432103: __attribute__ ((__nonnull__ (2)));
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: # 34 "/usr/include/time.h" 2 3 4
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: # 1 "/usr/include/m68k-linux-gnu/bits/types/struct_tm.h" 1 3 4
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: struct tm
2432103: {
2432103: int tm_sec;
2432103: int tm_min;
2432103: int tm_hour;
2432103: int tm_mday;
2432103: int tm_mon;
2432103: int tm_year;
2432103: int tm_wday;
2432103: int tm_yday;
2432103: int tm_isdst;
2432103:
2432103:
2432103: long int tm_gmtoff;
2432103: const char *tm_zone;
2432103:
2432103:
2432103:
2432103:
2432103: };
2432103: # 40 "/usr/include/time.h" 2 3 4
2432103: # 48 "/usr/include/time.h" 3 4
2432103: # 1 "/usr/include/m68k-linux-gnu/bits/types/struct_itimerspec.h" 1 3 4
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: struct itimerspec
2432103: {
2432103: struct timespec it_interval;
2432103: struct timespec it_value;
2432103: };
2432103: # 49 "/usr/include/time.h" 2 3 4
2432103: struct sigevent;
2432103: # 68 "/usr/include/time.h" 3 4
2432103:
2432103:
2432103:
2432103:
2432103: extern clock_t clock (void) __attribute__ ((__nothrow__ , __leaf__));
2432103: # 86 "/usr/include/time.h" 3 4
2432103: extern time_t time (time_t *__timer) __asm__ ("" "__time64") __attribute__ ((__nothrow__ , __leaf__));
2432103: extern double difftime (time_t __time1, time_t __time0) __asm__ ("" "__difftime64") __attribute__ ((__nothrow__ , __leaf__))
2432103: __attribute__ ((__const__));
2432103: extern time_t mktime (struct tm *__tp) __asm__ ("" "__mktime64") __attribute__ ((__nothrow__ , __leaf__));
2432103: # 100 "/usr/include/time.h" 3 4
2432103: extern size_t strftime (char *__restrict __s, size_t __maxsize,
2432103: const char *__restrict __format,
2432103: const struct tm *__restrict __tp) __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103:
2432103:
2432103:
2432103: extern char *strptime (const char *__restrict __s,
2432103: const char *__restrict __fmt, struct tm *__tp)
2432103: __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern size_t strftime_l (char *__restrict __s, size_t __maxsize,
2432103: const char *__restrict __format,
2432103: const struct tm *__restrict __tp,
2432103: locale_t __loc) __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103:
2432103:
2432103: extern char *strptime_l (const char *__restrict __s,
2432103: const char *__restrict __fmt, struct tm *__tp,
2432103: locale_t __loc) __attribute__ ((__nothrow__ , __leaf__));
2432103: # 140 "/usr/include/time.h" 3 4
2432103: extern struct tm*gmtime (const time_t *__timer) __asm__ ("" "__gmtime64") __attribute__ ((__nothrow__ , __leaf__));
2432103: extern struct tm *localtime (const time_t *__timer) __asm__ ("" "__localtime64") __attribute__ ((__nothrow__ , __leaf__))
2432103: ;
2432103: # 163 "/usr/include/time.h" 3 4
2432103: extern struct tm*gmtime_r (const time_t *__restrict __timer, struct tm *__restrict __tp) __asm__ ("" "__gmtime64_r") __attribute__ ((__nothrow__ , __leaf__))
2432103:
2432103: ;
2432103:
2432103: extern struct tm*localtime_r (const time_t *__restrict __t, struct tm *__restrict __tp) __asm__ ("" "__localtime64_r") __attribute__ ((__nothrow__ , __leaf__))
2432103:
2432103: ;
2432103: # 179 "/usr/include/time.h" 3 4
2432103: extern char *asctime (const struct tm *__tp) __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern char *ctime (const time_t *__timer) __asm__ ("" "__ctime64") __attribute__ ((__nothrow__ , __leaf__));
2432103: # 197 "/usr/include/time.h" 3 4
2432103: extern char *asctime_r (const struct tm *__restrict __tp,
2432103: char *__restrict __buf) __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern char *ctime_r (const time_t *__restrict __timer, char *__restrict __buf) __asm__ ("" "__ctime64_r") __attribute__ ((__nothrow__ , __leaf__))
2432103: ;
2432103: # 217 "/usr/include/time.h" 3 4
2432103: extern char *__tzname[2];
2432103: extern int __daylight;
2432103: extern long int __timezone;
2432103:
2432103:
2432103:
2432103:
2432103: extern char *tzname[2];
2432103:
2432103:
2432103:
2432103: extern void tzset (void) __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103:
2432103:
2432103: extern int daylight;
2432103: extern long int timezone;
2432103: # 249 "/usr/include/time.h" 3 4
2432103: extern time_t timegm (struct tm *__tp) __asm__ ("" "__timegm64") __attribute__ ((__nothrow__ , __leaf__));
2432103: # 266 "/usr/include/time.h" 3 4
2432103: extern time_t timelocal (struct tm *__tp) __asm__ ("" "__mktime64") __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103:
2432103:
2432103:
2432103: extern int dysize (int __year) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__));
2432103: # 296 "/usr/include/time.h" 3 4
2432103: extern int nanosleep (const struct timespec *__requested_time, struct timespec *__remaining) __asm__ ("" "__nanosleep64")
2432103:
2432103: ;
2432103: extern int clock_getres (clockid_t __clock_id, struct timespec *__res) __asm__ ("" "__clock_getres64") __attribute__ ((__nothrow__ , __leaf__))
2432103:
2432103: ;
2432103: extern int clock_gettime (clockid_t __clock_id, struct timespec *__tp) __asm__ ("" "__clock_gettime64") __attribute__ ((__nothrow__ , __leaf__))
2432103:
2432103: __attribute__ ((__nonnull__ (2)));
2432103: extern int clock_settime (clockid_t __clock_id, const struct timespec *__tp) __asm__ ("" "__clock_settime64") __attribute__ ((__nothrow__ , __leaf__))
2432103:
2432103: __attribute__ ((__nonnull__ (2)));
2432103: # 328 "/usr/include/time.h" 3 4
2432103: extern int clock_nanosleep (clockid_t __clock_id, int __flags, const struct timespec *__req, struct timespec *__rem) __asm__ ("" "__clock_nanosleep_time64")
2432103:
2432103:
2432103: ;
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern int clock_getcpuclockid (pid_t __pid, clockid_t *__clock_id) __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103:
2432103:
2432103:
2432103: extern int timer_create (clockid_t __clock_id,
2432103: struct sigevent *__restrict __evp,
2432103: timer_t *__restrict __timerid) __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103:
2432103: extern int timer_delete (timer_t __timerid) __attribute__ ((__nothrow__ , __leaf__));
2432103: # 361 "/usr/include/time.h" 3 4
2432103: extern int timer_settime (timer_t __timerid, int __flags, const struct itimerspec *__restrict __value, struct itimerspec *__restrict __ovalue) __asm__ ("" "__timer_settime64") __attribute__ ((__nothrow__ , __leaf__))
2432103:
2432103:
2432103: ;
2432103:
2432103: extern int timer_gettime (timer_t __timerid, struct itimerspec *__value) __asm__ ("" "__timer_gettime64") __attribute__ ((__nothrow__ , __leaf__))
2432103:
2432103: ;
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern int timer_getoverrun (timer_t __timerid) __attribute__ ((__nothrow__ , __leaf__));
2432103: # 387 "/usr/include/time.h" 3 4
2432103: extern int timespec_get (struct timespec *__ts, int __base) __asm__ ("" "__timespec_get64") __attribute__ ((__nothrow__ , __leaf__))
2432103: __attribute__ ((__nonnull__ (1)));
2432103: # 403 "/usr/include/time.h" 3 4
2432103: extern int timespec_getres (struct timespec *__ts, int __base) __asm__ ("" "__timespec_getres64") __attribute__ ((__nothrow__ , __leaf__))
2432103:
2432103: ;
2432103: # 425 "/usr/include/time.h" 3 4
2432103: extern int getdate_err;
2432103: # 434 "/usr/include/time.h" 3 4
2432103: extern struct tm *getdate (const char *__string);
2432103: # 448 "/usr/include/time.h" 3 4
2432103: extern int getdate_r (const char *__restrict __string,
2432103: struct tm *__restrict __resbufp);
2432103:
2432103:
2432103:
2432103: # 66 "../../packet.c" 2
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: # 1 "/usr/include/openssl/bn.h" 1 3 4
2432103: # 13 "/usr/include/openssl/bn.h" 3 4
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: # 1 "/usr/include/openssl/e_os2.h" 1 3 4
2432103: # 12 "/usr/include/openssl/e_os2.h" 3 4
2432103:
2432103: # 234 "/usr/include/openssl/e_os2.h" 3 4
2432103: # 1 "/usr/include/inttypes.h" 1 3 4
2432103: # 34 "/usr/include/inttypes.h" 3 4
2432103: typedef long int __gwchar_t;
2432103: # 266 "/usr/include/inttypes.h" 3 4
2432103:
2432103: # 280 "/usr/include/inttypes.h" 3 4
2432103: typedef struct
2432103: {
2432103: __extension__ long long int quot;
2432103: __extension__ long long int rem;
2432103: } imaxdiv_t;
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern intmax_t imaxabs (intmax_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__));
2432103:
2432103:
2432103: extern imaxdiv_t imaxdiv (intmax_t __numer, intmax_t __denom)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__));
2432103:
2432103:
2432103: extern intmax_t strtoimax (const char *__restrict __nptr,
2432103: char **__restrict __endptr, int __base) __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103:
2432103: extern uintmax_t strtoumax (const char *__restrict __nptr,
2432103: char ** __restrict __endptr, int __base) __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103:
2432103: extern intmax_t wcstoimax (const __gwchar_t *__restrict __nptr,
2432103: __gwchar_t **__restrict __endptr, int __base)
2432103: __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103:
2432103: extern uintmax_t wcstoumax (const __gwchar_t *__restrict __nptr,
2432103: __gwchar_t ** __restrict __endptr, int __base)
2432103: __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103:
2432103: # 235 "/usr/include/openssl/e_os2.h" 2 3 4
2432103: # 260 "/usr/include/openssl/e_os2.h" 3 4
2432103: typedef intmax_t ossl_intmax_t;
2432103: typedef uintmax_t ossl_uintmax_t;
2432103: # 21 "/usr/include/openssl/bn.h" 2 3 4
2432103:
2432103:
2432103:
2432103:
2432103: # 1 "/usr/include/openssl/types.h" 1 3 4
2432103: # 26 "/usr/include/openssl/types.h" 3 4
2432103: # 1 "/usr/lib/gcc/m68k-linux-gnu/13/include/limits.h" 1 3 4
2432103: # 27 "/usr/include/openssl/types.h" 2 3 4
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: # 1 "/usr/include/openssl/safestack.h" 1 3 4
2432103: # 17 "/usr/include/openssl/safestack.h" 3 4
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: # 1 "/usr/include/openssl/stack.h" 1 3 4
2432103: # 12 "/usr/include/openssl/stack.h" 3 4
2432103:
2432103: # 23 "/usr/include/openssl/stack.h" 3 4
2432103: typedef struct stack_st OPENSSL_STACK;
2432103:
2432103: typedef int (*OPENSSL_sk_compfunc)(const void *, const void *);
2432103: typedef void (*OPENSSL_sk_freefunc)(void *);
2432103: typedef void *(*OPENSSL_sk_copyfunc)(const void *);
2432103:
2432103: int OPENSSL_sk_num(const OPENSSL_STACK *);
2432103: void *OPENSSL_sk_value(const OPENSSL_STACK *, int);
2432103:
2432103: void *OPENSSL_sk_set(OPENSSL_STACK *st, int i, const void *data);
2432103:
2432103: OPENSSL_STACK *OPENSSL_sk_new(OPENSSL_sk_compfunc cmp);
2432103: OPENSSL_STACK *OPENSSL_sk_new_null(void);
2432103: OPENSSL_STACK *OPENSSL_sk_new_reserve(OPENSSL_sk_compfunc c, int n);
2432103: int OPENSSL_sk_reserve(OPENSSL_STACK *st, int n);
2432103: void OPENSSL_sk_free(OPENSSL_STACK *);
2432103: void OPENSSL_sk_pop_free(OPENSSL_STACK *st, void (*func) (void *));
2432103: OPENSSL_STACK *OPENSSL_sk_deep_copy(const OPENSSL_STACK *,
2432103: OPENSSL_sk_copyfunc c,
2432103: OPENSSL_sk_freefunc f);
2432103: int OPENSSL_sk_insert(OPENSSL_STACK *sk, const void *data, int where);
2432103: void *OPENSSL_sk_delete(OPENSSL_STACK *st, int loc);
2432103: void *OPENSSL_sk_delete_ptr(OPENSSL_STACK *st, const void *p);
2432103: int OPENSSL_sk_find(OPENSSL_STACK *st, const void *data);
2432103: int OPENSSL_sk_find_ex(OPENSSL_STACK *st, const void *data);
2432103: int OPENSSL_sk_find_all(OPENSSL_STACK *st, const void *data, int *pnum);
2432103: int OPENSSL_sk_push(OPENSSL_STACK *st, const void *data);
2432103: int OPENSSL_sk_unshift(OPENSSL_STACK *st, const void *data);
2432103: void *OPENSSL_sk_shift(OPENSSL_STACK *st);
2432103: void *OPENSSL_sk_pop(OPENSSL_STACK *st);
2432103: void OPENSSL_sk_zero(OPENSSL_STACK *st);
2432103: OPENSSL_sk_compfunc OPENSSL_sk_set_cmp_func(OPENSSL_STACK *sk,
2432103: OPENSSL_sk_compfunc cmp);
2432103: OPENSSL_STACK *OPENSSL_sk_dup(const OPENSSL_STACK *st);
2432103: void OPENSSL_sk_sort(OPENSSL_STACK *st);
2432103: int OPENSSL_sk_is_sorted(const OPENSSL_STACK *st);
2432103: # 25 "/usr/include/openssl/safestack.h" 2 3 4
2432103: # 195 "/usr/include/openssl/safestack.h" 3 4
2432103: typedef char *OPENSSL_STRING;
2432103: typedef const char *OPENSSL_CSTRING;
2432103: # 205 "/usr/include/openssl/safestack.h" 3 4
2432103: struct stack_st_OPENSSL_STRING; typedef int (*sk_OPENSSL_STRING_compfunc)(const char * const *a, const char *const *b); typedef void (*sk_OPENSSL_STRING_freefunc)(char *a); typedef char * (*sk_OPENSSL_STRING_copyfunc)(const char *a); static __attribute__((unused)) inline char *ossl_check_OPENSSL_STRING_type(char *ptr) { return ptr; } static __attribute__((unused)) inline const OPENSSL_STACK *ossl_check_const_OPENSSL_STRING_sk_type(const struct stack_st_OPENSSL_STRING *sk) { return (const OPENSSL_STACK *)sk; } static __attribute__((unused)) inline OPENSSL_STACK *ossl_check_OPENSSL_STRING_sk_type(struct stack_st_OPENSSL_STRING *sk) { return (OPENSSL_STACK *)sk; } static __attribute__((unused)) inline OPENSSL_sk_compfunc ossl_check_OPENSSL_STRING_compfunc_type(sk_OPENSSL_STRING_compfunc cmp) { return (OPENSSL_sk_compfunc)cmp; } static __attribute__((unused)) inline OPENSSL_sk_copyfunc ossl_check_OPENSSL_STRING_copyfunc_type(sk_OPENSSL_STRING_copyfunc cpy) { return (OPENSSL_sk_copyfunc)cpy; } static __attribute__((unused)) inline OPENSSL_sk_freefunc ossl_check_OPENSSL_STRING_freefunc_type(sk_OPENSSL_STRING_freefunc fr) { return (OPENSSL_sk_freefunc)fr; }
2432103: # 231 "/usr/include/openssl/safestack.h" 3 4
2432103: struct stack_st_OPENSSL_CSTRING; typedef int (*sk_OPENSSL_CSTRING_compfunc)(const char * const *a, const char *const *b); typedef void (*sk_OPENSSL_CSTRING_freefunc)(char *a); typedef char * (*sk_OPENSSL_CSTRING_copyfunc)(const char *a); static __attribute__((unused)) inline const char *ossl_check_OPENSSL_CSTRING_type(const char *ptr) { return ptr; } static __attribute__((unused)) inline const OPENSSL_STACK *ossl_check_const_OPENSSL_CSTRING_sk_type(const struct stack_st_OPENSSL_CSTRING *sk) { return (const OPENSSL_STACK *)sk; } static __attribute__((unused)) inline OPENSSL_STACK *ossl_check_OPENSSL_CSTRING_sk_type(struct stack_st_OPENSSL_CSTRING *sk) { return (OPENSSL_STACK *)sk; } static __attribute__((unused)) inline OPENSSL_sk_compfunc ossl_check_OPENSSL_CSTRING_compfunc_type(sk_OPENSSL_CSTRING_compfunc cmp) { return (OPENSSL_sk_compfunc)cmp; } static __attribute__((unused)) inline OPENSSL_sk_copyfunc ossl_check_OPENSSL_CSTRING_copyfunc_type(sk_OPENSSL_CSTRING_copyfunc cpy) { return (OPENSSL_sk_copyfunc)cpy; } static __attribute__((unused)) inline OPENSSL_sk_freefunc ossl_check_OPENSSL_CSTRING_freefunc_type(sk_OPENSSL_CSTRING_freefunc fr) { return (OPENSSL_sk_freefunc)fr; }
2432103: # 264 "/usr/include/openssl/safestack.h" 3 4
2432103: typedef void *OPENSSL_BLOCK;
2432103: struct stack_st_OPENSSL_BLOCK; typedef int (*sk_OPENSSL_BLOCK_compfunc)(const void * const *a, const void *const *b); typedef void (*sk_OPENSSL_BLOCK_freefunc)(void *a); typedef void * (*sk_OPENSSL_BLOCK_copyfunc)(const void *a); static __attribute__((unused)) inline void *ossl_check_OPENSSL_BLOCK_type(void *ptr) { return ptr; } static __attribute__((unused)) inline const OPENSSL_STACK *ossl_check_const_OPENSSL_BLOCK_sk_type(const struct stack_st_OPENSSL_BLOCK *sk) { return (const OPENSSL_STACK *)sk; } static __attribute__((unused)) inline OPENSSL_STACK *ossl_check_OPENSSL_BLOCK_sk_type(struct stack_st_OPENSSL_BLOCK *sk) { return (OPENSSL_STACK *)sk; } static __attribute__((unused)) inline OPENSSL_sk_compfunc ossl_check_OPENSSL_BLOCK_compfunc_type(sk_OPENSSL_BLOCK_compfunc cmp) { return (OPENSSL_sk_compfunc)cmp; } static __attribute__((unused)) inline OPENSSL_sk_copyfunc ossl_check_OPENSSL_BLOCK_copyfunc_type(sk_OPENSSL_BLOCK_copyfunc cpy) { return (OPENSSL_sk_copyfunc)cpy; } static __attribute__((unused)) inline OPENSSL_sk_freefunc ossl_check_OPENSSL_BLOCK_freefunc_type(sk_OPENSSL_BLOCK_freefunc fr) { return (OPENSSL_sk_freefunc)fr; }
2432103: # 34 "/usr/include/openssl/types.h" 2 3 4
2432103:
2432103:
2432103: typedef struct ossl_provider_st OSSL_PROVIDER;
2432103: # 57 "/usr/include/openssl/types.h" 3 4
2432103: typedef struct asn1_string_st ASN1_INTEGER;
2432103: typedef struct asn1_string_st ASN1_ENUMERATED;
2432103: typedef struct asn1_string_st ASN1_BIT_STRING;
2432103: typedef struct asn1_string_st ASN1_OCTET_STRING;
2432103: typedef struct asn1_string_st ASN1_PRINTABLESTRING;
2432103: typedef struct asn1_string_st ASN1_T61STRING;
2432103: typedef struct asn1_string_st ASN1_IA5STRING;
2432103: typedef struct asn1_string_st ASN1_GENERALSTRING;
2432103: typedef struct asn1_string_st ASN1_UNIVERSALSTRING;
2432103: typedef struct asn1_string_st ASN1_BMPSTRING;
2432103: typedef struct asn1_string_st ASN1_UTCTIME;
2432103: typedef struct asn1_string_st ASN1_TIME;
2432103: typedef struct asn1_string_st ASN1_GENERALIZEDTIME;
2432103: typedef struct asn1_string_st ASN1_VISIBLESTRING;
2432103: typedef struct asn1_string_st ASN1_UTF8STRING;
2432103: typedef struct asn1_string_st ASN1_STRING;
2432103: typedef int ASN1_BOOLEAN;
2432103: typedef int ASN1_NULL;
2432103:
2432103:
2432103: typedef struct asn1_type_st ASN1_TYPE;
2432103: typedef struct asn1_object_st ASN1_OBJECT;
2432103: typedef struct asn1_string_table_st ASN1_STRING_TABLE;
2432103:
2432103: typedef struct ASN1_ITEM_st ASN1_ITEM;
2432103: typedef struct asn1_pctx_st ASN1_PCTX;
2432103: typedef struct asn1_sctx_st ASN1_SCTX;
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: typedef struct bio_st BIO;
2432103: typedef struct bignum_st BIGNUM;
2432103: typedef struct bignum_ctx BN_CTX;
2432103: typedef struct bn_blinding_st BN_BLINDING;
2432103: typedef struct bn_mont_ctx_st BN_MONT_CTX;
2432103: typedef struct bn_recp_ctx_st BN_RECP_CTX;
2432103: typedef struct bn_gencb_st BN_GENCB;
2432103:
2432103: typedef struct buf_mem_st BUF_MEM;
2432103:
2432103: struct stack_st_BIGNUM;
2432103: struct stack_st_BIGNUM_const;
2432103:
2432103: typedef struct err_state_st ERR_STATE;
2432103:
2432103: typedef struct evp_cipher_st EVP_CIPHER;
2432103: typedef struct evp_cipher_ctx_st EVP_CIPHER_CTX;
2432103: typedef struct evp_md_st EVP_MD;
2432103: typedef struct evp_md_ctx_st EVP_MD_CTX;
2432103: typedef struct evp_mac_st EVP_MAC;
2432103: typedef struct evp_mac_ctx_st EVP_MAC_CTX;
2432103: typedef struct evp_pkey_st EVP_PKEY;
2432103:
2432103: typedef struct evp_pkey_asn1_method_st EVP_PKEY_ASN1_METHOD;
2432103:
2432103: typedef struct evp_pkey_method_st EVP_PKEY_METHOD;
2432103: typedef struct evp_pkey_ctx_st EVP_PKEY_CTX;
2432103:
2432103: typedef struct evp_keymgmt_st EVP_KEYMGMT;
2432103:
2432103: typedef struct evp_kdf_st EVP_KDF;
2432103: typedef struct evp_kdf_ctx_st EVP_KDF_CTX;
2432103:
2432103: typedef struct evp_rand_st EVP_RAND;
2432103: typedef struct evp_rand_ctx_st EVP_RAND_CTX;
2432103:
2432103: typedef struct evp_keyexch_st EVP_KEYEXCH;
2432103:
2432103: typedef struct evp_signature_st EVP_SIGNATURE;
2432103:
2432103: typedef struct evp_asym_cipher_st EVP_ASYM_CIPHER;
2432103:
2432103: typedef struct evp_kem_st EVP_KEM;
2432103:
2432103: typedef struct evp_Encode_Ctx_st EVP_ENCODE_CTX;
2432103:
2432103: typedef struct hmac_ctx_st HMAC_CTX;
2432103:
2432103: typedef struct dh_st DH;
2432103: typedef struct dh_method DH_METHOD;
2432103:
2432103:
2432103: typedef struct dsa_st DSA;
2432103: typedef struct dsa_method DSA_METHOD;
2432103:
2432103:
2432103:
2432103: typedef struct rsa_st RSA;
2432103: typedef struct rsa_meth_st RSA_METHOD;
2432103:
2432103: typedef struct rsa_pss_params_st RSA_PSS_PARAMS;
2432103:
2432103:
2432103: typedef struct ec_key_st EC_KEY;
2432103: typedef struct ec_key_method_st EC_KEY_METHOD;
2432103:
2432103:
2432103: typedef struct rand_meth_st RAND_METHOD;
2432103: typedef struct rand_drbg_st RAND_DRBG;
2432103:
2432103: typedef struct ssl_dane_st SSL_DANE;
2432103: typedef struct x509_st X509;
2432103: typedef struct X509_algor_st X509_ALGOR;
2432103: typedef struct X509_crl_st X509_CRL;
2432103: typedef struct x509_crl_method_st X509_CRL_METHOD;
2432103: typedef struct x509_revoked_st X509_REVOKED;
2432103: typedef struct X509_name_st X509_NAME;
2432103: typedef struct X509_pubkey_st X509_PUBKEY;
2432103: typedef struct x509_store_st X509_STORE;
2432103: typedef struct x509_store_ctx_st X509_STORE_CTX;
2432103:
2432103: typedef struct x509_object_st X509_OBJECT;
2432103: typedef struct x509_lookup_st X509_LOOKUP;
2432103: typedef struct x509_lookup_method_st X509_LOOKUP_METHOD;
2432103: typedef struct X509_VERIFY_PARAM_st X509_VERIFY_PARAM;
2432103:
2432103: typedef struct x509_sig_info_st X509_SIG_INFO;
2432103:
2432103: typedef struct pkcs8_priv_key_info_st PKCS8_PRIV_KEY_INFO;
2432103:
2432103: typedef struct v3_ext_ctx X509V3_CTX;
2432103: typedef struct conf_st CONF;
2432103: typedef struct ossl_init_settings_st OPENSSL_INIT_SETTINGS;
2432103:
2432103: typedef struct ui_st UI;
2432103: typedef struct ui_method_st UI_METHOD;
2432103:
2432103: typedef struct engine_st ENGINE;
2432103: typedef struct ssl_st SSL;
2432103: typedef struct ssl_ctx_st SSL_CTX;
2432103:
2432103: typedef struct comp_ctx_st COMP_CTX;
2432103: typedef struct comp_method_st COMP_METHOD;
2432103:
2432103: typedef struct X509_POLICY_NODE_st X509_POLICY_NODE;
2432103: typedef struct X509_POLICY_LEVEL_st X509_POLICY_LEVEL;
2432103: typedef struct X509_POLICY_TREE_st X509_POLICY_TREE;
2432103: typedef struct X509_POLICY_CACHE_st X509_POLICY_CACHE;
2432103:
2432103: typedef struct AUTHORITY_KEYID_st AUTHORITY_KEYID;
2432103: typedef struct DIST_POINT_st DIST_POINT;
2432103: typedef struct ISSUING_DIST_POINT_st ISSUING_DIST_POINT;
2432103: typedef struct NAME_CONSTRAINTS_st NAME_CONSTRAINTS;
2432103:
2432103: typedef struct crypto_ex_data_st CRYPTO_EX_DATA;
2432103:
2432103: typedef struct ossl_http_req_ctx_st OSSL_HTTP_REQ_CTX;
2432103: typedef struct ocsp_response_st OCSP_RESPONSE;
2432103: typedef struct ocsp_responder_id_st OCSP_RESPID;
2432103:
2432103: typedef struct sct_st SCT;
2432103: typedef struct sct_ctx_st SCT_CTX;
2432103: typedef struct ctlog_st CTLOG;
2432103: typedef struct ctlog_store_st CTLOG_STORE;
2432103: typedef struct ct_policy_eval_ctx_st CT_POLICY_EVAL_CTX;
2432103:
2432103: typedef struct ossl_store_info_st OSSL_STORE_INFO;
2432103: typedef struct ossl_store_search_st OSSL_STORE_SEARCH;
2432103:
2432103: typedef struct ossl_lib_ctx_st OSSL_LIB_CTX;
2432103:
2432103: typedef struct ossl_dispatch_st OSSL_DISPATCH;
2432103: typedef struct ossl_item_st OSSL_ITEM;
2432103: typedef struct ossl_algorithm_st OSSL_ALGORITHM;
2432103: typedef struct ossl_param_st OSSL_PARAM;
2432103: typedef struct ossl_param_bld_st OSSL_PARAM_BLD;
2432103:
2432103: typedef int pem_password_cb (char *buf, int size, int rwflag, void *userdata);
2432103:
2432103: typedef struct ossl_encoder_st OSSL_ENCODER;
2432103: typedef struct ossl_encoder_ctx_st OSSL_ENCODER_CTX;
2432103: typedef struct ossl_decoder_st OSSL_DECODER;
2432103: typedef struct ossl_decoder_ctx_st OSSL_DECODER_CTX;
2432103:
2432103: typedef struct ossl_self_test_st OSSL_SELF_TEST;
2432103: # 26 "/usr/include/openssl/bn.h" 2 3 4
2432103: # 1 "/usr/include/openssl/crypto.h" 1 3 4
2432103: # 18 "/usr/include/openssl/crypto.h" 3 4
2432103:
2432103: # 36 "/usr/include/openssl/crypto.h" 3 4
2432103: # 1 "/usr/include/openssl/types.h" 1 3 4
2432103: # 37 "/usr/include/openssl/crypto.h" 2 3 4
2432103:
2432103: # 1 "/usr/include/openssl/cryptoerr.h" 1 3 4
2432103: # 13 "/usr/include/openssl/cryptoerr.h" 3 4
2432103:
2432103:
2432103:
2432103: # 1 "/usr/include/openssl/symhacks.h" 1 3 4
2432103: # 12 "/usr/include/openssl/symhacks.h" 3 4
2432103:
2432103: # 17 "/usr/include/openssl/cryptoerr.h" 2 3 4
2432103: # 1 "/usr/include/openssl/cryptoerr_legacy.h" 1 3 4
2432103: # 19 "/usr/include/openssl/cryptoerr_legacy.h" 3 4
2432103:
2432103: # 29 "/usr/include/openssl/cryptoerr_legacy.h" 3 4
2432103: int ERR_load_ASN1_strings(void);
2432103: int ERR_load_ASYNC_strings(void);
2432103: int ERR_load_BIO_strings(void);
2432103: int ERR_load_BN_strings(void);
2432103: int ERR_load_BUF_strings(void);
2432103:
2432103: int ERR_load_CMS_strings(void);
2432103:
2432103:
2432103: int ERR_load_COMP_strings(void);
2432103:
2432103: int ERR_load_CONF_strings(void);
2432103: int ERR_load_CRYPTO_strings(void);
2432103:
2432103: int ERR_load_CT_strings(void);
2432103:
2432103:
2432103: int ERR_load_DH_strings(void);
2432103:
2432103:
2432103: int ERR_load_DSA_strings(void);
2432103:
2432103:
2432103: int ERR_load_EC_strings(void);
2432103:
2432103:
2432103: int ERR_load_ENGINE_strings(void);
2432103:
2432103: int ERR_load_ERR_strings(void);
2432103: int ERR_load_EVP_strings(void);
2432103: int ERR_load_KDF_strings(void);
2432103: int ERR_load_OBJ_strings(void);
2432103:
2432103: int ERR_load_OCSP_strings(void);
2432103:
2432103: int ERR_load_PEM_strings(void);
2432103: int ERR_load_PKCS12_strings(void);
2432103: int ERR_load_PKCS7_strings(void);
2432103: int ERR_load_RAND_strings(void);
2432103: int ERR_load_RSA_strings(void);
2432103: int ERR_load_OSSL_STORE_strings(void);
2432103:
2432103: int ERR_load_TS_strings(void);
2432103:
2432103: int ERR_load_UI_strings(void);
2432103: int ERR_load_X509_strings(void);
2432103: int ERR_load_X509V3_strings(void);
2432103: # 18 "/usr/include/openssl/cryptoerr.h" 2 3 4
2432103: # 39 "/usr/include/openssl/crypto.h" 2 3 4
2432103: # 1 "/usr/include/openssl/core.h" 1 3 4
2432103: # 12 "/usr/include/openssl/core.h" 3 4
2432103:
2432103:
2432103: # 1 "/usr/lib/gcc/m68k-linux-gnu/13/include/stddef.h" 1 3 4
2432103: # 15 "/usr/include/openssl/core.h" 2 3 4
2432103: # 1 "/usr/include/openssl/types.h" 1 3 4
2432103: # 16 "/usr/include/openssl/core.h" 2 3 4
2432103: # 30 "/usr/include/openssl/core.h" 3 4
2432103: typedef struct ossl_core_handle_st OSSL_CORE_HANDLE;
2432103: typedef struct openssl_core_ctx_st OPENSSL_CORE_CTX;
2432103: typedef struct ossl_core_bio_st OSSL_CORE_BIO;
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: struct ossl_dispatch_st {
2432103: int function_id;
2432103: void (*function)(void);
2432103: };
2432103: # 58 "/usr/include/openssl/core.h" 3 4
2432103: struct ossl_item_st {
2432103: unsigned int id;
2432103: void *ptr;
2432103: };
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: struct ossl_algorithm_st {
2432103: const char *algorithm_names;
2432103: const char *property_definition;
2432103: const OSSL_DISPATCH *implementation;
2432103: const char *algorithm_description;
2432103: };
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: struct ossl_param_st {
2432103: const char *key;
2432103: unsigned int data_type;
2432103: void *data;
2432103: size_t data_size;
2432103: size_t return_size;
2432103: };
2432103: # 169 "/usr/include/openssl/core.h" 3 4
2432103: typedef void (*OSSL_thread_stop_handler_fn)(void *arg);
2432103: # 190 "/usr/include/openssl/core.h" 3 4
2432103: typedef int (OSSL_provider_init_fn)(const OSSL_CORE_HANDLE *handle,
2432103: const OSSL_DISPATCH *in,
2432103: const OSSL_DISPATCH **out,
2432103: void **provctx);
2432103:
2432103:
2432103:
2432103:
2432103: extern OSSL_provider_init_fn OSSL_provider_init;
2432103: # 216 "/usr/include/openssl/core.h" 3 4
2432103: typedef int (OSSL_CALLBACK)(const OSSL_PARAM params[], void *arg);
2432103: typedef int (OSSL_INOUT_CALLBACK)(const OSSL_PARAM in_params[],
2432103: OSSL_PARAM out_params[], void *arg);
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: typedef int (OSSL_PASSPHRASE_CALLBACK)(char *pass, size_t pass_size,
2432103: size_t *pass_len,
2432103: const OSSL_PARAM params[], void *arg);
2432103: # 40 "/usr/include/openssl/crypto.h" 2 3 4
2432103: # 73 "/usr/include/openssl/crypto.h" 3 4
2432103: typedef struct {
2432103: int dummy;
2432103: } CRYPTO_dynlock;
2432103:
2432103:
2432103:
2432103: typedef void CRYPTO_RWLOCK;
2432103:
2432103: CRYPTO_RWLOCK *CRYPTO_THREAD_lock_new(void);
2432103: int CRYPTO_THREAD_read_lock(CRYPTO_RWLOCK *lock);
2432103: int CRYPTO_THREAD_write_lock(CRYPTO_RWLOCK *lock);
2432103: int CRYPTO_THREAD_unlock(CRYPTO_RWLOCK *lock);
2432103: void CRYPTO_THREAD_lock_free(CRYPTO_RWLOCK *lock);
2432103:
2432103: int CRYPTO_atomic_add(int *val, int amount, int *ret, CRYPTO_RWLOCK *lock);
2432103: int CRYPTO_atomic_or(uint64_t *val, uint64_t op, uint64_t *ret,
2432103: CRYPTO_RWLOCK *lock);
2432103: int CRYPTO_atomic_load(uint64_t *val, uint64_t *ret, CRYPTO_RWLOCK *lock);
2432103: # 124 "/usr/include/openssl/crypto.h" 3 4
2432103: size_t OPENSSL_strlcpy(char *dst, const char *src, size_t siz);
2432103: size_t OPENSSL_strlcat(char *dst, const char *src, size_t siz);
2432103: size_t OPENSSL_strnlen(const char *str, size_t maxlen);
2432103: int OPENSSL_buf2hexstr_ex(char *str, size_t str_n, size_t *strlength,
2432103: const unsigned char *buf, size_t buflen,
2432103: const char sep);
2432103: char *OPENSSL_buf2hexstr(const unsigned char *buf, long buflen);
2432103: int OPENSSL_hexstr2buf_ex(unsigned char *buf, size_t buf_n, size_t *buflen,
2432103: const char *str, const char sep);
2432103: unsigned char *OPENSSL_hexstr2buf(const char *str, long *buflen);
2432103: int OPENSSL_hexchar2int(unsigned char c);
2432103: int OPENSSL_strcasecmp(const char *s1, const char *s2);
2432103: int OPENSSL_strncasecmp(const char *s1, const char *s2, size_t n);
2432103: # 145 "/usr/include/openssl/crypto.h" 3 4
2432103: unsigned int OPENSSL_version_major(void);
2432103: unsigned int OPENSSL_version_minor(void);
2432103: unsigned int OPENSSL_version_patch(void);
2432103: const char *OPENSSL_version_pre_release(void);
2432103: const char *OPENSSL_version_build_metadata(void);
2432103:
2432103: unsigned long OpenSSL_version_num(void);
2432103: const char *OpenSSL_version(int type);
2432103: # 164 "/usr/include/openssl/crypto.h" 3 4
2432103: const char *OPENSSL_info(int type);
2432103: # 178 "/usr/include/openssl/crypto.h" 3 4
2432103: int OPENSSL_issetugid(void);
2432103:
2432103: struct crypto_ex_data_st {
2432103: OSSL_LIB_CTX *ctx;
2432103: struct stack_st_void *sk;
2432103: };
2432103:
2432103: struct stack_st_void; typedef int (*sk_void_compfunc)(const void * const *a, const void *const *b); typedef void (*sk_void_freefunc)(void *a); typedef void * (*sk_void_copyfunc)(const void *a); static __attribute__((unused)) inline void *ossl_check_void_type(void *ptr) { return ptr; } static __attribute__((unused)) inline const OPENSSL_STACK *ossl_check_const_void_sk_type(const struct stack_st_void *sk) { return (const OPENSSL_STACK *)sk; } static __attribute__((unused)) inline OPENSSL_STACK *ossl_check_void_sk_type(struct stack_st_void *sk) { return (OPENSSL_STACK *)sk; } static __attribute__((unused)) inline OPENSSL_sk_compfunc ossl_check_void_compfunc_type(sk_void_compfunc cmp) { return (OPENSSL_sk_compfunc)cmp; } static __attribute__((unused)) inline OPENSSL_sk_copyfunc ossl_check_void_copyfunc_type(sk_void_copyfunc cpy) { return (OPENSSL_sk_copyfunc)cpy; } static __attribute__((unused)) inline OPENSSL_sk_freefunc ossl_check_void_freefunc_type(sk_void_freefunc fr) { return (OPENSSL_sk_freefunc)fr; }
2432103: # 238 "/usr/include/openssl/crypto.h" 3 4
2432103: typedef void CRYPTO_EX_new (void *parent, void *ptr, CRYPTO_EX_DATA *ad,
2432103: int idx, long argl, void *argp);
2432103: typedef void CRYPTO_EX_free (void *parent, void *ptr, CRYPTO_EX_DATA *ad,
2432103: int idx, long argl, void *argp);
2432103: typedef int CRYPTO_EX_dup (CRYPTO_EX_DATA *to, const CRYPTO_EX_DATA *from,
2432103: void **from_d, int idx, long argl, void *argp);
2432103: int CRYPTO_get_ex_new_index(int class_index, long argl, void *argp,
2432103: CRYPTO_EX_new *new_func,
2432103: CRYPTO_EX_dup *dup_func,
2432103: CRYPTO_EX_free *free_func);
2432103:
2432103: int CRYPTO_free_ex_index(int class_index, int idx);
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: int CRYPTO_new_ex_data(int class_index, void *obj, CRYPTO_EX_DATA *ad);
2432103: int CRYPTO_dup_ex_data(int class_index, CRYPTO_EX_DATA *to,
2432103: const CRYPTO_EX_DATA *from);
2432103:
2432103: void CRYPTO_free_ex_data(int class_index, void *obj, CRYPTO_EX_DATA *ad);
2432103:
2432103:
2432103: int CRYPTO_alloc_ex_data(int class_index, void *obj, CRYPTO_EX_DATA *ad,
2432103: int idx);
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: int CRYPTO_set_ex_data(CRYPTO_EX_DATA *ad, int idx, void *val);
2432103: void *CRYPTO_get_ex_data(const CRYPTO_EX_DATA *ad, int idx);
2432103: # 306 "/usr/include/openssl/crypto.h" 3 4
2432103: typedef struct crypto_threadid_st {
2432103: int dummy;
2432103: } CRYPTO_THREADID;
2432103: # 333 "/usr/include/openssl/crypto.h" 3 4
2432103: typedef void *(*CRYPTO_malloc_fn)(size_t num, const char *file, int line);
2432103: typedef void *(*CRYPTO_realloc_fn)(void *addr, size_t num, const char *file,
2432103: int line);
2432103: typedef void (*CRYPTO_free_fn)(void *addr, const char *file, int line);
2432103: int CRYPTO_set_mem_functions(CRYPTO_malloc_fn malloc_fn,
2432103: CRYPTO_realloc_fn realloc_fn,
2432103: CRYPTO_free_fn free_fn);
2432103: void CRYPTO_get_mem_functions(CRYPTO_malloc_fn *malloc_fn,
2432103: CRYPTO_realloc_fn *realloc_fn,
2432103: CRYPTO_free_fn *free_fn);
2432103:
2432103: __attribute__((__malloc__)) void *CRYPTO_malloc(size_t num, const char *file, int line);
2432103: __attribute__((__malloc__)) void *CRYPTO_zalloc(size_t num, const char *file, int line);
2432103: __attribute__((__malloc__)) void *CRYPTO_memdup(const void *str, size_t siz, const char *file, int line);
2432103: __attribute__((__malloc__)) char *CRYPTO_strdup(const char *str, const char *file, int line);
2432103: __attribute__((__malloc__)) char *CRYPTO_strndup(const char *str, size_t s, const char *file, int line);
2432103: void CRYPTO_free(void *ptr, const char *file, int line);
2432103: void CRYPTO_clear_free(void *ptr, size_t num, const char *file, int line);
2432103: void *CRYPTO_realloc(void *addr, size_t num, const char *file, int line);
2432103: void *CRYPTO_clear_realloc(void *addr, size_t old_num, size_t num,
2432103: const char *file, int line);
2432103:
2432103: int CRYPTO_secure_malloc_init(size_t sz, size_t minsize);
2432103: int CRYPTO_secure_malloc_done(void);
2432103: __attribute__((__malloc__)) void *CRYPTO_secure_malloc(size_t num, const char *file, int line);
2432103: __attribute__((__malloc__)) void *CRYPTO_secure_zalloc(size_t num, const char *file, int line);
2432103: void CRYPTO_secure_free(void *ptr, const char *file, int line);
2432103: void CRYPTO_secure_clear_free(void *ptr, size_t num,
2432103: const char *file, int line);
2432103: int CRYPTO_secure_allocated(const void *ptr);
2432103: int CRYPTO_secure_malloc_initialized(void);
2432103: size_t CRYPTO_secure_actual_size(void *ptr);
2432103: size_t CRYPTO_secure_used(void);
2432103:
2432103: void OPENSSL_cleanse(void *ptr, size_t len);
2432103: # 415 "/usr/include/openssl/crypto.h" 3 4
2432103: _Noreturn void OPENSSL_die(const char *assertion, const char *file, int line);
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: int OPENSSL_isservice(void);
2432103:
2432103: void OPENSSL_init(void);
2432103:
2432103:
2432103: void OPENSSL_fork_prepare(void);
2432103: void OPENSSL_fork_parent(void);
2432103: void OPENSSL_fork_child(void);
2432103:
2432103:
2432103:
2432103: struct tm *OPENSSL_gmtime(const time_t *timer, struct tm *result);
2432103: int OPENSSL_gmtime_adj(struct tm *tm, int offset_day, long offset_sec);
2432103: int OPENSSL_gmtime_diff(int *pday, int *psec,
2432103: const struct tm *from, const struct tm *to);
2432103: # 445 "/usr/include/openssl/crypto.h" 3 4
2432103: int CRYPTO_memcmp(const void * in_a, const void * in_b, size_t len);
2432103: # 484 "/usr/include/openssl/crypto.h" 3 4
2432103: void OPENSSL_cleanup(void);
2432103: int OPENSSL_init_crypto(uint64_t opts, const OPENSSL_INIT_SETTINGS *settings);
2432103: int OPENSSL_atexit(void (*handler)(void));
2432103: void OPENSSL_thread_stop(void);
2432103: void OPENSSL_thread_stop_ex(OSSL_LIB_CTX *ctx);
2432103:
2432103:
2432103: OPENSSL_INIT_SETTINGS *OPENSSL_INIT_new(void);
2432103:
2432103: int OPENSSL_INIT_set_config_filename(OPENSSL_INIT_SETTINGS *settings,
2432103: const char *config_filename);
2432103: void OPENSSL_INIT_set_config_file_flags(OPENSSL_INIT_SETTINGS *settings,
2432103: unsigned long flags);
2432103: int OPENSSL_INIT_set_config_appname(OPENSSL_INIT_SETTINGS *settings,
2432103: const char *config_appname);
2432103:
2432103: void OPENSSL_INIT_free(OPENSSL_INIT_SETTINGS *settings);
2432103: # 518 "/usr/include/openssl/crypto.h" 3 4
2432103: # 1 "/usr/include/pthread.h" 1 3 4
2432103: # 22 "/usr/include/pthread.h" 3 4
2432103: # 1 "/usr/include/sched.h" 1 3 4
2432103: # 29 "/usr/include/sched.h" 3 4
2432103: # 1 "/usr/lib/gcc/m68k-linux-gnu/13/include/stddef.h" 1 3 4
2432103: # 30 "/usr/include/sched.h" 2 3 4
2432103: # 43 "/usr/include/sched.h" 3 4
2432103: # 1 "/usr/include/m68k-linux-gnu/bits/sched.h" 1 3 4
2432103: # 80 "/usr/include/m68k-linux-gnu/bits/sched.h" 3 4
2432103: # 1 "/usr/include/m68k-linux-gnu/bits/types/struct_sched_param.h" 1 3 4
2432103: # 23 "/usr/include/m68k-linux-gnu/bits/types/struct_sched_param.h" 3 4
2432103: struct sched_param
2432103: {
2432103: int sched_priority;
2432103: };
2432103: # 81 "/usr/include/m68k-linux-gnu/bits/sched.h" 2 3 4
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern int clone (int (*__fn) (void *__arg), void *__child_stack,
2432103: int __flags, void *__arg, ...) __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103:
2432103: extern int unshare (int __flags) __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103:
2432103: extern int sched_getcpu (void) __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103:
2432103: extern int getcpu (unsigned int *, unsigned int *) __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103:
2432103: extern int setns (int __fd, int __nstype) __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103:
2432103:
2432103: # 44 "/usr/include/sched.h" 2 3 4
2432103: # 1 "/usr/include/m68k-linux-gnu/bits/cpu-set.h" 1 3 4
2432103: # 32 "/usr/include/m68k-linux-gnu/bits/cpu-set.h" 3 4
2432103: typedef unsigned long int __cpu_mask;
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: typedef struct
2432103: {
2432103: __cpu_mask __bits[1024 / (8 * sizeof (__cpu_mask))];
2432103: } cpu_set_t;
2432103: # 115 "/usr/include/m68k-linux-gnu/bits/cpu-set.h" 3 4
2432103:
2432103:
2432103: extern int __sched_cpucount (size_t __setsize, const cpu_set_t *__setp)
2432103: __attribute__ ((__nothrow__ , __leaf__));
2432103: extern cpu_set_t *__sched_cpualloc (size_t __count) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__));
2432103: extern void __sched_cpufree (cpu_set_t *__set) __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103:
2432103: # 45 "/usr/include/sched.h" 2 3 4
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern int sched_setparam (__pid_t __pid, const struct sched_param *__param)
2432103: __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103:
2432103: extern int sched_getparam (__pid_t __pid, struct sched_param *__param) __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103:
2432103: extern int sched_setscheduler (__pid_t __pid, int __policy,
2432103: const struct sched_param *__param) __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103:
2432103: extern int sched_getscheduler (__pid_t __pid) __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103:
2432103: extern int sched_yield (void) __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103:
2432103: extern int sched_get_priority_max (int __algorithm) __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103:
2432103: extern int sched_get_priority_min (int __algorithm) __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern int sched_rr_get_interval (__pid_t __pid, struct timespec *__t) __asm__ ("" "__sched_rr_get_interval64") __attribute__ ((__nothrow__ , __leaf__))
2432103:
2432103: ;
2432103: # 130 "/usr/include/sched.h" 3 4
2432103: extern int sched_setaffinity (__pid_t __pid, size_t __cpusetsize,
2432103: const cpu_set_t *__cpuset) __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103:
2432103: extern int sched_getaffinity (__pid_t __pid, size_t __cpusetsize,
2432103: cpu_set_t *__cpuset) __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103:
2432103:
2432103: # 23 "/usr/include/pthread.h" 2 3 4
2432103:
2432103:
2432103:
2432103:
2432103: # 1 "/usr/include/m68k-linux-gnu/bits/setjmp.h" 1 3 4
2432103: # 26 "/usr/include/m68k-linux-gnu/bits/setjmp.h" 3 4
2432103: typedef struct __jmp_buf_internal_tag
2432103: {
2432103:
2432103: long int __dregs[7];
2432103:
2432103:
2432103: int *__aregs[6];
2432103: int *__fp;
2432103: int *__sp;
2432103:
2432103:
2432103:
2432103:
2432103: char __fpregs[8 * (96 / 8)];
2432103:
2432103:
2432103:
2432103:
2432103: } __jmp_buf[1];
2432103: # 28 "/usr/include/pthread.h" 2 3 4
2432103: # 1 "/usr/include/m68k-linux-gnu/bits/wordsize.h" 1 3 4
2432103: # 29 "/usr/include/pthread.h" 2 3 4
2432103:
2432103:
2432103: # 1 "/usr/include/m68k-linux-gnu/bits/types/struct___jmp_buf_tag.h" 1 3 4
2432103: # 26 "/usr/include/m68k-linux-gnu/bits/types/struct___jmp_buf_tag.h" 3 4
2432103: struct __jmp_buf_tag
2432103: {
2432103:
2432103:
2432103:
2432103:
2432103: __jmp_buf __jmpbuf;
2432103: int __mask_was_saved;
2432103: __sigset_t __saved_mask;
2432103: };
2432103: # 32 "/usr/include/pthread.h" 2 3 4
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: enum
2432103: {
2432103: PTHREAD_CREATE_JOINABLE,
2432103:
2432103: PTHREAD_CREATE_DETACHED
2432103:
2432103: };
2432103:
2432103:
2432103:
2432103: enum
2432103: {
2432103: PTHREAD_MUTEX_TIMED_NP,
2432103: PTHREAD_MUTEX_RECURSIVE_NP,
2432103: PTHREAD_MUTEX_ERRORCHECK_NP,
2432103: PTHREAD_MUTEX_ADAPTIVE_NP
2432103:
2432103: ,
2432103: PTHREAD_MUTEX_NORMAL = PTHREAD_MUTEX_TIMED_NP,
2432103: PTHREAD_MUTEX_RECURSIVE = PTHREAD_MUTEX_RECURSIVE_NP,
2432103: PTHREAD_MUTEX_ERRORCHECK = PTHREAD_MUTEX_ERRORCHECK_NP,
2432103: PTHREAD_MUTEX_DEFAULT = PTHREAD_MUTEX_NORMAL
2432103:
2432103:
2432103:
2432103: , PTHREAD_MUTEX_FAST_NP = PTHREAD_MUTEX_TIMED_NP
2432103:
2432103: };
2432103:
2432103:
2432103:
2432103:
2432103: enum
2432103: {
2432103: PTHREAD_MUTEX_STALLED,
2432103: PTHREAD_MUTEX_STALLED_NP = PTHREAD_MUTEX_STALLED,
2432103: PTHREAD_MUTEX_ROBUST,
2432103: PTHREAD_MUTEX_ROBUST_NP = PTHREAD_MUTEX_ROBUST
2432103: };
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: enum
2432103: {
2432103: PTHREAD_PRIO_NONE,
2432103: PTHREAD_PRIO_INHERIT,
2432103: PTHREAD_PRIO_PROTECT
2432103: };
2432103: # 104 "/usr/include/pthread.h" 3 4
2432103: enum
2432103: {
2432103: PTHREAD_RWLOCK_PREFER_READER_NP,
2432103: PTHREAD_RWLOCK_PREFER_WRITER_NP,
2432103: PTHREAD_RWLOCK_PREFER_WRITER_NONRECURSIVE_NP,
2432103: PTHREAD_RWLOCK_DEFAULT_NP = PTHREAD_RWLOCK_PREFER_READER_NP
2432103: };
2432103: # 124 "/usr/include/pthread.h" 3 4
2432103: enum
2432103: {
2432103: PTHREAD_INHERIT_SCHED,
2432103:
2432103: PTHREAD_EXPLICIT_SCHED
2432103:
2432103: };
2432103:
2432103:
2432103:
2432103: enum
2432103: {
2432103: PTHREAD_SCOPE_SYSTEM,
2432103:
2432103: PTHREAD_SCOPE_PROCESS
2432103:
2432103: };
2432103:
2432103:
2432103:
2432103: enum
2432103: {
2432103: PTHREAD_PROCESS_PRIVATE,
2432103:
2432103: PTHREAD_PROCESS_SHARED
2432103:
2432103: };
2432103: # 159 "/usr/include/pthread.h" 3 4
2432103: struct _pthread_cleanup_buffer
2432103: {
2432103: void (*__routine) (void *);
2432103: void *__arg;
2432103: int __canceltype;
2432103: struct _pthread_cleanup_buffer *__prev;
2432103: };
2432103:
2432103:
2432103: enum
2432103: {
2432103: PTHREAD_CANCEL_ENABLE,
2432103:
2432103: PTHREAD_CANCEL_DISABLE
2432103:
2432103: };
2432103: enum
2432103: {
2432103: PTHREAD_CANCEL_DEFERRED,
2432103:
2432103: PTHREAD_CANCEL_ASYNCHRONOUS
2432103:
2432103: };
2432103: # 197 "/usr/include/pthread.h" 3 4
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern int pthread_create (pthread_t *__restrict __newthread,
2432103: const pthread_attr_t *__restrict __attr,
2432103: void *(*__start_routine) (void *),
2432103: void *__restrict __arg) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 3)));
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern void pthread_exit (void *__retval) __attribute__ ((__noreturn__));
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern int pthread_join (pthread_t __th, void **__thread_return);
2432103:
2432103:
2432103:
2432103:
2432103: extern int pthread_tryjoin_np (pthread_t __th, void **__thread_return) __attribute__ ((__nothrow__ , __leaf__));
2432103: # 248 "/usr/include/pthread.h" 3 4
2432103: extern int pthread_timedjoin_np (pthread_t __th, void **__thread_return, const struct timespec *__abstime) __asm__ ("" "__pthread_timedjoin_np64")
2432103:
2432103:
2432103: ;
2432103:
2432103: extern int pthread_clockjoin_np (pthread_t __th, void **__thread_return, clockid_t __clockid, const struct timespec *__abstime) __asm__ ("" "__pthread_clockjoin_np64")
2432103:
2432103:
2432103:
2432103: ;
2432103: # 269 "/usr/include/pthread.h" 3 4
2432103: extern int pthread_detach (pthread_t __th) __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103:
2432103:
2432103: extern pthread_t pthread_self (void) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__));
2432103:
2432103:
2432103: extern int pthread_equal (pthread_t __thread1, pthread_t __thread2)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__));
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern int pthread_attr_init (pthread_attr_t *__attr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
2432103:
2432103:
2432103: extern int pthread_attr_destroy (pthread_attr_t *__attr)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
2432103:
2432103:
2432103: extern int pthread_attr_getdetachstate (const pthread_attr_t *__attr,
2432103: int *__detachstate)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2)));
2432103:
2432103:
2432103: extern int pthread_attr_setdetachstate (pthread_attr_t *__attr,
2432103: int __detachstate)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
2432103:
2432103:
2432103:
2432103: extern int pthread_attr_getguardsize (const pthread_attr_t *__attr,
2432103: size_t *__guardsize)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2)));
2432103:
2432103:
2432103: extern int pthread_attr_setguardsize (pthread_attr_t *__attr,
2432103: size_t __guardsize)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
2432103:
2432103:
2432103:
2432103: extern int pthread_attr_getschedparam (const pthread_attr_t *__restrict __attr,
2432103: struct sched_param *__restrict __param)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2)));
2432103:
2432103:
2432103: extern int pthread_attr_setschedparam (pthread_attr_t *__restrict __attr,
2432103: const struct sched_param *__restrict
2432103: __param) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2)));
2432103:
2432103:
2432103: extern int pthread_attr_getschedpolicy (const pthread_attr_t *__restrict
2432103: __attr, int *__restrict __policy)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2)));
2432103:
2432103:
2432103: extern int pthread_attr_setschedpolicy (pthread_attr_t *__attr, int __policy)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
2432103:
2432103:
2432103: extern int pthread_attr_getinheritsched (const pthread_attr_t *__restrict
2432103: __attr, int *__restrict __inherit)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2)));
2432103:
2432103:
2432103: extern int pthread_attr_setinheritsched (pthread_attr_t *__attr,
2432103: int __inherit)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
2432103:
2432103:
2432103:
2432103: extern int pthread_attr_getscope (const pthread_attr_t *__restrict __attr,
2432103: int *__restrict __scope)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2)));
2432103:
2432103:
2432103: extern int pthread_attr_setscope (pthread_attr_t *__attr, int __scope)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
2432103:
2432103:
2432103: extern int pthread_attr_getstackaddr (const pthread_attr_t *__restrict
2432103: __attr, void **__restrict __stackaddr)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))) __attribute__ ((__deprecated__));
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern int pthread_attr_setstackaddr (pthread_attr_t *__attr,
2432103: void *__stackaddr)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__deprecated__));
2432103:
2432103:
2432103: extern int pthread_attr_getstacksize (const pthread_attr_t *__restrict
2432103: __attr, size_t *__restrict __stacksize)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2)));
2432103:
2432103:
2432103:
2432103:
2432103: extern int pthread_attr_setstacksize (pthread_attr_t *__attr,
2432103: size_t __stacksize)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
2432103:
2432103:
2432103:
2432103: extern int pthread_attr_getstack (const pthread_attr_t *__restrict __attr,
2432103: void **__restrict __stackaddr,
2432103: size_t *__restrict __stacksize)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2, 3)));
2432103:
2432103:
2432103:
2432103:
2432103: extern int pthread_attr_setstack (pthread_attr_t *__attr, void *__stackaddr,
2432103: size_t __stacksize) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern int pthread_attr_setaffinity_np (pthread_attr_t *__attr,
2432103: size_t __cpusetsize,
2432103: const cpu_set_t *__cpuset)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 3)));
2432103:
2432103:
2432103:
2432103: extern int pthread_attr_getaffinity_np (const pthread_attr_t *__attr,
2432103: size_t __cpusetsize,
2432103: cpu_set_t *__cpuset)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 3)));
2432103:
2432103:
2432103: extern int pthread_getattr_default_np (pthread_attr_t *__attr)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
2432103:
2432103:
2432103: extern int pthread_attr_setsigmask_np (pthread_attr_t *__attr,
2432103: const __sigset_t *sigmask);
2432103:
2432103:
2432103:
2432103:
2432103: extern int pthread_attr_getsigmask_np (const pthread_attr_t *__attr,
2432103: __sigset_t *sigmask);
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern int pthread_setattr_default_np (const pthread_attr_t *__attr)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
2432103:
2432103:
2432103:
2432103:
2432103: extern int pthread_getattr_np (pthread_t __th, pthread_attr_t *__attr)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2)));
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern int pthread_setschedparam (pthread_t __target_thread, int __policy,
2432103: const struct sched_param *__param)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3)));
2432103:
2432103:
2432103: extern int pthread_getschedparam (pthread_t __target_thread,
2432103: int *__restrict __policy,
2432103: struct sched_param *__restrict __param)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2, 3)));
2432103:
2432103:
2432103: extern int pthread_setschedprio (pthread_t __target_thread, int __prio)
2432103: __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103:
2432103:
2432103:
2432103: extern int pthread_getname_np (pthread_t __target_thread, char *__buf,
2432103: size_t __buflen)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2)));
2432103:
2432103:
2432103: extern int pthread_setname_np (pthread_t __target_thread, const char *__name)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2)));
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern int pthread_getconcurrency (void) __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103:
2432103: extern int pthread_setconcurrency (int __level) __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103:
2432103:
2432103: extern int pthread_yield (void) __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103: extern int pthread_yield (void) __asm__ ("" "sched_yield") __attribute__ ((__nothrow__ , __leaf__))
2432103: __attribute__ ((__deprecated__ ("pthread_yield is deprecated, use sched_yield instead")))
2432103: ;
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern int pthread_setaffinity_np (pthread_t __th, size_t __cpusetsize,
2432103: const cpu_set_t *__cpuset)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3)));
2432103:
2432103:
2432103: extern int pthread_getaffinity_np (pthread_t __th, size_t __cpusetsize,
2432103: cpu_set_t *__cpuset)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3)));
2432103: # 509 "/usr/include/pthread.h" 3 4
2432103: extern int pthread_once (pthread_once_t *__once_control,
2432103: void (*__init_routine) (void)) __attribute__ ((__nonnull__ (1, 2)));
2432103: # 521 "/usr/include/pthread.h" 3 4
2432103: extern int pthread_setcancelstate (int __state, int *__oldstate);
2432103:
2432103:
2432103:
2432103: extern int pthread_setcanceltype (int __type, int *__oldtype);
2432103:
2432103:
2432103: extern int pthread_cancel (pthread_t __th);
2432103:
2432103:
2432103:
2432103:
2432103: extern void pthread_testcancel (void);
2432103:
2432103:
2432103:
2432103:
2432103: struct __cancel_jmp_buf_tag
2432103: {
2432103: __jmp_buf __cancel_jmp_buf;
2432103: int __mask_was_saved;
2432103: };
2432103:
2432103: typedef struct
2432103: {
2432103: struct __cancel_jmp_buf_tag __cancel_jmp_buf[1];
2432103: void *__pad[4];
2432103: } __pthread_unwind_buf_t __attribute__ ((__aligned__));
2432103: # 557 "/usr/include/pthread.h" 3 4
2432103: struct __pthread_cleanup_frame
2432103: {
2432103: void (*__cancel_routine) (void *);
2432103: void *__cancel_arg;
2432103: int __do_it;
2432103: int __cancel_type;
2432103: };
2432103: # 697 "/usr/include/pthread.h" 3 4
2432103: extern void __pthread_register_cancel (__pthread_unwind_buf_t *__buf)
2432103: ;
2432103: # 709 "/usr/include/pthread.h" 3 4
2432103: extern void __pthread_unregister_cancel (__pthread_unwind_buf_t *__buf)
2432103: ;
2432103: # 732 "/usr/include/pthread.h" 3 4
2432103: extern void __pthread_register_cancel_defer (__pthread_unwind_buf_t *__buf)
2432103: ;
2432103: # 745 "/usr/include/pthread.h" 3 4
2432103: extern void __pthread_unregister_cancel_restore (__pthread_unwind_buf_t *__buf)
2432103: ;
2432103:
2432103:
2432103:
2432103: extern void __pthread_unwind_next (__pthread_unwind_buf_t *__buf)
2432103: __attribute__ ((__noreturn__))
2432103:
2432103: __attribute__ ((__weak__))
2432103:
2432103: ;
2432103: # 766 "/usr/include/pthread.h" 3 4
2432103: extern int __sigsetjmp_cancel (struct __cancel_jmp_buf_tag __env[1], int __savemask) __asm__ ("" "__sigsetjmp") __attribute__ ((__nothrow__))
2432103:
2432103:
2432103: __attribute__ ((__returns_twice__));
2432103: # 781 "/usr/include/pthread.h" 3 4
2432103: extern int pthread_mutex_init (pthread_mutex_t *__mutex,
2432103: const pthread_mutexattr_t *__mutexattr)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
2432103:
2432103:
2432103: extern int pthread_mutex_destroy (pthread_mutex_t *__mutex)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
2432103:
2432103:
2432103: extern int pthread_mutex_trylock (pthread_mutex_t *__mutex)
2432103: __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
2432103:
2432103:
2432103: extern int pthread_mutex_lock (pthread_mutex_t *__mutex)
2432103: __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
2432103: # 805 "/usr/include/pthread.h" 3 4
2432103: extern int pthread_mutex_timedlock (pthread_mutex_t *__restrict __mutex, const struct timespec *__restrict __abstime) __asm__ ("" "__pthread_mutex_timedlock64") __attribute__ ((__nothrow__))
2432103:
2432103:
2432103: __attribute__ ((__nonnull__ (1, 2)));
2432103: # 823 "/usr/include/pthread.h" 3 4
2432103: extern int pthread_mutex_clocklock (pthread_mutex_t *__restrict __mutex, clockid_t __clockid, const struct timespec *__restrict __abstime) __asm__ ("" "__pthread_mutex_clocklock64") __attribute__ ((__nothrow__))
2432103:
2432103:
2432103:
2432103: __attribute__ ((__nonnull__ (1, 3)));
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern int pthread_mutex_unlock (pthread_mutex_t *__mutex)
2432103: __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
2432103:
2432103:
2432103:
2432103: extern int pthread_mutex_getprioceiling (const pthread_mutex_t *
2432103: __restrict __mutex,
2432103: int *__restrict __prioceiling)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2)));
2432103:
2432103:
2432103:
2432103: extern int pthread_mutex_setprioceiling (pthread_mutex_t *__restrict __mutex,
2432103: int __prioceiling,
2432103: int *__restrict __old_ceiling)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 3)));
2432103:
2432103:
2432103:
2432103:
2432103: extern int pthread_mutex_consistent (pthread_mutex_t *__mutex)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
2432103:
2432103:
2432103: extern int pthread_mutex_consistent_np (pthread_mutex_t *) __asm__ ("" "pthread_mutex_consistent") __attribute__ ((__nothrow__ , __leaf__))
2432103: __attribute__ ((__nonnull__ (1)))
2432103: __attribute__ ((__deprecated__ ("pthread_mutex_consistent_np is deprecated, use pthread_mutex_consistent")))
2432103: ;
2432103: # 874 "/usr/include/pthread.h" 3 4
2432103: extern int pthread_mutexattr_init (pthread_mutexattr_t *__attr)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
2432103:
2432103:
2432103: extern int pthread_mutexattr_destroy (pthread_mutexattr_t *__attr)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
2432103:
2432103:
2432103: extern int pthread_mutexattr_getpshared (const pthread_mutexattr_t *
2432103: __restrict __attr,
2432103: int *__restrict __pshared)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2)));
2432103:
2432103:
2432103: extern int pthread_mutexattr_setpshared (pthread_mutexattr_t *__attr,
2432103: int __pshared)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
2432103:
2432103:
2432103:
2432103: extern int pthread_mutexattr_gettype (const pthread_mutexattr_t *__restrict
2432103: __attr, int *__restrict __kind)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2)));
2432103:
2432103:
2432103:
2432103:
2432103: extern int pthread_mutexattr_settype (pthread_mutexattr_t *__attr, int __kind)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
2432103:
2432103:
2432103:
2432103: extern int pthread_mutexattr_getprotocol (const pthread_mutexattr_t *
2432103: __restrict __attr,
2432103: int *__restrict __protocol)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2)));
2432103:
2432103:
2432103:
2432103: extern int pthread_mutexattr_setprotocol (pthread_mutexattr_t *__attr,
2432103: int __protocol)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
2432103:
2432103:
2432103: extern int pthread_mutexattr_getprioceiling (const pthread_mutexattr_t *
2432103: __restrict __attr,
2432103: int *__restrict __prioceiling)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2)));
2432103:
2432103:
2432103: extern int pthread_mutexattr_setprioceiling (pthread_mutexattr_t *__attr,
2432103: int __prioceiling)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
2432103:
2432103:
2432103:
2432103: extern int pthread_mutexattr_getrobust (const pthread_mutexattr_t *__attr,
2432103: int *__robustness)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2)));
2432103:
2432103:
2432103: extern int pthread_mutexattr_getrobust_np (pthread_mutexattr_t *, int *) __asm__ ("" "pthread_mutexattr_getrobust") __attribute__ ((__nothrow__ , __leaf__))
2432103:
2432103: __attribute__ ((__nonnull__ (1)))
2432103: __attribute__ ((__deprecated__ ("pthread_mutexattr_getrobust_np is deprecated, use pthread_mutexattr_getrobust")))
2432103: ;
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern int pthread_mutexattr_setrobust (pthread_mutexattr_t *__attr,
2432103: int __robustness)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
2432103:
2432103:
2432103: extern int pthread_mutexattr_setrobust_np (pthread_mutexattr_t *, int) __asm__ ("" "pthread_mutexattr_setrobust") __attribute__ ((__nothrow__ , __leaf__))
2432103:
2432103: __attribute__ ((__nonnull__ (1)))
2432103: __attribute__ ((__deprecated__ ("pthread_mutexattr_setrobust_np is deprecated, use pthread_mutexattr_setrobust")))
2432103: ;
2432103: # 967 "/usr/include/pthread.h" 3 4
2432103: extern int pthread_rwlock_init (pthread_rwlock_t *__restrict __rwlock,
2432103: const pthread_rwlockattr_t *__restrict
2432103: __attr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
2432103:
2432103:
2432103: extern int pthread_rwlock_destroy (pthread_rwlock_t *__rwlock)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
2432103:
2432103:
2432103: extern int pthread_rwlock_rdlock (pthread_rwlock_t *__rwlock)
2432103: __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
2432103:
2432103:
2432103: extern int pthread_rwlock_tryrdlock (pthread_rwlock_t *__rwlock)
2432103: __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
2432103: # 991 "/usr/include/pthread.h" 3 4
2432103: extern int pthread_rwlock_timedrdlock (pthread_rwlock_t *__restrict __rwlock, const struct timespec *__restrict __abstime) __asm__ ("" "__pthread_rwlock_timedrdlock64") __attribute__ ((__nothrow__))
2432103:
2432103:
2432103:
2432103: __attribute__ ((__nonnull__ (1, 2)));
2432103: # 1010 "/usr/include/pthread.h" 3 4
2432103: extern int pthread_rwlock_clockrdlock (pthread_rwlock_t *__restrict __rwlock, clockid_t __clockid, const struct timespec *__restrict __abstime) __asm__ ("" "__pthread_rwlock_clockrdlock64") __attribute__ ((__nothrow__))
2432103:
2432103:
2432103:
2432103:
2432103: __attribute__ ((__nonnull__ (1, 3)));
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern int pthread_rwlock_wrlock (pthread_rwlock_t *__rwlock)
2432103: __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
2432103:
2432103:
2432103: extern int pthread_rwlock_trywrlock (pthread_rwlock_t *__rwlock)
2432103: __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
2432103: # 1038 "/usr/include/pthread.h" 3 4
2432103: extern int pthread_rwlock_timedwrlock (pthread_rwlock_t *__restrict __rwlock, const struct timespec *__restrict __abstime) __asm__ ("" "__pthread_rwlock_timedwrlock64") __attribute__ ((__nothrow__))
2432103:
2432103:
2432103:
2432103: __attribute__ ((__nonnull__ (1, 2)));
2432103: # 1058 "/usr/include/pthread.h" 3 4
2432103: extern int pthread_rwlock_clockwrlock (pthread_rwlock_t *__restrict __rwlock, clockid_t __clockid, const struct timespec *__restrict __abstime) __asm__ ("" "__pthread_rwlock_clockwrlock64") __attribute__ ((__nothrow__))
2432103:
2432103:
2432103:
2432103:
2432103: __attribute__ ((__nonnull__ (1, 3)));
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern int pthread_rwlock_unlock (pthread_rwlock_t *__rwlock)
2432103: __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern int pthread_rwlockattr_init (pthread_rwlockattr_t *__attr)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
2432103:
2432103:
2432103: extern int pthread_rwlockattr_destroy (pthread_rwlockattr_t *__attr)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
2432103:
2432103:
2432103: extern int pthread_rwlockattr_getpshared (const pthread_rwlockattr_t *
2432103: __restrict __attr,
2432103: int *__restrict __pshared)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2)));
2432103:
2432103:
2432103: extern int pthread_rwlockattr_setpshared (pthread_rwlockattr_t *__attr,
2432103: int __pshared)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
2432103:
2432103:
2432103: extern int pthread_rwlockattr_getkind_np (const pthread_rwlockattr_t *
2432103: __restrict __attr,
2432103: int *__restrict __pref)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2)));
2432103:
2432103:
2432103: extern int pthread_rwlockattr_setkind_np (pthread_rwlockattr_t *__attr,
2432103: int __pref) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern int pthread_cond_init (pthread_cond_t *__restrict __cond,
2432103: const pthread_condattr_t *__restrict __cond_attr)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
2432103:
2432103:
2432103: extern int pthread_cond_destroy (pthread_cond_t *__cond)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
2432103:
2432103:
2432103: extern int pthread_cond_signal (pthread_cond_t *__cond)
2432103: __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
2432103:
2432103:
2432103: extern int pthread_cond_broadcast (pthread_cond_t *__cond)
2432103: __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern int pthread_cond_wait (pthread_cond_t *__restrict __cond,
2432103: pthread_mutex_t *__restrict __mutex)
2432103: __attribute__ ((__nonnull__ (1, 2)));
2432103: # 1151 "/usr/include/pthread.h" 3 4
2432103: extern int pthread_cond_timedwait (pthread_cond_t *__restrict __cond, pthread_mutex_t *__restrict __mutex, const struct timespec *__restrict __abstime) __asm__ ("" "__pthread_cond_timedwait64")
2432103:
2432103:
2432103:
2432103:
2432103: __attribute__ ((__nonnull__ (1, 2, 3)));
2432103: # 1178 "/usr/include/pthread.h" 3 4
2432103: extern int pthread_cond_clockwait (pthread_cond_t *__restrict __cond, pthread_mutex_t *__restrict __mutex, __clockid_t __clock_id, const struct timespec *__restrict __abstime) __asm__ ("" "__pthread_cond_clockwait64")
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: __attribute__ ((__nonnull__ (1, 2, 4)));
2432103: # 1194 "/usr/include/pthread.h" 3 4
2432103: extern int pthread_condattr_init (pthread_condattr_t *__attr)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
2432103:
2432103:
2432103: extern int pthread_condattr_destroy (pthread_condattr_t *__attr)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
2432103:
2432103:
2432103: extern int pthread_condattr_getpshared (const pthread_condattr_t *
2432103: __restrict __attr,
2432103: int *__restrict __pshared)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2)));
2432103:
2432103:
2432103: extern int pthread_condattr_setpshared (pthread_condattr_t *__attr,
2432103: int __pshared) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
2432103:
2432103:
2432103:
2432103: extern int pthread_condattr_getclock (const pthread_condattr_t *
2432103: __restrict __attr,
2432103: __clockid_t *__restrict __clock_id)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2)));
2432103:
2432103:
2432103: extern int pthread_condattr_setclock (pthread_condattr_t *__attr,
2432103: __clockid_t __clock_id)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
2432103: # 1230 "/usr/include/pthread.h" 3 4
2432103: extern int pthread_spin_init (pthread_spinlock_t *__lock, int __pshared)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
2432103:
2432103:
2432103: extern int pthread_spin_destroy (pthread_spinlock_t *__lock)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
2432103:
2432103:
2432103: extern int pthread_spin_lock (pthread_spinlock_t *__lock)
2432103: __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
2432103:
2432103:
2432103: extern int pthread_spin_trylock (pthread_spinlock_t *__lock)
2432103: __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
2432103:
2432103:
2432103: extern int pthread_spin_unlock (pthread_spinlock_t *__lock)
2432103: __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern int pthread_barrier_init (pthread_barrier_t *__restrict __barrier,
2432103: const pthread_barrierattr_t *__restrict
2432103: __attr, unsigned int __count)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
2432103:
2432103:
2432103: extern int pthread_barrier_destroy (pthread_barrier_t *__barrier)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
2432103:
2432103:
2432103: extern int pthread_barrier_wait (pthread_barrier_t *__barrier)
2432103: __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
2432103:
2432103:
2432103:
2432103: extern int pthread_barrierattr_init (pthread_barrierattr_t *__attr)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
2432103:
2432103:
2432103: extern int pthread_barrierattr_destroy (pthread_barrierattr_t *__attr)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
2432103:
2432103:
2432103: extern int pthread_barrierattr_getpshared (const pthread_barrierattr_t *
2432103: __restrict __attr,
2432103: int *__restrict __pshared)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2)));
2432103:
2432103:
2432103: extern int pthread_barrierattr_setpshared (pthread_barrierattr_t *__attr,
2432103: int __pshared)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
2432103: # 1297 "/usr/include/pthread.h" 3 4
2432103: extern int pthread_key_create (pthread_key_t *__key,
2432103: void (*__destr_function) (void *))
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
2432103:
2432103:
2432103: extern int pthread_key_delete (pthread_key_t __key) __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103:
2432103: extern void *pthread_getspecific (pthread_key_t __key) __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103:
2432103: extern int pthread_setspecific (pthread_key_t __key,
2432103: const void *__pointer)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__access__ (__none__, 2)));
2432103:
2432103:
2432103:
2432103:
2432103: extern int pthread_getcpuclockid (pthread_t __thread_id,
2432103: __clockid_t *__clock_id)
2432103: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2)));
2432103: # 1332 "/usr/include/pthread.h" 3 4
2432103: extern int pthread_atfork (void (*__prepare) (void),
2432103: void (*__parent) (void),
2432103: void (*__child) (void)) __attribute__ ((__nothrow__ , __leaf__));
2432103:
2432103:
2432103:
2432103:
2432103: extern __inline __attribute__ ((__gnu_inline__)) int
2432103: __attribute__ ((__nothrow__ , __leaf__)) pthread_equal (pthread_t __thread1, pthread_t __thread2)
2432103: {
2432103: return __thread1 == __thread2;
2432103: }
2432103:
2432103:
2432103:
2432103: # 519 "/usr/include/openssl/crypto.h" 2 3 4
2432103:
2432103: typedef pthread_once_t CRYPTO_ONCE;
2432103: typedef pthread_key_t CRYPTO_THREAD_LOCAL;
2432103: typedef pthread_t CRYPTO_THREAD_ID;
2432103: # 535 "/usr/include/openssl/crypto.h" 3 4
2432103: int CRYPTO_THREAD_run_once(CRYPTO_ONCE *once, void (*init)(void));
2432103:
2432103: int CRYPTO_THREAD_init_local(CRYPTO_THREAD_LOCAL *key, void (*cleanup)(void *));
2432103: void *CRYPTO_THREAD_get_local(CRYPTO_THREAD_LOCAL *key);
2432103: int CRYPTO_THREAD_set_local(CRYPTO_THREAD_LOCAL *key, void *val);
2432103: int CRYPTO_THREAD_cleanup_local(CRYPTO_THREAD_LOCAL *key);
2432103:
2432103: CRYPTO_THREAD_ID CRYPTO_THREAD_get_current_id(void);
2432103: int CRYPTO_THREAD_compare_id(CRYPTO_THREAD_ID a, CRYPTO_THREAD_ID b);
2432103:
2432103: OSSL_LIB_CTX *OSSL_LIB_CTX_new(void);
2432103: OSSL_LIB_CTX *OSSL_LIB_CTX_new_from_dispatch(const OSSL_CORE_HANDLE *handle,
2432103: const OSSL_DISPATCH *in);
2432103: OSSL_LIB_CTX *OSSL_LIB_CTX_new_child(const OSSL_CORE_HANDLE *handle,
2432103: const OSSL_DISPATCH *in);
2432103: int OSSL_LIB_CTX_load_config(OSSL_LIB_CTX *ctx, const char *config_file);
2432103: void OSSL_LIB_CTX_free(OSSL_LIB_CTX *);
2432103: OSSL_LIB_CTX *OSSL_LIB_CTX_get0_global_default(void);
2432103: OSSL_LIB_CTX *OSSL_LIB_CTX_set0_default(OSSL_LIB_CTX *libctx);
2432103: # 27 "/usr/include/openssl/bn.h" 2 3 4
2432103: # 1 "/usr/include/openssl/bnerr.h" 1 3 4
2432103: # 13 "/usr/include/openssl/bnerr.h" 3 4
2432103:
2432103: # 28 "/usr/include/openssl/bn.h" 2 3 4
2432103: # 76 "/usr/include/openssl/bn.h" 3 4
2432103: void BN_set_flags(BIGNUM *b, int n);
2432103: int BN_get_flags(const BIGNUM *b, int n);
2432103: # 94 "/usr/include/openssl/bn.h" 3 4
2432103: void BN_with_flags(BIGNUM *dest, const BIGNUM *b, int flags);
2432103:
2432103:
2432103: int BN_GENCB_call(BN_GENCB *cb, int a, int b);
2432103:
2432103: BN_GENCB *BN_GENCB_new(void);
2432103: void BN_GENCB_free(BN_GENCB *cb);
2432103:
2432103:
2432103: void BN_GENCB_set_old(BN_GENCB *gencb, void (*callback) (int, int, void *),
2432103: void *cb_arg);
2432103:
2432103:
2432103: void BN_GENCB_set(BN_GENCB *gencb, int (*callback) (int, int, BN_GENCB *),
2432103: void *cb_arg);
2432103:
2432103: void *BN_GENCB_get_arg(BN_GENCB *cb);
2432103: # 191 "/usr/include/openssl/bn.h" 3 4
2432103: int BN_abs_is_word(const BIGNUM *a, const unsigned int w);
2432103: int BN_is_zero(const BIGNUM *a);
2432103: int BN_is_one(const BIGNUM *a);
2432103: int BN_is_word(const BIGNUM *a, const unsigned int w);
2432103: int BN_is_odd(const BIGNUM *a);
2432103:
2432103:
2432103:
2432103: void BN_zero_ex(BIGNUM *a);
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: const BIGNUM *BN_value_one(void);
2432103: char *BN_options(void);
2432103: BN_CTX *BN_CTX_new_ex(OSSL_LIB_CTX *ctx);
2432103: BN_CTX *BN_CTX_new(void);
2432103: BN_CTX *BN_CTX_secure_new_ex(OSSL_LIB_CTX *ctx);
2432103: BN_CTX *BN_CTX_secure_new(void);
2432103: void BN_CTX_free(BN_CTX *c);
2432103: void BN_CTX_start(BN_CTX *ctx);
2432103: BIGNUM *BN_CTX_get(BN_CTX *ctx);
2432103: void BN_CTX_end(BN_CTX *ctx);
2432103: int BN_rand_ex(BIGNUM *rnd, int bits, int top, int bottom,
2432103: unsigned int strength, BN_CTX *ctx);
2432103: int BN_rand(BIGNUM *rnd, int bits, int top, int bottom);
2432103: int BN_priv_rand_ex(BIGNUM *rnd, int bits, int top, int bottom,
2432103: unsigned int strength, BN_CTX *ctx);
2432103: int BN_priv_rand(BIGNUM *rnd, int bits, int top, int bottom);
2432103: int BN_rand_range_ex(BIGNUM *r, const BIGNUM *range, unsigned int strength,
2432103: BN_CTX *ctx);
2432103: int BN_rand_range(BIGNUM *rnd, const BIGNUM *range);
2432103: int BN_priv_rand_range_ex(BIGNUM *r, const BIGNUM *range,
2432103: unsigned int strength, BN_CTX *ctx);
2432103: int BN_priv_rand_range(BIGNUM *rnd, const BIGNUM *range);
2432103:
2432103:
2432103: int BN_pseudo_rand(BIGNUM *rnd, int bits, int top, int bottom);
2432103:
2432103: int BN_pseudo_rand_range(BIGNUM *rnd, const BIGNUM *range);
2432103:
2432103: int BN_num_bits(const BIGNUM *a);
2432103: int BN_num_bits_word(unsigned int l);
2432103: int BN_security_bits(int L, int N);
2432103: BIGNUM *BN_new(void);
2432103: BIGNUM *BN_secure_new(void);
2432103: void BN_clear_free(BIGNUM *a);
2432103: BIGNUM *BN_copy(BIGNUM *a, const BIGNUM *b);
2432103: void BN_swap(BIGNUM *a, BIGNUM *b);
2432103: BIGNUM *BN_bin2bn(const unsigned char *s, int len, BIGNUM *ret);
2432103: int BN_bn2bin(const BIGNUM *a, unsigned char *to);
2432103: int BN_bn2binpad(const BIGNUM *a, unsigned char *to, int tolen);
2432103: BIGNUM *BN_lebin2bn(const unsigned char *s, int len, BIGNUM *ret);
2432103: int BN_bn2lebinpad(const BIGNUM *a, unsigned char *to, int tolen);
2432103: BIGNUM *BN_native2bn(const unsigned char *s, int len, BIGNUM *ret);
2432103: int BN_bn2nativepad(const BIGNUM *a, unsigned char *to, int tolen);
2432103: BIGNUM *BN_mpi2bn(const unsigned char *s, int len, BIGNUM *ret);
2432103: int BN_bn2mpi(const BIGNUM *a, unsigned char *to);
2432103: int BN_sub(BIGNUM *r, const BIGNUM *a, const BIGNUM *b);
2432103: int BN_usub(BIGNUM *r, const BIGNUM *a, const BIGNUM *b);
2432103: int BN_uadd(BIGNUM *r, const BIGNUM *a, const BIGNUM *b);
2432103: int BN_add(BIGNUM *r, const BIGNUM *a, const BIGNUM *b);
2432103: int BN_mul(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx);
2432103: int BN_sqr(BIGNUM *r, const BIGNUM *a, BN_CTX *ctx);
2432103:
2432103:
2432103:
2432103:
2432103: void BN_set_negative(BIGNUM *b, int n);
2432103:
2432103:
2432103:
2432103:
2432103: int BN_is_negative(const BIGNUM *b);
2432103:
2432103: int BN_div(BIGNUM *dv, BIGNUM *rem, const BIGNUM *m, const BIGNUM *d,
2432103: BN_CTX *ctx);
2432103:
2432103: int BN_nnmod(BIGNUM *r, const BIGNUM *m, const BIGNUM *d, BN_CTX *ctx);
2432103: int BN_mod_add(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, const BIGNUM *m,
2432103: BN_CTX *ctx);
2432103: int BN_mod_add_quick(BIGNUM *r, const BIGNUM *a, const BIGNUM *b,
2432103: const BIGNUM *m);
2432103: int BN_mod_sub(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, const BIGNUM *m,
2432103: BN_CTX *ctx);
2432103: int BN_mod_sub_quick(BIGNUM *r, const BIGNUM *a, const BIGNUM *b,
2432103: const BIGNUM *m);
2432103: int BN_mod_mul(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, const BIGNUM *m,
2432103: BN_CTX *ctx);
2432103: int BN_mod_sqr(BIGNUM *r, const BIGNUM *a, const BIGNUM *m, BN_CTX *ctx);
2432103: int BN_mod_lshift1(BIGNUM *r, const BIGNUM *a, const BIGNUM *m, BN_CTX *ctx);
2432103: int BN_mod_lshift1_quick(BIGNUM *r, const BIGNUM *a, const BIGNUM *m);
2432103: int BN_mod_lshift(BIGNUM *r, const BIGNUM *a, int n, const BIGNUM *m,
2432103: BN_CTX *ctx);
2432103: int BN_mod_lshift_quick(BIGNUM *r, const BIGNUM *a, int n, const BIGNUM *m);
2432103:
2432103: unsigned int BN_mod_word(const BIGNUM *a, unsigned int w);
2432103: unsigned int BN_div_word(BIGNUM *a, unsigned int w);
2432103: int BN_mul_word(BIGNUM *a, unsigned int w);
2432103: int BN_add_word(BIGNUM *a, unsigned int w);
2432103: int BN_sub_word(BIGNUM *a, unsigned int w);
2432103: int BN_set_word(BIGNUM *a, unsigned int w);
2432103: unsigned int BN_get_word(const BIGNUM *a);
2432103:
2432103: int BN_cmp(const BIGNUM *a, const BIGNUM *b);
2432103: void BN_free(BIGNUM *a);
2432103: int BN_is_bit_set(const BIGNUM *a, int n);
2432103: int BN_lshift(BIGNUM *r, const BIGNUM *a, int n);
2432103: int BN_lshift1(BIGNUM *r, const BIGNUM *a);
2432103: int BN_exp(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, BN_CTX *ctx);
2432103:
2432103: int BN_mod_exp(BIGNUM *r, const BIGNUM *a, const BIGNUM *p,
2432103: const BIGNUM *m, BN_CTX *ctx);
2432103: int BN_mod_exp_mont(BIGNUM *r, const BIGNUM *a, const BIGNUM *p,
2432103: const BIGNUM *m, BN_CTX *ctx, BN_MONT_CTX *m_ctx);
2432103: int BN_mod_exp_mont_consttime(BIGNUM *rr, const BIGNUM *a, const BIGNUM *p,
2432103: const BIGNUM *m, BN_CTX *ctx,
2432103: BN_MONT_CTX *in_mont);
2432103: int BN_mod_exp_mont_word(BIGNUM *r, unsigned int a, const BIGNUM *p,
2432103: const BIGNUM *m, BN_CTX *ctx, BN_MONT_CTX *m_ctx);
2432103: int BN_mod_exp2_mont(BIGNUM *r, const BIGNUM *a1, const BIGNUM *p1,
2432103: const BIGNUM *a2, const BIGNUM *p2, const BIGNUM *m,
2432103: BN_CTX *ctx, BN_MONT_CTX *m_ctx);
2432103: int BN_mod_exp_simple(BIGNUM *r, const BIGNUM *a, const BIGNUM *p,
2432103: const BIGNUM *m, BN_CTX *ctx);
2432103: int BN_mod_exp_mont_consttime_x2(BIGNUM *rr1, const BIGNUM *a1, const BIGNUM *p1,
2432103: const BIGNUM *m1, BN_MONT_CTX *in_mont1,
2432103: BIGNUM *rr2, const BIGNUM *a2, const BIGNUM *p2,
2432103: const BIGNUM *m2, BN_MONT_CTX *in_mont2,
2432103: BN_CTX *ctx);
2432103:
2432103: int BN_mask_bits(BIGNUM *a, int n);
2432103:
2432103: int BN_print_fp(FILE *fp, const BIGNUM *a);
2432103:
2432103: int BN_print(BIO *bio, const BIGNUM *a);
2432103: int BN_reciprocal(BIGNUM *r, const BIGNUM *m, int len, BN_CTX *ctx);
2432103: int BN_rshift(BIGNUM *r, const BIGNUM *a, int n);
2432103: int BN_rshift1(BIGNUM *r, const BIGNUM *a);
2432103: void BN_clear(BIGNUM *a);
2432103: BIGNUM *BN_dup(const BIGNUM *a);
2432103: int BN_ucmp(const BIGNUM *a, const BIGNUM *b);
2432103: int BN_set_bit(BIGNUM *a, int n);
2432103: int BN_clear_bit(BIGNUM *a, int n);
2432103: char *BN_bn2hex(const BIGNUM *a);
2432103: char *BN_bn2dec(const BIGNUM *a);
2432103: int BN_hex2bn(BIGNUM **a, const char *str);
2432103: int BN_dec2bn(BIGNUM **a, const char *str);
2432103: int BN_asc2bn(BIGNUM **a, const char *str);
2432103: int BN_gcd(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx);
2432103: int BN_kronecker(const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx);
2432103:
2432103:
2432103: int BN_are_coprime(BIGNUM *a, const BIGNUM *b, BN_CTX *ctx);
2432103: BIGNUM *BN_mod_inverse(BIGNUM *ret,
2432103: const BIGNUM *a, const BIGNUM *n, BN_CTX *ctx);
2432103: BIGNUM *BN_mod_sqrt(BIGNUM *ret,
2432103: const BIGNUM *a, const BIGNUM *n, BN_CTX *ctx);
2432103:
2432103: void BN_consttime_swap(unsigned int swap, BIGNUM *a, BIGNUM *b, int nwords);
2432103:
2432103:
2432103:
2432103: __attribute__((deprecated("Since OpenSSL " "0.9.8")))
2432103: BIGNUM *BN_generate_prime(BIGNUM *ret, int bits, int safe,
2432103: const BIGNUM *add, const BIGNUM *rem,
2432103: void (*callback) (int, int, void *),
2432103: void *cb_arg);
2432103: __attribute__((deprecated("Since OpenSSL " "0.9.8")))
2432103: int BN_is_prime(const BIGNUM *p, int nchecks,
2432103: void (*callback) (int, int, void *),
2432103: BN_CTX *ctx, void *cb_arg);
2432103: __attribute__((deprecated("Since OpenSSL " "0.9.8")))
2432103: int BN_is_prime_fasttest(const BIGNUM *p, int nchecks,
2432103: void (*callback) (int, int, void *),
2432103: BN_CTX *ctx, void *cb_arg,
2432103: int do_trial_division);
2432103:
2432103:
2432103:
2432103: int BN_is_prime_ex(const BIGNUM *p, int nchecks, BN_CTX *ctx, BN_GENCB *cb);
2432103:
2432103: int BN_is_prime_fasttest_ex(const BIGNUM *p, int nchecks, BN_CTX *ctx,
2432103: int do_trial_division, BN_GENCB *cb);
2432103:
2432103:
2432103: int BN_generate_prime_ex2(BIGNUM *ret, int bits, int safe,
2432103: const BIGNUM *add, const BIGNUM *rem, BN_GENCB *cb,
2432103: BN_CTX *ctx);
2432103: int BN_generate_prime_ex(BIGNUM *ret, int bits, int safe, const BIGNUM *add,
2432103: const BIGNUM *rem, BN_GENCB *cb);
2432103: int BN_check_prime(const BIGNUM *p, BN_CTX *ctx, BN_GENCB *cb);
2432103:
2432103:
2432103:
2432103: int BN_X931_generate_Xpq(BIGNUM *Xp, BIGNUM *Xq, int nbits, BN_CTX *ctx);
2432103:
2432103:
2432103: int BN_X931_derive_prime_ex(BIGNUM *p, BIGNUM *p1, BIGNUM *p2,
2432103: const BIGNUM *Xp, const BIGNUM *Xp1,
2432103: const BIGNUM *Xp2, const BIGNUM *e, BN_CTX *ctx,
2432103: BN_GENCB *cb);
2432103:
2432103: int BN_X931_generate_prime_ex(BIGNUM *p, BIGNUM *p1, BIGNUM *p2, BIGNUM *Xp1,
2432103: BIGNUM *Xp2, const BIGNUM *Xp, const BIGNUM *e,
2432103: BN_CTX *ctx, BN_GENCB *cb);
2432103:
2432103:
2432103: BN_MONT_CTX *BN_MONT_CTX_new(void);
2432103: int BN_mod_mul_montgomery(BIGNUM *r, const BIGNUM *a, const BIGNUM *b,
2432103: BN_MONT_CTX *mont, BN_CTX *ctx);
2432103: int BN_to_montgomery(BIGNUM *r, const BIGNUM *a, BN_MONT_CTX *mont,
2432103: BN_CTX *ctx);
2432103: int BN_from_montgomery(BIGNUM *r, const BIGNUM *a, BN_MONT_CTX *mont,
2432103: BN_CTX *ctx);
2432103: void BN_MONT_CTX_free(BN_MONT_CTX *mont);
2432103: int BN_MONT_CTX_set(BN_MONT_CTX *mont, const BIGNUM *mod, BN_CTX *ctx);
2432103: BN_MONT_CTX *BN_MONT_CTX_copy(BN_MONT_CTX *to, BN_MONT_CTX *from);
2432103: BN_MONT_CTX *BN_MONT_CTX_set_locked(BN_MONT_CTX **pmont, CRYPTO_RWLOCK *lock,
2432103: const BIGNUM *mod, BN_CTX *ctx);
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: BN_BLINDING *BN_BLINDING_new(const BIGNUM *A, const BIGNUM *Ai, BIGNUM *mod);
2432103: void BN_BLINDING_free(BN_BLINDING *b);
2432103: int BN_BLINDING_update(BN_BLINDING *b, BN_CTX *ctx);
2432103: int BN_BLINDING_convert(BIGNUM *n, BN_BLINDING *b, BN_CTX *ctx);
2432103: int BN_BLINDING_invert(BIGNUM *n, BN_BLINDING *b, BN_CTX *ctx);
2432103: int BN_BLINDING_convert_ex(BIGNUM *n, BIGNUM *r, BN_BLINDING *b, BN_CTX *);
2432103: int BN_BLINDING_invert_ex(BIGNUM *n, const BIGNUM *r, BN_BLINDING *b,
2432103: BN_CTX *);
2432103:
2432103: int BN_BLINDING_is_current_thread(BN_BLINDING *b);
2432103: void BN_BLINDING_set_current_thread(BN_BLINDING *b);
2432103: int BN_BLINDING_lock(BN_BLINDING *b);
2432103: int BN_BLINDING_unlock(BN_BLINDING *b);
2432103:
2432103: unsigned long BN_BLINDING_get_flags(const BN_BLINDING *);
2432103: void BN_BLINDING_set_flags(BN_BLINDING *, unsigned long);
2432103: BN_BLINDING *BN_BLINDING_create_param(BN_BLINDING *b,
2432103: const BIGNUM *e, BIGNUM *m, BN_CTX *ctx,
2432103: int (*bn_mod_exp) (BIGNUM *r,
2432103: const BIGNUM *a,
2432103: const BIGNUM *p,
2432103: const BIGNUM *m,
2432103: BN_CTX *ctx,
2432103: BN_MONT_CTX *m_ctx),
2432103: BN_MONT_CTX *m_ctx);
2432103:
2432103: __attribute__((deprecated("Since OpenSSL " "0.9.8")))
2432103: void BN_set_params(int mul, int high, int low, int mont);
2432103: __attribute__((deprecated("Since OpenSSL " "0.9.8")))
2432103: int BN_get_params(int which);
2432103:
2432103:
2432103: BN_RECP_CTX *BN_RECP_CTX_new(void);
2432103: void BN_RECP_CTX_free(BN_RECP_CTX *recp);
2432103: int BN_RECP_CTX_set(BN_RECP_CTX *recp, const BIGNUM *rdiv, BN_CTX *ctx);
2432103: int BN_mod_mul_reciprocal(BIGNUM *r, const BIGNUM *x, const BIGNUM *y,
2432103: BN_RECP_CTX *recp, BN_CTX *ctx);
2432103: int BN_mod_exp_recp(BIGNUM *r, const BIGNUM *a, const BIGNUM *p,
2432103: const BIGNUM *m, BN_CTX *ctx);
2432103: int BN_div_recp(BIGNUM *dv, BIGNUM *rem, const BIGNUM *m,
2432103: BN_RECP_CTX *recp, BN_CTX *ctx);
2432103: # 473 "/usr/include/openssl/bn.h" 3 4
2432103: int BN_GF2m_add(BIGNUM *r, const BIGNUM *a, const BIGNUM *b);
2432103:
2432103:
2432103:
2432103:
2432103: int BN_GF2m_mod(BIGNUM *r, const BIGNUM *a, const BIGNUM *p);
2432103:
2432103: int BN_GF2m_mod_mul(BIGNUM *r, const BIGNUM *a, const BIGNUM *b,
2432103: const BIGNUM *p, BN_CTX *ctx);
2432103:
2432103: int BN_GF2m_mod_sqr(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, BN_CTX *ctx);
2432103:
2432103: int BN_GF2m_mod_inv(BIGNUM *r, const BIGNUM *b, const BIGNUM *p, BN_CTX *ctx);
2432103:
2432103: int BN_GF2m_mod_div(BIGNUM *r, const BIGNUM *a, const BIGNUM *b,
2432103: const BIGNUM *p, BN_CTX *ctx);
2432103:
2432103: int BN_GF2m_mod_exp(BIGNUM *r, const BIGNUM *a, const BIGNUM *b,
2432103: const BIGNUM *p, BN_CTX *ctx);
2432103:
2432103: int BN_GF2m_mod_sqrt(BIGNUM *r, const BIGNUM *a, const BIGNUM *p,
2432103: BN_CTX *ctx);
2432103:
2432103: int BN_GF2m_mod_solve_quad(BIGNUM *r, const BIGNUM *a, const BIGNUM *p,
2432103: BN_CTX *ctx);
2432103: # 506 "/usr/include/openssl/bn.h" 3 4
2432103: int BN_GF2m_mod_arr(BIGNUM *r, const BIGNUM *a, const int p[]);
2432103:
2432103: int BN_GF2m_mod_mul_arr(BIGNUM *r, const BIGNUM *a, const BIGNUM *b,
2432103: const int p[], BN_CTX *ctx);
2432103:
2432103: int BN_GF2m_mod_sqr_arr(BIGNUM *r, const BIGNUM *a, const int p[],
2432103: BN_CTX *ctx);
2432103:
2432103: int BN_GF2m_mod_inv_arr(BIGNUM *r, const BIGNUM *b, const int p[],
2432103: BN_CTX *ctx);
2432103:
2432103: int BN_GF2m_mod_div_arr(BIGNUM *r, const BIGNUM *a, const BIGNUM *b,
2432103: const int p[], BN_CTX *ctx);
2432103:
2432103: int BN_GF2m_mod_exp_arr(BIGNUM *r, const BIGNUM *a, const BIGNUM *b,
2432103: const int p[], BN_CTX *ctx);
2432103:
2432103: int BN_GF2m_mod_sqrt_arr(BIGNUM *r, const BIGNUM *a,
2432103: const int p[], BN_CTX *ctx);
2432103:
2432103: int BN_GF2m_mod_solve_quad_arr(BIGNUM *r, const BIGNUM *a,
2432103: const int p[], BN_CTX *ctx);
2432103: int BN_GF2m_poly2arr(const BIGNUM *a, int p[], int max);
2432103: int BN_GF2m_arr2poly(const int p[], BIGNUM *a);
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: int BN_nist_mod_192(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, BN_CTX *ctx);
2432103: int BN_nist_mod_224(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, BN_CTX *ctx);
2432103: int BN_nist_mod_256(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, BN_CTX *ctx);
2432103: int BN_nist_mod_384(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, BN_CTX *ctx);
2432103: int BN_nist_mod_521(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, BN_CTX *ctx);
2432103:
2432103: const BIGNUM *BN_get0_nist_prime_192(void);
2432103: const BIGNUM *BN_get0_nist_prime_224(void);
2432103: const BIGNUM *BN_get0_nist_prime_256(void);
2432103: const BIGNUM *BN_get0_nist_prime_384(void);
2432103: const BIGNUM *BN_get0_nist_prime_521(void);
2432103:
2432103: int (*BN_nist_mod_func(const BIGNUM *p)) (BIGNUM *r, const BIGNUM *a,
2432103: const BIGNUM *field, BN_CTX *ctx);
2432103:
2432103: int BN_generate_dsa_nonce(BIGNUM *out, const BIGNUM *range,
2432103: const BIGNUM *priv, const unsigned char *message,
2432103: size_t message_len, BN_CTX *ctx);
2432103:
2432103:
2432103: BIGNUM *BN_get_rfc2409_prime_768(BIGNUM *bn);
2432103: BIGNUM *BN_get_rfc2409_prime_1024(BIGNUM *bn);
2432103:
2432103:
2432103: BIGNUM *BN_get_rfc3526_prime_1536(BIGNUM *bn);
2432103: BIGNUM *BN_get_rfc3526_prime_2048(BIGNUM *bn);
2432103: BIGNUM *BN_get_rfc3526_prime_3072(BIGNUM *bn);
2432103: BIGNUM *BN_get_rfc3526_prime_4096(BIGNUM *bn);
2432103: BIGNUM *BN_get_rfc3526_prime_6144(BIGNUM *bn);
2432103: BIGNUM *BN_get_rfc3526_prime_8192(BIGNUM *bn);
2432103: # 578 "/usr/include/openssl/bn.h" 3 4
2432103: int BN_bntest_rand(BIGNUM *rnd, int bits, int top, int bottom);
2432103: # 73 "../../packet.c" 2
2432103: # 1 "/usr/include/openssl/evp.h" 1 3 4
2432103: # 12 "/usr/include/openssl/evp.h" 3 4
2432103:
2432103: # 26 "/usr/include/openssl/evp.h" 3 4
2432103: # 1 "/usr/include/openssl/types.h" 1 3 4
2432103: # 27 "/usr/include/openssl/evp.h" 2 3 4
2432103:
2432103: # 1 "/usr/include/openssl/core_dispatch.h" 1 3 4
2432103: # 12 "/usr/include/openssl/core_dispatch.h" 3 4
2432103:
2432103: # 64 "/usr/include/openssl/core_dispatch.h" 3 4
2432103: typedef const OSSL_PARAM * (OSSL_FUNC_core_gettable_params_fn)(const OSSL_CORE_HANDLE *prov); static __attribute__((unused)) inline OSSL_FUNC_core_gettable_params_fn *OSSL_FUNC_core_gettable_params(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_core_gettable_params_fn *)opf->function; }
2432103:
2432103:
2432103: typedef int (OSSL_FUNC_core_get_params_fn)(const OSSL_CORE_HANDLE *prov, OSSL_PARAM params[]); static __attribute__((unused)) inline OSSL_FUNC_core_get_params_fn *OSSL_FUNC_core_get_params(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_core_get_params_fn *)opf->function; }
2432103:
2432103:
2432103: typedef int (OSSL_FUNC_core_thread_start_fn)(const OSSL_CORE_HANDLE *prov, OSSL_thread_stop_handler_fn handfn, void *arg); static __attribute__((unused)) inline OSSL_FUNC_core_thread_start_fn *OSSL_FUNC_core_thread_start(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_core_thread_start_fn *)opf->function; }
2432103:
2432103:
2432103:
2432103: typedef OPENSSL_CORE_CTX * (OSSL_FUNC_core_get_libctx_fn)(const OSSL_CORE_HANDLE *prov); static __attribute__((unused)) inline OSSL_FUNC_core_get_libctx_fn *OSSL_FUNC_core_get_libctx(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_core_get_libctx_fn *)opf->function; }
2432103:
2432103:
2432103: typedef void (OSSL_FUNC_core_new_error_fn)(const OSSL_CORE_HANDLE *prov); static __attribute__((unused)) inline OSSL_FUNC_core_new_error_fn *OSSL_FUNC_core_new_error(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_core_new_error_fn *)opf->function; }
2432103:
2432103: typedef void (OSSL_FUNC_core_set_error_debug_fn)(const OSSL_CORE_HANDLE *prov, const char *file, int line, const char *func); static __attribute__((unused)) inline OSSL_FUNC_core_set_error_debug_fn *OSSL_FUNC_core_set_error_debug(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_core_set_error_debug_fn *)opf->function; }
2432103:
2432103:
2432103:
2432103: typedef void (OSSL_FUNC_core_vset_error_fn)(const OSSL_CORE_HANDLE *prov, uint32_t reason, const char *fmt, va_list args); static __attribute__((unused)) inline OSSL_FUNC_core_vset_error_fn *OSSL_FUNC_core_vset_error(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_core_vset_error_fn *)opf->function; }
2432103:
2432103:
2432103:
2432103: typedef int (OSSL_FUNC_core_set_error_mark_fn)(const OSSL_CORE_HANDLE *prov); static __attribute__((unused)) inline OSSL_FUNC_core_set_error_mark_fn *OSSL_FUNC_core_set_error_mark(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_core_set_error_mark_fn *)opf->function; }
2432103:
2432103: typedef int (OSSL_FUNC_core_clear_last_error_mark_fn)(const OSSL_CORE_HANDLE *prov); static __attribute__((unused)) inline OSSL_FUNC_core_clear_last_error_mark_fn *OSSL_FUNC_core_clear_last_error_mark(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_core_clear_last_error_mark_fn *)opf->function; }
2432103:
2432103:
2432103: typedef int (OSSL_FUNC_core_pop_error_to_mark_fn)(const OSSL_CORE_HANDLE *prov); static __attribute__((unused)) inline OSSL_FUNC_core_pop_error_to_mark_fn *OSSL_FUNC_core_pop_error_to_mark(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_core_pop_error_to_mark_fn *)opf->function; }
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: typedef int (OSSL_FUNC_core_obj_add_sigid_fn)(const OSSL_CORE_HANDLE *prov, const char *sign_name, const char *digest_name, const char *pkey_name); static __attribute__((unused)) inline OSSL_FUNC_core_obj_add_sigid_fn *OSSL_FUNC_core_obj_add_sigid(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_core_obj_add_sigid_fn *)opf->function; }
2432103:
2432103:
2432103: typedef int (OSSL_FUNC_core_obj_create_fn)(const OSSL_CORE_HANDLE *prov, const char *oid, const char *sn, const char *ln); static __attribute__((unused)) inline OSSL_FUNC_core_obj_create_fn *OSSL_FUNC_core_obj_create(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_core_obj_create_fn *)opf->function; }
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: typedef void * (OSSL_FUNC_CRYPTO_malloc_fn)(size_t num, const char *file, int line); static __attribute__((unused)) inline OSSL_FUNC_CRYPTO_malloc_fn *OSSL_FUNC_CRYPTO_malloc(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_CRYPTO_malloc_fn *)opf->function; }
2432103:
2432103:
2432103: typedef void * (OSSL_FUNC_CRYPTO_zalloc_fn)(size_t num, const char *file, int line); static __attribute__((unused)) inline OSSL_FUNC_CRYPTO_zalloc_fn *OSSL_FUNC_CRYPTO_zalloc(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_CRYPTO_zalloc_fn *)opf->function; }
2432103:
2432103:
2432103: typedef void (OSSL_FUNC_CRYPTO_free_fn)(void *ptr, const char *file, int line); static __attribute__((unused)) inline OSSL_FUNC_CRYPTO_free_fn *OSSL_FUNC_CRYPTO_free(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_CRYPTO_free_fn *)opf->function; }
2432103:
2432103:
2432103: typedef void (OSSL_FUNC_CRYPTO_clear_free_fn)(void *ptr, size_t num, const char *file, int line); static __attribute__((unused)) inline OSSL_FUNC_CRYPTO_clear_free_fn *OSSL_FUNC_CRYPTO_clear_free(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_CRYPTO_clear_free_fn *)opf->function; }
2432103:
2432103:
2432103: typedef void * (OSSL_FUNC_CRYPTO_realloc_fn)(void *addr, size_t num, const char *file, int line); static __attribute__((unused)) inline OSSL_FUNC_CRYPTO_realloc_fn *OSSL_FUNC_CRYPTO_realloc(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_CRYPTO_realloc_fn *)opf->function; }
2432103:
2432103:
2432103: typedef void * (OSSL_FUNC_CRYPTO_clear_realloc_fn)(void *addr, size_t old_num, size_t num, const char *file, int line); static __attribute__((unused)) inline OSSL_FUNC_CRYPTO_clear_realloc_fn *OSSL_FUNC_CRYPTO_clear_realloc(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_CRYPTO_clear_realloc_fn *)opf->function; }
2432103:
2432103:
2432103:
2432103: typedef void * (OSSL_FUNC_CRYPTO_secure_malloc_fn)(size_t num, const char *file, int line); static __attribute__((unused)) inline OSSL_FUNC_CRYPTO_secure_malloc_fn *OSSL_FUNC_CRYPTO_secure_malloc(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_CRYPTO_secure_malloc_fn *)opf->function; }
2432103:
2432103:
2432103: typedef void * (OSSL_FUNC_CRYPTO_secure_zalloc_fn)(size_t num, const char *file, int line); static __attribute__((unused)) inline OSSL_FUNC_CRYPTO_secure_zalloc_fn *OSSL_FUNC_CRYPTO_secure_zalloc(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_CRYPTO_secure_zalloc_fn *)opf->function; }
2432103:
2432103:
2432103: typedef void (OSSL_FUNC_CRYPTO_secure_free_fn)(void *ptr, const char *file, int line); static __attribute__((unused)) inline OSSL_FUNC_CRYPTO_secure_free_fn *OSSL_FUNC_CRYPTO_secure_free(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_CRYPTO_secure_free_fn *)opf->function; }
2432103:
2432103:
2432103: typedef void (OSSL_FUNC_CRYPTO_secure_clear_free_fn)(void *ptr, size_t num, const char *file, int line); static __attribute__((unused)) inline OSSL_FUNC_CRYPTO_secure_clear_free_fn *OSSL_FUNC_CRYPTO_secure_clear_free(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_CRYPTO_secure_clear_free_fn *)opf->function; }
2432103:
2432103:
2432103:
2432103: typedef int (OSSL_FUNC_CRYPTO_secure_allocated_fn)(const void *ptr); static __attribute__((unused)) inline OSSL_FUNC_CRYPTO_secure_allocated_fn *OSSL_FUNC_CRYPTO_secure_allocated(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_CRYPTO_secure_allocated_fn *)opf->function; }
2432103:
2432103:
2432103: typedef void (OSSL_FUNC_OPENSSL_cleanse_fn)(void *ptr, size_t len); static __attribute__((unused)) inline OSSL_FUNC_OPENSSL_cleanse_fn *OSSL_FUNC_OPENSSL_cleanse(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_OPENSSL_cleanse_fn *)opf->function; }
2432103: # 161 "/usr/include/openssl/core_dispatch.h" 3 4
2432103: typedef OSSL_CORE_BIO * (OSSL_FUNC_BIO_new_file_fn)(const char *filename, const char *mode); static __attribute__((unused)) inline OSSL_FUNC_BIO_new_file_fn *OSSL_FUNC_BIO_new_file(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_BIO_new_file_fn *)opf->function; }
2432103:
2432103: typedef OSSL_CORE_BIO * (OSSL_FUNC_BIO_new_membuf_fn)(const void *buf, int len); static __attribute__((unused)) inline OSSL_FUNC_BIO_new_membuf_fn *OSSL_FUNC_BIO_new_membuf(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_BIO_new_membuf_fn *)opf->function; }
2432103: typedef int (OSSL_FUNC_BIO_read_ex_fn)(OSSL_CORE_BIO *bio, void *data, size_t data_len, size_t *bytes_read); static __attribute__((unused)) inline OSSL_FUNC_BIO_read_ex_fn *OSSL_FUNC_BIO_read_ex(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_BIO_read_ex_fn *)opf->function; }
2432103:
2432103: typedef int (OSSL_FUNC_BIO_write_ex_fn)(OSSL_CORE_BIO *bio, const void *data, size_t data_len, size_t *written); static __attribute__((unused)) inline OSSL_FUNC_BIO_write_ex_fn *OSSL_FUNC_BIO_write_ex(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_BIO_write_ex_fn *)opf->function; }
2432103:
2432103: typedef int (OSSL_FUNC_BIO_gets_fn)(OSSL_CORE_BIO *bio, char *buf, int size); static __attribute__((unused)) inline OSSL_FUNC_BIO_gets_fn *OSSL_FUNC_BIO_gets(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_BIO_gets_fn *)opf->function; }
2432103: typedef int (OSSL_FUNC_BIO_puts_fn)(OSSL_CORE_BIO *bio, const char *str); static __attribute__((unused)) inline OSSL_FUNC_BIO_puts_fn *OSSL_FUNC_BIO_puts(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_BIO_puts_fn *)opf->function; }
2432103: typedef int (OSSL_FUNC_BIO_up_ref_fn)(OSSL_CORE_BIO *bio); static __attribute__((unused)) inline OSSL_FUNC_BIO_up_ref_fn *OSSL_FUNC_BIO_up_ref(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_BIO_up_ref_fn *)opf->function; }
2432103: typedef int (OSSL_FUNC_BIO_free_fn)(OSSL_CORE_BIO *bio); static __attribute__((unused)) inline OSSL_FUNC_BIO_free_fn *OSSL_FUNC_BIO_free(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_BIO_free_fn *)opf->function; }
2432103: typedef int (OSSL_FUNC_BIO_vprintf_fn)(OSSL_CORE_BIO *bio, const char *format, va_list args); static __attribute__((unused)) inline OSSL_FUNC_BIO_vprintf_fn *OSSL_FUNC_BIO_vprintf(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_BIO_vprintf_fn *)opf->function; }
2432103:
2432103: typedef int (OSSL_FUNC_BIO_vsnprintf_fn)(char *buf, size_t n, const char *fmt, va_list args); static __attribute__((unused)) inline OSSL_FUNC_BIO_vsnprintf_fn *OSSL_FUNC_BIO_vsnprintf(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_BIO_vsnprintf_fn *)opf->function; }
2432103:
2432103: typedef int (OSSL_FUNC_BIO_ctrl_fn)(OSSL_CORE_BIO *bio, int cmd, long num, void *ptr); static __attribute__((unused)) inline OSSL_FUNC_BIO_ctrl_fn *OSSL_FUNC_BIO_ctrl(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_BIO_ctrl_fn *)opf->function; }
2432103: # 186 "/usr/include/openssl/core_dispatch.h" 3 4
2432103: typedef void (OSSL_FUNC_self_test_cb_fn)(OPENSSL_CORE_CTX *ctx, OSSL_CALLBACK **cb, void **cbarg); static __attribute__((unused)) inline OSSL_FUNC_self_test_cb_fn *OSSL_FUNC_self_test_cb(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_self_test_cb_fn *)opf->function; }
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: typedef size_t (OSSL_FUNC_get_entropy_fn)(const OSSL_CORE_HANDLE *handle, unsigned char **pout, int entropy, size_t min_len, size_t max_len); static __attribute__((unused)) inline OSSL_FUNC_get_entropy_fn *OSSL_FUNC_get_entropy(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_get_entropy_fn *)opf->function; }
2432103:
2432103:
2432103: typedef size_t (OSSL_FUNC_get_user_entropy_fn)(const OSSL_CORE_HANDLE *handle, unsigned char **pout, int entropy, size_t min_len, size_t max_len); static __attribute__((unused)) inline OSSL_FUNC_get_user_entropy_fn *OSSL_FUNC_get_user_entropy(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_get_user_entropy_fn *)opf->function; }
2432103:
2432103:
2432103: typedef void (OSSL_FUNC_cleanup_entropy_fn)(const OSSL_CORE_HANDLE *handle, unsigned char *buf, size_t len); static __attribute__((unused)) inline OSSL_FUNC_cleanup_entropy_fn *OSSL_FUNC_cleanup_entropy(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_cleanup_entropy_fn *)opf->function; }
2432103:
2432103: typedef void (OSSL_FUNC_cleanup_user_entropy_fn)(const OSSL_CORE_HANDLE *handle, unsigned char *buf, size_t len); static __attribute__((unused)) inline OSSL_FUNC_cleanup_user_entropy_fn *OSSL_FUNC_cleanup_user_entropy(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_cleanup_user_entropy_fn *)opf->function; }
2432103:
2432103: typedef size_t (OSSL_FUNC_get_nonce_fn)(const OSSL_CORE_HANDLE *handle, unsigned char **pout, size_t min_len, size_t max_len, const void *salt, size_t salt_len); static __attribute__((unused)) inline OSSL_FUNC_get_nonce_fn *OSSL_FUNC_get_nonce(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_get_nonce_fn *)opf->function; }
2432103:
2432103:
2432103:
2432103: typedef size_t (OSSL_FUNC_get_user_nonce_fn)(const OSSL_CORE_HANDLE *handle, unsigned char **pout, size_t min_len, size_t max_len, const void *salt, size_t salt_len); static __attribute__((unused)) inline OSSL_FUNC_get_user_nonce_fn *OSSL_FUNC_get_user_nonce(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_get_user_nonce_fn *)opf->function; }
2432103:
2432103:
2432103:
2432103: typedef void (OSSL_FUNC_cleanup_nonce_fn)(const OSSL_CORE_HANDLE *handle, unsigned char *buf, size_t len); static __attribute__((unused)) inline OSSL_FUNC_cleanup_nonce_fn *OSSL_FUNC_cleanup_nonce(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_cleanup_nonce_fn *)opf->function; }
2432103:
2432103: typedef void (OSSL_FUNC_cleanup_user_nonce_fn)(const OSSL_CORE_HANDLE *handle, unsigned char *buf, size_t len); static __attribute__((unused)) inline OSSL_FUNC_cleanup_user_nonce_fn *OSSL_FUNC_cleanup_user_nonce(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_cleanup_user_nonce_fn *)opf->function; }
2432103: # 226 "/usr/include/openssl/core_dispatch.h" 3 4
2432103: typedef int (OSSL_FUNC_provider_register_child_cb_fn)(const OSSL_CORE_HANDLE *handle, int (*create_cb)(const OSSL_CORE_HANDLE *provider, void *cbdata), int (*remove_cb)(const OSSL_CORE_HANDLE *provider, void *cbdata), int (*global_props_cb)(const char *props, void *cbdata), void *cbdata); static __attribute__((unused)) inline OSSL_FUNC_provider_register_child_cb_fn *OSSL_FUNC_provider_register_child_cb(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_provider_register_child_cb_fn *)opf->function; }
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: typedef void (OSSL_FUNC_provider_deregister_child_cb_fn)(const OSSL_CORE_HANDLE *handle); static __attribute__((unused)) inline OSSL_FUNC_provider_deregister_child_cb_fn *OSSL_FUNC_provider_deregister_child_cb(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_provider_deregister_child_cb_fn *)opf->function; }
2432103:
2432103: typedef const char * (OSSL_FUNC_provider_name_fn)(const OSSL_CORE_HANDLE *prov); static __attribute__((unused)) inline OSSL_FUNC_provider_name_fn *OSSL_FUNC_provider_name(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_provider_name_fn *)opf->function; }
2432103:
2432103: typedef void * (OSSL_FUNC_provider_get0_provider_ctx_fn)(const OSSL_CORE_HANDLE *prov); static __attribute__((unused)) inline OSSL_FUNC_provider_get0_provider_ctx_fn *OSSL_FUNC_provider_get0_provider_ctx(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_provider_get0_provider_ctx_fn *)opf->function; }
2432103:
2432103: typedef const OSSL_DISPATCH * (OSSL_FUNC_provider_get0_dispatch_fn)(const OSSL_CORE_HANDLE *prov); static __attribute__((unused)) inline OSSL_FUNC_provider_get0_dispatch_fn *OSSL_FUNC_provider_get0_dispatch(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_provider_get0_dispatch_fn *)opf->function; }
2432103:
2432103: typedef int (OSSL_FUNC_provider_up_ref_fn)(const OSSL_CORE_HANDLE *prov, int activate); static __attribute__((unused)) inline OSSL_FUNC_provider_up_ref_fn *OSSL_FUNC_provider_up_ref(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_provider_up_ref_fn *)opf->function; }
2432103:
2432103: typedef int (OSSL_FUNC_provider_free_fn)(const OSSL_CORE_HANDLE *prov, int deactivate); static __attribute__((unused)) inline OSSL_FUNC_provider_free_fn *OSSL_FUNC_provider_free(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_provider_free_fn *)opf->function; }
2432103:
2432103:
2432103:
2432103:
2432103: typedef void (OSSL_FUNC_provider_teardown_fn)(void *provctx); static __attribute__((unused)) inline OSSL_FUNC_provider_teardown_fn *OSSL_FUNC_provider_teardown(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_provider_teardown_fn *)opf->function; }
2432103:
2432103: typedef const OSSL_PARAM * (OSSL_FUNC_provider_gettable_params_fn)(void *provctx); static __attribute__((unused)) inline OSSL_FUNC_provider_gettable_params_fn *OSSL_FUNC_provider_gettable_params(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_provider_gettable_params_fn *)opf->function; }
2432103:
2432103:
2432103: typedef int (OSSL_FUNC_provider_get_params_fn)(void *provctx, OSSL_PARAM params[]); static __attribute__((unused)) inline OSSL_FUNC_provider_get_params_fn *OSSL_FUNC_provider_get_params(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_provider_get_params_fn *)opf->function; }
2432103:
2432103:
2432103: typedef const OSSL_ALGORITHM * (OSSL_FUNC_provider_query_operation_fn)(void *provctx, int operation_id, int *no_store); static __attribute__((unused)) inline OSSL_FUNC_provider_query_operation_fn *OSSL_FUNC_provider_query_operation(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_provider_query_operation_fn *)opf->function; }
2432103:
2432103:
2432103: typedef void (OSSL_FUNC_provider_unquery_operation_fn)(void *provctx, int operation_id, const OSSL_ALGORITHM *); static __attribute__((unused)) inline OSSL_FUNC_provider_unquery_operation_fn *OSSL_FUNC_provider_unquery_operation(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_provider_unquery_operation_fn *)opf->function; }
2432103:
2432103:
2432103: typedef const OSSL_ITEM * (OSSL_FUNC_provider_get_reason_strings_fn)(void *provctx); static __attribute__((unused)) inline OSSL_FUNC_provider_get_reason_strings_fn *OSSL_FUNC_provider_get_reason_strings(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_provider_get_reason_strings_fn *)opf->function; }
2432103:
2432103:
2432103: typedef int (OSSL_FUNC_provider_get_capabilities_fn)(void *provctx, const char *capability, OSSL_CALLBACK *cb, void *arg); static __attribute__((unused)) inline OSSL_FUNC_provider_get_capabilities_fn *OSSL_FUNC_provider_get_capabilities(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_provider_get_capabilities_fn *)opf->function; }
2432103:
2432103:
2432103: typedef int (OSSL_FUNC_provider_self_test_fn)(void *provctx); static __attribute__((unused)) inline OSSL_FUNC_provider_self_test_fn *OSSL_FUNC_provider_self_test(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_provider_self_test_fn *)opf->function; }
2432103: # 304 "/usr/include/openssl/core_dispatch.h" 3 4
2432103: typedef void * (OSSL_FUNC_digest_newctx_fn)(void *provctx); static __attribute__((unused)) inline OSSL_FUNC_digest_newctx_fn *OSSL_FUNC_digest_newctx(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_digest_newctx_fn *)opf->function; }
2432103: typedef int (OSSL_FUNC_digest_init_fn)(void *dctx, const OSSL_PARAM params[]); static __attribute__((unused)) inline OSSL_FUNC_digest_init_fn *OSSL_FUNC_digest_init(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_digest_init_fn *)opf->function; }
2432103: typedef int (OSSL_FUNC_digest_update_fn)(void *dctx, const unsigned char *in, size_t inl); static __attribute__((unused)) inline OSSL_FUNC_digest_update_fn *OSSL_FUNC_digest_update(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_digest_update_fn *)opf->function; }
2432103:
2432103: typedef int (OSSL_FUNC_digest_final_fn)(void *dctx, unsigned char *out, size_t *outl, size_t outsz); static __attribute__((unused)) inline OSSL_FUNC_digest_final_fn *OSSL_FUNC_digest_final(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_digest_final_fn *)opf->function; }
2432103:
2432103:
2432103: typedef int (OSSL_FUNC_digest_digest_fn)(void *provctx, const unsigned char *in, size_t inl, unsigned char *out, size_t *outl, size_t outsz); static __attribute__((unused)) inline OSSL_FUNC_digest_digest_fn *OSSL_FUNC_digest_digest(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_digest_digest_fn *)opf->function; }
2432103:
2432103:
2432103:
2432103: typedef void (OSSL_FUNC_digest_freectx_fn)(void *dctx); static __attribute__((unused)) inline OSSL_FUNC_digest_freectx_fn *OSSL_FUNC_digest_freectx(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_digest_freectx_fn *)opf->function; }
2432103: typedef void * (OSSL_FUNC_digest_dupctx_fn)(void *dctx); static __attribute__((unused)) inline OSSL_FUNC_digest_dupctx_fn *OSSL_FUNC_digest_dupctx(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_digest_dupctx_fn *)opf->function; }
2432103:
2432103: typedef int (OSSL_FUNC_digest_get_params_fn)(OSSL_PARAM params[]); static __attribute__((unused)) inline OSSL_FUNC_digest_get_params_fn *OSSL_FUNC_digest_get_params(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_digest_get_params_fn *)opf->function; }
2432103: typedef int (OSSL_FUNC_digest_set_ctx_params_fn)(void *vctx, const OSSL_PARAM params[]); static __attribute__((unused)) inline OSSL_FUNC_digest_set_ctx_params_fn *OSSL_FUNC_digest_set_ctx_params(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_digest_set_ctx_params_fn *)opf->function; }
2432103:
2432103: typedef int (OSSL_FUNC_digest_get_ctx_params_fn)(void *vctx, OSSL_PARAM params[]); static __attribute__((unused)) inline OSSL_FUNC_digest_get_ctx_params_fn *OSSL_FUNC_digest_get_ctx_params(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_digest_get_ctx_params_fn *)opf->function; }
2432103:
2432103: typedef const OSSL_PARAM * (OSSL_FUNC_digest_gettable_params_fn)(void *provctx); static __attribute__((unused)) inline OSSL_FUNC_digest_gettable_params_fn *OSSL_FUNC_digest_gettable_params(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_digest_gettable_params_fn *)opf->function; }
2432103:
2432103: typedef const OSSL_PARAM * (OSSL_FUNC_digest_settable_ctx_params_fn)(void *dctx, void *provctx); static __attribute__((unused)) inline OSSL_FUNC_digest_settable_ctx_params_fn *OSSL_FUNC_digest_settable_ctx_params(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_digest_settable_ctx_params_fn *)opf->function; }
2432103:
2432103: typedef const OSSL_PARAM * (OSSL_FUNC_digest_gettable_ctx_params_fn)(void *dctx, void *provctx); static __attribute__((unused)) inline OSSL_FUNC_digest_gettable_ctx_params_fn *OSSL_FUNC_digest_gettable_ctx_params(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_digest_gettable_ctx_params_fn *)opf->function; }
2432103: # 347 "/usr/include/openssl/core_dispatch.h" 3 4
2432103: typedef void * (OSSL_FUNC_cipher_newctx_fn)(void *provctx); static __attribute__((unused)) inline OSSL_FUNC_cipher_newctx_fn *OSSL_FUNC_cipher_newctx(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_cipher_newctx_fn *)opf->function; }
2432103: typedef int (OSSL_FUNC_cipher_encrypt_init_fn)(void *cctx, const unsigned char *key, size_t keylen, const unsigned char *iv, size_t ivlen, const OSSL_PARAM params[]); static __attribute__((unused)) inline OSSL_FUNC_cipher_encrypt_init_fn *OSSL_FUNC_cipher_encrypt_init(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_cipher_encrypt_init_fn *)opf->function; }
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: typedef int (OSSL_FUNC_cipher_decrypt_init_fn)(void *cctx, const unsigned char *key, size_t keylen, const unsigned char *iv, size_t ivlen, const OSSL_PARAM params[]); static __attribute__((unused)) inline OSSL_FUNC_cipher_decrypt_init_fn *OSSL_FUNC_cipher_decrypt_init(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_cipher_decrypt_init_fn *)opf->function; }
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: typedef int (OSSL_FUNC_cipher_update_fn)(void *cctx, unsigned char *out, size_t *outl, size_t outsize, const unsigned char *in, size_t inl); static __attribute__((unused)) inline OSSL_FUNC_cipher_update_fn *OSSL_FUNC_cipher_update(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_cipher_update_fn *)opf->function; }
2432103:
2432103:
2432103:
2432103: typedef int (OSSL_FUNC_cipher_final_fn)(void *cctx, unsigned char *out, size_t *outl, size_t outsize); static __attribute__((unused)) inline OSSL_FUNC_cipher_final_fn *OSSL_FUNC_cipher_final(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_cipher_final_fn *)opf->function; }
2432103:
2432103:
2432103: typedef int (OSSL_FUNC_cipher_cipher_fn)(void *cctx, unsigned char *out, size_t *outl, size_t outsize, const unsigned char *in, size_t inl); static __attribute__((unused)) inline OSSL_FUNC_cipher_cipher_fn *OSSL_FUNC_cipher_cipher(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_cipher_cipher_fn *)opf->function; }
2432103:
2432103:
2432103:
2432103: typedef void (OSSL_FUNC_cipher_freectx_fn)(void *cctx); static __attribute__((unused)) inline OSSL_FUNC_cipher_freectx_fn *OSSL_FUNC_cipher_freectx(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_cipher_freectx_fn *)opf->function; }
2432103: typedef void * (OSSL_FUNC_cipher_dupctx_fn)(void *cctx); static __attribute__((unused)) inline OSSL_FUNC_cipher_dupctx_fn *OSSL_FUNC_cipher_dupctx(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_cipher_dupctx_fn *)opf->function; }
2432103: typedef int (OSSL_FUNC_cipher_get_params_fn)(OSSL_PARAM params[]); static __attribute__((unused)) inline OSSL_FUNC_cipher_get_params_fn *OSSL_FUNC_cipher_get_params(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_cipher_get_params_fn *)opf->function; }
2432103: typedef int (OSSL_FUNC_cipher_get_ctx_params_fn)(void *cctx, OSSL_PARAM params[]); static __attribute__((unused)) inline OSSL_FUNC_cipher_get_ctx_params_fn *OSSL_FUNC_cipher_get_ctx_params(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_cipher_get_ctx_params_fn *)opf->function; }
2432103:
2432103: typedef int (OSSL_FUNC_cipher_set_ctx_params_fn)(void *cctx, const OSSL_PARAM params[]); static __attribute__((unused)) inline OSSL_FUNC_cipher_set_ctx_params_fn *OSSL_FUNC_cipher_set_ctx_params(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_cipher_set_ctx_params_fn *)opf->function; }
2432103:
2432103: typedef const OSSL_PARAM * (OSSL_FUNC_cipher_gettable_params_fn)(void *provctx); static __attribute__((unused)) inline OSSL_FUNC_cipher_gettable_params_fn *OSSL_FUNC_cipher_gettable_params(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_cipher_gettable_params_fn *)opf->function; }
2432103:
2432103: typedef const OSSL_PARAM * (OSSL_FUNC_cipher_settable_ctx_params_fn)(void *cctx, void *provctx); static __attribute__((unused)) inline OSSL_FUNC_cipher_settable_ctx_params_fn *OSSL_FUNC_cipher_settable_ctx_params(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_cipher_settable_ctx_params_fn *)opf->function; }
2432103:
2432103: typedef const OSSL_PARAM * (OSSL_FUNC_cipher_gettable_ctx_params_fn)(void *cctx, void *provctx); static __attribute__((unused)) inline OSSL_FUNC_cipher_gettable_ctx_params_fn *OSSL_FUNC_cipher_gettable_ctx_params(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_cipher_gettable_ctx_params_fn *)opf->function; }
2432103: # 400 "/usr/include/openssl/core_dispatch.h" 3 4
2432103: typedef void * (OSSL_FUNC_mac_newctx_fn)(void *provctx); static __attribute__((unused)) inline OSSL_FUNC_mac_newctx_fn *OSSL_FUNC_mac_newctx(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_mac_newctx_fn *)opf->function; }
2432103: typedef void * (OSSL_FUNC_mac_dupctx_fn)(void *src); static __attribute__((unused)) inline OSSL_FUNC_mac_dupctx_fn *OSSL_FUNC_mac_dupctx(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_mac_dupctx_fn *)opf->function; }
2432103: typedef void (OSSL_FUNC_mac_freectx_fn)(void *mctx); static __attribute__((unused)) inline OSSL_FUNC_mac_freectx_fn *OSSL_FUNC_mac_freectx(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_mac_freectx_fn *)opf->function; }
2432103: typedef int (OSSL_FUNC_mac_init_fn)(void *mctx, const unsigned char *key, size_t keylen, const OSSL_PARAM params[]); static __attribute__((unused)) inline OSSL_FUNC_mac_init_fn *OSSL_FUNC_mac_init(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_mac_init_fn *)opf->function; }
2432103:
2432103: typedef int (OSSL_FUNC_mac_update_fn)(void *mctx, const unsigned char *in, size_t inl); static __attribute__((unused)) inline OSSL_FUNC_mac_update_fn *OSSL_FUNC_mac_update(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_mac_update_fn *)opf->function; }
2432103:
2432103: typedef int (OSSL_FUNC_mac_final_fn)(void *mctx, unsigned char *out, size_t *outl, size_t outsize); static __attribute__((unused)) inline OSSL_FUNC_mac_final_fn *OSSL_FUNC_mac_final(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_mac_final_fn *)opf->function; }
2432103:
2432103:
2432103: typedef const OSSL_PARAM * (OSSL_FUNC_mac_gettable_params_fn)(void *provctx); static __attribute__((unused)) inline OSSL_FUNC_mac_gettable_params_fn *OSSL_FUNC_mac_gettable_params(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_mac_gettable_params_fn *)opf->function; }
2432103: typedef const OSSL_PARAM * (OSSL_FUNC_mac_gettable_ctx_params_fn)(void *mctx, void *provctx); static __attribute__((unused)) inline OSSL_FUNC_mac_gettable_ctx_params_fn *OSSL_FUNC_mac_gettable_ctx_params(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_mac_gettable_ctx_params_fn *)opf->function; }
2432103:
2432103: typedef const OSSL_PARAM * (OSSL_FUNC_mac_settable_ctx_params_fn)(void *mctx, void *provctx); static __attribute__((unused)) inline OSSL_FUNC_mac_settable_ctx_params_fn *OSSL_FUNC_mac_settable_ctx_params(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_mac_settable_ctx_params_fn *)opf->function; }
2432103:
2432103: typedef int (OSSL_FUNC_mac_get_params_fn)(OSSL_PARAM params[]); static __attribute__((unused)) inline OSSL_FUNC_mac_get_params_fn *OSSL_FUNC_mac_get_params(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_mac_get_params_fn *)opf->function; }
2432103: typedef int (OSSL_FUNC_mac_get_ctx_params_fn)(void *mctx, OSSL_PARAM params[]); static __attribute__((unused)) inline OSSL_FUNC_mac_get_ctx_params_fn *OSSL_FUNC_mac_get_ctx_params(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_mac_get_ctx_params_fn *)opf->function; }
2432103:
2432103: typedef int (OSSL_FUNC_mac_set_ctx_params_fn)(void *mctx, const OSSL_PARAM params[]); static __attribute__((unused)) inline OSSL_FUNC_mac_set_ctx_params_fn *OSSL_FUNC_mac_set_ctx_params(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_mac_set_ctx_params_fn *)opf->function; }
2432103: # 435 "/usr/include/openssl/core_dispatch.h" 3 4
2432103: typedef void * (OSSL_FUNC_kdf_newctx_fn)(void *provctx); static __attribute__((unused)) inline OSSL_FUNC_kdf_newctx_fn *OSSL_FUNC_kdf_newctx(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_kdf_newctx_fn *)opf->function; }
2432103: typedef void * (OSSL_FUNC_kdf_dupctx_fn)(void *src); static __attribute__((unused)) inline OSSL_FUNC_kdf_dupctx_fn *OSSL_FUNC_kdf_dupctx(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_kdf_dupctx_fn *)opf->function; }
2432103: typedef void (OSSL_FUNC_kdf_freectx_fn)(void *kctx); static __attribute__((unused)) inline OSSL_FUNC_kdf_freectx_fn *OSSL_FUNC_kdf_freectx(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_kdf_freectx_fn *)opf->function; }
2432103: typedef void (OSSL_FUNC_kdf_reset_fn)(void *kctx); static __attribute__((unused)) inline OSSL_FUNC_kdf_reset_fn *OSSL_FUNC_kdf_reset(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_kdf_reset_fn *)opf->function; }
2432103: typedef int (OSSL_FUNC_kdf_derive_fn)(void *kctx, unsigned char *key, size_t keylen, const OSSL_PARAM params[]); static __attribute__((unused)) inline OSSL_FUNC_kdf_derive_fn *OSSL_FUNC_kdf_derive(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_kdf_derive_fn *)opf->function; }
2432103:
2432103: typedef const OSSL_PARAM * (OSSL_FUNC_kdf_gettable_params_fn)(void *provctx); static __attribute__((unused)) inline OSSL_FUNC_kdf_gettable_params_fn *OSSL_FUNC_kdf_gettable_params(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_kdf_gettable_params_fn *)opf->function; }
2432103: typedef const OSSL_PARAM * (OSSL_FUNC_kdf_gettable_ctx_params_fn)(void *kctx, void *provctx); static __attribute__((unused)) inline OSSL_FUNC_kdf_gettable_ctx_params_fn *OSSL_FUNC_kdf_gettable_ctx_params(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_kdf_gettable_ctx_params_fn *)opf->function; }
2432103:
2432103: typedef const OSSL_PARAM * (OSSL_FUNC_kdf_settable_ctx_params_fn)(void *kctx, void *provctx); static __attribute__((unused)) inline OSSL_FUNC_kdf_settable_ctx_params_fn *OSSL_FUNC_kdf_settable_ctx_params(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_kdf_settable_ctx_params_fn *)opf->function; }
2432103:
2432103: typedef int (OSSL_FUNC_kdf_get_params_fn)(OSSL_PARAM params[]); static __attribute__((unused)) inline OSSL_FUNC_kdf_get_params_fn *OSSL_FUNC_kdf_get_params(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_kdf_get_params_fn *)opf->function; }
2432103: typedef int (OSSL_FUNC_kdf_get_ctx_params_fn)(void *kctx, OSSL_PARAM params[]); static __attribute__((unused)) inline OSSL_FUNC_kdf_get_ctx_params_fn *OSSL_FUNC_kdf_get_ctx_params(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_kdf_get_ctx_params_fn *)opf->function; }
2432103:
2432103: typedef int (OSSL_FUNC_kdf_set_ctx_params_fn)(void *kctx, const OSSL_PARAM params[]); static __attribute__((unused)) inline OSSL_FUNC_kdf_set_ctx_params_fn *OSSL_FUNC_kdf_set_ctx_params(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_kdf_set_ctx_params_fn *)opf->function; }
2432103: # 474 "/usr/include/openssl/core_dispatch.h" 3 4
2432103: typedef void * (OSSL_FUNC_rand_newctx_fn)(void *provctx, void *parent, const OSSL_DISPATCH *parent_calls); static __attribute__((unused)) inline OSSL_FUNC_rand_newctx_fn *OSSL_FUNC_rand_newctx(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_rand_newctx_fn *)opf->function; }
2432103:
2432103:
2432103: typedef void (OSSL_FUNC_rand_freectx_fn)(void *vctx); static __attribute__((unused)) inline OSSL_FUNC_rand_freectx_fn *OSSL_FUNC_rand_freectx(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_rand_freectx_fn *)opf->function; }
2432103: typedef int (OSSL_FUNC_rand_instantiate_fn)(void *vdrbg, unsigned int strength, int prediction_resistance, const unsigned char *pstr, size_t pstr_len, const OSSL_PARAM params[]); static __attribute__((unused)) inline OSSL_FUNC_rand_instantiate_fn *OSSL_FUNC_rand_instantiate(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_rand_instantiate_fn *)opf->function; }
2432103:
2432103:
2432103:
2432103:
2432103: typedef int (OSSL_FUNC_rand_uninstantiate_fn)(void *vdrbg); static __attribute__((unused)) inline OSSL_FUNC_rand_uninstantiate_fn *OSSL_FUNC_rand_uninstantiate(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_rand_uninstantiate_fn *)opf->function; }
2432103: typedef int (OSSL_FUNC_rand_generate_fn)(void *vctx, unsigned char *out, size_t outlen, unsigned int strength, int prediction_resistance, const unsigned char *addin, size_t addin_len); static __attribute__((unused)) inline OSSL_FUNC_rand_generate_fn *OSSL_FUNC_rand_generate(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_rand_generate_fn *)opf->function; }
2432103:
2432103:
2432103:
2432103: typedef int (OSSL_FUNC_rand_reseed_fn)(void *vctx, int prediction_resistance, const unsigned char *ent, size_t ent_len, const unsigned char *addin, size_t addin_len); static __attribute__((unused)) inline OSSL_FUNC_rand_reseed_fn *OSSL_FUNC_rand_reseed(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_rand_reseed_fn *)opf->function; }
2432103:
2432103:
2432103:
2432103: typedef size_t (OSSL_FUNC_rand_nonce_fn)(void *vctx, unsigned char *out, unsigned int strength, size_t min_noncelen, size_t max_noncelen); static __attribute__((unused)) inline OSSL_FUNC_rand_nonce_fn *OSSL_FUNC_rand_nonce(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_rand_nonce_fn *)opf->function; }
2432103:
2432103:
2432103: typedef int (OSSL_FUNC_rand_enable_locking_fn)(void *vctx); static __attribute__((unused)) inline OSSL_FUNC_rand_enable_locking_fn *OSSL_FUNC_rand_enable_locking(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_rand_enable_locking_fn *)opf->function; }
2432103: typedef int (OSSL_FUNC_rand_lock_fn)(void *vctx); static __attribute__((unused)) inline OSSL_FUNC_rand_lock_fn *OSSL_FUNC_rand_lock(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_rand_lock_fn *)opf->function; }
2432103: typedef void (OSSL_FUNC_rand_unlock_fn)(void *vctx); static __attribute__((unused)) inline OSSL_FUNC_rand_unlock_fn *OSSL_FUNC_rand_unlock(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_rand_unlock_fn *)opf->function; }
2432103: typedef const OSSL_PARAM * (OSSL_FUNC_rand_gettable_params_fn)(void *provctx); static __attribute__((unused)) inline OSSL_FUNC_rand_gettable_params_fn *OSSL_FUNC_rand_gettable_params(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_rand_gettable_params_fn *)opf->function; }
2432103: typedef const OSSL_PARAM * (OSSL_FUNC_rand_gettable_ctx_params_fn)(void *vctx, void *provctx); static __attribute__((unused)) inline OSSL_FUNC_rand_gettable_ctx_params_fn *OSSL_FUNC_rand_gettable_ctx_params(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_rand_gettable_ctx_params_fn *)opf->function; }
2432103:
2432103: typedef const OSSL_PARAM * (OSSL_FUNC_rand_settable_ctx_params_fn)(void *vctx, void *provctx); static __attribute__((unused)) inline OSSL_FUNC_rand_settable_ctx_params_fn *OSSL_FUNC_rand_settable_ctx_params(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_rand_settable_ctx_params_fn *)opf->function; }
2432103:
2432103: typedef int (OSSL_FUNC_rand_get_params_fn)(OSSL_PARAM params[]); static __attribute__((unused)) inline OSSL_FUNC_rand_get_params_fn *OSSL_FUNC_rand_get_params(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_rand_get_params_fn *)opf->function; }
2432103: typedef int (OSSL_FUNC_rand_get_ctx_params_fn)(void *vctx, OSSL_PARAM params[]); static __attribute__((unused)) inline OSSL_FUNC_rand_get_ctx_params_fn *OSSL_FUNC_rand_get_ctx_params(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_rand_get_ctx_params_fn *)opf->function; }
2432103:
2432103: typedef int (OSSL_FUNC_rand_set_ctx_params_fn)(void *vctx, const OSSL_PARAM params[]); static __attribute__((unused)) inline OSSL_FUNC_rand_set_ctx_params_fn *OSSL_FUNC_rand_set_ctx_params(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_rand_set_ctx_params_fn *)opf->function; }
2432103:
2432103: typedef void (OSSL_FUNC_rand_set_callbacks_fn)(void *vctx, OSSL_INOUT_CALLBACK *get_entropy, OSSL_CALLBACK *cleanup_entropy, OSSL_INOUT_CALLBACK *get_nonce, OSSL_CALLBACK *cleanup_nonce, void *arg); static __attribute__((unused)) inline OSSL_FUNC_rand_set_callbacks_fn *OSSL_FUNC_rand_set_callbacks(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_rand_set_callbacks_fn *)opf->function; }
2432103:
2432103:
2432103:
2432103:
2432103: typedef int (OSSL_FUNC_rand_verify_zeroization_fn)(void *vctx); static __attribute__((unused)) inline OSSL_FUNC_rand_verify_zeroization_fn *OSSL_FUNC_rand_verify_zeroization(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_rand_verify_zeroization_fn *)opf->function; }
2432103:
2432103: typedef size_t (OSSL_FUNC_rand_get_seed_fn)(void *vctx, unsigned char **buffer, int entropy, size_t min_len, size_t max_len, int prediction_resistance, const unsigned char *adin, size_t adin_len); static __attribute__((unused)) inline OSSL_FUNC_rand_get_seed_fn *OSSL_FUNC_rand_get_seed(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_rand_get_seed_fn *)opf->function; }
2432103:
2432103:
2432103:
2432103:
2432103: typedef void (OSSL_FUNC_rand_clear_seed_fn)(void *vctx, unsigned char *buffer, size_t b_len); static __attribute__((unused)) inline OSSL_FUNC_rand_clear_seed_fn *OSSL_FUNC_rand_clear_seed(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_rand_clear_seed_fn *)opf->function; }
2432103: # 578 "/usr/include/openssl/core_dispatch.h" 3 4
2432103: typedef void * (OSSL_FUNC_keymgmt_new_fn)(void *provctx); static __attribute__((unused)) inline OSSL_FUNC_keymgmt_new_fn *OSSL_FUNC_keymgmt_new(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_keymgmt_new_fn *)opf->function; }
2432103: # 587 "/usr/include/openssl/core_dispatch.h" 3 4
2432103: typedef void * (OSSL_FUNC_keymgmt_gen_init_fn)(void *provctx, int selection, const OSSL_PARAM params[]); static __attribute__((unused)) inline OSSL_FUNC_keymgmt_gen_init_fn *OSSL_FUNC_keymgmt_gen_init(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_keymgmt_gen_init_fn *)opf->function; }
2432103:
2432103: typedef int (OSSL_FUNC_keymgmt_gen_set_template_fn)(void *genctx, void *templ); static __attribute__((unused)) inline OSSL_FUNC_keymgmt_gen_set_template_fn *OSSL_FUNC_keymgmt_gen_set_template(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_keymgmt_gen_set_template_fn *)opf->function; }
2432103:
2432103: typedef int (OSSL_FUNC_keymgmt_gen_set_params_fn)(void *genctx, const OSSL_PARAM params[]); static __attribute__((unused)) inline OSSL_FUNC_keymgmt_gen_set_params_fn *OSSL_FUNC_keymgmt_gen_set_params(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_keymgmt_gen_set_params_fn *)opf->function; }
2432103:
2432103: typedef const OSSL_PARAM * (OSSL_FUNC_keymgmt_gen_settable_params_fn)(void *genctx, void *provctx); static __attribute__((unused)) inline OSSL_FUNC_keymgmt_gen_settable_params_fn *OSSL_FUNC_keymgmt_gen_settable_params(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_keymgmt_gen_settable_params_fn *)opf->function; }
2432103:
2432103:
2432103: typedef void * (OSSL_FUNC_keymgmt_gen_fn)(void *genctx, OSSL_CALLBACK *cb, void *cbarg); static __attribute__((unused)) inline OSSL_FUNC_keymgmt_gen_fn *OSSL_FUNC_keymgmt_gen(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_keymgmt_gen_fn *)opf->function; }
2432103:
2432103: typedef void (OSSL_FUNC_keymgmt_gen_cleanup_fn)(void *genctx); static __attribute__((unused)) inline OSSL_FUNC_keymgmt_gen_cleanup_fn *OSSL_FUNC_keymgmt_gen_cleanup(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_keymgmt_gen_cleanup_fn *)opf->function; }
2432103:
2432103:
2432103:
2432103: typedef void * (OSSL_FUNC_keymgmt_load_fn)(const void *reference, size_t reference_sz); static __attribute__((unused)) inline OSSL_FUNC_keymgmt_load_fn *OSSL_FUNC_keymgmt_load(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_keymgmt_load_fn *)opf->function; }
2432103:
2432103:
2432103:
2432103:
2432103: typedef void (OSSL_FUNC_keymgmt_free_fn)(void *keydata); static __attribute__((unused)) inline OSSL_FUNC_keymgmt_free_fn *OSSL_FUNC_keymgmt_free(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_keymgmt_free_fn *)opf->function; }
2432103:
2432103:
2432103:
2432103:
2432103: typedef int (OSSL_FUNC_keymgmt_get_params_fn)(void *keydata, OSSL_PARAM params[]); static __attribute__((unused)) inline OSSL_FUNC_keymgmt_get_params_fn *OSSL_FUNC_keymgmt_get_params(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_keymgmt_get_params_fn *)opf->function; }
2432103:
2432103: typedef const OSSL_PARAM * (OSSL_FUNC_keymgmt_gettable_params_fn)(void *provctx); static __attribute__((unused)) inline OSSL_FUNC_keymgmt_gettable_params_fn *OSSL_FUNC_keymgmt_gettable_params(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_keymgmt_gettable_params_fn *)opf->function; }
2432103:
2432103:
2432103:
2432103:
2432103: typedef int (OSSL_FUNC_keymgmt_set_params_fn)(void *keydata, const OSSL_PARAM params[]); static __attribute__((unused)) inline OSSL_FUNC_keymgmt_set_params_fn *OSSL_FUNC_keymgmt_set_params(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_keymgmt_set_params_fn *)opf->function; }
2432103:
2432103: typedef const OSSL_PARAM * (OSSL_FUNC_keymgmt_settable_params_fn)(void *provctx); static __attribute__((unused)) inline OSSL_FUNC_keymgmt_settable_params_fn *OSSL_FUNC_keymgmt_settable_params(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_keymgmt_settable_params_fn *)opf->function; }
2432103:
2432103:
2432103:
2432103:
2432103: typedef const char * (OSSL_FUNC_keymgmt_query_operation_name_fn)(int operation_id); static __attribute__((unused)) inline OSSL_FUNC_keymgmt_query_operation_name_fn *OSSL_FUNC_keymgmt_query_operation_name(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_keymgmt_query_operation_name_fn *)opf->function; }
2432103:
2432103:
2432103:
2432103:
2432103: typedef int (OSSL_FUNC_keymgmt_has_fn)(const void *keydata, int selection); static __attribute__((unused)) inline OSSL_FUNC_keymgmt_has_fn *OSSL_FUNC_keymgmt_has(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_keymgmt_has_fn *)opf->function; }
2432103:
2432103:
2432103:
2432103: typedef int (OSSL_FUNC_keymgmt_validate_fn)(const void *keydata, int selection, int checktype); static __attribute__((unused)) inline OSSL_FUNC_keymgmt_validate_fn *OSSL_FUNC_keymgmt_validate(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_keymgmt_validate_fn *)opf->function; }
2432103:
2432103:
2432103:
2432103:
2432103: typedef int (OSSL_FUNC_keymgmt_match_fn)(const void *keydata1, const void *keydata2, int selection); static __attribute__((unused)) inline OSSL_FUNC_keymgmt_match_fn *OSSL_FUNC_keymgmt_match(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_keymgmt_match_fn *)opf->function; }
2432103: # 649 "/usr/include/openssl/core_dispatch.h" 3 4
2432103: typedef int (OSSL_FUNC_keymgmt_import_fn)(void *keydata, int selection, const OSSL_PARAM params[]); static __attribute__((unused)) inline OSSL_FUNC_keymgmt_import_fn *OSSL_FUNC_keymgmt_import(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_keymgmt_import_fn *)opf->function; }
2432103:
2432103: typedef const OSSL_PARAM * (OSSL_FUNC_keymgmt_import_types_fn)(int selection); static __attribute__((unused)) inline OSSL_FUNC_keymgmt_import_types_fn *OSSL_FUNC_keymgmt_import_types(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_keymgmt_import_types_fn *)opf->function; }
2432103:
2432103: typedef int (OSSL_FUNC_keymgmt_export_fn)(void *keydata, int selection, OSSL_CALLBACK *param_cb, void *cbarg); static __attribute__((unused)) inline OSSL_FUNC_keymgmt_export_fn *OSSL_FUNC_keymgmt_export(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_keymgmt_export_fn *)opf->function; }
2432103:
2432103:
2432103: typedef const OSSL_PARAM * (OSSL_FUNC_keymgmt_export_types_fn)(int selection); static __attribute__((unused)) inline OSSL_FUNC_keymgmt_export_types_fn *OSSL_FUNC_keymgmt_export_types(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_keymgmt_export_types_fn *)opf->function; }
2432103:
2432103:
2432103:
2432103:
2432103: typedef void * (OSSL_FUNC_keymgmt_dup_fn)(const void *keydata_from, int selection); static __attribute__((unused)) inline OSSL_FUNC_keymgmt_dup_fn *OSSL_FUNC_keymgmt_dup(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_keymgmt_dup_fn *)opf->function; }
2432103: # 677 "/usr/include/openssl/core_dispatch.h" 3 4
2432103: typedef void * (OSSL_FUNC_keyexch_newctx_fn)(void *provctx); static __attribute__((unused)) inline OSSL_FUNC_keyexch_newctx_fn *OSSL_FUNC_keyexch_newctx(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_keyexch_newctx_fn *)opf->function; }
2432103: typedef int (OSSL_FUNC_keyexch_init_fn)(void *ctx, void *provkey, const OSSL_PARAM params[]); static __attribute__((unused)) inline OSSL_FUNC_keyexch_init_fn *OSSL_FUNC_keyexch_init(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_keyexch_init_fn *)opf->function; }
2432103:
2432103: typedef int (OSSL_FUNC_keyexch_derive_fn)(void *ctx, unsigned char *secret, size_t *secretlen, size_t outlen); static __attribute__((unused)) inline OSSL_FUNC_keyexch_derive_fn *OSSL_FUNC_keyexch_derive(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_keyexch_derive_fn *)opf->function; }
2432103:
2432103: typedef int (OSSL_FUNC_keyexch_set_peer_fn)(void *ctx, void *provkey); static __attribute__((unused)) inline OSSL_FUNC_keyexch_set_peer_fn *OSSL_FUNC_keyexch_set_peer(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_keyexch_set_peer_fn *)opf->function; }
2432103: typedef void (OSSL_FUNC_keyexch_freectx_fn)(void *ctx); static __attribute__((unused)) inline OSSL_FUNC_keyexch_freectx_fn *OSSL_FUNC_keyexch_freectx(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_keyexch_freectx_fn *)opf->function; }
2432103: typedef void * (OSSL_FUNC_keyexch_dupctx_fn)(void *ctx); static __attribute__((unused)) inline OSSL_FUNC_keyexch_dupctx_fn *OSSL_FUNC_keyexch_dupctx(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_keyexch_dupctx_fn *)opf->function; }
2432103: typedef int (OSSL_FUNC_keyexch_set_ctx_params_fn)(void *ctx, const OSSL_PARAM params[]); static __attribute__((unused)) inline OSSL_FUNC_keyexch_set_ctx_params_fn *OSSL_FUNC_keyexch_set_ctx_params(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_keyexch_set_ctx_params_fn *)opf->function; }
2432103:
2432103: typedef const OSSL_PARAM * (OSSL_FUNC_keyexch_settable_ctx_params_fn)(void *ctx, void *provctx); static __attribute__((unused)) inline OSSL_FUNC_keyexch_settable_ctx_params_fn *OSSL_FUNC_keyexch_settable_ctx_params(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_keyexch_settable_ctx_params_fn *)opf->function; }
2432103:
2432103: typedef int (OSSL_FUNC_keyexch_get_ctx_params_fn)(void *ctx, OSSL_PARAM params[]); static __attribute__((unused)) inline OSSL_FUNC_keyexch_get_ctx_params_fn *OSSL_FUNC_keyexch_get_ctx_params(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_keyexch_get_ctx_params_fn *)opf->function; }
2432103:
2432103: typedef const OSSL_PARAM * (OSSL_FUNC_keyexch_gettable_ctx_params_fn)(void *ctx, void *provctx); static __attribute__((unused)) inline OSSL_FUNC_keyexch_gettable_ctx_params_fn *OSSL_FUNC_keyexch_gettable_ctx_params(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_keyexch_gettable_ctx_params_fn *)opf->function; }
2432103: # 722 "/usr/include/openssl/core_dispatch.h" 3 4
2432103: typedef void * (OSSL_FUNC_signature_newctx_fn)(void *provctx, const char *propq); static __attribute__((unused)) inline OSSL_FUNC_signature_newctx_fn *OSSL_FUNC_signature_newctx(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_signature_newctx_fn *)opf->function; }
2432103:
2432103: typedef int (OSSL_FUNC_signature_sign_init_fn)(void *ctx, void *provkey, const OSSL_PARAM params[]); static __attribute__((unused)) inline OSSL_FUNC_signature_sign_init_fn *OSSL_FUNC_signature_sign_init(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_signature_sign_init_fn *)opf->function; }
2432103:
2432103: typedef int (OSSL_FUNC_signature_sign_fn)(void *ctx, unsigned char *sig, size_t *siglen, size_t sigsize, const unsigned char *tbs, size_t tbslen); static __attribute__((unused)) inline OSSL_FUNC_signature_sign_fn *OSSL_FUNC_signature_sign(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_signature_sign_fn *)opf->function; }
2432103:
2432103:
2432103:
2432103: typedef int (OSSL_FUNC_signature_verify_init_fn)(void *ctx, void *provkey, const OSSL_PARAM params[]); static __attribute__((unused)) inline OSSL_FUNC_signature_verify_init_fn *OSSL_FUNC_signature_verify_init(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_signature_verify_init_fn *)opf->function; }
2432103:
2432103: typedef int (OSSL_FUNC_signature_verify_fn)(void *ctx, const unsigned char *sig, size_t siglen, const unsigned char *tbs, size_t tbslen); static __attribute__((unused)) inline OSSL_FUNC_signature_verify_fn *OSSL_FUNC_signature_verify(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_signature_verify_fn *)opf->function; }
2432103:
2432103:
2432103:
2432103:
2432103: typedef int (OSSL_FUNC_signature_verify_recover_init_fn)(void *ctx, void *provkey, const OSSL_PARAM params[]); static __attribute__((unused)) inline OSSL_FUNC_signature_verify_recover_init_fn *OSSL_FUNC_signature_verify_recover_init(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_signature_verify_recover_init_fn *)opf->function; }
2432103:
2432103: typedef int (OSSL_FUNC_signature_verify_recover_fn)(void *ctx, unsigned char *rout, size_t *routlen, size_t routsize, const unsigned char *sig, size_t siglen); static __attribute__((unused)) inline OSSL_FUNC_signature_verify_recover_fn *OSSL_FUNC_signature_verify_recover(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_signature_verify_recover_fn *)opf->function; }
2432103:
2432103:
2432103: typedef int (OSSL_FUNC_signature_digest_sign_init_fn)(void *ctx, const char *mdname, void *provkey, const OSSL_PARAM params[]); static __attribute__((unused)) inline OSSL_FUNC_signature_digest_sign_init_fn *OSSL_FUNC_signature_digest_sign_init(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_signature_digest_sign_init_fn *)opf->function; }
2432103:
2432103:
2432103: typedef int (OSSL_FUNC_signature_digest_sign_update_fn)(void *ctx, const unsigned char *data, size_t datalen); static __attribute__((unused)) inline OSSL_FUNC_signature_digest_sign_update_fn *OSSL_FUNC_signature_digest_sign_update(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_signature_digest_sign_update_fn *)opf->function; }
2432103:
2432103: typedef int (OSSL_FUNC_signature_digest_sign_final_fn)(void *ctx, unsigned char *sig, size_t *siglen, size_t sigsize); static __attribute__((unused)) inline OSSL_FUNC_signature_digest_sign_final_fn *OSSL_FUNC_signature_digest_sign_final(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_signature_digest_sign_final_fn *)opf->function; }
2432103:
2432103:
2432103: typedef int (OSSL_FUNC_signature_digest_sign_fn)(void *ctx, unsigned char *sigret, size_t *siglen, size_t sigsize, const unsigned char *tbs, size_t tbslen); static __attribute__((unused)) inline OSSL_FUNC_signature_digest_sign_fn *OSSL_FUNC_signature_digest_sign(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_signature_digest_sign_fn *)opf->function; }
2432103:
2432103:
2432103: typedef int (OSSL_FUNC_signature_digest_verify_init_fn)(void *ctx, const char *mdname, void *provkey, const OSSL_PARAM params[]); static __attribute__((unused)) inline OSSL_FUNC_signature_digest_verify_init_fn *OSSL_FUNC_signature_digest_verify_init(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_signature_digest_verify_init_fn *)opf->function; }
2432103:
2432103:
2432103: typedef int (OSSL_FUNC_signature_digest_verify_update_fn)(void *ctx, const unsigned char *data, size_t datalen); static __attribute__((unused)) inline OSSL_FUNC_signature_digest_verify_update_fn *OSSL_FUNC_signature_digest_verify_update(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_signature_digest_verify_update_fn *)opf->function; }
2432103:
2432103: typedef int (OSSL_FUNC_signature_digest_verify_final_fn)(void *ctx, const unsigned char *sig, size_t siglen); static __attribute__((unused)) inline OSSL_FUNC_signature_digest_verify_final_fn *OSSL_FUNC_signature_digest_verify_final(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_signature_digest_verify_final_fn *)opf->function; }
2432103:
2432103: typedef int (OSSL_FUNC_signature_digest_verify_fn)(void *ctx, const unsigned char *sig, size_t siglen, const unsigned char *tbs, size_t tbslen); static __attribute__((unused)) inline OSSL_FUNC_signature_digest_verify_fn *OSSL_FUNC_signature_digest_verify(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_signature_digest_verify_fn *)opf->function; }
2432103:
2432103:
2432103: typedef void (OSSL_FUNC_signature_freectx_fn)(void *ctx); static __attribute__((unused)) inline OSSL_FUNC_signature_freectx_fn *OSSL_FUNC_signature_freectx(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_signature_freectx_fn *)opf->function; }
2432103: typedef void * (OSSL_FUNC_signature_dupctx_fn)(void *ctx); static __attribute__((unused)) inline OSSL_FUNC_signature_dupctx_fn *OSSL_FUNC_signature_dupctx(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_signature_dupctx_fn *)opf->function; }
2432103: typedef int (OSSL_FUNC_signature_get_ctx_params_fn)(void *ctx, OSSL_PARAM params[]); static __attribute__((unused)) inline OSSL_FUNC_signature_get_ctx_params_fn *OSSL_FUNC_signature_get_ctx_params(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_signature_get_ctx_params_fn *)opf->function; }
2432103:
2432103: typedef const OSSL_PARAM * (OSSL_FUNC_signature_gettable_ctx_params_fn)(void *ctx, void *provctx); static __attribute__((unused)) inline OSSL_FUNC_signature_gettable_ctx_params_fn *OSSL_FUNC_signature_gettable_ctx_params(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_signature_gettable_ctx_params_fn *)opf->function; }
2432103:
2432103: typedef int (OSSL_FUNC_signature_set_ctx_params_fn)(void *ctx, const OSSL_PARAM params[]); static __attribute__((unused)) inline OSSL_FUNC_signature_set_ctx_params_fn *OSSL_FUNC_signature_set_ctx_params(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_signature_set_ctx_params_fn *)opf->function; }
2432103:
2432103: typedef const OSSL_PARAM * (OSSL_FUNC_signature_settable_ctx_params_fn)(void *ctx, void *provctx); static __attribute__((unused)) inline OSSL_FUNC_signature_settable_ctx_params_fn *OSSL_FUNC_signature_settable_ctx_params(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_signature_settable_ctx_params_fn *)opf->function; }
2432103:
2432103: typedef int (OSSL_FUNC_signature_get_ctx_md_params_fn)(void *ctx, OSSL_PARAM params[]); static __attribute__((unused)) inline OSSL_FUNC_signature_get_ctx_md_params_fn *OSSL_FUNC_signature_get_ctx_md_params(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_signature_get_ctx_md_params_fn *)opf->function; }
2432103:
2432103: typedef const OSSL_PARAM * (OSSL_FUNC_signature_gettable_ctx_md_params_fn)(void *ctx); static __attribute__((unused)) inline OSSL_FUNC_signature_gettable_ctx_md_params_fn *OSSL_FUNC_signature_gettable_ctx_md_params(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_signature_gettable_ctx_md_params_fn *)opf->function; }
2432103:
2432103: typedef int (OSSL_FUNC_signature_set_ctx_md_params_fn)(void *ctx, const OSSL_PARAM params[]); static __attribute__((unused)) inline OSSL_FUNC_signature_set_ctx_md_params_fn *OSSL_FUNC_signature_set_ctx_md_params(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_signature_set_ctx_md_params_fn *)opf->function; }
2432103:
2432103: typedef const OSSL_PARAM * (OSSL_FUNC_signature_settable_ctx_md_params_fn)(void *ctx); static __attribute__((unused)) inline OSSL_FUNC_signature_settable_ctx_md_params_fn *OSSL_FUNC_signature_settable_ctx_md_params(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_signature_settable_ctx_md_params_fn *)opf->function; }
2432103: # 797 "/usr/include/openssl/core_dispatch.h" 3 4
2432103: typedef void * (OSSL_FUNC_asym_cipher_newctx_fn)(void *provctx); static __attribute__((unused)) inline OSSL_FUNC_asym_cipher_newctx_fn *OSSL_FUNC_asym_cipher_newctx(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_asym_cipher_newctx_fn *)opf->function; }
2432103: typedef int (OSSL_FUNC_asym_cipher_encrypt_init_fn)(void *ctx, void *provkey, const OSSL_PARAM params[]); static __attribute__((unused)) inline OSSL_FUNC_asym_cipher_encrypt_init_fn *OSSL_FUNC_asym_cipher_encrypt_init(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_asym_cipher_encrypt_init_fn *)opf->function; }
2432103:
2432103: typedef int (OSSL_FUNC_asym_cipher_encrypt_fn)(void *ctx, unsigned char *out, size_t *outlen, size_t outsize, const unsigned char *in, size_t inlen); static __attribute__((unused)) inline OSSL_FUNC_asym_cipher_encrypt_fn *OSSL_FUNC_asym_cipher_encrypt(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_asym_cipher_encrypt_fn *)opf->function; }
2432103:
2432103:
2432103:
2432103:
2432103: typedef int (OSSL_FUNC_asym_cipher_decrypt_init_fn)(void *ctx, void *provkey, const OSSL_PARAM params[]); static __attribute__((unused)) inline OSSL_FUNC_asym_cipher_decrypt_init_fn *OSSL_FUNC_asym_cipher_decrypt_init(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_asym_cipher_decrypt_init_fn *)opf->function; }
2432103:
2432103: typedef int (OSSL_FUNC_asym_cipher_decrypt_fn)(void *ctx, unsigned char *out, size_t *outlen, size_t outsize, const unsigned char *in, size_t inlen); static __attribute__((unused)) inline OSSL_FUNC_asym_cipher_decrypt_fn *OSSL_FUNC_asym_cipher_decrypt(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_asym_cipher_decrypt_fn *)opf->function; }
2432103:
2432103:
2432103:
2432103:
2432103: typedef void (OSSL_FUNC_asym_cipher_freectx_fn)(void *ctx); static __attribute__((unused)) inline OSSL_FUNC_asym_cipher_freectx_fn *OSSL_FUNC_asym_cipher_freectx(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_asym_cipher_freectx_fn *)opf->function; }
2432103: typedef void * (OSSL_FUNC_asym_cipher_dupctx_fn)(void *ctx); static __attribute__((unused)) inline OSSL_FUNC_asym_cipher_dupctx_fn *OSSL_FUNC_asym_cipher_dupctx(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_asym_cipher_dupctx_fn *)opf->function; }
2432103: typedef int (OSSL_FUNC_asym_cipher_get_ctx_params_fn)(void *ctx, OSSL_PARAM params[]); static __attribute__((unused)) inline OSSL_FUNC_asym_cipher_get_ctx_params_fn *OSSL_FUNC_asym_cipher_get_ctx_params(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_asym_cipher_get_ctx_params_fn *)opf->function; }
2432103:
2432103: typedef const OSSL_PARAM * (OSSL_FUNC_asym_cipher_gettable_ctx_params_fn)(void *ctx, void *provctx); static __attribute__((unused)) inline OSSL_FUNC_asym_cipher_gettable_ctx_params_fn *OSSL_FUNC_asym_cipher_gettable_ctx_params(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_asym_cipher_gettable_ctx_params_fn *)opf->function; }
2432103:
2432103: typedef int (OSSL_FUNC_asym_cipher_set_ctx_params_fn)(void *ctx, const OSSL_PARAM params[]); static __attribute__((unused)) inline OSSL_FUNC_asym_cipher_set_ctx_params_fn *OSSL_FUNC_asym_cipher_set_ctx_params(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_asym_cipher_set_ctx_params_fn *)opf->function; }
2432103:
2432103: typedef const OSSL_PARAM * (OSSL_FUNC_asym_cipher_settable_ctx_params_fn)(void *ctx, void *provctx); static __attribute__((unused)) inline OSSL_FUNC_asym_cipher_settable_ctx_params_fn *OSSL_FUNC_asym_cipher_settable_ctx_params(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_asym_cipher_settable_ctx_params_fn *)opf->function; }
2432103: # 836 "/usr/include/openssl/core_dispatch.h" 3 4
2432103: typedef void * (OSSL_FUNC_kem_newctx_fn)(void *provctx); static __attribute__((unused)) inline OSSL_FUNC_kem_newctx_fn *OSSL_FUNC_kem_newctx(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_kem_newctx_fn *)opf->function; }
2432103: typedef int (OSSL_FUNC_kem_encapsulate_init_fn)(void *ctx, void *provkey, const OSSL_PARAM params[]); static __attribute__((unused)) inline OSSL_FUNC_kem_encapsulate_init_fn *OSSL_FUNC_kem_encapsulate_init(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_kem_encapsulate_init_fn *)opf->function; }
2432103:
2432103: typedef int (OSSL_FUNC_kem_encapsulate_fn)(void *ctx, unsigned char *out, size_t *outlen, unsigned char *secret, size_t *secretlen); static __attribute__((unused)) inline OSSL_FUNC_kem_encapsulate_fn *OSSL_FUNC_kem_encapsulate(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_kem_encapsulate_fn *)opf->function; }
2432103:
2432103:
2432103:
2432103: typedef int (OSSL_FUNC_kem_decapsulate_init_fn)(void *ctx, void *provkey, const OSSL_PARAM params[]); static __attribute__((unused)) inline OSSL_FUNC_kem_decapsulate_init_fn *OSSL_FUNC_kem_decapsulate_init(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_kem_decapsulate_init_fn *)opf->function; }
2432103:
2432103: typedef int (OSSL_FUNC_kem_decapsulate_fn)(void *ctx, unsigned char *out, size_t *outlen, const unsigned char *in, size_t inlen); static __attribute__((unused)) inline OSSL_FUNC_kem_decapsulate_fn *OSSL_FUNC_kem_decapsulate(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_kem_decapsulate_fn *)opf->function; }
2432103:
2432103:
2432103: typedef void (OSSL_FUNC_kem_freectx_fn)(void *ctx); static __attribute__((unused)) inline OSSL_FUNC_kem_freectx_fn *OSSL_FUNC_kem_freectx(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_kem_freectx_fn *)opf->function; }
2432103: typedef void * (OSSL_FUNC_kem_dupctx_fn)(void *ctx); static __attribute__((unused)) inline OSSL_FUNC_kem_dupctx_fn *OSSL_FUNC_kem_dupctx(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_kem_dupctx_fn *)opf->function; }
2432103: typedef int (OSSL_FUNC_kem_get_ctx_params_fn)(void *ctx, OSSL_PARAM params[]); static __attribute__((unused)) inline OSSL_FUNC_kem_get_ctx_params_fn *OSSL_FUNC_kem_get_ctx_params(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_kem_get_ctx_params_fn *)opf->function; }
2432103: typedef const OSSL_PARAM * (OSSL_FUNC_kem_gettable_ctx_params_fn)(void *ctx, void *provctx); static __attribute__((unused)) inline OSSL_FUNC_kem_gettable_ctx_params_fn *OSSL_FUNC_kem_gettable_ctx_params(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_kem_gettable_ctx_params_fn *)opf->function; }
2432103:
2432103: typedef int (OSSL_FUNC_kem_set_ctx_params_fn)(void *ctx, const OSSL_PARAM params[]); static __attribute__((unused)) inline OSSL_FUNC_kem_set_ctx_params_fn *OSSL_FUNC_kem_set_ctx_params(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_kem_set_ctx_params_fn *)opf->function; }
2432103:
2432103: typedef const OSSL_PARAM * (OSSL_FUNC_kem_settable_ctx_params_fn)(void *ctx, void *provctx); static __attribute__((unused)) inline OSSL_FUNC_kem_settable_ctx_params_fn *OSSL_FUNC_kem_settable_ctx_params(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_kem_settable_ctx_params_fn *)opf->function; }
2432103: # 869 "/usr/include/openssl/core_dispatch.h" 3 4
2432103: typedef void * (OSSL_FUNC_encoder_newctx_fn)(void *provctx); static __attribute__((unused)) inline OSSL_FUNC_encoder_newctx_fn *OSSL_FUNC_encoder_newctx(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_encoder_newctx_fn *)opf->function; }
2432103: typedef void (OSSL_FUNC_encoder_freectx_fn)(void *ctx); static __attribute__((unused)) inline OSSL_FUNC_encoder_freectx_fn *OSSL_FUNC_encoder_freectx(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_encoder_freectx_fn *)opf->function; }
2432103: typedef int (OSSL_FUNC_encoder_get_params_fn)(OSSL_PARAM params[]); static __attribute__((unused)) inline OSSL_FUNC_encoder_get_params_fn *OSSL_FUNC_encoder_get_params(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_encoder_get_params_fn *)opf->function; }
2432103: typedef const OSSL_PARAM * (OSSL_FUNC_encoder_gettable_params_fn)(void *provctx); static __attribute__((unused)) inline OSSL_FUNC_encoder_gettable_params_fn *OSSL_FUNC_encoder_gettable_params(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_encoder_gettable_params_fn *)opf->function; }
2432103:
2432103: typedef int (OSSL_FUNC_encoder_set_ctx_params_fn)(void *ctx, const OSSL_PARAM params[]); static __attribute__((unused)) inline OSSL_FUNC_encoder_set_ctx_params_fn *OSSL_FUNC_encoder_set_ctx_params(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_encoder_set_ctx_params_fn *)opf->function; }
2432103:
2432103: typedef const OSSL_PARAM * (OSSL_FUNC_encoder_settable_ctx_params_fn)(void *provctx); static __attribute__((unused)) inline OSSL_FUNC_encoder_settable_ctx_params_fn *OSSL_FUNC_encoder_settable_ctx_params(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_encoder_settable_ctx_params_fn *)opf->function; }
2432103:
2432103:
2432103: typedef int (OSSL_FUNC_encoder_does_selection_fn)(void *provctx, int selection); static __attribute__((unused)) inline OSSL_FUNC_encoder_does_selection_fn *OSSL_FUNC_encoder_does_selection(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_encoder_does_selection_fn *)opf->function; }
2432103:
2432103: typedef int (OSSL_FUNC_encoder_encode_fn)(void *ctx, OSSL_CORE_BIO *out, const void *obj_raw, const OSSL_PARAM obj_abstract[], int selection, OSSL_PASSPHRASE_CALLBACK *cb, void *cbarg); static __attribute__((unused)) inline OSSL_FUNC_encoder_encode_fn *OSSL_FUNC_encoder_encode(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_encoder_encode_fn *)opf->function; }
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: typedef void * (OSSL_FUNC_encoder_import_object_fn)(void *ctx, int selection, const OSSL_PARAM params[]); static __attribute__((unused)) inline OSSL_FUNC_encoder_import_object_fn *OSSL_FUNC_encoder_import_object(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_encoder_import_object_fn *)opf->function; }
2432103:
2432103: typedef void (OSSL_FUNC_encoder_free_object_fn)(void *obj); static __attribute__((unused)) inline OSSL_FUNC_encoder_free_object_fn *OSSL_FUNC_encoder_free_object(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_encoder_free_object_fn *)opf->function; }
2432103: # 900 "/usr/include/openssl/core_dispatch.h" 3 4
2432103: typedef void * (OSSL_FUNC_decoder_newctx_fn)(void *provctx); static __attribute__((unused)) inline OSSL_FUNC_decoder_newctx_fn *OSSL_FUNC_decoder_newctx(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_decoder_newctx_fn *)opf->function; }
2432103: typedef void (OSSL_FUNC_decoder_freectx_fn)(void *ctx); static __attribute__((unused)) inline OSSL_FUNC_decoder_freectx_fn *OSSL_FUNC_decoder_freectx(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_decoder_freectx_fn *)opf->function; }
2432103: typedef int (OSSL_FUNC_decoder_get_params_fn)(OSSL_PARAM params[]); static __attribute__((unused)) inline OSSL_FUNC_decoder_get_params_fn *OSSL_FUNC_decoder_get_params(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_decoder_get_params_fn *)opf->function; }
2432103: typedef const OSSL_PARAM * (OSSL_FUNC_decoder_gettable_params_fn)(void *provctx); static __attribute__((unused)) inline OSSL_FUNC_decoder_gettable_params_fn *OSSL_FUNC_decoder_gettable_params(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_decoder_gettable_params_fn *)opf->function; }
2432103:
2432103: typedef int (OSSL_FUNC_decoder_set_ctx_params_fn)(void *ctx, const OSSL_PARAM params[]); static __attribute__((unused)) inline OSSL_FUNC_decoder_set_ctx_params_fn *OSSL_FUNC_decoder_set_ctx_params(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_decoder_set_ctx_params_fn *)opf->function; }
2432103:
2432103: typedef const OSSL_PARAM * (OSSL_FUNC_decoder_settable_ctx_params_fn)(void *provctx); static __attribute__((unused)) inline OSSL_FUNC_decoder_settable_ctx_params_fn *OSSL_FUNC_decoder_settable_ctx_params(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_decoder_settable_ctx_params_fn *)opf->function; }
2432103:
2432103:
2432103: typedef int (OSSL_FUNC_decoder_does_selection_fn)(void *provctx, int selection); static __attribute__((unused)) inline OSSL_FUNC_decoder_does_selection_fn *OSSL_FUNC_decoder_does_selection(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_decoder_does_selection_fn *)opf->function; }
2432103:
2432103: typedef int (OSSL_FUNC_decoder_decode_fn)(void *ctx, OSSL_CORE_BIO *in, int selection, OSSL_CALLBACK *data_cb, void *data_cbarg, OSSL_PASSPHRASE_CALLBACK *pw_cb, void *pw_cbarg); static __attribute__((unused)) inline OSSL_FUNC_decoder_decode_fn *OSSL_FUNC_decoder_decode(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_decoder_decode_fn *)opf->function; }
2432103:
2432103:
2432103:
2432103: typedef int (OSSL_FUNC_decoder_export_object_fn)(void *ctx, const void *objref, size_t objref_sz, OSSL_CALLBACK *export_cb, void *export_cbarg); static __attribute__((unused)) inline OSSL_FUNC_decoder_export_object_fn *OSSL_FUNC_decoder_export_object(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_decoder_export_object_fn *)opf->function; }
2432103: # 940 "/usr/include/openssl/core_dispatch.h" 3 4
2432103: typedef void * (OSSL_FUNC_store_open_fn)(void *provctx, const char *uri); static __attribute__((unused)) inline OSSL_FUNC_store_open_fn *OSSL_FUNC_store_open(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_store_open_fn *)opf->function; }
2432103: typedef void * (OSSL_FUNC_store_attach_fn)(void *provctx, OSSL_CORE_BIO *in); static __attribute__((unused)) inline OSSL_FUNC_store_attach_fn *OSSL_FUNC_store_attach(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_store_attach_fn *)opf->function; }
2432103: typedef const OSSL_PARAM * (OSSL_FUNC_store_settable_ctx_params_fn)(void *provctx); static __attribute__((unused)) inline OSSL_FUNC_store_settable_ctx_params_fn *OSSL_FUNC_store_settable_ctx_params(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_store_settable_ctx_params_fn *)opf->function; }
2432103:
2432103: typedef int (OSSL_FUNC_store_set_ctx_params_fn)(void *loaderctx, const OSSL_PARAM params[]); static __attribute__((unused)) inline OSSL_FUNC_store_set_ctx_params_fn *OSSL_FUNC_store_set_ctx_params(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_store_set_ctx_params_fn *)opf->function; }
2432103:
2432103: typedef int (OSSL_FUNC_store_load_fn)(void *loaderctx, OSSL_CALLBACK *object_cb, void *object_cbarg, OSSL_PASSPHRASE_CALLBACK *pw_cb, void *pw_cbarg); static __attribute__((unused)) inline OSSL_FUNC_store_load_fn *OSSL_FUNC_store_load(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_store_load_fn *)opf->function; }
2432103:
2432103:
2432103:
2432103: typedef int (OSSL_FUNC_store_eof_fn)(void *loaderctx); static __attribute__((unused)) inline OSSL_FUNC_store_eof_fn *OSSL_FUNC_store_eof(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_store_eof_fn *)opf->function; }
2432103: typedef int (OSSL_FUNC_store_close_fn)(void *loaderctx); static __attribute__((unused)) inline OSSL_FUNC_store_close_fn *OSSL_FUNC_store_close(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_store_close_fn *)opf->function; }
2432103: typedef int (OSSL_FUNC_store_export_object_fn)(void *loaderctx, const void *objref, size_t objref_sz, OSSL_CALLBACK *export_cb, void *export_cbarg); static __attribute__((unused)) inline OSSL_FUNC_store_export_object_fn *OSSL_FUNC_store_export_object(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_store_export_object_fn *)opf->function; }
2432103: # 29 "/usr/include/openssl/evp.h" 2 3 4
2432103:
2432103: # 1 "/usr/include/openssl/bio.h" 1 3 4
2432103: # 16 "/usr/include/openssl/bio.h" 3 4
2432103:
2432103: # 31 "/usr/include/openssl/bio.h" 3 4
2432103: # 1 "/usr/include/openssl/bioerr.h" 1 3 4
2432103: # 13 "/usr/include/openssl/bioerr.h" 3 4
2432103:
2432103: # 32 "/usr/include/openssl/bio.h" 2 3 4
2432103: # 213 "/usr/include/openssl/bio.h" 3 4
2432103: typedef union bio_addr_st BIO_ADDR;
2432103: typedef struct bio_addrinfo_st BIO_ADDRINFO;
2432103:
2432103: int BIO_get_new_index(void);
2432103: void BIO_set_flags(BIO *b, int flags);
2432103: int BIO_test_flags(const BIO *b, int flags);
2432103: void BIO_clear_flags(BIO *b, int flags);
2432103: # 276 "/usr/include/openssl/bio.h" 3 4
2432103: typedef long (*BIO_callback_fn)(BIO *b, int oper, const char *argp, int argi,
2432103: long argl, long ret);
2432103: BIO_callback_fn BIO_get_callback(const BIO *b);
2432103: void BIO_set_callback(BIO *b, BIO_callback_fn callback);
2432103: long BIO_debug_callback(BIO *bio, int cmd,
2432103: const char *argp, int argi,
2432103: long argl, long ret);
2432103:
2432103:
2432103: typedef long (*BIO_callback_fn_ex)(BIO *b, int oper, const char *argp,
2432103: size_t len, int argi,
2432103: long argl, int ret, size_t *processed);
2432103: BIO_callback_fn_ex BIO_get_callback_ex(const BIO *b);
2432103: void BIO_set_callback_ex(BIO *b, BIO_callback_fn_ex callback);
2432103: long BIO_debug_callback_ex(BIO *bio, int oper, const char *argp, size_t len,
2432103: int argi, long argl, int ret, size_t *processed);
2432103:
2432103: char *BIO_get_callback_arg(const BIO *b);
2432103: void BIO_set_callback_arg(BIO *b, char *arg);
2432103:
2432103: typedef struct bio_method_st BIO_METHOD;
2432103:
2432103: const char *BIO_method_name(const BIO *b);
2432103: int BIO_method_type(const BIO *b);
2432103:
2432103: typedef int BIO_info_cb(BIO *, int, int);
2432103: typedef BIO_info_cb bio_info_cb;
2432103:
2432103: struct stack_st_BIO; typedef int (*sk_BIO_compfunc)(const BIO * const *a, const BIO *const *b); typedef void (*sk_BIO_freefunc)(BIO *a); typedef BIO * (*sk_BIO_copyfunc)(const BIO *a); static __attribute__((unused)) inline BIO *ossl_check_BIO_type(BIO *ptr) { return ptr; } static __attribute__((unused)) inline const OPENSSL_STACK *ossl_check_const_BIO_sk_type(const struct stack_st_BIO *sk) { return (const OPENSSL_STACK *)sk; } static __attribute__((unused)) inline OPENSSL_STACK *ossl_check_BIO_sk_type(struct stack_st_BIO *sk) { return (OPENSSL_STACK *)sk; } static __attribute__((unused)) inline OPENSSL_sk_compfunc ossl_check_BIO_compfunc_type(sk_BIO_compfunc cmp) { return (OPENSSL_sk_compfunc)cmp; } static __attribute__((unused)) inline OPENSSL_sk_copyfunc ossl_check_BIO_copyfunc_type(sk_BIO_copyfunc cpy) { return (OPENSSL_sk_copyfunc)cpy; } static __attribute__((unused)) inline OPENSSL_sk_freefunc ossl_check_BIO_freefunc_type(sk_BIO_freefunc fr) { return (OPENSSL_sk_freefunc)fr; }
2432103: # 334 "/usr/include/openssl/bio.h" 3 4
2432103: typedef int asn1_ps_func (BIO *b, unsigned char **pbuf, int *plen,
2432103: void *parg);
2432103:
2432103: typedef void (*BIO_dgram_sctp_notification_handler_fn) (BIO *b,
2432103: void *context,
2432103: void *buf);
2432103: # 562 "/usr/include/openssl/bio.h" 3 4
2432103: size_t BIO_ctrl_pending(BIO *b);
2432103: size_t BIO_ctrl_wpending(BIO *b);
2432103: # 582 "/usr/include/openssl/bio.h" 3 4
2432103: size_t BIO_ctrl_get_write_guarantee(BIO *b);
2432103: size_t BIO_ctrl_get_read_request(BIO *b);
2432103: int BIO_ctrl_reset_read_request(BIO *b);
2432103: # 609 "/usr/include/openssl/bio.h" 3 4
2432103: int BIO_set_ex_data(BIO *bio, int idx, void *data);
2432103: void *BIO_get_ex_data(const BIO *bio, int idx);
2432103: uint64_t BIO_number_read(BIO *bio);
2432103: uint64_t BIO_number_written(BIO *bio);
2432103:
2432103:
2432103: int BIO_asn1_set_prefix(BIO *b, asn1_ps_func *prefix,
2432103: asn1_ps_func *prefix_free);
2432103: int BIO_asn1_get_prefix(BIO *b, asn1_ps_func **pprefix,
2432103: asn1_ps_func **pprefix_free);
2432103: int BIO_asn1_set_suffix(BIO *b, asn1_ps_func *suffix,
2432103: asn1_ps_func *suffix_free);
2432103: int BIO_asn1_get_suffix(BIO *b, asn1_ps_func **psuffix,
2432103: asn1_ps_func **psuffix_free);
2432103:
2432103: const BIO_METHOD *BIO_s_file(void);
2432103: BIO *BIO_new_file(const char *filename, const char *mode);
2432103: BIO *BIO_new_from_core_bio(OSSL_LIB_CTX *libctx, OSSL_CORE_BIO *corebio);
2432103:
2432103: BIO *BIO_new_fp(FILE *stream, int close_flag);
2432103:
2432103: BIO *BIO_new_ex(OSSL_LIB_CTX *libctx, const BIO_METHOD *method);
2432103: BIO *BIO_new(const BIO_METHOD *type);
2432103: int BIO_free(BIO *a);
2432103: void BIO_set_data(BIO *a, void *ptr);
2432103: void *BIO_get_data(BIO *a);
2432103: void BIO_set_init(BIO *a, int init);
2432103: int BIO_get_init(BIO *a);
2432103: void BIO_set_shutdown(BIO *a, int shut);
2432103: int BIO_get_shutdown(BIO *a);
2432103: void BIO_vfree(BIO *a);
2432103: int BIO_up_ref(BIO *a);
2432103: int BIO_read(BIO *b, void *data, int dlen);
2432103: int BIO_read_ex(BIO *b, void *data, size_t dlen, size_t *readbytes);
2432103: int BIO_gets(BIO *bp, char *buf, int size);
2432103: int BIO_get_line(BIO *bio, char *buf, int size);
2432103: int BIO_write(BIO *b, const void *data, int dlen);
2432103: int BIO_write_ex(BIO *b, const void *data, size_t dlen, size_t *written);
2432103: int BIO_puts(BIO *bp, const char *buf);
2432103: int BIO_indent(BIO *b, int indent, int max);
2432103: long BIO_ctrl(BIO *bp, int cmd, long larg, void *parg);
2432103: long BIO_callback_ctrl(BIO *b, int cmd, BIO_info_cb *fp);
2432103: void *BIO_ptr_ctrl(BIO *bp, int cmd, long larg);
2432103: long BIO_int_ctrl(BIO *bp, int cmd, long larg, int iarg);
2432103: BIO *BIO_push(BIO *b, BIO *append);
2432103: BIO *BIO_pop(BIO *b);
2432103: void BIO_free_all(BIO *a);
2432103: BIO *BIO_find_type(BIO *b, int bio_type);
2432103: BIO *BIO_next(BIO *b);
2432103: void BIO_set_next(BIO *b, BIO *next);
2432103: BIO *BIO_get_retry_BIO(BIO *bio, int *reason);
2432103: int BIO_get_retry_reason(BIO *bio);
2432103: void BIO_set_retry_reason(BIO *bio, int reason);
2432103: BIO *BIO_dup_chain(BIO *in);
2432103:
2432103: int BIO_nread0(BIO *bio, char **buf);
2432103: int BIO_nread(BIO *bio, char **buf, int num);
2432103: int BIO_nwrite0(BIO *bio, char **buf);
2432103: int BIO_nwrite(BIO *bio, char **buf, int num);
2432103:
2432103: const BIO_METHOD *BIO_s_mem(void);
2432103: const BIO_METHOD *BIO_s_secmem(void);
2432103: BIO *BIO_new_mem_buf(const void *buf, int len);
2432103:
2432103: const BIO_METHOD *BIO_s_socket(void);
2432103: const BIO_METHOD *BIO_s_connect(void);
2432103: const BIO_METHOD *BIO_s_accept(void);
2432103:
2432103: const BIO_METHOD *BIO_s_fd(void);
2432103: const BIO_METHOD *BIO_s_log(void);
2432103: const BIO_METHOD *BIO_s_bio(void);
2432103: const BIO_METHOD *BIO_s_null(void);
2432103: const BIO_METHOD *BIO_f_null(void);
2432103: const BIO_METHOD *BIO_f_buffer(void);
2432103: const BIO_METHOD *BIO_f_readbuffer(void);
2432103: const BIO_METHOD *BIO_f_linebuffer(void);
2432103: const BIO_METHOD *BIO_f_nbio_test(void);
2432103: const BIO_METHOD *BIO_f_prefix(void);
2432103: const BIO_METHOD *BIO_s_core(void);
2432103:
2432103: const BIO_METHOD *BIO_s_datagram(void);
2432103: int BIO_dgram_non_fatal_error(int error);
2432103: BIO *BIO_new_dgram(int fd, int close_flag);
2432103: # 705 "/usr/include/openssl/bio.h" 3 4
2432103: int BIO_sock_should_retry(int i);
2432103: int BIO_sock_non_fatal_error(int error);
2432103: int BIO_socket_wait(int fd, int for_read, time_t max_time);
2432103:
2432103: int BIO_wait(BIO *bio, time_t max_time, unsigned int nap_milliseconds);
2432103: int BIO_do_connect_retry(BIO *bio, int timeout, int nap_milliseconds);
2432103:
2432103: int BIO_fd_should_retry(int i);
2432103: int BIO_fd_non_fatal_error(int error);
2432103: int BIO_dump_cb(int (*cb) (const void *data, size_t len, void *u),
2432103: void *u, const void *s, int len);
2432103: int BIO_dump_indent_cb(int (*cb) (const void *data, size_t len, void *u),
2432103: void *u, const void *s, int len, int indent);
2432103: int BIO_dump(BIO *b, const void *bytes, int len);
2432103: int BIO_dump_indent(BIO *b, const void *bytes, int len, int indent);
2432103:
2432103: int BIO_dump_fp(FILE *fp, const void *s, int len);
2432103: int BIO_dump_indent_fp(FILE *fp, const void *s, int len, int indent);
2432103:
2432103: int BIO_hex_string(BIO *out, int indent, int width, const void *data,
2432103: int datalen);
2432103:
2432103:
2432103: BIO_ADDR *BIO_ADDR_new(void);
2432103: int BIO_ADDR_rawmake(BIO_ADDR *ap, int family,
2432103: const void *where, size_t wherelen, unsigned short port);
2432103: void BIO_ADDR_free(BIO_ADDR *);
2432103: void BIO_ADDR_clear(BIO_ADDR *ap);
2432103: int BIO_ADDR_family(const BIO_ADDR *ap);
2432103: int BIO_ADDR_rawaddress(const BIO_ADDR *ap, void *p, size_t *l);
2432103: unsigned short BIO_ADDR_rawport(const BIO_ADDR *ap);
2432103: char *BIO_ADDR_hostname_string(const BIO_ADDR *ap, int numeric);
2432103: char *BIO_ADDR_service_string(const BIO_ADDR *ap, int numeric);
2432103: char *BIO_ADDR_path_string(const BIO_ADDR *ap);
2432103:
2432103: const BIO_ADDRINFO *BIO_ADDRINFO_next(const BIO_ADDRINFO *bai);
2432103: int BIO_ADDRINFO_family(const BIO_ADDRINFO *bai);
2432103: int BIO_ADDRINFO_socktype(const BIO_ADDRINFO *bai);
2432103: int BIO_ADDRINFO_protocol(const BIO_ADDRINFO *bai);
2432103: const BIO_ADDR *BIO_ADDRINFO_address(const BIO_ADDRINFO *bai);
2432103: void BIO_ADDRINFO_free(BIO_ADDRINFO *bai);
2432103:
2432103: enum BIO_hostserv_priorities {
2432103: BIO_PARSE_PRIO_HOST, BIO_PARSE_PRIO_SERV
2432103: };
2432103: int BIO_parse_hostserv(const char *hostserv, char **host, char **service,
2432103: enum BIO_hostserv_priorities hostserv_prio);
2432103: enum BIO_lookup_type {
2432103: BIO_LOOKUP_CLIENT, BIO_LOOKUP_SERVER
2432103: };
2432103: int BIO_lookup(const char *host, const char *service,
2432103: enum BIO_lookup_type lookup_type,
2432103: int family, int socktype, BIO_ADDRINFO **res);
2432103: int BIO_lookup_ex(const char *host, const char *service,
2432103: int lookup_type, int family, int socktype, int protocol,
2432103: BIO_ADDRINFO **res);
2432103: int BIO_sock_error(int sock);
2432103: int BIO_socket_ioctl(int fd, long type, void *arg);
2432103: int BIO_socket_nbio(int fd, int mode);
2432103: int BIO_sock_init(void);
2432103:
2432103:
2432103:
2432103: int BIO_set_tcp_ndelay(int sock, int turn_on);
2432103:
2432103: __attribute__((deprecated("Since OpenSSL " "1.1.0"))) struct hostent *BIO_gethostbyname(const char *name);
2432103: __attribute__((deprecated("Since OpenSSL " "1.1.0"))) int BIO_get_port(const char *str, unsigned short *port_ptr);
2432103: __attribute__((deprecated("Since OpenSSL " "1.1.0"))) int BIO_get_host_ip(const char *str, unsigned char *ip);
2432103: __attribute__((deprecated("Since OpenSSL " "1.1.0"))) int BIO_get_accept_socket(char *host_port, int mode);
2432103: __attribute__((deprecated("Since OpenSSL " "1.1.0"))) int BIO_accept(int sock, char **ip_port);
2432103:
2432103:
2432103: union BIO_sock_info_u {
2432103: BIO_ADDR *addr;
2432103: };
2432103: enum BIO_sock_info_type {
2432103: BIO_SOCK_INFO_ADDRESS
2432103: };
2432103: int BIO_sock_info(int sock,
2432103: enum BIO_sock_info_type type, union BIO_sock_info_u *info);
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: int BIO_socket(int domain, int socktype, int protocol, int options);
2432103: int BIO_connect(int sock, const BIO_ADDR *addr, int options);
2432103: int BIO_bind(int sock, const BIO_ADDR *addr, int options);
2432103: int BIO_listen(int sock, const BIO_ADDR *addr, int options);
2432103: int BIO_accept_ex(int accept_sock, BIO_ADDR *addr, int options);
2432103: int BIO_closesocket(int sock);
2432103:
2432103: BIO *BIO_new_socket(int sock, int close_flag);
2432103: BIO *BIO_new_connect(const char *host_port);
2432103: BIO *BIO_new_accept(const char *host_port);
2432103:
2432103:
2432103: BIO *BIO_new_fd(int fd, int close_flag);
2432103:
2432103: int BIO_new_bio_pair(BIO **bio1, size_t writebuf1,
2432103: BIO **bio2, size_t writebuf2);
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: void BIO_copy_next_retry(BIO *b);
2432103: # 838 "/usr/include/openssl/bio.h" 3 4
2432103: int BIO_printf(BIO *bio, const char *format, ...)
2432103: __attribute__((__format__(__gnu_printf__, 2, 3)));
2432103: int BIO_vprintf(BIO *bio, const char *format, va_list args)
2432103: __attribute__((__format__(__gnu_printf__, 2, 0)));
2432103: int BIO_snprintf(char *buf, size_t n, const char *format, ...)
2432103: __attribute__((__format__(__gnu_printf__, 3, 4)));
2432103: int BIO_vsnprintf(char *buf, size_t n, const char *format, va_list args)
2432103: __attribute__((__format__(__gnu_printf__, 3, 0)));
2432103:
2432103:
2432103:
2432103:
2432103: BIO_METHOD *BIO_meth_new(int type, const char *name);
2432103: void BIO_meth_free(BIO_METHOD *biom);
2432103: int (*BIO_meth_get_write(const BIO_METHOD *biom)) (BIO *, const char *, int);
2432103: int (*BIO_meth_get_write_ex(const BIO_METHOD *biom)) (BIO *, const char *, size_t,
2432103: size_t *);
2432103: int BIO_meth_set_write(BIO_METHOD *biom,
2432103: int (*write) (BIO *, const char *, int));
2432103: int BIO_meth_set_write_ex(BIO_METHOD *biom,
2432103: int (*bwrite) (BIO *, const char *, size_t, size_t *));
2432103: int (*BIO_meth_get_read(const BIO_METHOD *biom)) (BIO *, char *, int);
2432103: int (*BIO_meth_get_read_ex(const BIO_METHOD *biom)) (BIO *, char *, size_t, size_t *);
2432103: int BIO_meth_set_read(BIO_METHOD *biom,
2432103: int (*read) (BIO *, char *, int));
2432103: int BIO_meth_set_read_ex(BIO_METHOD *biom,
2432103: int (*bread) (BIO *, char *, size_t, size_t *));
2432103: int (*BIO_meth_get_puts(const BIO_METHOD *biom)) (BIO *, const char *);
2432103: int BIO_meth_set_puts(BIO_METHOD *biom,
2432103: int (*puts) (BIO *, const char *));
2432103: int (*BIO_meth_get_gets(const BIO_METHOD *biom)) (BIO *, char *, int);
2432103: int BIO_meth_set_gets(BIO_METHOD *biom,
2432103: int (*ossl_gets) (BIO *, char *, int));
2432103: long (*BIO_meth_get_ctrl(const BIO_METHOD *biom)) (BIO *, int, long, void *);
2432103: int BIO_meth_set_ctrl(BIO_METHOD *biom,
2432103: long (*ctrl) (BIO *, int, long, void *));
2432103: int (*BIO_meth_get_create(const BIO_METHOD *bion)) (BIO *);
2432103: int BIO_meth_set_create(BIO_METHOD *biom, int (*create) (BIO *));
2432103: int (*BIO_meth_get_destroy(const BIO_METHOD *biom)) (BIO *);
2432103: int BIO_meth_set_destroy(BIO_METHOD *biom, int (*destroy) (BIO *));
2432103: long (*BIO_meth_get_callback_ctrl(const BIO_METHOD *biom))
2432103: (BIO *, int, BIO_info_cb *);
2432103: int BIO_meth_set_callback_ctrl(BIO_METHOD *biom,
2432103: long (*callback_ctrl) (BIO *, int,
2432103: BIO_info_cb *));
2432103: # 31 "/usr/include/openssl/evp.h" 2 3 4
2432103: # 1 "/usr/include/openssl/evperr.h" 1 3 4
2432103: # 13 "/usr/include/openssl/evperr.h" 3 4
2432103:
2432103: # 32 "/usr/include/openssl/evp.h" 2 3 4
2432103: # 1 "/usr/include/openssl/params.h" 1 3 4
2432103: # 13 "/usr/include/openssl/params.h" 3 4
2432103:
2432103: # 71 "/usr/include/openssl/params.h" 3 4
2432103: OSSL_PARAM *OSSL_PARAM_locate(OSSL_PARAM *p, const char *key);
2432103: const OSSL_PARAM *OSSL_PARAM_locate_const(const OSSL_PARAM *p, const char *key);
2432103:
2432103:
2432103: OSSL_PARAM OSSL_PARAM_construct_int(const char *key, int *buf);
2432103: OSSL_PARAM OSSL_PARAM_construct_uint(const char *key, unsigned int *buf);
2432103: OSSL_PARAM OSSL_PARAM_construct_long(const char *key, long int *buf);
2432103: OSSL_PARAM OSSL_PARAM_construct_ulong(const char *key, unsigned long int *buf);
2432103: OSSL_PARAM OSSL_PARAM_construct_int32(const char *key, int32_t *buf);
2432103: OSSL_PARAM OSSL_PARAM_construct_uint32(const char *key, uint32_t *buf);
2432103: OSSL_PARAM OSSL_PARAM_construct_int64(const char *key, int64_t *buf);
2432103: OSSL_PARAM OSSL_PARAM_construct_uint64(const char *key, uint64_t *buf);
2432103: OSSL_PARAM OSSL_PARAM_construct_size_t(const char *key, size_t *buf);
2432103: OSSL_PARAM OSSL_PARAM_construct_time_t(const char *key, time_t *buf);
2432103: OSSL_PARAM OSSL_PARAM_construct_BN(const char *key, unsigned char *buf,
2432103: size_t bsize);
2432103: OSSL_PARAM OSSL_PARAM_construct_double(const char *key, double *buf);
2432103: OSSL_PARAM OSSL_PARAM_construct_utf8_string(const char *key, char *buf,
2432103: size_t bsize);
2432103: OSSL_PARAM OSSL_PARAM_construct_utf8_ptr(const char *key, char **buf,
2432103: size_t bsize);
2432103: OSSL_PARAM OSSL_PARAM_construct_octet_string(const char *key, void *buf,
2432103: size_t bsize);
2432103: OSSL_PARAM OSSL_PARAM_construct_octet_ptr(const char *key, void **buf,
2432103: size_t bsize);
2432103: OSSL_PARAM OSSL_PARAM_construct_end(void);
2432103:
2432103: int OSSL_PARAM_allocate_from_text(OSSL_PARAM *to,
2432103: const OSSL_PARAM *paramdefs,
2432103: const char *key, const char *value,
2432103: size_t value_n, int *found);
2432103:
2432103: int OSSL_PARAM_get_int(const OSSL_PARAM *p, int *val);
2432103: int OSSL_PARAM_get_uint(const OSSL_PARAM *p, unsigned int *val);
2432103: int OSSL_PARAM_get_long(const OSSL_PARAM *p, long int *val);
2432103: int OSSL_PARAM_get_ulong(const OSSL_PARAM *p, unsigned long int *val);
2432103: int OSSL_PARAM_get_int32(const OSSL_PARAM *p, int32_t *val);
2432103: int OSSL_PARAM_get_uint32(const OSSL_PARAM *p, uint32_t *val);
2432103: int OSSL_PARAM_get_int64(const OSSL_PARAM *p, int64_t *val);
2432103: int OSSL_PARAM_get_uint64(const OSSL_PARAM *p, uint64_t *val);
2432103: int OSSL_PARAM_get_size_t(const OSSL_PARAM *p, size_t *val);
2432103: int OSSL_PARAM_get_time_t(const OSSL_PARAM *p, time_t *val);
2432103:
2432103: int OSSL_PARAM_set_int(OSSL_PARAM *p, int val);
2432103: int OSSL_PARAM_set_uint(OSSL_PARAM *p, unsigned int val);
2432103: int OSSL_PARAM_set_long(OSSL_PARAM *p, long int val);
2432103: int OSSL_PARAM_set_ulong(OSSL_PARAM *p, unsigned long int val);
2432103: int OSSL_PARAM_set_int32(OSSL_PARAM *p, int32_t val);
2432103: int OSSL_PARAM_set_uint32(OSSL_PARAM *p, uint32_t val);
2432103: int OSSL_PARAM_set_int64(OSSL_PARAM *p, int64_t val);
2432103: int OSSL_PARAM_set_uint64(OSSL_PARAM *p, uint64_t val);
2432103: int OSSL_PARAM_set_size_t(OSSL_PARAM *p, size_t val);
2432103: int OSSL_PARAM_set_time_t(OSSL_PARAM *p, time_t val);
2432103:
2432103: int OSSL_PARAM_get_double(const OSSL_PARAM *p, double *val);
2432103: int OSSL_PARAM_set_double(OSSL_PARAM *p, double val);
2432103:
2432103: int OSSL_PARAM_get_BN(const OSSL_PARAM *p, BIGNUM **val);
2432103: int OSSL_PARAM_set_BN(OSSL_PARAM *p, const BIGNUM *val);
2432103:
2432103: int OSSL_PARAM_get_utf8_string(const OSSL_PARAM *p, char **val, size_t max_len);
2432103: int OSSL_PARAM_set_utf8_string(OSSL_PARAM *p, const char *val);
2432103:
2432103: int OSSL_PARAM_get_octet_string(const OSSL_PARAM *p, void **val, size_t max_len,
2432103: size_t *used_len);
2432103: int OSSL_PARAM_set_octet_string(OSSL_PARAM *p, const void *val, size_t len);
2432103:
2432103: int OSSL_PARAM_get_utf8_ptr(const OSSL_PARAM *p, const char **val);
2432103: int OSSL_PARAM_set_utf8_ptr(OSSL_PARAM *p, const char *val);
2432103:
2432103: int OSSL_PARAM_get_octet_ptr(const OSSL_PARAM *p, const void **val,
2432103: size_t *used_len);
2432103: int OSSL_PARAM_set_octet_ptr(OSSL_PARAM *p, const void *val,
2432103: size_t used_len);
2432103:
2432103: int OSSL_PARAM_get_utf8_string_ptr(const OSSL_PARAM *p, const char **val);
2432103: int OSSL_PARAM_get_octet_string_ptr(const OSSL_PARAM *p, const void **val,
2432103: size_t *used_len);
2432103:
2432103: int OSSL_PARAM_modified(const OSSL_PARAM *p);
2432103: void OSSL_PARAM_set_all_unmodified(OSSL_PARAM *p);
2432103:
2432103: OSSL_PARAM *OSSL_PARAM_dup(const OSSL_PARAM *p);
2432103: OSSL_PARAM *OSSL_PARAM_merge(const OSSL_PARAM *p1, const OSSL_PARAM *p2);
2432103: void OSSL_PARAM_free(OSSL_PARAM *p);
2432103: # 33 "/usr/include/openssl/evp.h" 2 3 4
2432103: # 43 "/usr/include/openssl/evp.h" 3 4
2432103: # 1 "/usr/include/openssl/objects.h" 1 3 4
2432103: # 12 "/usr/include/openssl/objects.h" 3 4
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: # 1 "/usr/include/openssl/obj_mac.h" 1 3 4
2432103: # 14 "/usr/include/openssl/obj_mac.h" 3 4
2432103:
2432103: # 20 "/usr/include/openssl/objects.h" 2 3 4
2432103:
2432103: # 1 "/usr/include/openssl/asn1.h" 1 3 4
2432103: # 17 "/usr/include/openssl/asn1.h" 3 4
2432103:
2432103: # 32 "/usr/include/openssl/asn1.h" 3 4
2432103: # 1 "/usr/include/openssl/asn1err.h" 1 3 4
2432103: # 13 "/usr/include/openssl/asn1err.h" 3 4
2432103:
2432103: # 33 "/usr/include/openssl/asn1.h" 2 3 4
2432103:
2432103:
2432103: # 1 "/usr/include/openssl/types.h" 1 3 4
2432103: # 36 "/usr/include/openssl/asn1.h" 2 3 4
2432103: # 132 "/usr/include/openssl/asn1.h" 3 4
2432103: struct stack_st_X509_ALGOR; typedef int (*sk_X509_ALGOR_compfunc)(const X509_ALGOR * const *a, const X509_ALGOR *const *b); typedef void (*sk_X509_ALGOR_freefunc)(X509_ALGOR *a); typedef X509_ALGOR * (*sk_X509_ALGOR_copyfunc)(const X509_ALGOR *a); static __attribute__((unused)) inline X509_ALGOR *ossl_check_X509_ALGOR_type(X509_ALGOR *ptr) { return ptr; } static __attribute__((unused)) inline const OPENSSL_STACK *ossl_check_const_X509_ALGOR_sk_type(const struct stack_st_X509_ALGOR *sk) { return (const OPENSSL_STACK *)sk; } static __attribute__((unused)) inline OPENSSL_STACK *ossl_check_X509_ALGOR_sk_type(struct stack_st_X509_ALGOR *sk) { return (OPENSSL_STACK *)sk; } static __attribute__((unused)) inline OPENSSL_sk_compfunc ossl_check_X509_ALGOR_compfunc_type(sk_X509_ALGOR_compfunc cmp) { return (OPENSSL_sk_compfunc)cmp; } static __attribute__((unused)) inline OPENSSL_sk_copyfunc ossl_check_X509_ALGOR_copyfunc_type(sk_X509_ALGOR_copyfunc cpy) { return (OPENSSL_sk_copyfunc)cpy; } static __attribute__((unused)) inline OPENSSL_sk_freefunc ossl_check_X509_ALGOR_freefunc_type(sk_X509_ALGOR_freefunc fr) { return (OPENSSL_sk_freefunc)fr; }
2432103: # 186 "/usr/include/openssl/asn1.h" 3 4
2432103: struct asn1_string_st {
2432103: int length;
2432103: int type;
2432103: unsigned char *data;
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: long flags;
2432103: };
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: typedef struct ASN1_ENCODING_st {
2432103: unsigned char *enc;
2432103: long len;
2432103: int modified;
2432103: } ASN1_ENCODING;
2432103: # 226 "/usr/include/openssl/asn1.h" 3 4
2432103: struct asn1_string_table_st {
2432103: int nid;
2432103: long minsize;
2432103: long maxsize;
2432103: unsigned long mask;
2432103: unsigned long flags;
2432103: };
2432103:
2432103: struct stack_st_ASN1_STRING_TABLE; typedef int (*sk_ASN1_STRING_TABLE_compfunc)(const ASN1_STRING_TABLE * const *a, const ASN1_STRING_TABLE *const *b); typedef void (*sk_ASN1_STRING_TABLE_freefunc)(ASN1_STRING_TABLE *a); typedef ASN1_STRING_TABLE * (*sk_ASN1_STRING_TABLE_copyfunc)(const ASN1_STRING_TABLE *a); static __attribute__((unused)) inline ASN1_STRING_TABLE *ossl_check_ASN1_STRING_TABLE_type(ASN1_STRING_TABLE *ptr) { return ptr; } static __attribute__((unused)) inline const OPENSSL_STACK *ossl_check_const_ASN1_STRING_TABLE_sk_type(const struct stack_st_ASN1_STRING_TABLE *sk) { return (const OPENSSL_STACK *)sk; } static __attribute__((unused)) inline OPENSSL_STACK *ossl_check_ASN1_STRING_TABLE_sk_type(struct stack_st_ASN1_STRING_TABLE *sk) { return (OPENSSL_STACK *)sk; } static __attribute__((unused)) inline OPENSSL_sk_compfunc ossl_check_ASN1_STRING_TABLE_compfunc_type(sk_ASN1_STRING_TABLE_compfunc cmp) { return (OPENSSL_sk_compfunc)cmp; } static __attribute__((unused)) inline OPENSSL_sk_copyfunc ossl_check_ASN1_STRING_TABLE_copyfunc_type(sk_ASN1_STRING_TABLE_copyfunc cpy) { return (OPENSSL_sk_copyfunc)cpy; } static __attribute__((unused)) inline OPENSSL_sk_freefunc ossl_check_ASN1_STRING_TABLE_freefunc_type(sk_ASN1_STRING_TABLE_freefunc fr) { return (OPENSSL_sk_freefunc)fr; }
2432103: # 276 "/usr/include/openssl/asn1.h" 3 4
2432103: typedef struct ASN1_TEMPLATE_st ASN1_TEMPLATE;
2432103: typedef struct ASN1_TLC_st ASN1_TLC;
2432103:
2432103: typedef struct ASN1_VALUE_st ASN1_VALUE;
2432103: # 372 "/usr/include/openssl/asn1.h" 3 4
2432103: typedef void *d2i_of_void(void **, const unsigned char **, long);
2432103: typedef int i2d_of_void(const void *, unsigned char **);
2432103: # 418 "/usr/include/openssl/asn1.h" 3 4
2432103: typedef const ASN1_ITEM *ASN1_ITEM_EXP (void);
2432103: # 523 "/usr/include/openssl/asn1.h" 3 4
2432103: struct asn1_type_st {
2432103: int type;
2432103: union {
2432103: char *ptr;
2432103: ASN1_BOOLEAN boolean;
2432103: ASN1_STRING *asn1_string;
2432103: ASN1_OBJECT *object;
2432103: ASN1_INTEGER *integer;
2432103: ASN1_ENUMERATED *enumerated;
2432103: ASN1_BIT_STRING *bit_string;
2432103: ASN1_OCTET_STRING *octet_string;
2432103: ASN1_PRINTABLESTRING *printablestring;
2432103: ASN1_T61STRING *t61string;
2432103: ASN1_IA5STRING *ia5string;
2432103: ASN1_GENERALSTRING *generalstring;
2432103: ASN1_BMPSTRING *bmpstring;
2432103: ASN1_UNIVERSALSTRING *universalstring;
2432103: ASN1_UTCTIME *utctime;
2432103: ASN1_GENERALIZEDTIME *generalizedtime;
2432103: ASN1_VISIBLESTRING *visiblestring;
2432103: ASN1_UTF8STRING *utf8string;
2432103:
2432103:
2432103:
2432103:
2432103: ASN1_STRING *set;
2432103: ASN1_STRING *sequence;
2432103: ASN1_VALUE *asn1_value;
2432103: } value;
2432103: };
2432103:
2432103: struct stack_st_ASN1_TYPE; typedef int (*sk_ASN1_TYPE_compfunc)(const ASN1_TYPE * const *a, const ASN1_TYPE *const *b); typedef void (*sk_ASN1_TYPE_freefunc)(ASN1_TYPE *a); typedef ASN1_TYPE * (*sk_ASN1_TYPE_copyfunc)(const ASN1_TYPE *a); static __attribute__((unused)) inline ASN1_TYPE *ossl_check_ASN1_TYPE_type(ASN1_TYPE *ptr) { return ptr; } static __attribute__((unused)) inline const OPENSSL_STACK *ossl_check_const_ASN1_TYPE_sk_type(const struct stack_st_ASN1_TYPE *sk) { return (const OPENSSL_STACK *)sk; } static __attribute__((unused)) inline OPENSSL_STACK *ossl_check_ASN1_TYPE_sk_type(struct stack_st_ASN1_TYPE *sk) { return (OPENSSL_STACK *)sk; } static __attribute__((unused)) inline OPENSSL_sk_compfunc ossl_check_ASN1_TYPE_compfunc_type(sk_ASN1_TYPE_compfunc cmp) { return (OPENSSL_sk_compfunc)cmp; } static __attribute__((unused)) inline OPENSSL_sk_copyfunc ossl_check_ASN1_TYPE_copyfunc_type(sk_ASN1_TYPE_copyfunc cpy) { return (OPENSSL_sk_copyfunc)cpy; } static __attribute__((unused)) inline OPENSSL_sk_freefunc ossl_check_ASN1_TYPE_freefunc_type(sk_ASN1_TYPE_freefunc fr) { return (OPENSSL_sk_freefunc)fr; }
2432103: # 582 "/usr/include/openssl/asn1.h" 3 4
2432103: typedef struct stack_st_ASN1_TYPE ASN1_SEQUENCE_ANY;
2432103:
2432103: extern ASN1_SEQUENCE_ANY *d2i_ASN1_SEQUENCE_ANY(ASN1_SEQUENCE_ANY **a, const unsigned char **in, long len); extern int i2d_ASN1_SEQUENCE_ANY(const ASN1_SEQUENCE_ANY *a, unsigned char **out); extern const ASN1_ITEM * ASN1_SEQUENCE_ANY_it(void);
2432103: extern ASN1_SEQUENCE_ANY *d2i_ASN1_SET_ANY(ASN1_SEQUENCE_ANY **a, const unsigned char **in, long len); extern int i2d_ASN1_SET_ANY(const ASN1_SEQUENCE_ANY *a, unsigned char **out); extern const ASN1_ITEM * ASN1_SET_ANY_it(void);
2432103:
2432103:
2432103: typedef struct BIT_STRING_BITNAME_st {
2432103: int bitnum;
2432103: const char *lname;
2432103: const char *sname;
2432103: } BIT_STRING_BITNAME;
2432103: # 623 "/usr/include/openssl/asn1.h" 3 4
2432103: extern ASN1_TYPE *ASN1_TYPE_new(void); extern void ASN1_TYPE_free(ASN1_TYPE *a);
2432103: extern ASN1_TYPE *d2i_ASN1_TYPE(ASN1_TYPE **a, const unsigned char **in, long len); extern int i2d_ASN1_TYPE(const ASN1_TYPE *a, unsigned char **out); extern const ASN1_ITEM * ASN1_ANY_it(void);
2432103:
2432103: int ASN1_TYPE_get(const ASN1_TYPE *a);
2432103: void ASN1_TYPE_set(ASN1_TYPE *a, int type, void *value);
2432103: int ASN1_TYPE_set1(ASN1_TYPE *a, int type, const void *value);
2432103: int ASN1_TYPE_cmp(const ASN1_TYPE *a, const ASN1_TYPE *b);
2432103:
2432103: ASN1_TYPE *ASN1_TYPE_pack_sequence(const ASN1_ITEM *it, void *s, ASN1_TYPE **t);
2432103: void *ASN1_TYPE_unpack_sequence(const ASN1_ITEM *it, const ASN1_TYPE *t);
2432103:
2432103: struct stack_st_ASN1_OBJECT; typedef int (*sk_ASN1_OBJECT_compfunc)(const ASN1_OBJECT * const *a, const ASN1_OBJECT *const *b); typedef void (*sk_ASN1_OBJECT_freefunc)(ASN1_OBJECT *a); typedef ASN1_OBJECT * (*sk_ASN1_OBJECT_copyfunc)(const ASN1_OBJECT *a); static __attribute__((unused)) inline ASN1_OBJECT *ossl_check_ASN1_OBJECT_type(ASN1_OBJECT *ptr) { return ptr; } static __attribute__((unused)) inline const OPENSSL_STACK *ossl_check_const_ASN1_OBJECT_sk_type(const struct stack_st_ASN1_OBJECT *sk) { return (const OPENSSL_STACK *)sk; } static __attribute__((unused)) inline OPENSSL_STACK *ossl_check_ASN1_OBJECT_sk_type(struct stack_st_ASN1_OBJECT *sk) { return (OPENSSL_STACK *)sk; } static __attribute__((unused)) inline OPENSSL_sk_compfunc ossl_check_ASN1_OBJECT_compfunc_type(sk_ASN1_OBJECT_compfunc cmp) { return (OPENSSL_sk_compfunc)cmp; } static __attribute__((unused)) inline OPENSSL_sk_copyfunc ossl_check_ASN1_OBJECT_copyfunc_type(sk_ASN1_OBJECT_copyfunc cpy) { return (OPENSSL_sk_copyfunc)cpy; } static __attribute__((unused)) inline OPENSSL_sk_freefunc ossl_check_ASN1_OBJECT_freefunc_type(sk_ASN1_OBJECT_freefunc fr) { return (OPENSSL_sk_freefunc)fr; }
2432103: # 662 "/usr/include/openssl/asn1.h" 3 4
2432103: extern ASN1_OBJECT *ASN1_OBJECT_new(void); extern void ASN1_OBJECT_free(ASN1_OBJECT *a); extern ASN1_OBJECT *d2i_ASN1_OBJECT(ASN1_OBJECT **a, const unsigned char **in, long len); extern int i2d_ASN1_OBJECT(const ASN1_OBJECT *a, unsigned char **out); extern const ASN1_ITEM * ASN1_OBJECT_it(void);
2432103:
2432103: ASN1_STRING *ASN1_STRING_new(void);
2432103: void ASN1_STRING_free(ASN1_STRING *a);
2432103: void ASN1_STRING_clear_free(ASN1_STRING *a);
2432103: int ASN1_STRING_copy(ASN1_STRING *dst, const ASN1_STRING *str);
2432103: extern ASN1_STRING *ASN1_STRING_dup(const ASN1_STRING *a);
2432103: ASN1_STRING *ASN1_STRING_type_new(int type);
2432103: int ASN1_STRING_cmp(const ASN1_STRING *a, const ASN1_STRING *b);
2432103:
2432103:
2432103:
2432103:
2432103: int ASN1_STRING_set(ASN1_STRING *str, const void *data, int len);
2432103: void ASN1_STRING_set0(ASN1_STRING *str, void *data, int len);
2432103: int ASN1_STRING_length(const ASN1_STRING *x);
2432103:
2432103: void ASN1_STRING_length_set(ASN1_STRING *x, int n);
2432103:
2432103: int ASN1_STRING_type(const ASN1_STRING *x);
2432103:
2432103: __attribute__((deprecated("Since OpenSSL " "1.1.0"))) unsigned char *ASN1_STRING_data(ASN1_STRING *x);
2432103:
2432103: const unsigned char *ASN1_STRING_get0_data(const ASN1_STRING *x);
2432103:
2432103: extern ASN1_BIT_STRING *ASN1_BIT_STRING_new(void); extern void ASN1_BIT_STRING_free(ASN1_BIT_STRING *a); extern ASN1_BIT_STRING *d2i_ASN1_BIT_STRING(ASN1_BIT_STRING **a, const unsigned char **in, long len); extern int i2d_ASN1_BIT_STRING(const ASN1_BIT_STRING *a, unsigned char **out); extern const ASN1_ITEM * ASN1_BIT_STRING_it(void);
2432103: int ASN1_BIT_STRING_set(ASN1_BIT_STRING *a, unsigned char *d, int length);
2432103: int ASN1_BIT_STRING_set_bit(ASN1_BIT_STRING *a, int n, int value);
2432103: int ASN1_BIT_STRING_get_bit(const ASN1_BIT_STRING *a, int n);
2432103: int ASN1_BIT_STRING_check(const ASN1_BIT_STRING *a,
2432103: const unsigned char *flags, int flags_len);
2432103:
2432103: int ASN1_BIT_STRING_name_print(BIO *out, ASN1_BIT_STRING *bs,
2432103: BIT_STRING_BITNAME *tbl, int indent);
2432103: int ASN1_BIT_STRING_num_asc(const char *name, BIT_STRING_BITNAME *tbl);
2432103: int ASN1_BIT_STRING_set_asc(ASN1_BIT_STRING *bs, const char *name, int value,
2432103: BIT_STRING_BITNAME *tbl);
2432103:
2432103: struct stack_st_ASN1_INTEGER; typedef int (*sk_ASN1_INTEGER_compfunc)(const ASN1_INTEGER * const *a, const ASN1_INTEGER *const *b); typedef void (*sk_ASN1_INTEGER_freefunc)(ASN1_INTEGER *a); typedef ASN1_INTEGER * (*sk_ASN1_INTEGER_copyfunc)(const ASN1_INTEGER *a); static __attribute__((unused)) inline ASN1_INTEGER *ossl_check_ASN1_INTEGER_type(ASN1_INTEGER *ptr) { return ptr; } static __attribute__((unused)) inline const OPENSSL_STACK *ossl_check_const_ASN1_INTEGER_sk_type(const struct stack_st_ASN1_INTEGER *sk) { return (const OPENSSL_STACK *)sk; } static __attribute__((unused)) inline OPENSSL_STACK *ossl_check_ASN1_INTEGER_sk_type(struct stack_st_ASN1_INTEGER *sk) { return (OPENSSL_STACK *)sk; } static __attribute__((unused)) inline OPENSSL_sk_compfunc ossl_check_ASN1_INTEGER_compfunc_type(sk_ASN1_INTEGER_compfunc cmp) { return (OPENSSL_sk_compfunc)cmp; } static __attribute__((unused)) inline OPENSSL_sk_copyfunc ossl_check_ASN1_INTEGER_copyfunc_type(sk_ASN1_INTEGER_copyfunc cpy) { return (OPENSSL_sk_copyfunc)cpy; } static __attribute__((unused)) inline OPENSSL_sk_freefunc ossl_check_ASN1_INTEGER_freefunc_type(sk_ASN1_INTEGER_freefunc fr) { return (OPENSSL_sk_freefunc)fr; }
2432103: # 729 "/usr/include/openssl/asn1.h" 3 4
2432103: extern ASN1_INTEGER *ASN1_INTEGER_new(void); extern void ASN1_INTEGER_free(ASN1_INTEGER *a); extern ASN1_INTEGER *d2i_ASN1_INTEGER(ASN1_INTEGER **a, const unsigned char **in, long len); extern int i2d_ASN1_INTEGER(const ASN1_INTEGER *a, unsigned char **out); extern const ASN1_ITEM * ASN1_INTEGER_it(void);
2432103: ASN1_INTEGER *d2i_ASN1_UINTEGER(ASN1_INTEGER **a, const unsigned char **pp,
2432103: long length);
2432103: extern ASN1_INTEGER *ASN1_INTEGER_dup(const ASN1_INTEGER *a);
2432103: int ASN1_INTEGER_cmp(const ASN1_INTEGER *x, const ASN1_INTEGER *y);
2432103:
2432103: extern ASN1_ENUMERATED *ASN1_ENUMERATED_new(void); extern void ASN1_ENUMERATED_free(ASN1_ENUMERATED *a); extern ASN1_ENUMERATED *d2i_ASN1_ENUMERATED(ASN1_ENUMERATED **a, const unsigned char **in, long len); extern int i2d_ASN1_ENUMERATED(const ASN1_ENUMERATED *a, unsigned char **out); extern const ASN1_ITEM * ASN1_ENUMERATED_it(void);
2432103:
2432103: int ASN1_UTCTIME_check(const ASN1_UTCTIME *a);
2432103: ASN1_UTCTIME *ASN1_UTCTIME_set(ASN1_UTCTIME *s, time_t t);
2432103: ASN1_UTCTIME *ASN1_UTCTIME_adj(ASN1_UTCTIME *s, time_t t,
2432103: int offset_day, long offset_sec);
2432103: int ASN1_UTCTIME_set_string(ASN1_UTCTIME *s, const char *str);
2432103: int ASN1_UTCTIME_cmp_time_t(const ASN1_UTCTIME *s, time_t t);
2432103:
2432103: int ASN1_GENERALIZEDTIME_check(const ASN1_GENERALIZEDTIME *a);
2432103: ASN1_GENERALIZEDTIME *ASN1_GENERALIZEDTIME_set(ASN1_GENERALIZEDTIME *s,
2432103: time_t t);
2432103: ASN1_GENERALIZEDTIME *ASN1_GENERALIZEDTIME_adj(ASN1_GENERALIZEDTIME *s,
2432103: time_t t, int offset_day,
2432103: long offset_sec);
2432103: int ASN1_GENERALIZEDTIME_set_string(ASN1_GENERALIZEDTIME *s, const char *str);
2432103:
2432103: int ASN1_TIME_diff(int *pday, int *psec,
2432103: const ASN1_TIME *from, const ASN1_TIME *to);
2432103:
2432103: extern ASN1_OCTET_STRING *ASN1_OCTET_STRING_new(void); extern void ASN1_OCTET_STRING_free(ASN1_OCTET_STRING *a); extern ASN1_OCTET_STRING *d2i_ASN1_OCTET_STRING(ASN1_OCTET_STRING **a, const unsigned char **in, long len); extern int i2d_ASN1_OCTET_STRING(const ASN1_OCTET_STRING *a, unsigned char **out); extern const ASN1_ITEM * ASN1_OCTET_STRING_it(void);
2432103: extern ASN1_OCTET_STRING *ASN1_OCTET_STRING_dup(const ASN1_OCTET_STRING *a);
2432103: int ASN1_OCTET_STRING_cmp(const ASN1_OCTET_STRING *a,
2432103: const ASN1_OCTET_STRING *b);
2432103: int ASN1_OCTET_STRING_set(ASN1_OCTET_STRING *str, const unsigned char *data,
2432103: int len);
2432103:
2432103: struct stack_st_ASN1_UTF8STRING; typedef int (*sk_ASN1_UTF8STRING_compfunc)(const ASN1_UTF8STRING * const *a, const ASN1_UTF8STRING *const *b); typedef void (*sk_ASN1_UTF8STRING_freefunc)(ASN1_UTF8STRING *a); typedef ASN1_UTF8STRING * (*sk_ASN1_UTF8STRING_copyfunc)(const ASN1_UTF8STRING *a); static __attribute__((unused)) inline ASN1_UTF8STRING *ossl_check_ASN1_UTF8STRING_type(ASN1_UTF8STRING *ptr) { return ptr; } static __attribute__((unused)) inline const OPENSSL_STACK *ossl_check_const_ASN1_UTF8STRING_sk_type(const struct stack_st_ASN1_UTF8STRING *sk) { return (const OPENSSL_STACK *)sk; } static __attribute__((unused)) inline OPENSSL_STACK *ossl_check_ASN1_UTF8STRING_sk_type(struct stack_st_ASN1_UTF8STRING *sk) { return (OPENSSL_STACK *)sk; } static __attribute__((unused)) inline OPENSSL_sk_compfunc ossl_check_ASN1_UTF8STRING_compfunc_type(sk_ASN1_UTF8STRING_compfunc cmp) { return (OPENSSL_sk_compfunc)cmp; } static __attribute__((unused)) inline OPENSSL_sk_copyfunc ossl_check_ASN1_UTF8STRING_copyfunc_type(sk_ASN1_UTF8STRING_copyfunc cpy) { return (OPENSSL_sk_copyfunc)cpy; } static __attribute__((unused)) inline OPENSSL_sk_freefunc ossl_check_ASN1_UTF8STRING_freefunc_type(sk_ASN1_UTF8STRING_freefunc fr) { return (OPENSSL_sk_freefunc)fr; }
2432103: # 790 "/usr/include/openssl/asn1.h" 3 4
2432103: extern ASN1_VISIBLESTRING *ASN1_VISIBLESTRING_new(void); extern void ASN1_VISIBLESTRING_free(ASN1_VISIBLESTRING *a); extern ASN1_VISIBLESTRING *d2i_ASN1_VISIBLESTRING(ASN1_VISIBLESTRING **a, const unsigned char **in, long len); extern int i2d_ASN1_VISIBLESTRING(const ASN1_VISIBLESTRING *a, unsigned char **out); extern const ASN1_ITEM * ASN1_VISIBLESTRING_it(void);
2432103: extern ASN1_UNIVERSALSTRING *ASN1_UNIVERSALSTRING_new(void); extern void ASN1_UNIVERSALSTRING_free(ASN1_UNIVERSALSTRING *a); extern ASN1_UNIVERSALSTRING *d2i_ASN1_UNIVERSALSTRING(ASN1_UNIVERSALSTRING **a, const unsigned char **in, long len); extern int i2d_ASN1_UNIVERSALSTRING(const ASN1_UNIVERSALSTRING *a, unsigned char **out); extern const ASN1_ITEM * ASN1_UNIVERSALSTRING_it(void);
2432103: extern ASN1_UTF8STRING *ASN1_UTF8STRING_new(void); extern void ASN1_UTF8STRING_free(ASN1_UTF8STRING *a); extern ASN1_UTF8STRING *d2i_ASN1_UTF8STRING(ASN1_UTF8STRING **a, const unsigned char **in, long len); extern int i2d_ASN1_UTF8STRING(const ASN1_UTF8STRING *a, unsigned char **out); extern const ASN1_ITEM * ASN1_UTF8STRING_it(void);
2432103: extern ASN1_NULL *ASN1_NULL_new(void); extern void ASN1_NULL_free(ASN1_NULL *a); extern ASN1_NULL *d2i_ASN1_NULL(ASN1_NULL **a, const unsigned char **in, long len); extern int i2d_ASN1_NULL(const ASN1_NULL *a, unsigned char **out); extern const ASN1_ITEM * ASN1_NULL_it(void);
2432103: extern ASN1_BMPSTRING *ASN1_BMPSTRING_new(void); extern void ASN1_BMPSTRING_free(ASN1_BMPSTRING *a); extern ASN1_BMPSTRING *d2i_ASN1_BMPSTRING(ASN1_BMPSTRING **a, const unsigned char **in, long len); extern int i2d_ASN1_BMPSTRING(const ASN1_BMPSTRING *a, unsigned char **out); extern const ASN1_ITEM * ASN1_BMPSTRING_it(void);
2432103:
2432103: int UTF8_getc(const unsigned char *str, int len, unsigned long *val);
2432103: int UTF8_putc(unsigned char *str, int len, unsigned long value);
2432103:
2432103: struct stack_st_ASN1_GENERALSTRING; typedef int (*sk_ASN1_GENERALSTRING_compfunc)(const ASN1_GENERALSTRING * const *a, const ASN1_GENERALSTRING *const *b); typedef void (*sk_ASN1_GENERALSTRING_freefunc)(ASN1_GENERALSTRING *a); typedef ASN1_GENERALSTRING * (*sk_ASN1_GENERALSTRING_copyfunc)(const ASN1_GENERALSTRING *a); static __attribute__((unused)) inline ASN1_GENERALSTRING *ossl_check_ASN1_GENERALSTRING_type(ASN1_GENERALSTRING *ptr) { return ptr; } static __attribute__((unused)) inline const OPENSSL_STACK *ossl_check_const_ASN1_GENERALSTRING_sk_type(const struct stack_st_ASN1_GENERALSTRING *sk) { return (const OPENSSL_STACK *)sk; } static __attribute__((unused)) inline OPENSSL_STACK *ossl_check_ASN1_GENERALSTRING_sk_type(struct stack_st_ASN1_GENERALSTRING *sk) { return (OPENSSL_STACK *)sk; } static __attribute__((unused)) inline OPENSSL_sk_compfunc ossl_check_ASN1_GENERALSTRING_compfunc_type(sk_ASN1_GENERALSTRING_compfunc cmp) { return (OPENSSL_sk_compfunc)cmp; } static __attribute__((unused)) inline OPENSSL_sk_copyfunc ossl_check_ASN1_GENERALSTRING_copyfunc_type(sk_ASN1_GENERALSTRING_copyfunc cpy) { return (OPENSSL_sk_copyfunc)cpy; } static __attribute__((unused)) inline OPENSSL_sk_freefunc ossl_check_ASN1_GENERALSTRING_freefunc_type(sk_ASN1_GENERALSTRING_freefunc fr) { return (OPENSSL_sk_freefunc)fr; }
2432103: # 827 "/usr/include/openssl/asn1.h" 3 4
2432103: extern ASN1_STRING *ASN1_PRINTABLE_new(void); extern void ASN1_PRINTABLE_free(ASN1_STRING *a); extern ASN1_STRING *d2i_ASN1_PRINTABLE(ASN1_STRING **a, const unsigned char **in, long len); extern int i2d_ASN1_PRINTABLE(const ASN1_STRING *a, unsigned char **out); extern const ASN1_ITEM * ASN1_PRINTABLE_it(void);
2432103:
2432103: extern ASN1_STRING *DIRECTORYSTRING_new(void); extern void DIRECTORYSTRING_free(ASN1_STRING *a); extern ASN1_STRING *d2i_DIRECTORYSTRING(ASN1_STRING **a, const unsigned char **in, long len); extern int i2d_DIRECTORYSTRING(const ASN1_STRING *a, unsigned char **out); extern const ASN1_ITEM * DIRECTORYSTRING_it(void);
2432103: extern ASN1_STRING *DISPLAYTEXT_new(void); extern void DISPLAYTEXT_free(ASN1_STRING *a); extern ASN1_STRING *d2i_DISPLAYTEXT(ASN1_STRING **a, const unsigned char **in, long len); extern int i2d_DISPLAYTEXT(const ASN1_STRING *a, unsigned char **out); extern const ASN1_ITEM * DISPLAYTEXT_it(void);
2432103: extern ASN1_PRINTABLESTRING *ASN1_PRINTABLESTRING_new(void); extern void ASN1_PRINTABLESTRING_free(ASN1_PRINTABLESTRING *a); extern ASN1_PRINTABLESTRING *d2i_ASN1_PRINTABLESTRING(ASN1_PRINTABLESTRING **a, const unsigned char **in, long len); extern int i2d_ASN1_PRINTABLESTRING(const ASN1_PRINTABLESTRING *a, unsigned char **out); extern const ASN1_ITEM * ASN1_PRINTABLESTRING_it(void);
2432103: extern ASN1_T61STRING *ASN1_T61STRING_new(void); extern void ASN1_T61STRING_free(ASN1_T61STRING *a); extern ASN1_T61STRING *d2i_ASN1_T61STRING(ASN1_T61STRING **a, const unsigned char **in, long len); extern int i2d_ASN1_T61STRING(const ASN1_T61STRING *a, unsigned char **out); extern const ASN1_ITEM * ASN1_T61STRING_it(void);
2432103: extern ASN1_IA5STRING *ASN1_IA5STRING_new(void); extern void ASN1_IA5STRING_free(ASN1_IA5STRING *a); extern ASN1_IA5STRING *d2i_ASN1_IA5STRING(ASN1_IA5STRING **a, const unsigned char **in, long len); extern int i2d_ASN1_IA5STRING(const ASN1_IA5STRING *a, unsigned char **out); extern const ASN1_ITEM * ASN1_IA5STRING_it(void);
2432103: extern ASN1_GENERALSTRING *ASN1_GENERALSTRING_new(void); extern void ASN1_GENERALSTRING_free(ASN1_GENERALSTRING *a); extern ASN1_GENERALSTRING *d2i_ASN1_GENERALSTRING(ASN1_GENERALSTRING **a, const unsigned char **in, long len); extern int i2d_ASN1_GENERALSTRING(const ASN1_GENERALSTRING *a, unsigned char **out); extern const ASN1_ITEM * ASN1_GENERALSTRING_it(void);
2432103: extern ASN1_UTCTIME *ASN1_UTCTIME_new(void); extern void ASN1_UTCTIME_free(ASN1_UTCTIME *a); extern ASN1_UTCTIME *d2i_ASN1_UTCTIME(ASN1_UTCTIME **a, const unsigned char **in, long len); extern int i2d_ASN1_UTCTIME(const ASN1_UTCTIME *a, unsigned char **out); extern const ASN1_ITEM * ASN1_UTCTIME_it(void);
2432103: extern ASN1_GENERALIZEDTIME *ASN1_GENERALIZEDTIME_new(void); extern void ASN1_GENERALIZEDTIME_free(ASN1_GENERALIZEDTIME *a); extern ASN1_GENERALIZEDTIME *d2i_ASN1_GENERALIZEDTIME(ASN1_GENERALIZEDTIME **a, const unsigned char **in, long len); extern int i2d_ASN1_GENERALIZEDTIME(const ASN1_GENERALIZEDTIME *a, unsigned char **out); extern const ASN1_ITEM * ASN1_GENERALIZEDTIME_it(void);
2432103: extern ASN1_TIME *ASN1_TIME_new(void); extern void ASN1_TIME_free(ASN1_TIME *a); extern ASN1_TIME *d2i_ASN1_TIME(ASN1_TIME **a, const unsigned char **in, long len); extern int i2d_ASN1_TIME(const ASN1_TIME *a, unsigned char **out); extern const ASN1_ITEM * ASN1_TIME_it(void);
2432103:
2432103: extern ASN1_TIME *ASN1_TIME_dup(const ASN1_TIME *a);
2432103: extern ASN1_UTCTIME *ASN1_UTCTIME_dup(const ASN1_UTCTIME *a);
2432103: extern ASN1_GENERALIZEDTIME *ASN1_GENERALIZEDTIME_dup(const ASN1_GENERALIZEDTIME *a);
2432103:
2432103: extern const ASN1_ITEM * ASN1_OCTET_STRING_NDEF_it(void);
2432103:
2432103: ASN1_TIME *ASN1_TIME_set(ASN1_TIME *s, time_t t);
2432103: ASN1_TIME *ASN1_TIME_adj(ASN1_TIME *s, time_t t,
2432103: int offset_day, long offset_sec);
2432103: int ASN1_TIME_check(const ASN1_TIME *t);
2432103: ASN1_GENERALIZEDTIME *ASN1_TIME_to_generalizedtime(const ASN1_TIME *t,
2432103: ASN1_GENERALIZEDTIME **out);
2432103: int ASN1_TIME_set_string(ASN1_TIME *s, const char *str);
2432103: int ASN1_TIME_set_string_X509(ASN1_TIME *s, const char *str);
2432103: int ASN1_TIME_to_tm(const ASN1_TIME *s, struct tm *tm);
2432103: int ASN1_TIME_normalize(ASN1_TIME *s);
2432103: int ASN1_TIME_cmp_time_t(const ASN1_TIME *s, time_t t);
2432103: int ASN1_TIME_compare(const ASN1_TIME *a, const ASN1_TIME *b);
2432103:
2432103: int i2a_ASN1_INTEGER(BIO *bp, const ASN1_INTEGER *a);
2432103: int a2i_ASN1_INTEGER(BIO *bp, ASN1_INTEGER *bs, char *buf, int size);
2432103: int i2a_ASN1_ENUMERATED(BIO *bp, const ASN1_ENUMERATED *a);
2432103: int a2i_ASN1_ENUMERATED(BIO *bp, ASN1_ENUMERATED *bs, char *buf, int size);
2432103: int i2a_ASN1_OBJECT(BIO *bp, const ASN1_OBJECT *a);
2432103: int a2i_ASN1_STRING(BIO *bp, ASN1_STRING *bs, char *buf, int size);
2432103: int i2a_ASN1_STRING(BIO *bp, const ASN1_STRING *a, int type);
2432103: int i2t_ASN1_OBJECT(char *buf, int buf_len, const ASN1_OBJECT *a);
2432103:
2432103: int a2d_ASN1_OBJECT(unsigned char *out, int olen, const char *buf, int num);
2432103: ASN1_OBJECT *ASN1_OBJECT_create(int nid, unsigned char *data, int len,
2432103: const char *sn, const char *ln);
2432103:
2432103: int ASN1_INTEGER_get_int64(int64_t *pr, const ASN1_INTEGER *a);
2432103: int ASN1_INTEGER_set_int64(ASN1_INTEGER *a, int64_t r);
2432103: int ASN1_INTEGER_get_uint64(uint64_t *pr, const ASN1_INTEGER *a);
2432103: int ASN1_INTEGER_set_uint64(ASN1_INTEGER *a, uint64_t r);
2432103:
2432103: int ASN1_INTEGER_set(ASN1_INTEGER *a, long v);
2432103: long ASN1_INTEGER_get(const ASN1_INTEGER *a);
2432103: ASN1_INTEGER *BN_to_ASN1_INTEGER(const BIGNUM *bn, ASN1_INTEGER *ai);
2432103: BIGNUM *ASN1_INTEGER_to_BN(const ASN1_INTEGER *ai, BIGNUM *bn);
2432103:
2432103: int ASN1_ENUMERATED_get_int64(int64_t *pr, const ASN1_ENUMERATED *a);
2432103: int ASN1_ENUMERATED_set_int64(ASN1_ENUMERATED *a, int64_t r);
2432103:
2432103:
2432103: int ASN1_ENUMERATED_set(ASN1_ENUMERATED *a, long v);
2432103: long ASN1_ENUMERATED_get(const ASN1_ENUMERATED *a);
2432103: ASN1_ENUMERATED *BN_to_ASN1_ENUMERATED(const BIGNUM *bn, ASN1_ENUMERATED *ai);
2432103: BIGNUM *ASN1_ENUMERATED_to_BN(const ASN1_ENUMERATED *ai, BIGNUM *bn);
2432103:
2432103:
2432103:
2432103: int ASN1_PRINTABLE_type(const unsigned char *s, int max);
2432103:
2432103: unsigned long ASN1_tag2bit(int tag);
2432103:
2432103:
2432103: int ASN1_get_object(const unsigned char **pp, long *plength, int *ptag,
2432103: int *pclass, long omax);
2432103: int ASN1_check_infinite_end(unsigned char **p, long len);
2432103: int ASN1_const_check_infinite_end(const unsigned char **p, long len);
2432103: void ASN1_put_object(unsigned char **pp, int constructed, int length,
2432103: int tag, int xclass);
2432103: int ASN1_put_eoc(unsigned char **pp);
2432103: int ASN1_object_size(int constructed, int length, int tag);
2432103:
2432103:
2432103: void *ASN1_dup(i2d_of_void *i2d, d2i_of_void *d2i, const void *x);
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: void *ASN1_item_dup(const ASN1_ITEM *it, const void *x);
2432103: int ASN1_item_sign_ex(const ASN1_ITEM *it, X509_ALGOR *algor1,
2432103: X509_ALGOR *algor2, ASN1_BIT_STRING *signature,
2432103: const void *data, const ASN1_OCTET_STRING *id,
2432103: EVP_PKEY *pkey, const EVP_MD *md, OSSL_LIB_CTX *libctx,
2432103: const char *propq);
2432103: int ASN1_item_verify_ex(const ASN1_ITEM *it, const X509_ALGOR *alg,
2432103: const ASN1_BIT_STRING *signature, const void *data,
2432103: const ASN1_OCTET_STRING *id, EVP_PKEY *pkey,
2432103: OSSL_LIB_CTX *libctx, const char *propq);
2432103: # 932 "/usr/include/openssl/asn1.h" 3 4
2432103: void *ASN1_d2i_fp(void *(*xnew) (void), d2i_of_void *d2i, FILE *in, void **x);
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: void *ASN1_item_d2i_fp_ex(const ASN1_ITEM *it, FILE *in, void *x,
2432103: OSSL_LIB_CTX *libctx, const char *propq);
2432103: void *ASN1_item_d2i_fp(const ASN1_ITEM *it, FILE *in, void *x);
2432103: int ASN1_i2d_fp(i2d_of_void *i2d, FILE *out, const void *x);
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: int ASN1_item_i2d_fp(const ASN1_ITEM *it, FILE *out, const void *x);
2432103: int ASN1_STRING_print_ex_fp(FILE *fp, const ASN1_STRING *str, unsigned long flags);
2432103:
2432103:
2432103: int ASN1_STRING_to_UTF8(unsigned char **out, const ASN1_STRING *in);
2432103:
2432103: void *ASN1_d2i_bio(void *(*xnew) (void), d2i_of_void *d2i, BIO *in, void **x);
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: void *ASN1_item_d2i_bio_ex(const ASN1_ITEM *it, BIO *in, void *pval,
2432103: OSSL_LIB_CTX *libctx, const char *propq);
2432103: void *ASN1_item_d2i_bio(const ASN1_ITEM *it, BIO *in, void *pval);
2432103: int ASN1_i2d_bio(i2d_of_void *i2d, BIO *out, const void *x);
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: int ASN1_item_i2d_bio(const ASN1_ITEM *it, BIO *out, const void *x);
2432103: BIO *ASN1_item_i2d_mem_bio(const ASN1_ITEM *it, const ASN1_VALUE *val);
2432103: int ASN1_UTCTIME_print(BIO *fp, const ASN1_UTCTIME *a);
2432103: int ASN1_GENERALIZEDTIME_print(BIO *fp, const ASN1_GENERALIZEDTIME *a);
2432103: int ASN1_TIME_print(BIO *bp, const ASN1_TIME *tm);
2432103: int ASN1_TIME_print_ex(BIO *bp, const ASN1_TIME *tm, unsigned long flags);
2432103: int ASN1_STRING_print(BIO *bp, const ASN1_STRING *v);
2432103: int ASN1_STRING_print_ex(BIO *out, const ASN1_STRING *str, unsigned long flags);
2432103: int ASN1_buf_print(BIO *bp, const unsigned char *buf, size_t buflen, int off);
2432103: int ASN1_bn_print(BIO *bp, const char *number, const BIGNUM *num,
2432103: unsigned char *buf, int off);
2432103: int ASN1_parse(BIO *bp, const unsigned char *pp, long len, int indent);
2432103: int ASN1_parse_dump(BIO *bp, const unsigned char *pp, long len, int indent,
2432103: int dump);
2432103: const char *ASN1_tag2str(int tag);
2432103:
2432103:
2432103:
2432103: int ASN1_UNIVERSALSTRING_to_string(ASN1_UNIVERSALSTRING *s);
2432103:
2432103: int ASN1_TYPE_set_octetstring(ASN1_TYPE *a, unsigned char *data, int len);
2432103: int ASN1_TYPE_get_octetstring(const ASN1_TYPE *a, unsigned char *data, int max_len);
2432103: int ASN1_TYPE_set_int_octetstring(ASN1_TYPE *a, long num,
2432103: unsigned char *data, int len);
2432103: int ASN1_TYPE_get_int_octetstring(const ASN1_TYPE *a, long *num,
2432103: unsigned char *data, int max_len);
2432103:
2432103: void *ASN1_item_unpack(const ASN1_STRING *oct, const ASN1_ITEM *it);
2432103:
2432103: ASN1_STRING *ASN1_item_pack(void *obj, const ASN1_ITEM *it,
2432103: ASN1_OCTET_STRING **oct);
2432103:
2432103: void ASN1_STRING_set_default_mask(unsigned long mask);
2432103: int ASN1_STRING_set_default_mask_asc(const char *p);
2432103: unsigned long ASN1_STRING_get_default_mask(void);
2432103: int ASN1_mbstring_copy(ASN1_STRING **out, const unsigned char *in, int len,
2432103: int inform, unsigned long mask);
2432103: int ASN1_mbstring_ncopy(ASN1_STRING **out, const unsigned char *in, int len,
2432103: int inform, unsigned long mask,
2432103: long minsize, long maxsize);
2432103:
2432103: ASN1_STRING *ASN1_STRING_set_by_NID(ASN1_STRING **out,
2432103: const unsigned char *in, int inlen,
2432103: int inform, int nid);
2432103: ASN1_STRING_TABLE *ASN1_STRING_TABLE_get(int nid);
2432103: int ASN1_STRING_TABLE_add(int, long, long, unsigned long, unsigned long);
2432103: void ASN1_STRING_TABLE_cleanup(void);
2432103:
2432103:
2432103:
2432103:
2432103: ASN1_VALUE *ASN1_item_new(const ASN1_ITEM *it);
2432103: ASN1_VALUE *ASN1_item_new_ex(const ASN1_ITEM *it, OSSL_LIB_CTX *libctx,
2432103: const char *propq);
2432103: void ASN1_item_free(ASN1_VALUE *val, const ASN1_ITEM *it);
2432103: ASN1_VALUE *ASN1_item_d2i_ex(ASN1_VALUE **val, const unsigned char **in,
2432103: long len, const ASN1_ITEM *it,
2432103: OSSL_LIB_CTX *libctx, const char *propq);
2432103: ASN1_VALUE *ASN1_item_d2i(ASN1_VALUE **val, const unsigned char **in,
2432103: long len, const ASN1_ITEM *it);
2432103: int ASN1_item_i2d(const ASN1_VALUE *val, unsigned char **out, const ASN1_ITEM *it);
2432103: int ASN1_item_ndef_i2d(const ASN1_VALUE *val, unsigned char **out,
2432103: const ASN1_ITEM *it);
2432103:
2432103: void ASN1_add_oid_module(void);
2432103: void ASN1_add_stable_module(void);
2432103:
2432103: ASN1_TYPE *ASN1_generate_nconf(const char *str, CONF *nconf);
2432103: ASN1_TYPE *ASN1_generate_v3(const char *str, X509V3_CTX *cnf);
2432103: int ASN1_str2mask(const char *str, unsigned long *pmask);
2432103: # 1066 "/usr/include/openssl/asn1.h" 3 4
2432103: int ASN1_item_print(BIO *out, const ASN1_VALUE *ifld, int indent,
2432103: const ASN1_ITEM *it, const ASN1_PCTX *pctx);
2432103: ASN1_PCTX *ASN1_PCTX_new(void);
2432103: void ASN1_PCTX_free(ASN1_PCTX *p);
2432103: unsigned long ASN1_PCTX_get_flags(const ASN1_PCTX *p);
2432103: void ASN1_PCTX_set_flags(ASN1_PCTX *p, unsigned long flags);
2432103: unsigned long ASN1_PCTX_get_nm_flags(const ASN1_PCTX *p);
2432103: void ASN1_PCTX_set_nm_flags(ASN1_PCTX *p, unsigned long flags);
2432103: unsigned long ASN1_PCTX_get_cert_flags(const ASN1_PCTX *p);
2432103: void ASN1_PCTX_set_cert_flags(ASN1_PCTX *p, unsigned long flags);
2432103: unsigned long ASN1_PCTX_get_oid_flags(const ASN1_PCTX *p);
2432103: void ASN1_PCTX_set_oid_flags(ASN1_PCTX *p, unsigned long flags);
2432103: unsigned long ASN1_PCTX_get_str_flags(const ASN1_PCTX *p);
2432103: void ASN1_PCTX_set_str_flags(ASN1_PCTX *p, unsigned long flags);
2432103:
2432103: ASN1_SCTX *ASN1_SCTX_new(int (*scan_cb) (ASN1_SCTX *ctx));
2432103: void ASN1_SCTX_free(ASN1_SCTX *p);
2432103: const ASN1_ITEM *ASN1_SCTX_get_item(ASN1_SCTX *p);
2432103: const ASN1_TEMPLATE *ASN1_SCTX_get_template(ASN1_SCTX *p);
2432103: unsigned long ASN1_SCTX_get_flags(ASN1_SCTX *p);
2432103: void ASN1_SCTX_set_app_data(ASN1_SCTX *p, void *data);
2432103: void *ASN1_SCTX_get_app_data(ASN1_SCTX *p);
2432103:
2432103: const BIO_METHOD *BIO_f_asn1(void);
2432103:
2432103:
2432103: BIO *BIO_new_NDEF(BIO *out, ASN1_VALUE *val, const ASN1_ITEM *it);
2432103:
2432103: int i2d_ASN1_bio_stream(BIO *out, ASN1_VALUE *val, BIO *in, int flags,
2432103: const ASN1_ITEM *it);
2432103: int PEM_write_bio_ASN1_stream(BIO *out, ASN1_VALUE *val, BIO *in, int flags,
2432103: const char *hdr, const ASN1_ITEM *it);
2432103:
2432103: int SMIME_write_ASN1(BIO *bio, ASN1_VALUE *val, BIO *data, int flags,
2432103: int ctype_nid, int econt_nid,
2432103: struct stack_st_X509_ALGOR *mdalgs, const ASN1_ITEM *it);
2432103: int SMIME_write_ASN1_ex(BIO *bio, ASN1_VALUE *val, BIO *data, int flags,
2432103: int ctype_nid, int econt_nid,
2432103: struct stack_st_X509_ALGOR *mdalgs, const ASN1_ITEM *it,
2432103: OSSL_LIB_CTX *libctx, const char *propq);
2432103: ASN1_VALUE *SMIME_read_ASN1(BIO *bio, BIO **bcont, const ASN1_ITEM *it);
2432103: ASN1_VALUE *SMIME_read_ASN1_ex(BIO *bio, int flags, BIO **bcont,
2432103: const ASN1_ITEM *it, ASN1_VALUE **x,
2432103: OSSL_LIB_CTX *libctx, const char *propq);
2432103: int SMIME_crlf_copy(BIO *in, BIO *out, int flags);
2432103: int SMIME_text(BIO *in, BIO *out);
2432103:
2432103: const ASN1_ITEM *ASN1_ITEM_lookup(const char *name);
2432103: const ASN1_ITEM *ASN1_ITEM_get(size_t i);
2432103: # 22 "/usr/include/openssl/objects.h" 2 3 4
2432103: # 1 "/usr/include/openssl/objectserr.h" 1 3 4
2432103: # 13 "/usr/include/openssl/objectserr.h" 3 4
2432103:
2432103: # 23 "/usr/include/openssl/objects.h" 2 3 4
2432103: # 43 "/usr/include/openssl/objects.h" 3 4
2432103: typedef struct obj_name_st {
2432103: int type;
2432103: int alias;
2432103: const char *name;
2432103: const char *data;
2432103: } OBJ_NAME;
2432103:
2432103:
2432103:
2432103: int OBJ_NAME_init(void);
2432103: int OBJ_NAME_new_index(unsigned long (*hash_func) (const char *),
2432103: int (*cmp_func) (const char *, const char *),
2432103: void (*free_func) (const char *, int, const char *));
2432103: const char *OBJ_NAME_get(const char *name, int type);
2432103: int OBJ_NAME_add(const char *name, int type, const char *data);
2432103: int OBJ_NAME_remove(const char *name, int type);
2432103: void OBJ_NAME_cleanup(int type);
2432103: void OBJ_NAME_do_all(int type, void (*fn) (const OBJ_NAME *, void *arg),
2432103: void *arg);
2432103: void OBJ_NAME_do_all_sorted(int type,
2432103: void (*fn) (const OBJ_NAME *, void *arg),
2432103: void *arg);
2432103:
2432103: extern ASN1_OBJECT *OBJ_dup(const ASN1_OBJECT *a);
2432103: ASN1_OBJECT *OBJ_nid2obj(int n);
2432103: const char *OBJ_nid2ln(int n);
2432103: const char *OBJ_nid2sn(int n);
2432103: int OBJ_obj2nid(const ASN1_OBJECT *o);
2432103: ASN1_OBJECT *OBJ_txt2obj(const char *s, int no_name);
2432103: int OBJ_obj2txt(char *buf, int buf_len, const ASN1_OBJECT *a, int no_name);
2432103: int OBJ_txt2nid(const char *s);
2432103: int OBJ_ln2nid(const char *s);
2432103: int OBJ_sn2nid(const char *s);
2432103: int OBJ_cmp(const ASN1_OBJECT *a, const ASN1_OBJECT *b);
2432103: const void *OBJ_bsearch_(const void *key, const void *base, int num, int size,
2432103: int (*cmp) (const void *, const void *));
2432103: const void *OBJ_bsearch_ex_(const void *key, const void *base, int num,
2432103: int size,
2432103: int (*cmp) (const void *, const void *),
2432103: int flags);
2432103: # 163 "/usr/include/openssl/objects.h" 3 4
2432103: int OBJ_new_nid(int num);
2432103: int OBJ_add_object(const ASN1_OBJECT *obj);
2432103: int OBJ_create(const char *oid, const char *sn, const char *ln);
2432103:
2432103:
2432103:
2432103: int OBJ_create_objects(BIO *in);
2432103:
2432103: size_t OBJ_length(const ASN1_OBJECT *obj);
2432103: const unsigned char *OBJ_get0_data(const ASN1_OBJECT *obj);
2432103:
2432103: int OBJ_find_sigid_algs(int signid, int *pdig_nid, int *ppkey_nid);
2432103: int OBJ_find_sigid_by_algs(int *psignid, int dig_nid, int pkey_nid);
2432103: int OBJ_add_sigid(int signid, int dig_id, int pkey_id);
2432103: void OBJ_sigid_free(void);
2432103: # 44 "/usr/include/openssl/evp.h" 2 3 4
2432103: # 99 "/usr/include/openssl/evp.h" 3 4
2432103: int EVP_set_default_properties(OSSL_LIB_CTX *libctx, const char *propq);
2432103: int EVP_default_properties_is_fips_enabled(OSSL_LIB_CTX *libctx);
2432103: int EVP_default_properties_enable_fips(OSSL_LIB_CTX *libctx, int enable);
2432103: # 110 "/usr/include/openssl/evp.h" 3 4
2432103: EVP_MD *EVP_MD_meth_new(int md_type, int pkey_type);
2432103: EVP_MD *EVP_MD_meth_dup(const EVP_MD *md);
2432103: void EVP_MD_meth_free(EVP_MD *md);
2432103:
2432103: int EVP_MD_meth_set_input_blocksize(EVP_MD *md, int blocksize);
2432103:
2432103: int EVP_MD_meth_set_result_size(EVP_MD *md, int resultsize);
2432103:
2432103: int EVP_MD_meth_set_app_datasize(EVP_MD *md, int datasize);
2432103:
2432103: int EVP_MD_meth_set_flags(EVP_MD *md, unsigned long flags);
2432103:
2432103: int EVP_MD_meth_set_init(EVP_MD *md, int (*init)(EVP_MD_CTX *ctx));
2432103:
2432103: int EVP_MD_meth_set_update(EVP_MD *md, int (*update)(EVP_MD_CTX *ctx,
2432103: const void *data,
2432103: size_t count));
2432103:
2432103: int EVP_MD_meth_set_final(EVP_MD *md, int (*final)(EVP_MD_CTX *ctx,
2432103: unsigned char *md));
2432103:
2432103: int EVP_MD_meth_set_copy(EVP_MD *md, int (*copy)(EVP_MD_CTX *to,
2432103: const EVP_MD_CTX *from));
2432103:
2432103: int EVP_MD_meth_set_cleanup(EVP_MD *md, int (*cleanup)(EVP_MD_CTX *ctx));
2432103:
2432103: int EVP_MD_meth_set_ctrl(EVP_MD *md, int (*ctrl)(EVP_MD_CTX *ctx, int cmd,
2432103: int p1, void *p2));
2432103: int EVP_MD_meth_get_input_blocksize(const EVP_MD *md);
2432103: int EVP_MD_meth_get_result_size(const EVP_MD *md);
2432103: int EVP_MD_meth_get_app_datasize(const EVP_MD *md);
2432103: unsigned long EVP_MD_meth_get_flags(const EVP_MD *md);
2432103:
2432103: int (*EVP_MD_meth_get_init(const EVP_MD *md))(EVP_MD_CTX *ctx);
2432103:
2432103: int (*EVP_MD_meth_get_update(const EVP_MD *md))(EVP_MD_CTX *ctx,
2432103: const void *data, size_t count);
2432103:
2432103: int (*EVP_MD_meth_get_final(const EVP_MD *md))(EVP_MD_CTX *ctx,
2432103: unsigned char *md);
2432103:
2432103: int (*EVP_MD_meth_get_copy(const EVP_MD *md))(EVP_MD_CTX *to,
2432103: const EVP_MD_CTX *from);
2432103:
2432103: int (*EVP_MD_meth_get_cleanup(const EVP_MD *md))(EVP_MD_CTX *ctx);
2432103:
2432103: int (*EVP_MD_meth_get_ctrl(const EVP_MD *md))(EVP_MD_CTX *ctx, int cmd,
2432103: int p1, void *p2);
2432103: # 233 "/usr/include/openssl/evp.h" 3 4
2432103:
2432103: EVP_CIPHER *EVP_CIPHER_meth_new(int cipher_type, int block_size, int key_len);
2432103:
2432103: EVP_CIPHER *EVP_CIPHER_meth_dup(const EVP_CIPHER *cipher);
2432103:
2432103: void EVP_CIPHER_meth_free(EVP_CIPHER *cipher);
2432103:
2432103: int EVP_CIPHER_meth_set_iv_length(EVP_CIPHER *cipher, int iv_len);
2432103:
2432103: int EVP_CIPHER_meth_set_flags(EVP_CIPHER *cipher, unsigned long flags);
2432103:
2432103: int EVP_CIPHER_meth_set_impl_ctx_size(EVP_CIPHER *cipher, int ctx_size);
2432103:
2432103: int EVP_CIPHER_meth_set_init(EVP_CIPHER *cipher,
2432103: int (*init) (EVP_CIPHER_CTX *ctx,
2432103: const unsigned char *key,
2432103: const unsigned char *iv,
2432103: int enc));
2432103:
2432103: int EVP_CIPHER_meth_set_do_cipher(EVP_CIPHER *cipher,
2432103: int (*do_cipher) (EVP_CIPHER_CTX *ctx,
2432103: unsigned char *out,
2432103: const unsigned char *in,
2432103: size_t inl));
2432103:
2432103: int EVP_CIPHER_meth_set_cleanup(EVP_CIPHER *cipher,
2432103: int (*cleanup) (EVP_CIPHER_CTX *));
2432103:
2432103: int EVP_CIPHER_meth_set_set_asn1_params(EVP_CIPHER *cipher,
2432103: int (*set_asn1_parameters) (EVP_CIPHER_CTX *,
2432103: ASN1_TYPE *));
2432103:
2432103: int EVP_CIPHER_meth_set_get_asn1_params(EVP_CIPHER *cipher,
2432103: int (*get_asn1_parameters) (EVP_CIPHER_CTX *,
2432103: ASN1_TYPE *));
2432103:
2432103: int EVP_CIPHER_meth_set_ctrl(EVP_CIPHER *cipher,
2432103: int (*ctrl) (EVP_CIPHER_CTX *, int type,
2432103: int arg, void *ptr));
2432103: int
2432103: (*EVP_CIPHER_meth_get_init(const EVP_CIPHER *cipher))(EVP_CIPHER_CTX *ctx,
2432103: const unsigned char *key,
2432103: const unsigned char *iv,
2432103: int enc);
2432103: int
2432103: (*EVP_CIPHER_meth_get_do_cipher(const EVP_CIPHER *cipher))(EVP_CIPHER_CTX *ctx,
2432103: unsigned char *out,
2432103: const unsigned char *in,
2432103: size_t inl);
2432103: int
2432103: (*EVP_CIPHER_meth_get_cleanup(const EVP_CIPHER *cipher))(EVP_CIPHER_CTX *);
2432103: int
2432103: (*EVP_CIPHER_meth_get_set_asn1_params(const EVP_CIPHER *cipher))(EVP_CIPHER_CTX *,
2432103: ASN1_TYPE *);
2432103: int
2432103: (*EVP_CIPHER_meth_get_get_asn1_params(const EVP_CIPHER *cipher))(EVP_CIPHER_CTX *,
2432103: ASN1_TYPE *);
2432103: int
2432103: (*EVP_CIPHER_meth_get_ctrl(const EVP_CIPHER *cipher))(EVP_CIPHER_CTX *, int type,
2432103: int arg, void *ptr);
2432103: # 450 "/usr/include/openssl/evp.h" 3 4
2432103: typedef struct {
2432103: unsigned char *out;
2432103: const unsigned char *inp;
2432103: size_t len;
2432103: unsigned int interleave;
2432103: } EVP_CTRL_TLS1_1_MULTIBLOCK_PARAM;
2432103: # 480 "/usr/include/openssl/evp.h" 3 4
2432103: typedef struct evp_cipher_info_st {
2432103: const EVP_CIPHER *cipher;
2432103: unsigned char iv[16];
2432103: } EVP_CIPHER_INFO;
2432103:
2432103:
2432103:
2432103: typedef int (EVP_PBE_KEYGEN) (EVP_CIPHER_CTX *ctx, const char *pass,
2432103: int passlen, ASN1_TYPE *param,
2432103: const EVP_CIPHER *cipher, const EVP_MD *md,
2432103: int en_de);
2432103:
2432103: typedef int (EVP_PBE_KEYGEN_EX) (EVP_CIPHER_CTX *ctx, const char *pass,
2432103: int passlen, ASN1_TYPE *param,
2432103: const EVP_CIPHER *cipher, const EVP_MD *md,
2432103: int en_de, OSSL_LIB_CTX *libctx, const char *propq);
2432103: # 533 "/usr/include/openssl/evp.h" 3 4
2432103: int EVP_MD_get_type(const EVP_MD *md);
2432103:
2432103:
2432103: const char *EVP_MD_get0_name(const EVP_MD *md);
2432103:
2432103: const char *EVP_MD_get0_description(const EVP_MD *md);
2432103: int EVP_MD_is_a(const EVP_MD *md, const char *name);
2432103: int EVP_MD_names_do_all(const EVP_MD *md,
2432103: void (*fn)(const char *name, void *data),
2432103: void *data);
2432103: const OSSL_PROVIDER *EVP_MD_get0_provider(const EVP_MD *md);
2432103: int EVP_MD_get_pkey_type(const EVP_MD *md);
2432103:
2432103: int EVP_MD_get_size(const EVP_MD *md);
2432103:
2432103: int EVP_MD_get_block_size(const EVP_MD *md);
2432103:
2432103: unsigned long EVP_MD_get_flags(const EVP_MD *md);
2432103:
2432103:
2432103: const EVP_MD *EVP_MD_CTX_get0_md(const EVP_MD_CTX *ctx);
2432103: EVP_MD *EVP_MD_CTX_get1_md(EVP_MD_CTX *ctx);
2432103:
2432103:
2432103: const EVP_MD *EVP_MD_CTX_md(const EVP_MD_CTX *ctx);
2432103:
2432103: int (*EVP_MD_CTX_update_fn(EVP_MD_CTX *ctx))(EVP_MD_CTX *ctx,
2432103: const void *data, size_t count);
2432103:
2432103: void EVP_MD_CTX_set_update_fn(EVP_MD_CTX *ctx,
2432103: int (*update) (EVP_MD_CTX *ctx,
2432103: const void *data, size_t count));
2432103: # 573 "/usr/include/openssl/evp.h" 3 4
2432103: EVP_PKEY_CTX *EVP_MD_CTX_get_pkey_ctx(const EVP_MD_CTX *ctx);
2432103:
2432103: void EVP_MD_CTX_set_pkey_ctx(EVP_MD_CTX *ctx, EVP_PKEY_CTX *pctx);
2432103: void *EVP_MD_CTX_get0_md_data(const EVP_MD_CTX *ctx);
2432103:
2432103:
2432103: int EVP_CIPHER_get_nid(const EVP_CIPHER *cipher);
2432103:
2432103: const char *EVP_CIPHER_get0_name(const EVP_CIPHER *cipher);
2432103:
2432103: const char *EVP_CIPHER_get0_description(const EVP_CIPHER *cipher);
2432103: int EVP_CIPHER_is_a(const EVP_CIPHER *cipher, const char *name);
2432103: int EVP_CIPHER_names_do_all(const EVP_CIPHER *cipher,
2432103: void (*fn)(const char *name, void *data),
2432103: void *data);
2432103: const OSSL_PROVIDER *EVP_CIPHER_get0_provider(const EVP_CIPHER *cipher);
2432103: int EVP_CIPHER_get_block_size(const EVP_CIPHER *cipher);
2432103:
2432103:
2432103:
2432103: int EVP_CIPHER_impl_ctx_size(const EVP_CIPHER *cipher);
2432103:
2432103: int EVP_CIPHER_get_key_length(const EVP_CIPHER *cipher);
2432103:
2432103: int EVP_CIPHER_get_iv_length(const EVP_CIPHER *cipher);
2432103:
2432103: unsigned long EVP_CIPHER_get_flags(const EVP_CIPHER *cipher);
2432103:
2432103: int EVP_CIPHER_get_mode(const EVP_CIPHER *cipher);
2432103:
2432103: int EVP_CIPHER_get_type(const EVP_CIPHER *cipher);
2432103:
2432103: EVP_CIPHER *EVP_CIPHER_fetch(OSSL_LIB_CTX *ctx, const char *algorithm,
2432103: const char *properties);
2432103: int EVP_CIPHER_up_ref(EVP_CIPHER *cipher);
2432103: void EVP_CIPHER_free(EVP_CIPHER *cipher);
2432103:
2432103: const EVP_CIPHER *EVP_CIPHER_CTX_get0_cipher(const EVP_CIPHER_CTX *ctx);
2432103: EVP_CIPHER *EVP_CIPHER_CTX_get1_cipher(EVP_CIPHER_CTX *ctx);
2432103: int EVP_CIPHER_CTX_is_encrypting(const EVP_CIPHER_CTX *ctx);
2432103:
2432103: int EVP_CIPHER_CTX_get_nid(const EVP_CIPHER_CTX *ctx);
2432103:
2432103: int EVP_CIPHER_CTX_get_block_size(const EVP_CIPHER_CTX *ctx);
2432103:
2432103: int EVP_CIPHER_CTX_get_key_length(const EVP_CIPHER_CTX *ctx);
2432103:
2432103: int EVP_CIPHER_CTX_get_iv_length(const EVP_CIPHER_CTX *ctx);
2432103:
2432103: int EVP_CIPHER_CTX_get_tag_length(const EVP_CIPHER_CTX *ctx);
2432103:
2432103:
2432103: const EVP_CIPHER *EVP_CIPHER_CTX_cipher(const EVP_CIPHER_CTX *ctx);
2432103: const unsigned char *EVP_CIPHER_CTX_iv(const EVP_CIPHER_CTX *ctx);
2432103: const unsigned char *EVP_CIPHER_CTX_original_iv(const EVP_CIPHER_CTX *ctx);
2432103: unsigned char *EVP_CIPHER_CTX_iv_noconst(EVP_CIPHER_CTX *ctx);
2432103:
2432103: int EVP_CIPHER_CTX_get_updated_iv(EVP_CIPHER_CTX *ctx, void *buf, size_t len);
2432103: int EVP_CIPHER_CTX_get_original_iv(EVP_CIPHER_CTX *ctx, void *buf, size_t len);
2432103:
2432103:
2432103: unsigned char *EVP_CIPHER_CTX_buf_noconst(EVP_CIPHER_CTX *ctx);
2432103:
2432103: int EVP_CIPHER_CTX_get_num(const EVP_CIPHER_CTX *ctx);
2432103:
2432103: int EVP_CIPHER_CTX_set_num(EVP_CIPHER_CTX *ctx, int num);
2432103: EVP_CIPHER_CTX *EVP_CIPHER_CTX_dup(const EVP_CIPHER_CTX *in);
2432103: int EVP_CIPHER_CTX_copy(EVP_CIPHER_CTX *out, const EVP_CIPHER_CTX *in);
2432103: void *EVP_CIPHER_CTX_get_app_data(const EVP_CIPHER_CTX *ctx);
2432103: void EVP_CIPHER_CTX_set_app_data(EVP_CIPHER_CTX *ctx, void *data);
2432103: void *EVP_CIPHER_CTX_get_cipher_data(const EVP_CIPHER_CTX *ctx);
2432103: void *EVP_CIPHER_CTX_set_cipher_data(EVP_CIPHER_CTX *ctx, void *cipher_data);
2432103: # 677 "/usr/include/openssl/evp.h" 3 4
2432103: int EVP_Cipher(EVP_CIPHER_CTX *c,
2432103: unsigned char *out,
2432103: const unsigned char *in, unsigned int inl);
2432103: # 690 "/usr/include/openssl/evp.h" 3 4
2432103: int EVP_MD_get_params(const EVP_MD *digest, OSSL_PARAM params[]);
2432103: int EVP_MD_CTX_set_params(EVP_MD_CTX *ctx, const OSSL_PARAM params[]);
2432103: int EVP_MD_CTX_get_params(EVP_MD_CTX *ctx, OSSL_PARAM params[]);
2432103: const OSSL_PARAM *EVP_MD_gettable_params(const EVP_MD *digest);
2432103: const OSSL_PARAM *EVP_MD_settable_ctx_params(const EVP_MD *md);
2432103: const OSSL_PARAM *EVP_MD_gettable_ctx_params(const EVP_MD *md);
2432103: const OSSL_PARAM *EVP_MD_CTX_settable_params(EVP_MD_CTX *ctx);
2432103: const OSSL_PARAM *EVP_MD_CTX_gettable_params(EVP_MD_CTX *ctx);
2432103: int EVP_MD_CTX_ctrl(EVP_MD_CTX *ctx, int cmd, int p1, void *p2);
2432103: EVP_MD_CTX *EVP_MD_CTX_new(void);
2432103: int EVP_MD_CTX_reset(EVP_MD_CTX *ctx);
2432103: void EVP_MD_CTX_free(EVP_MD_CTX *ctx);
2432103:
2432103:
2432103:
2432103: EVP_MD_CTX *EVP_MD_CTX_dup(const EVP_MD_CTX *in);
2432103: int EVP_MD_CTX_copy_ex(EVP_MD_CTX *out, const EVP_MD_CTX *in);
2432103: void EVP_MD_CTX_set_flags(EVP_MD_CTX *ctx, int flags);
2432103: void EVP_MD_CTX_clear_flags(EVP_MD_CTX *ctx, int flags);
2432103: int EVP_MD_CTX_test_flags(const EVP_MD_CTX *ctx, int flags);
2432103: int EVP_DigestInit_ex2(EVP_MD_CTX *ctx, const EVP_MD *type,
2432103: const OSSL_PARAM params[]);
2432103: int EVP_DigestInit_ex(EVP_MD_CTX *ctx, const EVP_MD *type,
2432103: ENGINE *impl);
2432103: int EVP_DigestUpdate(EVP_MD_CTX *ctx, const void *d,
2432103: size_t cnt);
2432103: int EVP_DigestFinal_ex(EVP_MD_CTX *ctx, unsigned char *md,
2432103: unsigned int *s);
2432103: int EVP_Digest(const void *data, size_t count,
2432103: unsigned char *md, unsigned int *size,
2432103: const EVP_MD *type, ENGINE *impl);
2432103: int EVP_Q_digest(OSSL_LIB_CTX *libctx, const char *name,
2432103: const char *propq, const void *data, size_t datalen,
2432103: unsigned char *md, size_t *mdlen);
2432103:
2432103: int EVP_MD_CTX_copy(EVP_MD_CTX *out, const EVP_MD_CTX *in);
2432103: int EVP_DigestInit(EVP_MD_CTX *ctx, const EVP_MD *type);
2432103: int EVP_DigestFinal(EVP_MD_CTX *ctx, unsigned char *md,
2432103: unsigned int *s);
2432103: int EVP_DigestFinalXOF(EVP_MD_CTX *ctx, unsigned char *md,
2432103: size_t len);
2432103:
2432103: EVP_MD *EVP_MD_fetch(OSSL_LIB_CTX *ctx, const char *algorithm,
2432103: const char *properties);
2432103:
2432103: int EVP_MD_up_ref(EVP_MD *md);
2432103: void EVP_MD_free(EVP_MD *md);
2432103:
2432103: int EVP_read_pw_string(char *buf, int length, const char *prompt, int verify);
2432103: int EVP_read_pw_string_min(char *buf, int minlen, int maxlen,
2432103: const char *prompt, int verify);
2432103: void EVP_set_pw_prompt(const char *prompt);
2432103: char *EVP_get_pw_prompt(void);
2432103:
2432103: int EVP_BytesToKey(const EVP_CIPHER *type, const EVP_MD *md,
2432103: const unsigned char *salt,
2432103: const unsigned char *data, int datal, int count,
2432103: unsigned char *key, unsigned char *iv);
2432103:
2432103: void EVP_CIPHER_CTX_set_flags(EVP_CIPHER_CTX *ctx, int flags);
2432103: void EVP_CIPHER_CTX_clear_flags(EVP_CIPHER_CTX *ctx, int flags);
2432103: int EVP_CIPHER_CTX_test_flags(const EVP_CIPHER_CTX *ctx, int flags);
2432103:
2432103: int EVP_EncryptInit(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher,
2432103: const unsigned char *key, const unsigned char *iv);
2432103: int EVP_EncryptInit_ex(EVP_CIPHER_CTX *ctx,
2432103: const EVP_CIPHER *cipher, ENGINE *impl,
2432103: const unsigned char *key,
2432103: const unsigned char *iv);
2432103: int EVP_EncryptInit_ex2(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher,
2432103: const unsigned char *key,
2432103: const unsigned char *iv,
2432103: const OSSL_PARAM params[]);
2432103: int EVP_EncryptUpdate(EVP_CIPHER_CTX *ctx, unsigned char *out,
2432103: int *outl, const unsigned char *in, int inl);
2432103: int EVP_EncryptFinal_ex(EVP_CIPHER_CTX *ctx, unsigned char *out,
2432103: int *outl);
2432103: int EVP_EncryptFinal(EVP_CIPHER_CTX *ctx, unsigned char *out,
2432103: int *outl);
2432103:
2432103: int EVP_DecryptInit(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher,
2432103: const unsigned char *key, const unsigned char *iv);
2432103: int EVP_DecryptInit_ex(EVP_CIPHER_CTX *ctx,
2432103: const EVP_CIPHER *cipher, ENGINE *impl,
2432103: const unsigned char *key,
2432103: const unsigned char *iv);
2432103: int EVP_DecryptInit_ex2(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher,
2432103: const unsigned char *key,
2432103: const unsigned char *iv,
2432103: const OSSL_PARAM params[]);
2432103: int EVP_DecryptUpdate(EVP_CIPHER_CTX *ctx, unsigned char *out,
2432103: int *outl, const unsigned char *in, int inl);
2432103: int EVP_DecryptFinal(EVP_CIPHER_CTX *ctx, unsigned char *outm,
2432103: int *outl);
2432103: int EVP_DecryptFinal_ex(EVP_CIPHER_CTX *ctx, unsigned char *outm,
2432103: int *outl);
2432103:
2432103: int EVP_CipherInit(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher,
2432103: const unsigned char *key, const unsigned char *iv,
2432103: int enc);
2432103: int EVP_CipherInit_ex(EVP_CIPHER_CTX *ctx,
2432103: const EVP_CIPHER *cipher, ENGINE *impl,
2432103: const unsigned char *key,
2432103: const unsigned char *iv, int enc);
2432103: int EVP_CipherInit_ex2(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher,
2432103: const unsigned char *key, const unsigned char *iv,
2432103: int enc, const OSSL_PARAM params[]);
2432103: int EVP_CipherUpdate(EVP_CIPHER_CTX *ctx, unsigned char *out,
2432103: int *outl, const unsigned char *in, int inl);
2432103: int EVP_CipherFinal(EVP_CIPHER_CTX *ctx, unsigned char *outm,
2432103: int *outl);
2432103: int EVP_CipherFinal_ex(EVP_CIPHER_CTX *ctx, unsigned char *outm,
2432103: int *outl);
2432103:
2432103: int EVP_SignFinal(EVP_MD_CTX *ctx, unsigned char *md, unsigned int *s,
2432103: EVP_PKEY *pkey);
2432103: int EVP_SignFinal_ex(EVP_MD_CTX *ctx, unsigned char *md, unsigned int *s,
2432103: EVP_PKEY *pkey, OSSL_LIB_CTX *libctx,
2432103: const char *propq);
2432103:
2432103: int EVP_DigestSign(EVP_MD_CTX *ctx, unsigned char *sigret,
2432103: size_t *siglen, const unsigned char *tbs,
2432103: size_t tbslen);
2432103:
2432103: int EVP_VerifyFinal(EVP_MD_CTX *ctx, const unsigned char *sigbuf,
2432103: unsigned int siglen, EVP_PKEY *pkey);
2432103: int EVP_VerifyFinal_ex(EVP_MD_CTX *ctx, const unsigned char *sigbuf,
2432103: unsigned int siglen, EVP_PKEY *pkey,
2432103: OSSL_LIB_CTX *libctx, const char *propq);
2432103:
2432103: int EVP_DigestVerify(EVP_MD_CTX *ctx, const unsigned char *sigret,
2432103: size_t siglen, const unsigned char *tbs,
2432103: size_t tbslen);
2432103:
2432103: int EVP_DigestSignInit_ex(EVP_MD_CTX *ctx, EVP_PKEY_CTX **pctx,
2432103: const char *mdname, OSSL_LIB_CTX *libctx,
2432103: const char *props, EVP_PKEY *pkey,
2432103: const OSSL_PARAM params[]);
2432103: int EVP_DigestSignInit(EVP_MD_CTX *ctx, EVP_PKEY_CTX **pctx,
2432103: const EVP_MD *type, ENGINE *e,
2432103: EVP_PKEY *pkey);
2432103: int EVP_DigestSignUpdate(EVP_MD_CTX *ctx, const void *data, size_t dsize);
2432103: int EVP_DigestSignFinal(EVP_MD_CTX *ctx, unsigned char *sigret,
2432103: size_t *siglen);
2432103:
2432103: int EVP_DigestVerifyInit_ex(EVP_MD_CTX *ctx, EVP_PKEY_CTX **pctx,
2432103: const char *mdname, OSSL_LIB_CTX *libctx,
2432103: const char *props, EVP_PKEY *pkey,
2432103: const OSSL_PARAM params[]);
2432103: int EVP_DigestVerifyInit(EVP_MD_CTX *ctx, EVP_PKEY_CTX **pctx,
2432103: const EVP_MD *type, ENGINE *e,
2432103: EVP_PKEY *pkey);
2432103: int EVP_DigestVerifyUpdate(EVP_MD_CTX *ctx, const void *data, size_t dsize);
2432103: int EVP_DigestVerifyFinal(EVP_MD_CTX *ctx, const unsigned char *sig,
2432103: size_t siglen);
2432103:
2432103: int EVP_OpenInit(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *type,
2432103: const unsigned char *ek, int ekl,
2432103: const unsigned char *iv, EVP_PKEY *priv);
2432103: int EVP_OpenFinal(EVP_CIPHER_CTX *ctx, unsigned char *out, int *outl);
2432103:
2432103: int EVP_SealInit(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *type,
2432103: unsigned char **ek, int *ekl, unsigned char *iv,
2432103: EVP_PKEY **pubk, int npubk);
2432103: int EVP_SealFinal(EVP_CIPHER_CTX *ctx, unsigned char *out, int *outl);
2432103:
2432103: EVP_ENCODE_CTX *EVP_ENCODE_CTX_new(void);
2432103: void EVP_ENCODE_CTX_free(EVP_ENCODE_CTX *ctx);
2432103: int EVP_ENCODE_CTX_copy(EVP_ENCODE_CTX *dctx, const EVP_ENCODE_CTX *sctx);
2432103: int EVP_ENCODE_CTX_num(EVP_ENCODE_CTX *ctx);
2432103: void EVP_EncodeInit(EVP_ENCODE_CTX *ctx);
2432103: int EVP_EncodeUpdate(EVP_ENCODE_CTX *ctx, unsigned char *out, int *outl,
2432103: const unsigned char *in, int inl);
2432103: void EVP_EncodeFinal(EVP_ENCODE_CTX *ctx, unsigned char *out, int *outl);
2432103: int EVP_EncodeBlock(unsigned char *t, const unsigned char *f, int n);
2432103:
2432103: void EVP_DecodeInit(EVP_ENCODE_CTX *ctx);
2432103: int EVP_DecodeUpdate(EVP_ENCODE_CTX *ctx, unsigned char *out, int *outl,
2432103: const unsigned char *in, int inl);
2432103: int EVP_DecodeFinal(EVP_ENCODE_CTX *ctx, unsigned
2432103: char *out, int *outl);
2432103: int EVP_DecodeBlock(unsigned char *t, const unsigned char *f, int n);
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: EVP_CIPHER_CTX *EVP_CIPHER_CTX_new(void);
2432103: int EVP_CIPHER_CTX_reset(EVP_CIPHER_CTX *c);
2432103: void EVP_CIPHER_CTX_free(EVP_CIPHER_CTX *c);
2432103: int EVP_CIPHER_CTX_set_key_length(EVP_CIPHER_CTX *x, int keylen);
2432103: int EVP_CIPHER_CTX_set_padding(EVP_CIPHER_CTX *c, int pad);
2432103: int EVP_CIPHER_CTX_ctrl(EVP_CIPHER_CTX *ctx, int type, int arg, void *ptr);
2432103: int EVP_CIPHER_CTX_rand_key(EVP_CIPHER_CTX *ctx, unsigned char *key);
2432103: int EVP_CIPHER_get_params(EVP_CIPHER *cipher, OSSL_PARAM params[]);
2432103: int EVP_CIPHER_CTX_set_params(EVP_CIPHER_CTX *ctx, const OSSL_PARAM params[]);
2432103: int EVP_CIPHER_CTX_get_params(EVP_CIPHER_CTX *ctx, OSSL_PARAM params[]);
2432103: const OSSL_PARAM *EVP_CIPHER_gettable_params(const EVP_CIPHER *cipher);
2432103: const OSSL_PARAM *EVP_CIPHER_settable_ctx_params(const EVP_CIPHER *cipher);
2432103: const OSSL_PARAM *EVP_CIPHER_gettable_ctx_params(const EVP_CIPHER *cipher);
2432103: const OSSL_PARAM *EVP_CIPHER_CTX_settable_params(EVP_CIPHER_CTX *ctx);
2432103: const OSSL_PARAM *EVP_CIPHER_CTX_gettable_params(EVP_CIPHER_CTX *ctx);
2432103:
2432103: const BIO_METHOD *BIO_f_md(void);
2432103: const BIO_METHOD *BIO_f_base64(void);
2432103: const BIO_METHOD *BIO_f_cipher(void);
2432103: const BIO_METHOD *BIO_f_reliable(void);
2432103: int BIO_set_cipher(BIO *b, const EVP_CIPHER *c, const unsigned char *k,
2432103: const unsigned char *i, int enc);
2432103:
2432103: const EVP_MD *EVP_md_null(void);
2432103:
2432103:
2432103:
2432103:
2432103: const EVP_MD *EVP_md4(void);
2432103:
2432103:
2432103: const EVP_MD *EVP_md5(void);
2432103: const EVP_MD *EVP_md5_sha1(void);
2432103:
2432103:
2432103: const EVP_MD *EVP_blake2b512(void);
2432103: const EVP_MD *EVP_blake2s256(void);
2432103:
2432103: const EVP_MD *EVP_sha1(void);
2432103: const EVP_MD *EVP_sha224(void);
2432103: const EVP_MD *EVP_sha256(void);
2432103: const EVP_MD *EVP_sha384(void);
2432103: const EVP_MD *EVP_sha512(void);
2432103: const EVP_MD *EVP_sha512_224(void);
2432103: const EVP_MD *EVP_sha512_256(void);
2432103: const EVP_MD *EVP_sha3_224(void);
2432103: const EVP_MD *EVP_sha3_256(void);
2432103: const EVP_MD *EVP_sha3_384(void);
2432103: const EVP_MD *EVP_sha3_512(void);
2432103: const EVP_MD *EVP_shake128(void);
2432103: const EVP_MD *EVP_shake256(void);
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: const EVP_MD *EVP_ripemd160(void);
2432103:
2432103:
2432103: const EVP_MD *EVP_whirlpool(void);
2432103:
2432103:
2432103: const EVP_MD *EVP_sm3(void);
2432103:
2432103: const EVP_CIPHER *EVP_enc_null(void);
2432103:
2432103: const EVP_CIPHER *EVP_des_ecb(void);
2432103: const EVP_CIPHER *EVP_des_ede(void);
2432103: const EVP_CIPHER *EVP_des_ede3(void);
2432103: const EVP_CIPHER *EVP_des_ede_ecb(void);
2432103: const EVP_CIPHER *EVP_des_ede3_ecb(void);
2432103: const EVP_CIPHER *EVP_des_cfb64(void);
2432103:
2432103: const EVP_CIPHER *EVP_des_cfb1(void);
2432103: const EVP_CIPHER *EVP_des_cfb8(void);
2432103: const EVP_CIPHER *EVP_des_ede_cfb64(void);
2432103:
2432103: const EVP_CIPHER *EVP_des_ede3_cfb64(void);
2432103:
2432103: const EVP_CIPHER *EVP_des_ede3_cfb1(void);
2432103: const EVP_CIPHER *EVP_des_ede3_cfb8(void);
2432103: const EVP_CIPHER *EVP_des_ofb(void);
2432103: const EVP_CIPHER *EVP_des_ede_ofb(void);
2432103: const EVP_CIPHER *EVP_des_ede3_ofb(void);
2432103: const EVP_CIPHER *EVP_des_cbc(void);
2432103: const EVP_CIPHER *EVP_des_ede_cbc(void);
2432103: const EVP_CIPHER *EVP_des_ede3_cbc(void);
2432103: const EVP_CIPHER *EVP_desx_cbc(void);
2432103: const EVP_CIPHER *EVP_des_ede3_wrap(void);
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: const EVP_CIPHER *EVP_rc4(void);
2432103: const EVP_CIPHER *EVP_rc4_40(void);
2432103:
2432103: const EVP_CIPHER *EVP_rc4_hmac_md5(void);
2432103: # 987 "/usr/include/openssl/evp.h" 3 4
2432103: const EVP_CIPHER *EVP_rc2_ecb(void);
2432103: const EVP_CIPHER *EVP_rc2_cbc(void);
2432103: const EVP_CIPHER *EVP_rc2_40_cbc(void);
2432103: const EVP_CIPHER *EVP_rc2_64_cbc(void);
2432103: const EVP_CIPHER *EVP_rc2_cfb64(void);
2432103:
2432103: const EVP_CIPHER *EVP_rc2_ofb(void);
2432103:
2432103:
2432103: const EVP_CIPHER *EVP_bf_ecb(void);
2432103: const EVP_CIPHER *EVP_bf_cbc(void);
2432103: const EVP_CIPHER *EVP_bf_cfb64(void);
2432103:
2432103: const EVP_CIPHER *EVP_bf_ofb(void);
2432103:
2432103:
2432103: const EVP_CIPHER *EVP_cast5_ecb(void);
2432103: const EVP_CIPHER *EVP_cast5_cbc(void);
2432103: const EVP_CIPHER *EVP_cast5_cfb64(void);
2432103:
2432103: const EVP_CIPHER *EVP_cast5_ofb(void);
2432103: # 1016 "/usr/include/openssl/evp.h" 3 4
2432103: const EVP_CIPHER *EVP_aes_128_ecb(void);
2432103: const EVP_CIPHER *EVP_aes_128_cbc(void);
2432103: const EVP_CIPHER *EVP_aes_128_cfb1(void);
2432103: const EVP_CIPHER *EVP_aes_128_cfb8(void);
2432103: const EVP_CIPHER *EVP_aes_128_cfb128(void);
2432103:
2432103: const EVP_CIPHER *EVP_aes_128_ofb(void);
2432103: const EVP_CIPHER *EVP_aes_128_ctr(void);
2432103: const EVP_CIPHER *EVP_aes_128_ccm(void);
2432103: const EVP_CIPHER *EVP_aes_128_gcm(void);
2432103: const EVP_CIPHER *EVP_aes_128_xts(void);
2432103: const EVP_CIPHER *EVP_aes_128_wrap(void);
2432103: const EVP_CIPHER *EVP_aes_128_wrap_pad(void);
2432103:
2432103: const EVP_CIPHER *EVP_aes_128_ocb(void);
2432103:
2432103: const EVP_CIPHER *EVP_aes_192_ecb(void);
2432103: const EVP_CIPHER *EVP_aes_192_cbc(void);
2432103: const EVP_CIPHER *EVP_aes_192_cfb1(void);
2432103: const EVP_CIPHER *EVP_aes_192_cfb8(void);
2432103: const EVP_CIPHER *EVP_aes_192_cfb128(void);
2432103:
2432103: const EVP_CIPHER *EVP_aes_192_ofb(void);
2432103: const EVP_CIPHER *EVP_aes_192_ctr(void);
2432103: const EVP_CIPHER *EVP_aes_192_ccm(void);
2432103: const EVP_CIPHER *EVP_aes_192_gcm(void);
2432103: const EVP_CIPHER *EVP_aes_192_wrap(void);
2432103: const EVP_CIPHER *EVP_aes_192_wrap_pad(void);
2432103:
2432103: const EVP_CIPHER *EVP_aes_192_ocb(void);
2432103:
2432103: const EVP_CIPHER *EVP_aes_256_ecb(void);
2432103: const EVP_CIPHER *EVP_aes_256_cbc(void);
2432103: const EVP_CIPHER *EVP_aes_256_cfb1(void);
2432103: const EVP_CIPHER *EVP_aes_256_cfb8(void);
2432103: const EVP_CIPHER *EVP_aes_256_cfb128(void);
2432103:
2432103: const EVP_CIPHER *EVP_aes_256_ofb(void);
2432103: const EVP_CIPHER *EVP_aes_256_ctr(void);
2432103: const EVP_CIPHER *EVP_aes_256_ccm(void);
2432103: const EVP_CIPHER *EVP_aes_256_gcm(void);
2432103: const EVP_CIPHER *EVP_aes_256_xts(void);
2432103: const EVP_CIPHER *EVP_aes_256_wrap(void);
2432103: const EVP_CIPHER *EVP_aes_256_wrap_pad(void);
2432103:
2432103: const EVP_CIPHER *EVP_aes_256_ocb(void);
2432103:
2432103: const EVP_CIPHER *EVP_aes_128_cbc_hmac_sha1(void);
2432103: const EVP_CIPHER *EVP_aes_256_cbc_hmac_sha1(void);
2432103: const EVP_CIPHER *EVP_aes_128_cbc_hmac_sha256(void);
2432103: const EVP_CIPHER *EVP_aes_256_cbc_hmac_sha256(void);
2432103:
2432103: const EVP_CIPHER *EVP_aria_128_ecb(void);
2432103: const EVP_CIPHER *EVP_aria_128_cbc(void);
2432103: const EVP_CIPHER *EVP_aria_128_cfb1(void);
2432103: const EVP_CIPHER *EVP_aria_128_cfb8(void);
2432103: const EVP_CIPHER *EVP_aria_128_cfb128(void);
2432103:
2432103: const EVP_CIPHER *EVP_aria_128_ctr(void);
2432103: const EVP_CIPHER *EVP_aria_128_ofb(void);
2432103: const EVP_CIPHER *EVP_aria_128_gcm(void);
2432103: const EVP_CIPHER *EVP_aria_128_ccm(void);
2432103: const EVP_CIPHER *EVP_aria_192_ecb(void);
2432103: const EVP_CIPHER *EVP_aria_192_cbc(void);
2432103: const EVP_CIPHER *EVP_aria_192_cfb1(void);
2432103: const EVP_CIPHER *EVP_aria_192_cfb8(void);
2432103: const EVP_CIPHER *EVP_aria_192_cfb128(void);
2432103:
2432103: const EVP_CIPHER *EVP_aria_192_ctr(void);
2432103: const EVP_CIPHER *EVP_aria_192_ofb(void);
2432103: const EVP_CIPHER *EVP_aria_192_gcm(void);
2432103: const EVP_CIPHER *EVP_aria_192_ccm(void);
2432103: const EVP_CIPHER *EVP_aria_256_ecb(void);
2432103: const EVP_CIPHER *EVP_aria_256_cbc(void);
2432103: const EVP_CIPHER *EVP_aria_256_cfb1(void);
2432103: const EVP_CIPHER *EVP_aria_256_cfb8(void);
2432103: const EVP_CIPHER *EVP_aria_256_cfb128(void);
2432103:
2432103: const EVP_CIPHER *EVP_aria_256_ctr(void);
2432103: const EVP_CIPHER *EVP_aria_256_ofb(void);
2432103: const EVP_CIPHER *EVP_aria_256_gcm(void);
2432103: const EVP_CIPHER *EVP_aria_256_ccm(void);
2432103:
2432103:
2432103: const EVP_CIPHER *EVP_camellia_128_ecb(void);
2432103: const EVP_CIPHER *EVP_camellia_128_cbc(void);
2432103: const EVP_CIPHER *EVP_camellia_128_cfb1(void);
2432103: const EVP_CIPHER *EVP_camellia_128_cfb8(void);
2432103: const EVP_CIPHER *EVP_camellia_128_cfb128(void);
2432103:
2432103: const EVP_CIPHER *EVP_camellia_128_ofb(void);
2432103: const EVP_CIPHER *EVP_camellia_128_ctr(void);
2432103: const EVP_CIPHER *EVP_camellia_192_ecb(void);
2432103: const EVP_CIPHER *EVP_camellia_192_cbc(void);
2432103: const EVP_CIPHER *EVP_camellia_192_cfb1(void);
2432103: const EVP_CIPHER *EVP_camellia_192_cfb8(void);
2432103: const EVP_CIPHER *EVP_camellia_192_cfb128(void);
2432103:
2432103: const EVP_CIPHER *EVP_camellia_192_ofb(void);
2432103: const EVP_CIPHER *EVP_camellia_192_ctr(void);
2432103: const EVP_CIPHER *EVP_camellia_256_ecb(void);
2432103: const EVP_CIPHER *EVP_camellia_256_cbc(void);
2432103: const EVP_CIPHER *EVP_camellia_256_cfb1(void);
2432103: const EVP_CIPHER *EVP_camellia_256_cfb8(void);
2432103: const EVP_CIPHER *EVP_camellia_256_cfb128(void);
2432103:
2432103: const EVP_CIPHER *EVP_camellia_256_ofb(void);
2432103: const EVP_CIPHER *EVP_camellia_256_ctr(void);
2432103:
2432103:
2432103: const EVP_CIPHER *EVP_chacha20(void);
2432103:
2432103: const EVP_CIPHER *EVP_chacha20_poly1305(void);
2432103:
2432103:
2432103:
2432103:
2432103: const EVP_CIPHER *EVP_seed_ecb(void);
2432103: const EVP_CIPHER *EVP_seed_cbc(void);
2432103: const EVP_CIPHER *EVP_seed_cfb128(void);
2432103:
2432103: const EVP_CIPHER *EVP_seed_ofb(void);
2432103:
2432103:
2432103:
2432103: const EVP_CIPHER *EVP_sm4_ecb(void);
2432103: const EVP_CIPHER *EVP_sm4_cbc(void);
2432103: const EVP_CIPHER *EVP_sm4_cfb128(void);
2432103:
2432103: const EVP_CIPHER *EVP_sm4_ofb(void);
2432103: const EVP_CIPHER *EVP_sm4_ctr(void);
2432103: # 1172 "/usr/include/openssl/evp.h" 3 4
2432103: int EVP_add_cipher(const EVP_CIPHER *cipher);
2432103: int EVP_add_digest(const EVP_MD *digest);
2432103:
2432103: const EVP_CIPHER *EVP_get_cipherbyname(const char *name);
2432103: const EVP_MD *EVP_get_digestbyname(const char *name);
2432103:
2432103: void EVP_CIPHER_do_all(void (*fn) (const EVP_CIPHER *ciph,
2432103: const char *from, const char *to, void *x),
2432103: void *arg);
2432103: void EVP_CIPHER_do_all_sorted(void (*fn)
2432103: (const EVP_CIPHER *ciph, const char *from,
2432103: const char *to, void *x), void *arg);
2432103: void EVP_CIPHER_do_all_provided(OSSL_LIB_CTX *libctx,
2432103: void (*fn)(EVP_CIPHER *cipher, void *arg),
2432103: void *arg);
2432103:
2432103: void EVP_MD_do_all(void (*fn) (const EVP_MD *ciph,
2432103: const char *from, const char *to, void *x),
2432103: void *arg);
2432103: void EVP_MD_do_all_sorted(void (*fn)
2432103: (const EVP_MD *ciph, const char *from,
2432103: const char *to, void *x), void *arg);
2432103: void EVP_MD_do_all_provided(OSSL_LIB_CTX *libctx,
2432103: void (*fn)(EVP_MD *md, void *arg),
2432103: void *arg);
2432103:
2432103:
2432103:
2432103: EVP_MAC *EVP_MAC_fetch(OSSL_LIB_CTX *libctx, const char *algorithm,
2432103: const char *properties);
2432103: int EVP_MAC_up_ref(EVP_MAC *mac);
2432103: void EVP_MAC_free(EVP_MAC *mac);
2432103: const char *EVP_MAC_get0_name(const EVP_MAC *mac);
2432103: const char *EVP_MAC_get0_description(const EVP_MAC *mac);
2432103: int EVP_MAC_is_a(const EVP_MAC *mac, const char *name);
2432103: const OSSL_PROVIDER *EVP_MAC_get0_provider(const EVP_MAC *mac);
2432103: int EVP_MAC_get_params(EVP_MAC *mac, OSSL_PARAM params[]);
2432103:
2432103: EVP_MAC_CTX *EVP_MAC_CTX_new(EVP_MAC *mac);
2432103: void EVP_MAC_CTX_free(EVP_MAC_CTX *ctx);
2432103: EVP_MAC_CTX *EVP_MAC_CTX_dup(const EVP_MAC_CTX *src);
2432103: EVP_MAC *EVP_MAC_CTX_get0_mac(EVP_MAC_CTX *ctx);
2432103: int EVP_MAC_CTX_get_params(EVP_MAC_CTX *ctx, OSSL_PARAM params[]);
2432103: int EVP_MAC_CTX_set_params(EVP_MAC_CTX *ctx, const OSSL_PARAM params[]);
2432103:
2432103: size_t EVP_MAC_CTX_get_mac_size(EVP_MAC_CTX *ctx);
2432103: size_t EVP_MAC_CTX_get_block_size(EVP_MAC_CTX *ctx);
2432103: unsigned char *EVP_Q_mac(OSSL_LIB_CTX *libctx, const char *name, const char *propq,
2432103: const char *subalg, const OSSL_PARAM *params,
2432103: const void *key, size_t keylen,
2432103: const unsigned char *data, size_t datalen,
2432103: unsigned char *out, size_t outsize, size_t *outlen);
2432103: int EVP_MAC_init(EVP_MAC_CTX *ctx, const unsigned char *key, size_t keylen,
2432103: const OSSL_PARAM params[]);
2432103: int EVP_MAC_update(EVP_MAC_CTX *ctx, const unsigned char *data, size_t datalen);
2432103: int EVP_MAC_final(EVP_MAC_CTX *ctx,
2432103: unsigned char *out, size_t *outl, size_t outsize);
2432103: int EVP_MAC_finalXOF(EVP_MAC_CTX *ctx, unsigned char *out, size_t outsize);
2432103: const OSSL_PARAM *EVP_MAC_gettable_params(const EVP_MAC *mac);
2432103: const OSSL_PARAM *EVP_MAC_gettable_ctx_params(const EVP_MAC *mac);
2432103: const OSSL_PARAM *EVP_MAC_settable_ctx_params(const EVP_MAC *mac);
2432103: const OSSL_PARAM *EVP_MAC_CTX_gettable_params(EVP_MAC_CTX *ctx);
2432103: const OSSL_PARAM *EVP_MAC_CTX_settable_params(EVP_MAC_CTX *ctx);
2432103:
2432103: void EVP_MAC_do_all_provided(OSSL_LIB_CTX *libctx,
2432103: void (*fn)(EVP_MAC *mac, void *arg),
2432103: void *arg);
2432103: int EVP_MAC_names_do_all(const EVP_MAC *mac,
2432103: void (*fn)(const char *name, void *data),
2432103: void *data);
2432103:
2432103:
2432103: EVP_RAND *EVP_RAND_fetch(OSSL_LIB_CTX *libctx, const char *algorithm,
2432103: const char *properties);
2432103: int EVP_RAND_up_ref(EVP_RAND *rand);
2432103: void EVP_RAND_free(EVP_RAND *rand);
2432103: const char *EVP_RAND_get0_name(const EVP_RAND *rand);
2432103: const char *EVP_RAND_get0_description(const EVP_RAND *md);
2432103: int EVP_RAND_is_a(const EVP_RAND *rand, const char *name);
2432103: const OSSL_PROVIDER *EVP_RAND_get0_provider(const EVP_RAND *rand);
2432103: int EVP_RAND_get_params(EVP_RAND *rand, OSSL_PARAM params[]);
2432103:
2432103: EVP_RAND_CTX *EVP_RAND_CTX_new(EVP_RAND *rand, EVP_RAND_CTX *parent);
2432103: int EVP_RAND_CTX_up_ref(EVP_RAND_CTX *ctx);
2432103: void EVP_RAND_CTX_free(EVP_RAND_CTX *ctx);
2432103: EVP_RAND *EVP_RAND_CTX_get0_rand(EVP_RAND_CTX *ctx);
2432103: int EVP_RAND_CTX_get_params(EVP_RAND_CTX *ctx, OSSL_PARAM params[]);
2432103: int EVP_RAND_CTX_set_params(EVP_RAND_CTX *ctx, const OSSL_PARAM params[]);
2432103: const OSSL_PARAM *EVP_RAND_gettable_params(const EVP_RAND *rand);
2432103: const OSSL_PARAM *EVP_RAND_gettable_ctx_params(const EVP_RAND *rand);
2432103: const OSSL_PARAM *EVP_RAND_settable_ctx_params(const EVP_RAND *rand);
2432103: const OSSL_PARAM *EVP_RAND_CTX_gettable_params(EVP_RAND_CTX *ctx);
2432103: const OSSL_PARAM *EVP_RAND_CTX_settable_params(EVP_RAND_CTX *ctx);
2432103:
2432103: void EVP_RAND_do_all_provided(OSSL_LIB_CTX *libctx,
2432103: void (*fn)(EVP_RAND *rand, void *arg),
2432103: void *arg);
2432103: int EVP_RAND_names_do_all(const EVP_RAND *rand,
2432103: void (*fn)(const char *name, void *data),
2432103: void *data);
2432103:
2432103: int EVP_RAND_instantiate(EVP_RAND_CTX *ctx, unsigned int strength,
2432103: int prediction_resistance,
2432103: const unsigned char *pstr, size_t pstr_len,
2432103: const OSSL_PARAM params[]);
2432103: int EVP_RAND_uninstantiate(EVP_RAND_CTX *ctx);
2432103: int EVP_RAND_generate(EVP_RAND_CTX *ctx, unsigned char *out,
2432103: size_t outlen, unsigned int strength,
2432103: int prediction_resistance,
2432103: const unsigned char *addin, size_t addin_len);
2432103: int EVP_RAND_reseed(EVP_RAND_CTX *ctx, int prediction_resistance,
2432103: const unsigned char *ent, size_t ent_len,
2432103: const unsigned char *addin, size_t addin_len);
2432103: int EVP_RAND_nonce(EVP_RAND_CTX *ctx, unsigned char *out, size_t outlen);
2432103: int EVP_RAND_enable_locking(EVP_RAND_CTX *ctx);
2432103:
2432103: int EVP_RAND_verify_zeroization(EVP_RAND_CTX *ctx);
2432103: unsigned int EVP_RAND_get_strength(EVP_RAND_CTX *ctx);
2432103: int EVP_RAND_get_state(EVP_RAND_CTX *ctx);
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: int EVP_PKEY_decrypt_old(unsigned char *dec_key,
2432103: const unsigned char *enc_key,
2432103: int enc_key_len,
2432103: EVP_PKEY *private_key);
2432103: int EVP_PKEY_encrypt_old(unsigned char *enc_key,
2432103: const unsigned char *key,
2432103: int key_len, EVP_PKEY *pub_key);
2432103:
2432103: int EVP_PKEY_is_a(const EVP_PKEY *pkey, const char *name);
2432103: int EVP_PKEY_type_names_do_all(const EVP_PKEY *pkey,
2432103: void (*fn)(const char *name, void *data),
2432103: void *data);
2432103: int EVP_PKEY_type(int type);
2432103: int EVP_PKEY_get_id(const EVP_PKEY *pkey);
2432103:
2432103: int EVP_PKEY_get_base_id(const EVP_PKEY *pkey);
2432103:
2432103: int EVP_PKEY_get_bits(const EVP_PKEY *pkey);
2432103:
2432103: int EVP_PKEY_get_security_bits(const EVP_PKEY *pkey);
2432103:
2432103: int EVP_PKEY_get_size(const EVP_PKEY *pkey);
2432103:
2432103: int EVP_PKEY_can_sign(const EVP_PKEY *pkey);
2432103: int EVP_PKEY_set_type(EVP_PKEY *pkey, int type);
2432103: int EVP_PKEY_set_type_str(EVP_PKEY *pkey, const char *str, int len);
2432103: int EVP_PKEY_set_type_by_keymgmt(EVP_PKEY *pkey, EVP_KEYMGMT *keymgmt);
2432103:
2432103:
2432103:
2432103: int EVP_PKEY_set1_engine(EVP_PKEY *pkey, ENGINE *e);
2432103:
2432103: ENGINE *EVP_PKEY_get0_engine(const EVP_PKEY *pkey);
2432103:
2432103:
2432103: int EVP_PKEY_assign(EVP_PKEY *pkey, int type, void *key);
2432103:
2432103: void *EVP_PKEY_get0(const EVP_PKEY *pkey);
2432103:
2432103: const unsigned char *EVP_PKEY_get0_hmac(const EVP_PKEY *pkey, size_t *len);
2432103:
2432103:
2432103: const unsigned char *EVP_PKEY_get0_poly1305(const EVP_PKEY *pkey, size_t *len);
2432103:
2432103:
2432103:
2432103: const unsigned char *EVP_PKEY_get0_siphash(const EVP_PKEY *pkey, size_t *len);
2432103:
2432103:
2432103: struct rsa_st;
2432103:
2432103: int EVP_PKEY_set1_RSA(EVP_PKEY *pkey, struct rsa_st *key);
2432103:
2432103: const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey);
2432103:
2432103: struct rsa_st *EVP_PKEY_get1_RSA(EVP_PKEY *pkey);
2432103:
2432103:
2432103: struct dsa_st;
2432103:
2432103: int EVP_PKEY_set1_DSA(EVP_PKEY *pkey, struct dsa_st *key);
2432103:
2432103: const struct dsa_st *EVP_PKEY_get0_DSA(const EVP_PKEY *pkey);
2432103:
2432103: struct dsa_st *EVP_PKEY_get1_DSA(EVP_PKEY *pkey);
2432103:
2432103:
2432103:
2432103: struct dh_st;
2432103: int EVP_PKEY_set1_DH(EVP_PKEY *pkey, struct dh_st *key);
2432103: const struct dh_st *EVP_PKEY_get0_DH(const EVP_PKEY *pkey);
2432103: struct dh_st *EVP_PKEY_get1_DH(EVP_PKEY *pkey);
2432103:
2432103:
2432103:
2432103: struct ec_key_st;
2432103:
2432103: int EVP_PKEY_set1_EC_KEY(EVP_PKEY *pkey, struct ec_key_st *key);
2432103:
2432103: const struct ec_key_st *EVP_PKEY_get0_EC_KEY(const EVP_PKEY *pkey);
2432103:
2432103: struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey);
2432103:
2432103:
2432103:
2432103: EVP_PKEY *EVP_PKEY_new(void);
2432103: int EVP_PKEY_up_ref(EVP_PKEY *pkey);
2432103: EVP_PKEY *EVP_PKEY_dup(EVP_PKEY *pkey);
2432103: void EVP_PKEY_free(EVP_PKEY *pkey);
2432103: const char *EVP_PKEY_get0_description(const EVP_PKEY *pkey);
2432103: const OSSL_PROVIDER *EVP_PKEY_get0_provider(const EVP_PKEY *key);
2432103:
2432103: EVP_PKEY *d2i_PublicKey(int type, EVP_PKEY **a, const unsigned char **pp,
2432103: long length);
2432103: int i2d_PublicKey(const EVP_PKEY *a, unsigned char **pp);
2432103:
2432103:
2432103: EVP_PKEY *d2i_PrivateKey_ex(int type, EVP_PKEY **a, const unsigned char **pp,
2432103: long length, OSSL_LIB_CTX *libctx,
2432103: const char *propq);
2432103: EVP_PKEY *d2i_PrivateKey(int type, EVP_PKEY **a, const unsigned char **pp,
2432103: long length);
2432103: EVP_PKEY *d2i_AutoPrivateKey_ex(EVP_PKEY **a, const unsigned char **pp,
2432103: long length, OSSL_LIB_CTX *libctx,
2432103: const char *propq);
2432103: EVP_PKEY *d2i_AutoPrivateKey(EVP_PKEY **a, const unsigned char **pp,
2432103: long length);
2432103: int i2d_PrivateKey(const EVP_PKEY *a, unsigned char **pp);
2432103:
2432103: int i2d_KeyParams(const EVP_PKEY *a, unsigned char **pp);
2432103: EVP_PKEY *d2i_KeyParams(int type, EVP_PKEY **a, const unsigned char **pp,
2432103: long length);
2432103: int i2d_KeyParams_bio(BIO *bp, const EVP_PKEY *pkey);
2432103: EVP_PKEY *d2i_KeyParams_bio(int type, EVP_PKEY **a, BIO *in);
2432103:
2432103: int EVP_PKEY_copy_parameters(EVP_PKEY *to, const EVP_PKEY *from);
2432103: int EVP_PKEY_missing_parameters(const EVP_PKEY *pkey);
2432103: int EVP_PKEY_save_parameters(EVP_PKEY *pkey, int mode);
2432103: int EVP_PKEY_parameters_eq(const EVP_PKEY *a, const EVP_PKEY *b);
2432103: int EVP_PKEY_eq(const EVP_PKEY *a, const EVP_PKEY *b);
2432103:
2432103:
2432103:
2432103: int EVP_PKEY_cmp_parameters(const EVP_PKEY *a, const EVP_PKEY *b);
2432103:
2432103: int EVP_PKEY_cmp(const EVP_PKEY *a, const EVP_PKEY *b);
2432103:
2432103:
2432103: int EVP_PKEY_print_public(BIO *out, const EVP_PKEY *pkey,
2432103: int indent, ASN1_PCTX *pctx);
2432103: int EVP_PKEY_print_private(BIO *out, const EVP_PKEY *pkey,
2432103: int indent, ASN1_PCTX *pctx);
2432103: int EVP_PKEY_print_params(BIO *out, const EVP_PKEY *pkey,
2432103: int indent, ASN1_PCTX *pctx);
2432103:
2432103: int EVP_PKEY_print_public_fp(FILE *fp, const EVP_PKEY *pkey,
2432103: int indent, ASN1_PCTX *pctx);
2432103: int EVP_PKEY_print_private_fp(FILE *fp, const EVP_PKEY *pkey,
2432103: int indent, ASN1_PCTX *pctx);
2432103: int EVP_PKEY_print_params_fp(FILE *fp, const EVP_PKEY *pkey,
2432103: int indent, ASN1_PCTX *pctx);
2432103:
2432103:
2432103: int EVP_PKEY_get_default_digest_nid(EVP_PKEY *pkey, int *pnid);
2432103: int EVP_PKEY_get_default_digest_name(EVP_PKEY *pkey,
2432103: char *mdname, size_t mdname_sz);
2432103: int EVP_PKEY_digestsign_supports_digest(EVP_PKEY *pkey, OSSL_LIB_CTX *libctx,
2432103: const char *name, const char *propq);
2432103: # 1456 "/usr/include/openssl/evp.h" 3 4
2432103: int EVP_PKEY_set1_encoded_public_key(EVP_PKEY *pkey,
2432103: const unsigned char *pub, size_t publen);
2432103: # 1468 "/usr/include/openssl/evp.h" 3 4
2432103: size_t EVP_PKEY_get1_encoded_public_key(EVP_PKEY *pkey, unsigned char **ppub);
2432103:
2432103:
2432103: int EVP_CIPHER_param_to_asn1(EVP_CIPHER_CTX *c, ASN1_TYPE *type);
2432103: int EVP_CIPHER_asn1_to_param(EVP_CIPHER_CTX *c, ASN1_TYPE *type);
2432103:
2432103:
2432103: int EVP_CIPHER_set_asn1_iv(EVP_CIPHER_CTX *c, ASN1_TYPE *type);
2432103: int EVP_CIPHER_get_asn1_iv(EVP_CIPHER_CTX *c, ASN1_TYPE *type);
2432103:
2432103:
2432103: int PKCS5_PBE_keyivgen(EVP_CIPHER_CTX *ctx, const char *pass, int passlen,
2432103: ASN1_TYPE *param, const EVP_CIPHER *cipher,
2432103: const EVP_MD *md, int en_de);
2432103: int PKCS5_PBE_keyivgen_ex(EVP_CIPHER_CTX *cctx, const char *pass, int passlen,
2432103: ASN1_TYPE *param, const EVP_CIPHER *cipher,
2432103: const EVP_MD *md, int en_de, OSSL_LIB_CTX *libctx,
2432103: const char *propq);
2432103: int PKCS5_PBKDF2_HMAC_SHA1(const char *pass, int passlen,
2432103: const unsigned char *salt, int saltlen, int iter,
2432103: int keylen, unsigned char *out);
2432103: int PKCS5_PBKDF2_HMAC(const char *pass, int passlen,
2432103: const unsigned char *salt, int saltlen, int iter,
2432103: const EVP_MD *digest, int keylen, unsigned char *out);
2432103: int PKCS5_v2_PBE_keyivgen(EVP_CIPHER_CTX *ctx, const char *pass, int passlen,
2432103: ASN1_TYPE *param, const EVP_CIPHER *cipher,
2432103: const EVP_MD *md, int en_de);
2432103: int PKCS5_v2_PBE_keyivgen_ex(EVP_CIPHER_CTX *ctx, const char *pass, int passlen,
2432103: ASN1_TYPE *param, const EVP_CIPHER *cipher,
2432103: const EVP_MD *md, int en_de,
2432103: OSSL_LIB_CTX *libctx, const char *propq);
2432103:
2432103:
2432103: int EVP_PBE_scrypt(const char *pass, size_t passlen,
2432103: const unsigned char *salt, size_t saltlen,
2432103: uint64_t N, uint64_t r, uint64_t p, uint64_t maxmem,
2432103: unsigned char *key, size_t keylen);
2432103: int EVP_PBE_scrypt_ex(const char *pass, size_t passlen,
2432103: const unsigned char *salt, size_t saltlen,
2432103: uint64_t N, uint64_t r, uint64_t p, uint64_t maxmem,
2432103: unsigned char *key, size_t keylen,
2432103: OSSL_LIB_CTX *ctx, const char *propq);
2432103:
2432103: int PKCS5_v2_scrypt_keyivgen(EVP_CIPHER_CTX *ctx, const char *pass,
2432103: int passlen, ASN1_TYPE *param,
2432103: const EVP_CIPHER *c, const EVP_MD *md, int en_de);
2432103: int PKCS5_v2_scrypt_keyivgen_ex(EVP_CIPHER_CTX *ctx, const char *pass,
2432103: int passlen, ASN1_TYPE *param,
2432103: const EVP_CIPHER *c, const EVP_MD *md, int en_de,
2432103: OSSL_LIB_CTX *libctx, const char *propq);
2432103:
2432103:
2432103: void PKCS5_PBE_add(void);
2432103:
2432103: int EVP_PBE_CipherInit(ASN1_OBJECT *pbe_obj, const char *pass, int passlen,
2432103: ASN1_TYPE *param, EVP_CIPHER_CTX *ctx, int en_de);
2432103:
2432103: int EVP_PBE_CipherInit_ex(ASN1_OBJECT *pbe_obj, const char *pass, int passlen,
2432103: ASN1_TYPE *param, EVP_CIPHER_CTX *ctx, int en_de,
2432103: OSSL_LIB_CTX *libctx, const char *propq);
2432103: # 1538 "/usr/include/openssl/evp.h" 3 4
2432103: int EVP_PBE_alg_add_type(int pbe_type, int pbe_nid, int cipher_nid,
2432103: int md_nid, EVP_PBE_KEYGEN *keygen);
2432103: int EVP_PBE_alg_add(int nid, const EVP_CIPHER *cipher, const EVP_MD *md,
2432103: EVP_PBE_KEYGEN *keygen);
2432103: int EVP_PBE_find(int type, int pbe_nid, int *pcnid, int *pmnid,
2432103: EVP_PBE_KEYGEN **pkeygen);
2432103: int EVP_PBE_find_ex(int type, int pbe_nid, int *pcnid, int *pmnid,
2432103: EVP_PBE_KEYGEN **pkeygen, EVP_PBE_KEYGEN_EX **pkeygen_ex);
2432103: void EVP_PBE_cleanup(void);
2432103: int EVP_PBE_get(int *ptype, int *ppbe_nid, size_t num);
2432103: # 1564 "/usr/include/openssl/evp.h" 3 4
2432103: int EVP_PKEY_asn1_get_count(void);
2432103: const EVP_PKEY_ASN1_METHOD *EVP_PKEY_asn1_get0(int idx);
2432103: const EVP_PKEY_ASN1_METHOD *EVP_PKEY_asn1_find(ENGINE **pe, int type);
2432103: const EVP_PKEY_ASN1_METHOD *EVP_PKEY_asn1_find_str(ENGINE **pe,
2432103: const char *str, int len);
2432103: int EVP_PKEY_asn1_add0(const EVP_PKEY_ASN1_METHOD *ameth);
2432103: int EVP_PKEY_asn1_add_alias(int to, int from);
2432103: int EVP_PKEY_asn1_get0_info(int *ppkey_id, int *pkey_base_id,
2432103: int *ppkey_flags, const char **pinfo,
2432103: const char **ppem_str,
2432103: const EVP_PKEY_ASN1_METHOD *ameth);
2432103:
2432103: const EVP_PKEY_ASN1_METHOD *EVP_PKEY_get0_asn1(const EVP_PKEY *pkey);
2432103: EVP_PKEY_ASN1_METHOD *EVP_PKEY_asn1_new(int id, int flags,
2432103: const char *pem_str,
2432103: const char *info);
2432103: void EVP_PKEY_asn1_copy(EVP_PKEY_ASN1_METHOD *dst,
2432103: const EVP_PKEY_ASN1_METHOD *src);
2432103: void EVP_PKEY_asn1_free(EVP_PKEY_ASN1_METHOD *ameth);
2432103: void EVP_PKEY_asn1_set_public(EVP_PKEY_ASN1_METHOD *ameth,
2432103: int (*pub_decode) (EVP_PKEY *pk,
2432103: const X509_PUBKEY *pub),
2432103: int (*pub_encode) (X509_PUBKEY *pub,
2432103: const EVP_PKEY *pk),
2432103: int (*pub_cmp) (const EVP_PKEY *a,
2432103: const EVP_PKEY *b),
2432103: int (*pub_print) (BIO *out,
2432103: const EVP_PKEY *pkey,
2432103: int indent, ASN1_PCTX *pctx),
2432103: int (*pkey_size) (const EVP_PKEY *pk),
2432103: int (*pkey_bits) (const EVP_PKEY *pk));
2432103: void EVP_PKEY_asn1_set_private(EVP_PKEY_ASN1_METHOD *ameth,
2432103: int (*priv_decode) (EVP_PKEY *pk,
2432103: const PKCS8_PRIV_KEY_INFO
2432103: *p8inf),
2432103: int (*priv_encode) (PKCS8_PRIV_KEY_INFO *p8,
2432103: const EVP_PKEY *pk),
2432103: int (*priv_print) (BIO *out,
2432103: const EVP_PKEY *pkey,
2432103: int indent,
2432103: ASN1_PCTX *pctx));
2432103: void EVP_PKEY_asn1_set_param(EVP_PKEY_ASN1_METHOD *ameth,
2432103: int (*param_decode) (EVP_PKEY *pkey,
2432103: const unsigned char **pder,
2432103: int derlen),
2432103: int (*param_encode) (const EVP_PKEY *pkey,
2432103: unsigned char **pder),
2432103: int (*param_missing) (const EVP_PKEY *pk),
2432103: int (*param_copy) (EVP_PKEY *to,
2432103: const EVP_PKEY *from),
2432103: int (*param_cmp) (const EVP_PKEY *a,
2432103: const EVP_PKEY *b),
2432103: int (*param_print) (BIO *out,
2432103: const EVP_PKEY *pkey,
2432103: int indent,
2432103: ASN1_PCTX *pctx));
2432103:
2432103: void EVP_PKEY_asn1_set_free(EVP_PKEY_ASN1_METHOD *ameth,
2432103: void (*pkey_free) (EVP_PKEY *pkey));
2432103: void EVP_PKEY_asn1_set_ctrl(EVP_PKEY_ASN1_METHOD *ameth,
2432103: int (*pkey_ctrl) (EVP_PKEY *pkey, int op,
2432103: long arg1, void *arg2));
2432103: void EVP_PKEY_asn1_set_item(EVP_PKEY_ASN1_METHOD *ameth,
2432103: int (*item_verify) (EVP_MD_CTX *ctx,
2432103: const ASN1_ITEM *it,
2432103: const void *data,
2432103: const X509_ALGOR *a,
2432103: const ASN1_BIT_STRING *sig,
2432103: EVP_PKEY *pkey),
2432103: int (*item_sign) (EVP_MD_CTX *ctx,
2432103: const ASN1_ITEM *it,
2432103: const void *data,
2432103: X509_ALGOR *alg1,
2432103: X509_ALGOR *alg2,
2432103: ASN1_BIT_STRING *sig));
2432103:
2432103: void EVP_PKEY_asn1_set_siginf(EVP_PKEY_ASN1_METHOD *ameth,
2432103: int (*siginf_set) (X509_SIG_INFO *siginf,
2432103: const X509_ALGOR *alg,
2432103: const ASN1_STRING *sig));
2432103:
2432103: void EVP_PKEY_asn1_set_check(EVP_PKEY_ASN1_METHOD *ameth,
2432103: int (*pkey_check) (const EVP_PKEY *pk));
2432103:
2432103: void EVP_PKEY_asn1_set_public_check(EVP_PKEY_ASN1_METHOD *ameth,
2432103: int (*pkey_pub_check) (const EVP_PKEY *pk));
2432103:
2432103: void EVP_PKEY_asn1_set_param_check(EVP_PKEY_ASN1_METHOD *ameth,
2432103: int (*pkey_param_check) (const EVP_PKEY *pk));
2432103:
2432103: void EVP_PKEY_asn1_set_set_priv_key(EVP_PKEY_ASN1_METHOD *ameth,
2432103: int (*set_priv_key) (EVP_PKEY *pk,
2432103: const unsigned char
2432103: *priv,
2432103: size_t len));
2432103: void EVP_PKEY_asn1_set_set_pub_key(EVP_PKEY_ASN1_METHOD *ameth,
2432103: int (*set_pub_key) (EVP_PKEY *pk,
2432103: const unsigned char *pub,
2432103: size_t len));
2432103: void EVP_PKEY_asn1_set_get_priv_key(EVP_PKEY_ASN1_METHOD *ameth,
2432103: int (*get_priv_key) (const EVP_PKEY *pk,
2432103: unsigned char *priv,
2432103: size_t *len));
2432103: void EVP_PKEY_asn1_set_get_pub_key(EVP_PKEY_ASN1_METHOD *ameth,
2432103: int (*get_pub_key) (const EVP_PKEY *pk,
2432103: unsigned char *pub,
2432103: size_t *len));
2432103:
2432103: void EVP_PKEY_asn1_set_security_bits(EVP_PKEY_ASN1_METHOD *ameth,
2432103: int (*pkey_security_bits) (const EVP_PKEY
2432103: *pk));
2432103:
2432103: int EVP_PKEY_CTX_get_signature_md(EVP_PKEY_CTX *ctx, const EVP_MD **md);
2432103: int EVP_PKEY_CTX_set_signature_md(EVP_PKEY_CTX *ctx, const EVP_MD *md);
2432103:
2432103: int EVP_PKEY_CTX_set1_id(EVP_PKEY_CTX *ctx, const void *id, int len);
2432103: int EVP_PKEY_CTX_get1_id(EVP_PKEY_CTX *ctx, void *id);
2432103: int EVP_PKEY_CTX_get1_id_len(EVP_PKEY_CTX *ctx, size_t *id_len);
2432103:
2432103: int EVP_PKEY_CTX_set_kem_op(EVP_PKEY_CTX *ctx, const char *op);
2432103:
2432103: const char *EVP_PKEY_get0_type_name(const EVP_PKEY *key);
2432103: # 1716 "/usr/include/openssl/evp.h" 3 4
2432103: int EVP_PKEY_CTX_set_mac_key(EVP_PKEY_CTX *ctx, const unsigned char *key,
2432103: int keylen);
2432103: # 1748 "/usr/include/openssl/evp.h" 3 4
2432103: const EVP_PKEY_METHOD *EVP_PKEY_meth_find(int type);
2432103: EVP_PKEY_METHOD *EVP_PKEY_meth_new(int id, int flags);
2432103: void EVP_PKEY_meth_get0_info(int *ppkey_id, int *pflags,
2432103: const EVP_PKEY_METHOD *meth);
2432103: void EVP_PKEY_meth_copy(EVP_PKEY_METHOD *dst,
2432103: const EVP_PKEY_METHOD *src);
2432103: void EVP_PKEY_meth_free(EVP_PKEY_METHOD *pmeth);
2432103: int EVP_PKEY_meth_add0(const EVP_PKEY_METHOD *pmeth);
2432103: int EVP_PKEY_meth_remove(const EVP_PKEY_METHOD *pmeth);
2432103: size_t EVP_PKEY_meth_get_count(void);
2432103: const EVP_PKEY_METHOD *EVP_PKEY_meth_get0(size_t idx);
2432103:
2432103:
2432103: EVP_KEYMGMT *EVP_KEYMGMT_fetch(OSSL_LIB_CTX *ctx, const char *algorithm,
2432103: const char *properties);
2432103: int EVP_KEYMGMT_up_ref(EVP_KEYMGMT *keymgmt);
2432103: void EVP_KEYMGMT_free(EVP_KEYMGMT *keymgmt);
2432103: const OSSL_PROVIDER *EVP_KEYMGMT_get0_provider(const EVP_KEYMGMT *keymgmt);
2432103: const char *EVP_KEYMGMT_get0_name(const EVP_KEYMGMT *keymgmt);
2432103: const char *EVP_KEYMGMT_get0_description(const EVP_KEYMGMT *keymgmt);
2432103: int EVP_KEYMGMT_is_a(const EVP_KEYMGMT *keymgmt, const char *name);
2432103: void EVP_KEYMGMT_do_all_provided(OSSL_LIB_CTX *libctx,
2432103: void (*fn)(EVP_KEYMGMT *keymgmt, void *arg),
2432103: void *arg);
2432103: int EVP_KEYMGMT_names_do_all(const EVP_KEYMGMT *keymgmt,
2432103: void (*fn)(const char *name, void *data),
2432103: void *data);
2432103: const OSSL_PARAM *EVP_KEYMGMT_gettable_params(const EVP_KEYMGMT *keymgmt);
2432103: const OSSL_PARAM *EVP_KEYMGMT_settable_params(const EVP_KEYMGMT *keymgmt);
2432103: const OSSL_PARAM *EVP_KEYMGMT_gen_settable_params(const EVP_KEYMGMT *keymgmt);
2432103:
2432103: EVP_PKEY_CTX *EVP_PKEY_CTX_new(EVP_PKEY *pkey, ENGINE *e);
2432103: EVP_PKEY_CTX *EVP_PKEY_CTX_new_id(int id, ENGINE *e);
2432103: EVP_PKEY_CTX *EVP_PKEY_CTX_new_from_name(OSSL_LIB_CTX *libctx,
2432103: const char *name,
2432103: const char *propquery);
2432103: EVP_PKEY_CTX *EVP_PKEY_CTX_new_from_pkey(OSSL_LIB_CTX *libctx,
2432103: EVP_PKEY *pkey, const char *propquery);
2432103: EVP_PKEY_CTX *EVP_PKEY_CTX_dup(const EVP_PKEY_CTX *ctx);
2432103: void EVP_PKEY_CTX_free(EVP_PKEY_CTX *ctx);
2432103: int EVP_PKEY_CTX_is_a(EVP_PKEY_CTX *ctx, const char *keytype);
2432103:
2432103: int EVP_PKEY_CTX_get_params(EVP_PKEY_CTX *ctx, OSSL_PARAM *params);
2432103: const OSSL_PARAM *EVP_PKEY_CTX_gettable_params(const EVP_PKEY_CTX *ctx);
2432103: int EVP_PKEY_CTX_set_params(EVP_PKEY_CTX *ctx, const OSSL_PARAM *params);
2432103: const OSSL_PARAM *EVP_PKEY_CTX_settable_params(const EVP_PKEY_CTX *ctx);
2432103: int EVP_PKEY_CTX_ctrl(EVP_PKEY_CTX *ctx, int keytype, int optype,
2432103: int cmd, int p1, void *p2);
2432103: int EVP_PKEY_CTX_ctrl_str(EVP_PKEY_CTX *ctx, const char *type,
2432103: const char *value);
2432103: int EVP_PKEY_CTX_ctrl_uint64(EVP_PKEY_CTX *ctx, int keytype, int optype,
2432103: int cmd, uint64_t value);
2432103:
2432103: int EVP_PKEY_CTX_str2ctrl(EVP_PKEY_CTX *ctx, int cmd, const char *str);
2432103: int EVP_PKEY_CTX_hex2ctrl(EVP_PKEY_CTX *ctx, int cmd, const char *hex);
2432103:
2432103: int EVP_PKEY_CTX_md(EVP_PKEY_CTX *ctx, int optype, int cmd, const char *md);
2432103:
2432103: int EVP_PKEY_CTX_get_operation(EVP_PKEY_CTX *ctx);
2432103: void EVP_PKEY_CTX_set0_keygen_info(EVP_PKEY_CTX *ctx, int *dat, int datlen);
2432103:
2432103: EVP_PKEY *EVP_PKEY_new_mac_key(int type, ENGINE *e,
2432103: const unsigned char *key, int keylen);
2432103: EVP_PKEY *EVP_PKEY_new_raw_private_key_ex(OSSL_LIB_CTX *libctx,
2432103: const char *keytype,
2432103: const char *propq,
2432103: const unsigned char *priv, size_t len);
2432103: EVP_PKEY *EVP_PKEY_new_raw_private_key(int type, ENGINE *e,
2432103: const unsigned char *priv,
2432103: size_t len);
2432103: EVP_PKEY *EVP_PKEY_new_raw_public_key_ex(OSSL_LIB_CTX *libctx,
2432103: const char *keytype, const char *propq,
2432103: const unsigned char *pub, size_t len);
2432103: EVP_PKEY *EVP_PKEY_new_raw_public_key(int type, ENGINE *e,
2432103: const unsigned char *pub,
2432103: size_t len);
2432103: int EVP_PKEY_get_raw_private_key(const EVP_PKEY *pkey, unsigned char *priv,
2432103: size_t *len);
2432103: int EVP_PKEY_get_raw_public_key(const EVP_PKEY *pkey, unsigned char *pub,
2432103: size_t *len);
2432103:
2432103:
2432103:
2432103: EVP_PKEY *EVP_PKEY_new_CMAC_key(ENGINE *e, const unsigned char *priv,
2432103: size_t len, const EVP_CIPHER *cipher);
2432103:
2432103:
2432103: void EVP_PKEY_CTX_set_data(EVP_PKEY_CTX *ctx, void *data);
2432103: void *EVP_PKEY_CTX_get_data(const EVP_PKEY_CTX *ctx);
2432103: EVP_PKEY *EVP_PKEY_CTX_get0_pkey(EVP_PKEY_CTX *ctx);
2432103:
2432103: EVP_PKEY *EVP_PKEY_CTX_get0_peerkey(EVP_PKEY_CTX *ctx);
2432103:
2432103: void EVP_PKEY_CTX_set_app_data(EVP_PKEY_CTX *ctx, void *data);
2432103: void *EVP_PKEY_CTX_get_app_data(EVP_PKEY_CTX *ctx);
2432103:
2432103: void EVP_SIGNATURE_free(EVP_SIGNATURE *signature);
2432103: int EVP_SIGNATURE_up_ref(EVP_SIGNATURE *signature);
2432103: OSSL_PROVIDER *EVP_SIGNATURE_get0_provider(const EVP_SIGNATURE *signature);
2432103: EVP_SIGNATURE *EVP_SIGNATURE_fetch(OSSL_LIB_CTX *ctx, const char *algorithm,
2432103: const char *properties);
2432103: int EVP_SIGNATURE_is_a(const EVP_SIGNATURE *signature, const char *name);
2432103: const char *EVP_SIGNATURE_get0_name(const EVP_SIGNATURE *signature);
2432103: const char *EVP_SIGNATURE_get0_description(const EVP_SIGNATURE *signature);
2432103: void EVP_SIGNATURE_do_all_provided(OSSL_LIB_CTX *libctx,
2432103: void (*fn)(EVP_SIGNATURE *signature,
2432103: void *data),
2432103: void *data);
2432103: int EVP_SIGNATURE_names_do_all(const EVP_SIGNATURE *signature,
2432103: void (*fn)(const char *name, void *data),
2432103: void *data);
2432103: const OSSL_PARAM *EVP_SIGNATURE_gettable_ctx_params(const EVP_SIGNATURE *sig);
2432103: const OSSL_PARAM *EVP_SIGNATURE_settable_ctx_params(const EVP_SIGNATURE *sig);
2432103:
2432103: void EVP_ASYM_CIPHER_free(EVP_ASYM_CIPHER *cipher);
2432103: int EVP_ASYM_CIPHER_up_ref(EVP_ASYM_CIPHER *cipher);
2432103: OSSL_PROVIDER *EVP_ASYM_CIPHER_get0_provider(const EVP_ASYM_CIPHER *cipher);
2432103: EVP_ASYM_CIPHER *EVP_ASYM_CIPHER_fetch(OSSL_LIB_CTX *ctx, const char *algorithm,
2432103: const char *properties);
2432103: int EVP_ASYM_CIPHER_is_a(const EVP_ASYM_CIPHER *cipher, const char *name);
2432103: const char *EVP_ASYM_CIPHER_get0_name(const EVP_ASYM_CIPHER *cipher);
2432103: const char *EVP_ASYM_CIPHER_get0_description(const EVP_ASYM_CIPHER *cipher);
2432103: void EVP_ASYM_CIPHER_do_all_provided(OSSL_LIB_CTX *libctx,
2432103: void (*fn)(EVP_ASYM_CIPHER *cipher,
2432103: void *arg),
2432103: void *arg);
2432103: int EVP_ASYM_CIPHER_names_do_all(const EVP_ASYM_CIPHER *cipher,
2432103: void (*fn)(const char *name, void *data),
2432103: void *data);
2432103: const OSSL_PARAM *EVP_ASYM_CIPHER_gettable_ctx_params(const EVP_ASYM_CIPHER *ciph);
2432103: const OSSL_PARAM *EVP_ASYM_CIPHER_settable_ctx_params(const EVP_ASYM_CIPHER *ciph);
2432103:
2432103: void EVP_KEM_free(EVP_KEM *wrap);
2432103: int EVP_KEM_up_ref(EVP_KEM *wrap);
2432103: OSSL_PROVIDER *EVP_KEM_get0_provider(const EVP_KEM *wrap);
2432103: EVP_KEM *EVP_KEM_fetch(OSSL_LIB_CTX *ctx, const char *algorithm,
2432103: const char *properties);
2432103: int EVP_KEM_is_a(const EVP_KEM *wrap, const char *name);
2432103: const char *EVP_KEM_get0_name(const EVP_KEM *wrap);
2432103: const char *EVP_KEM_get0_description(const EVP_KEM *wrap);
2432103: void EVP_KEM_do_all_provided(OSSL_LIB_CTX *libctx,
2432103: void (*fn)(EVP_KEM *wrap, void *arg), void *arg);
2432103: int EVP_KEM_names_do_all(const EVP_KEM *wrap,
2432103: void (*fn)(const char *name, void *data), void *data);
2432103: const OSSL_PARAM *EVP_KEM_gettable_ctx_params(const EVP_KEM *kem);
2432103: const OSSL_PARAM *EVP_KEM_settable_ctx_params(const EVP_KEM *kem);
2432103:
2432103: int EVP_PKEY_sign_init(EVP_PKEY_CTX *ctx);
2432103: int EVP_PKEY_sign_init_ex(EVP_PKEY_CTX *ctx, const OSSL_PARAM params[]);
2432103: int EVP_PKEY_sign(EVP_PKEY_CTX *ctx,
2432103: unsigned char *sig, size_t *siglen,
2432103: const unsigned char *tbs, size_t tbslen);
2432103: int EVP_PKEY_verify_init(EVP_PKEY_CTX *ctx);
2432103: int EVP_PKEY_verify_init_ex(EVP_PKEY_CTX *ctx, const OSSL_PARAM params[]);
2432103: int EVP_PKEY_verify(EVP_PKEY_CTX *ctx,
2432103: const unsigned char *sig, size_t siglen,
2432103: const unsigned char *tbs, size_t tbslen);
2432103: int EVP_PKEY_verify_recover_init(EVP_PKEY_CTX *ctx);
2432103: int EVP_PKEY_verify_recover_init_ex(EVP_PKEY_CTX *ctx,
2432103: const OSSL_PARAM params[]);
2432103: int EVP_PKEY_verify_recover(EVP_PKEY_CTX *ctx,
2432103: unsigned char *rout, size_t *routlen,
2432103: const unsigned char *sig, size_t siglen);
2432103: int EVP_PKEY_encrypt_init(EVP_PKEY_CTX *ctx);
2432103: int EVP_PKEY_encrypt_init_ex(EVP_PKEY_CTX *ctx, const OSSL_PARAM params[]);
2432103: int EVP_PKEY_encrypt(EVP_PKEY_CTX *ctx,
2432103: unsigned char *out, size_t *outlen,
2432103: const unsigned char *in, size_t inlen);
2432103: int EVP_PKEY_decrypt_init(EVP_PKEY_CTX *ctx);
2432103: int EVP_PKEY_decrypt_init_ex(EVP_PKEY_CTX *ctx, const OSSL_PARAM params[]);
2432103: int EVP_PKEY_decrypt(EVP_PKEY_CTX *ctx,
2432103: unsigned char *out, size_t *outlen,
2432103: const unsigned char *in, size_t inlen);
2432103:
2432103: int EVP_PKEY_derive_init(EVP_PKEY_CTX *ctx);
2432103: int EVP_PKEY_derive_init_ex(EVP_PKEY_CTX *ctx, const OSSL_PARAM params[]);
2432103: int EVP_PKEY_derive_set_peer_ex(EVP_PKEY_CTX *ctx, EVP_PKEY *peer,
2432103: int validate_peer);
2432103: int EVP_PKEY_derive_set_peer(EVP_PKEY_CTX *ctx, EVP_PKEY *peer);
2432103: int EVP_PKEY_derive(EVP_PKEY_CTX *ctx, unsigned char *key, size_t *keylen);
2432103:
2432103: int EVP_PKEY_encapsulate_init(EVP_PKEY_CTX *ctx, const OSSL_PARAM params[]);
2432103: int EVP_PKEY_encapsulate(EVP_PKEY_CTX *ctx,
2432103: unsigned char *wrappedkey, size_t *wrappedkeylen,
2432103: unsigned char *genkey, size_t *genkeylen);
2432103: int EVP_PKEY_decapsulate_init(EVP_PKEY_CTX *ctx, const OSSL_PARAM params[]);
2432103: int EVP_PKEY_decapsulate(EVP_PKEY_CTX *ctx,
2432103: unsigned char *unwrapped, size_t *unwrappedlen,
2432103: const unsigned char *wrapped, size_t wrappedlen);
2432103:
2432103: typedef int EVP_PKEY_gen_cb(EVP_PKEY_CTX *ctx);
2432103:
2432103: int EVP_PKEY_fromdata_init(EVP_PKEY_CTX *ctx);
2432103: int EVP_PKEY_fromdata(EVP_PKEY_CTX *ctx, EVP_PKEY **ppkey, int selection,
2432103: OSSL_PARAM param[]);
2432103: const OSSL_PARAM *EVP_PKEY_fromdata_settable(EVP_PKEY_CTX *ctx, int selection);
2432103:
2432103: int EVP_PKEY_todata(const EVP_PKEY *pkey, int selection, OSSL_PARAM **params);
2432103: int EVP_PKEY_export(const EVP_PKEY *pkey, int selection,
2432103: OSSL_CALLBACK *export_cb, void *export_cbarg);
2432103:
2432103: const OSSL_PARAM *EVP_PKEY_gettable_params(const EVP_PKEY *pkey);
2432103: int EVP_PKEY_get_params(const EVP_PKEY *pkey, OSSL_PARAM params[]);
2432103: int EVP_PKEY_get_int_param(const EVP_PKEY *pkey, const char *key_name,
2432103: int *out);
2432103: int EVP_PKEY_get_size_t_param(const EVP_PKEY *pkey, const char *key_name,
2432103: size_t *out);
2432103: int EVP_PKEY_get_bn_param(const EVP_PKEY *pkey, const char *key_name,
2432103: BIGNUM **bn);
2432103: int EVP_PKEY_get_utf8_string_param(const EVP_PKEY *pkey, const char *key_name,
2432103: char *str, size_t max_buf_sz, size_t *out_sz);
2432103: int EVP_PKEY_get_octet_string_param(const EVP_PKEY *pkey, const char *key_name,
2432103: unsigned char *buf, size_t max_buf_sz,
2432103: size_t *out_sz);
2432103:
2432103: const OSSL_PARAM *EVP_PKEY_settable_params(const EVP_PKEY *pkey);
2432103: int EVP_PKEY_set_params(EVP_PKEY *pkey, OSSL_PARAM params[]);
2432103: int EVP_PKEY_set_int_param(EVP_PKEY *pkey, const char *key_name, int in);
2432103: int EVP_PKEY_set_size_t_param(EVP_PKEY *pkey, const char *key_name, size_t in);
2432103: int EVP_PKEY_set_bn_param(EVP_PKEY *pkey, const char *key_name,
2432103: const BIGNUM *bn);
2432103: int EVP_PKEY_set_utf8_string_param(EVP_PKEY *pkey, const char *key_name,
2432103: const char *str);
2432103: int EVP_PKEY_set_octet_string_param(EVP_PKEY *pkey, const char *key_name,
2432103: const unsigned char *buf, size_t bsize);
2432103:
2432103: int EVP_PKEY_get_ec_point_conv_form(const EVP_PKEY *pkey);
2432103: int EVP_PKEY_get_field_type(const EVP_PKEY *pkey);
2432103:
2432103: EVP_PKEY *EVP_PKEY_Q_keygen(OSSL_LIB_CTX *libctx, const char *propq,
2432103: const char *type, ...);
2432103: int EVP_PKEY_paramgen_init(EVP_PKEY_CTX *ctx);
2432103: int EVP_PKEY_paramgen(EVP_PKEY_CTX *ctx, EVP_PKEY **ppkey);
2432103: int EVP_PKEY_keygen_init(EVP_PKEY_CTX *ctx);
2432103: int EVP_PKEY_keygen(EVP_PKEY_CTX *ctx, EVP_PKEY **ppkey);
2432103: int EVP_PKEY_generate(EVP_PKEY_CTX *ctx, EVP_PKEY **ppkey);
2432103: int EVP_PKEY_check(EVP_PKEY_CTX *ctx);
2432103: int EVP_PKEY_public_check(EVP_PKEY_CTX *ctx);
2432103: int EVP_PKEY_public_check_quick(EVP_PKEY_CTX *ctx);
2432103: int EVP_PKEY_param_check(EVP_PKEY_CTX *ctx);
2432103: int EVP_PKEY_param_check_quick(EVP_PKEY_CTX *ctx);
2432103: int EVP_PKEY_private_check(EVP_PKEY_CTX *ctx);
2432103: int EVP_PKEY_pairwise_check(EVP_PKEY_CTX *ctx);
2432103:
2432103:
2432103:
2432103: int EVP_PKEY_set_ex_data(EVP_PKEY *key, int idx, void *arg);
2432103: void *EVP_PKEY_get_ex_data(const EVP_PKEY *key, int idx);
2432103:
2432103: void EVP_PKEY_CTX_set_cb(EVP_PKEY_CTX *ctx, EVP_PKEY_gen_cb *cb);
2432103: EVP_PKEY_gen_cb *EVP_PKEY_CTX_get_cb(EVP_PKEY_CTX *ctx);
2432103:
2432103: int EVP_PKEY_CTX_get_keygen_info(EVP_PKEY_CTX *ctx, int idx);
2432103:
2432103: void EVP_PKEY_meth_set_init(EVP_PKEY_METHOD *pmeth,
2432103: int (*init) (EVP_PKEY_CTX *ctx));
2432103: void EVP_PKEY_meth_set_copy
2432103: (EVP_PKEY_METHOD *pmeth, int (*copy) (EVP_PKEY_CTX *dst,
2432103: const EVP_PKEY_CTX *src));
2432103: void EVP_PKEY_meth_set_cleanup
2432103: (EVP_PKEY_METHOD *pmeth, void (*cleanup) (EVP_PKEY_CTX *ctx));
2432103: void EVP_PKEY_meth_set_paramgen
2432103: (EVP_PKEY_METHOD *pmeth, int (*paramgen_init) (EVP_PKEY_CTX *ctx),
2432103: int (*paramgen) (EVP_PKEY_CTX *ctx, EVP_PKEY *pkey));
2432103: void EVP_PKEY_meth_set_keygen
2432103: (EVP_PKEY_METHOD *pmeth, int (*keygen_init) (EVP_PKEY_CTX *ctx),
2432103: int (*keygen) (EVP_PKEY_CTX *ctx, EVP_PKEY *pkey));
2432103: void EVP_PKEY_meth_set_sign
2432103: (EVP_PKEY_METHOD *pmeth, int (*sign_init) (EVP_PKEY_CTX *ctx),
2432103: int (*sign) (EVP_PKEY_CTX *ctx, unsigned char *sig, size_t *siglen,
2432103: const unsigned char *tbs, size_t tbslen));
2432103: void EVP_PKEY_meth_set_verify
2432103: (EVP_PKEY_METHOD *pmeth, int (*verify_init) (EVP_PKEY_CTX *ctx),
2432103: int (*verify) (EVP_PKEY_CTX *ctx, const unsigned char *sig, size_t siglen,
2432103: const unsigned char *tbs, size_t tbslen));
2432103: void EVP_PKEY_meth_set_verify_recover
2432103: (EVP_PKEY_METHOD *pmeth, int (*verify_recover_init) (EVP_PKEY_CTX *ctx),
2432103: int (*verify_recover) (EVP_PKEY_CTX *ctx, unsigned char *sig,
2432103: size_t *siglen, const unsigned char *tbs,
2432103: size_t tbslen));
2432103: void EVP_PKEY_meth_set_signctx
2432103: (EVP_PKEY_METHOD *pmeth, int (*signctx_init) (EVP_PKEY_CTX *ctx,
2432103: EVP_MD_CTX *mctx),
2432103: int (*signctx) (EVP_PKEY_CTX *ctx, unsigned char *sig, size_t *siglen,
2432103: EVP_MD_CTX *mctx));
2432103: void EVP_PKEY_meth_set_verifyctx
2432103: (EVP_PKEY_METHOD *pmeth, int (*verifyctx_init) (EVP_PKEY_CTX *ctx,
2432103: EVP_MD_CTX *mctx),
2432103: int (*verifyctx) (EVP_PKEY_CTX *ctx, const unsigned char *sig, int siglen,
2432103: EVP_MD_CTX *mctx));
2432103: void EVP_PKEY_meth_set_encrypt
2432103: (EVP_PKEY_METHOD *pmeth, int (*encrypt_init) (EVP_PKEY_CTX *ctx),
2432103: int (*encryptfn) (EVP_PKEY_CTX *ctx, unsigned char *out, size_t *outlen,
2432103: const unsigned char *in, size_t inlen));
2432103: void EVP_PKEY_meth_set_decrypt
2432103: (EVP_PKEY_METHOD *pmeth, int (*decrypt_init) (EVP_PKEY_CTX *ctx),
2432103: int (*decrypt) (EVP_PKEY_CTX *ctx, unsigned char *out, size_t *outlen,
2432103: const unsigned char *in, size_t inlen));
2432103: void EVP_PKEY_meth_set_derive
2432103: (EVP_PKEY_METHOD *pmeth, int (*derive_init) (EVP_PKEY_CTX *ctx),
2432103: int (*derive) (EVP_PKEY_CTX *ctx, unsigned char *key, size_t *keylen));
2432103: void EVP_PKEY_meth_set_ctrl
2432103: (EVP_PKEY_METHOD *pmeth, int (*ctrl) (EVP_PKEY_CTX *ctx, int type, int p1,
2432103: void *p2),
2432103: int (*ctrl_str) (EVP_PKEY_CTX *ctx, const char *type, const char *value));
2432103: void EVP_PKEY_meth_set_digestsign
2432103: (EVP_PKEY_METHOD *pmeth,
2432103: int (*digestsign) (EVP_MD_CTX *ctx, unsigned char *sig, size_t *siglen,
2432103: const unsigned char *tbs, size_t tbslen));
2432103: void EVP_PKEY_meth_set_digestverify
2432103: (EVP_PKEY_METHOD *pmeth,
2432103: int (*digestverify) (EVP_MD_CTX *ctx, const unsigned char *sig,
2432103: size_t siglen, const unsigned char *tbs,
2432103: size_t tbslen));
2432103: void EVP_PKEY_meth_set_check
2432103: (EVP_PKEY_METHOD *pmeth, int (*check) (EVP_PKEY *pkey));
2432103: void EVP_PKEY_meth_set_public_check
2432103: (EVP_PKEY_METHOD *pmeth, int (*check) (EVP_PKEY *pkey));
2432103: void EVP_PKEY_meth_set_param_check
2432103: (EVP_PKEY_METHOD *pmeth, int (*check) (EVP_PKEY *pkey));
2432103: void EVP_PKEY_meth_set_digest_custom
2432103: (EVP_PKEY_METHOD *pmeth, int (*digest_custom) (EVP_PKEY_CTX *ctx,
2432103: EVP_MD_CTX *mctx));
2432103: void EVP_PKEY_meth_get_init
2432103: (const EVP_PKEY_METHOD *pmeth, int (**pinit) (EVP_PKEY_CTX *ctx));
2432103: void EVP_PKEY_meth_get_copy
2432103: (const EVP_PKEY_METHOD *pmeth, int (**pcopy) (EVP_PKEY_CTX *dst,
2432103: const EVP_PKEY_CTX *src));
2432103: void EVP_PKEY_meth_get_cleanup
2432103: (const EVP_PKEY_METHOD *pmeth, void (**pcleanup) (EVP_PKEY_CTX *ctx));
2432103: void EVP_PKEY_meth_get_paramgen
2432103: (const EVP_PKEY_METHOD *pmeth, int (**pparamgen_init) (EVP_PKEY_CTX *ctx),
2432103: int (**pparamgen) (EVP_PKEY_CTX *ctx, EVP_PKEY *pkey));
2432103: void EVP_PKEY_meth_get_keygen
2432103: (const EVP_PKEY_METHOD *pmeth, int (**pkeygen_init) (EVP_PKEY_CTX *ctx),
2432103: int (**pkeygen) (EVP_PKEY_CTX *ctx, EVP_PKEY *pkey));
2432103: void EVP_PKEY_meth_get_sign
2432103: (const EVP_PKEY_METHOD *pmeth, int (**psign_init) (EVP_PKEY_CTX *ctx),
2432103: int (**psign) (EVP_PKEY_CTX *ctx, unsigned char *sig, size_t *siglen,
2432103: const unsigned char *tbs, size_t tbslen));
2432103: void EVP_PKEY_meth_get_verify
2432103: (const EVP_PKEY_METHOD *pmeth, int (**pverify_init) (EVP_PKEY_CTX *ctx),
2432103: int (**pverify) (EVP_PKEY_CTX *ctx, const unsigned char *sig,
2432103: size_t siglen, const unsigned char *tbs, size_t tbslen));
2432103: void EVP_PKEY_meth_get_verify_recover
2432103: (const EVP_PKEY_METHOD *pmeth,
2432103: int (**pverify_recover_init) (EVP_PKEY_CTX *ctx),
2432103: int (**pverify_recover) (EVP_PKEY_CTX *ctx, unsigned char *sig,
2432103: size_t *siglen, const unsigned char *tbs,
2432103: size_t tbslen));
2432103: void EVP_PKEY_meth_get_signctx
2432103: (const EVP_PKEY_METHOD *pmeth,
2432103: int (**psignctx_init) (EVP_PKEY_CTX *ctx, EVP_MD_CTX *mctx),
2432103: int (**psignctx) (EVP_PKEY_CTX *ctx, unsigned char *sig, size_t *siglen,
2432103: EVP_MD_CTX *mctx));
2432103: void EVP_PKEY_meth_get_verifyctx
2432103: (const EVP_PKEY_METHOD *pmeth,
2432103: int (**pverifyctx_init) (EVP_PKEY_CTX *ctx, EVP_MD_CTX *mctx),
2432103: int (**pverifyctx) (EVP_PKEY_CTX *ctx, const unsigned char *sig,
2432103: int siglen, EVP_MD_CTX *mctx));
2432103: void EVP_PKEY_meth_get_encrypt
2432103: (const EVP_PKEY_METHOD *pmeth, int (**pencrypt_init) (EVP_PKEY_CTX *ctx),
2432103: int (**pencryptfn) (EVP_PKEY_CTX *ctx, unsigned char *out, size_t *outlen,
2432103: const unsigned char *in, size_t inlen));
2432103: void EVP_PKEY_meth_get_decrypt
2432103: (const EVP_PKEY_METHOD *pmeth, int (**pdecrypt_init) (EVP_PKEY_CTX *ctx),
2432103: int (**pdecrypt) (EVP_PKEY_CTX *ctx, unsigned char *out, size_t *outlen,
2432103: const unsigned char *in, size_t inlen));
2432103: void EVP_PKEY_meth_get_derive
2432103: (const EVP_PKEY_METHOD *pmeth, int (**pderive_init) (EVP_PKEY_CTX *ctx),
2432103: int (**pderive) (EVP_PKEY_CTX *ctx, unsigned char *key, size_t *keylen));
2432103: void EVP_PKEY_meth_get_ctrl
2432103: (const EVP_PKEY_METHOD *pmeth,
2432103: int (**pctrl) (EVP_PKEY_CTX *ctx, int type, int p1, void *p2),
2432103: int (**pctrl_str) (EVP_PKEY_CTX *ctx, const char *type,
2432103: const char *value));
2432103: void EVP_PKEY_meth_get_digestsign
2432103: (const EVP_PKEY_METHOD *pmeth,
2432103: int (**digestsign) (EVP_MD_CTX *ctx, unsigned char *sig, size_t *siglen,
2432103: const unsigned char *tbs, size_t tbslen));
2432103: void EVP_PKEY_meth_get_digestverify
2432103: (const EVP_PKEY_METHOD *pmeth,
2432103: int (**digestverify) (EVP_MD_CTX *ctx, const unsigned char *sig,
2432103: size_t siglen, const unsigned char *tbs,
2432103: size_t tbslen));
2432103: void EVP_PKEY_meth_get_check
2432103: (const EVP_PKEY_METHOD *pmeth, int (**pcheck) (EVP_PKEY *pkey));
2432103: void EVP_PKEY_meth_get_public_check
2432103: (const EVP_PKEY_METHOD *pmeth, int (**pcheck) (EVP_PKEY *pkey));
2432103: void EVP_PKEY_meth_get_param_check
2432103: (const EVP_PKEY_METHOD *pmeth, int (**pcheck) (EVP_PKEY *pkey));
2432103: void EVP_PKEY_meth_get_digest_custom
2432103: (const EVP_PKEY_METHOD *pmeth,
2432103: int (**pdigest_custom) (EVP_PKEY_CTX *ctx, EVP_MD_CTX *mctx));
2432103:
2432103:
2432103: void EVP_KEYEXCH_free(EVP_KEYEXCH *exchange);
2432103: int EVP_KEYEXCH_up_ref(EVP_KEYEXCH *exchange);
2432103: EVP_KEYEXCH *EVP_KEYEXCH_fetch(OSSL_LIB_CTX *ctx, const char *algorithm,
2432103: const char *properties);
2432103: OSSL_PROVIDER *EVP_KEYEXCH_get0_provider(const EVP_KEYEXCH *exchange);
2432103: int EVP_KEYEXCH_is_a(const EVP_KEYEXCH *keyexch, const char *name);
2432103: const char *EVP_KEYEXCH_get0_name(const EVP_KEYEXCH *keyexch);
2432103: const char *EVP_KEYEXCH_get0_description(const EVP_KEYEXCH *keyexch);
2432103: void EVP_KEYEXCH_do_all_provided(OSSL_LIB_CTX *libctx,
2432103: void (*fn)(EVP_KEYEXCH *keyexch, void *data),
2432103: void *data);
2432103: int EVP_KEYEXCH_names_do_all(const EVP_KEYEXCH *keyexch,
2432103: void (*fn)(const char *name, void *data),
2432103: void *data);
2432103: const OSSL_PARAM *EVP_KEYEXCH_gettable_ctx_params(const EVP_KEYEXCH *keyexch);
2432103: const OSSL_PARAM *EVP_KEYEXCH_settable_ctx_params(const EVP_KEYEXCH *keyexch);
2432103:
2432103: void EVP_add_alg_module(void);
2432103:
2432103: int EVP_PKEY_CTX_set_group_name(EVP_PKEY_CTX *ctx, const char *name);
2432103: int EVP_PKEY_CTX_get_group_name(EVP_PKEY_CTX *ctx, char *name, size_t namelen);
2432103: int EVP_PKEY_get_group_name(const EVP_PKEY *pkey, char *name, size_t name_sz,
2432103: size_t *gname_len);
2432103:
2432103: OSSL_LIB_CTX *EVP_PKEY_CTX_get0_libctx(EVP_PKEY_CTX *ctx);
2432103: const char *EVP_PKEY_CTX_get0_propq(const EVP_PKEY_CTX *ctx);
2432103: const OSSL_PROVIDER *EVP_PKEY_CTX_get0_provider(const EVP_PKEY_CTX *ctx);
2432103: # 74 "../../packet.c" 2
2432103:
2432103: # 1 "/usr/include/openssl/ec.h" 1 3 4
2432103: # 13 "/usr/include/openssl/ec.h" 3 4
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: # 1 "/usr/include/openssl/types.h" 1 3 4
2432103: # 22 "/usr/include/openssl/ec.h" 2 3 4
2432103: # 33 "/usr/include/openssl/ec.h" 3 4
2432103: int EVP_PKEY_CTX_set_ec_paramgen_curve_nid(EVP_PKEY_CTX *ctx, int nid);
2432103: int EVP_PKEY_CTX_set_ec_param_enc(EVP_PKEY_CTX *ctx, int param_enc);
2432103: int EVP_PKEY_CTX_set_ecdh_cofactor_mode(EVP_PKEY_CTX *ctx, int cofactor_mode);
2432103: int EVP_PKEY_CTX_get_ecdh_cofactor_mode(EVP_PKEY_CTX *ctx);
2432103:
2432103: int EVP_PKEY_CTX_set_ecdh_kdf_type(EVP_PKEY_CTX *ctx, int kdf);
2432103: int EVP_PKEY_CTX_get_ecdh_kdf_type(EVP_PKEY_CTX *ctx);
2432103:
2432103: int EVP_PKEY_CTX_set_ecdh_kdf_md(EVP_PKEY_CTX *ctx, const EVP_MD *md);
2432103: int EVP_PKEY_CTX_get_ecdh_kdf_md(EVP_PKEY_CTX *ctx, const EVP_MD **md);
2432103:
2432103: int EVP_PKEY_CTX_set_ecdh_kdf_outlen(EVP_PKEY_CTX *ctx, int len);
2432103: int EVP_PKEY_CTX_get_ecdh_kdf_outlen(EVP_PKEY_CTX *ctx, int *len);
2432103:
2432103: int EVP_PKEY_CTX_set0_ecdh_kdf_ukm(EVP_PKEY_CTX *ctx, unsigned char *ukm,
2432103: int len);
2432103:
2432103:
2432103: int EVP_PKEY_CTX_get0_ecdh_kdf_ukm(EVP_PKEY_CTX *ctx, unsigned char **ukm);
2432103: # 78 "/usr/include/openssl/ec.h" 3 4
2432103: typedef enum {
2432103:
2432103:
2432103: POINT_CONVERSION_COMPRESSED = 2,
2432103:
2432103: POINT_CONVERSION_UNCOMPRESSED = 4,
2432103:
2432103:
2432103: POINT_CONVERSION_HYBRID = 6
2432103: } point_conversion_form_t;
2432103:
2432103: const char *OSSL_EC_curve_nid2name(int nid);
2432103: # 100 "/usr/include/openssl/ec.h" 3 4
2432103: # 1 "/usr/include/openssl/ecerr.h" 1 3 4
2432103: # 13 "/usr/include/openssl/ecerr.h" 3 4
2432103:
2432103: # 101 "/usr/include/openssl/ec.h" 2 3 4
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: typedef struct ec_method_st EC_METHOD;
2432103:
2432103: typedef struct ec_group_st EC_GROUP;
2432103: typedef struct ec_point_st EC_POINT;
2432103: typedef struct ecpk_parameters_st ECPKPARAMETERS;
2432103: typedef struct ec_parameters_st ECPARAMETERS;
2432103: # 124 "/usr/include/openssl/ec.h" 3 4
2432103: const EC_METHOD *EC_GFp_simple_method(void);
2432103:
2432103:
2432103:
2432103:
2432103: const EC_METHOD *EC_GFp_mont_method(void);
2432103:
2432103:
2432103:
2432103:
2432103: const EC_METHOD *EC_GFp_nist_method(void);
2432103: # 161 "/usr/include/openssl/ec.h" 3 4
2432103: const EC_METHOD *EC_GF2m_simple_method(void);
2432103: # 174 "/usr/include/openssl/ec.h" 3 4
2432103: EC_GROUP *EC_GROUP_new(const EC_METHOD *meth);
2432103:
2432103:
2432103:
2432103:
2432103: void EC_GROUP_clear_free(EC_GROUP *group);
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: const EC_METHOD *EC_GROUP_method_of(const EC_GROUP *group);
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: int EC_METHOD_get_field_type(const EC_METHOD *meth);
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: void EC_GROUP_free(EC_GROUP *group);
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: int EC_GROUP_copy(EC_GROUP *dst, const EC_GROUP *src);
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: EC_GROUP *EC_GROUP_dup(const EC_GROUP *src);
2432103: # 221 "/usr/include/openssl/ec.h" 3 4
2432103: int EC_GROUP_set_generator(EC_GROUP *group, const EC_POINT *generator,
2432103: const BIGNUM *order, const BIGNUM *cofactor);
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: const EC_POINT *EC_GROUP_get0_generator(const EC_GROUP *group);
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: BN_MONT_CTX *EC_GROUP_get_mont_data(const EC_GROUP *group);
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: int EC_GROUP_get_order(const EC_GROUP *group, BIGNUM *order, BN_CTX *ctx);
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: const BIGNUM *EC_GROUP_get0_order(const EC_GROUP *group);
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: int EC_GROUP_order_bits(const EC_GROUP *group);
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: int EC_GROUP_get_cofactor(const EC_GROUP *group, BIGNUM *cofactor,
2432103: BN_CTX *ctx);
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: const BIGNUM *EC_GROUP_get0_cofactor(const EC_GROUP *group);
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: void EC_GROUP_set_curve_name(EC_GROUP *group, int nid);
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: int EC_GROUP_get_curve_name(const EC_GROUP *group);
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: const BIGNUM *EC_GROUP_get0_field(const EC_GROUP *group);
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: int EC_GROUP_get_field_type(const EC_GROUP *group);
2432103:
2432103: void EC_GROUP_set_asn1_flag(EC_GROUP *group, int flag);
2432103: int EC_GROUP_get_asn1_flag(const EC_GROUP *group);
2432103:
2432103: void EC_GROUP_set_point_conversion_form(EC_GROUP *group,
2432103: point_conversion_form_t form);
2432103: point_conversion_form_t EC_GROUP_get_point_conversion_form(const EC_GROUP *);
2432103:
2432103: unsigned char *EC_GROUP_get0_seed(const EC_GROUP *x);
2432103: size_t EC_GROUP_get_seed_len(const EC_GROUP *);
2432103: size_t EC_GROUP_set_seed(EC_GROUP *, const unsigned char *, size_t len);
2432103: # 316 "/usr/include/openssl/ec.h" 3 4
2432103: int EC_GROUP_set_curve(EC_GROUP *group, const BIGNUM *p, const BIGNUM *a,
2432103: const BIGNUM *b, BN_CTX *ctx);
2432103: # 329 "/usr/include/openssl/ec.h" 3 4
2432103: int EC_GROUP_get_curve(const EC_GROUP *group, BIGNUM *p, BIGNUM *a, BIGNUM *b,
2432103: BN_CTX *ctx);
2432103: # 342 "/usr/include/openssl/ec.h" 3 4
2432103: int EC_GROUP_set_curve_GFp(EC_GROUP *group,
2432103: const BIGNUM *p,
2432103: const BIGNUM *a,
2432103: const BIGNUM *b,
2432103: BN_CTX *ctx);
2432103: # 357 "/usr/include/openssl/ec.h" 3 4
2432103: int EC_GROUP_get_curve_GFp(const EC_GROUP *group,
2432103: BIGNUM *p,
2432103: BIGNUM *a, BIGNUM *b,
2432103: BN_CTX *ctx);
2432103: # 372 "/usr/include/openssl/ec.h" 3 4
2432103: int EC_GROUP_set_curve_GF2m(EC_GROUP *group,
2432103: const BIGNUM *p,
2432103: const BIGNUM *a,
2432103: const BIGNUM *b,
2432103: BN_CTX *ctx);
2432103: # 387 "/usr/include/openssl/ec.h" 3 4
2432103: int EC_GROUP_get_curve_GF2m(const EC_GROUP *group,
2432103: BIGNUM *p,
2432103: BIGNUM *a, BIGNUM *b,
2432103: BN_CTX *ctx);
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: int EC_GROUP_get_degree(const EC_GROUP *group);
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: int EC_GROUP_check(const EC_GROUP *group, BN_CTX *ctx);
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: int EC_GROUP_check_discriminant(const EC_GROUP *group, BN_CTX *ctx);
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: int EC_GROUP_cmp(const EC_GROUP *a, const EC_GROUP *b, BN_CTX *ctx);
2432103: # 435 "/usr/include/openssl/ec.h" 3 4
2432103: EC_GROUP *EC_GROUP_new_curve_GFp(const BIGNUM *p, const BIGNUM *a,
2432103: const BIGNUM *b, BN_CTX *ctx);
2432103: # 446 "/usr/include/openssl/ec.h" 3 4
2432103: EC_GROUP *EC_GROUP_new_curve_GF2m(const BIGNUM *p, const BIGNUM *a,
2432103: const BIGNUM *b, BN_CTX *ctx);
2432103: # 460 "/usr/include/openssl/ec.h" 3 4
2432103: EC_GROUP *EC_GROUP_new_from_params(const OSSL_PARAM params[],
2432103: OSSL_LIB_CTX *libctx, const char *propq);
2432103: # 472 "/usr/include/openssl/ec.h" 3 4
2432103: EC_GROUP *EC_GROUP_new_by_curve_name_ex(OSSL_LIB_CTX *libctx, const char *propq,
2432103: int nid);
2432103: # 483 "/usr/include/openssl/ec.h" 3 4
2432103: EC_GROUP *EC_GROUP_new_by_curve_name(int nid);
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: EC_GROUP *EC_GROUP_new_from_ecparameters(const ECPARAMETERS *params);
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: ECPARAMETERS *EC_GROUP_get_ecparameters(const EC_GROUP *group,
2432103: ECPARAMETERS *params);
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: EC_GROUP *EC_GROUP_new_from_ecpkparameters(const ECPKPARAMETERS *params);
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: ECPKPARAMETERS *EC_GROUP_get_ecpkparameters(const EC_GROUP *group,
2432103: ECPKPARAMETERS *params);
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: typedef struct {
2432103: int nid;
2432103: const char *comment;
2432103: } EC_builtin_curve;
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: size_t EC_get_builtin_curves(EC_builtin_curve *r, size_t nitems);
2432103:
2432103: const char *EC_curve_nid2nist(int nid);
2432103: int EC_curve_nist2nid(const char *name);
2432103: int EC_GROUP_check_named_curve(const EC_GROUP *group, int nist_only,
2432103: BN_CTX *ctx);
2432103: # 547 "/usr/include/openssl/ec.h" 3 4
2432103: EC_POINT *EC_POINT_new(const EC_GROUP *group);
2432103:
2432103:
2432103:
2432103:
2432103: void EC_POINT_free(EC_POINT *point);
2432103:
2432103:
2432103:
2432103:
2432103: void EC_POINT_clear_free(EC_POINT *point);
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: int EC_POINT_copy(EC_POINT *dst, const EC_POINT *src);
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: EC_POINT *EC_POINT_dup(const EC_POINT *src, const EC_GROUP *group);
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: int EC_POINT_set_to_infinity(const EC_GROUP *group, EC_POINT *point);
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: const EC_METHOD *EC_POINT_method_of(const EC_POINT *point);
2432103: # 597 "/usr/include/openssl/ec.h" 3 4
2432103: int EC_POINT_set_Jprojective_coordinates_GFp
2432103: (const EC_GROUP *group, EC_POINT *p,
2432103: const BIGNUM *x, const BIGNUM *y, const BIGNUM *z,
2432103: BN_CTX *ctx);
2432103: # 611 "/usr/include/openssl/ec.h" 3 4
2432103: int EC_POINT_get_Jprojective_coordinates_GFp
2432103: (const EC_GROUP *group, const EC_POINT *p,
2432103: BIGNUM *x, BIGNUM *y, BIGNUM *z, BN_CTX *ctx);
2432103: # 624 "/usr/include/openssl/ec.h" 3 4
2432103: int EC_POINT_set_affine_coordinates(const EC_GROUP *group, EC_POINT *p,
2432103: const BIGNUM *x, const BIGNUM *y,
2432103: BN_CTX *ctx);
2432103: # 636 "/usr/include/openssl/ec.h" 3 4
2432103: int EC_POINT_get_affine_coordinates(const EC_GROUP *group, const EC_POINT *p,
2432103: BIGNUM *x, BIGNUM *y, BN_CTX *ctx);
2432103: # 649 "/usr/include/openssl/ec.h" 3 4
2432103: int EC_POINT_set_affine_coordinates_GFp
2432103: (const EC_GROUP *group, EC_POINT *p,
2432103: const BIGNUM *x, const BIGNUM *y, BN_CTX *ctx);
2432103: # 662 "/usr/include/openssl/ec.h" 3 4
2432103: int EC_POINT_get_affine_coordinates_GFp
2432103: (const EC_GROUP *group, const EC_POINT *p,
2432103: BIGNUM *x, BIGNUM *y, BN_CTX *ctx);
2432103: # 675 "/usr/include/openssl/ec.h" 3 4
2432103: int EC_POINT_set_compressed_coordinates(const EC_GROUP *group, EC_POINT *p,
2432103: const BIGNUM *x, int y_bit,
2432103: BN_CTX *ctx);
2432103: # 689 "/usr/include/openssl/ec.h" 3 4
2432103: int EC_POINT_set_compressed_coordinates_GFp
2432103: (const EC_GROUP *group, EC_POINT *p,
2432103: const BIGNUM *x, int y_bit, BN_CTX *ctx);
2432103: # 702 "/usr/include/openssl/ec.h" 3 4
2432103: int EC_POINT_set_affine_coordinates_GF2m
2432103: (const EC_GROUP *group, EC_POINT *p,
2432103: const BIGNUM *x, const BIGNUM *y, BN_CTX *ctx);
2432103: # 715 "/usr/include/openssl/ec.h" 3 4
2432103: int EC_POINT_get_affine_coordinates_GF2m
2432103: (const EC_GROUP *group, const EC_POINT *p,
2432103: BIGNUM *x, BIGNUM *y, BN_CTX *ctx);
2432103: # 728 "/usr/include/openssl/ec.h" 3 4
2432103: int EC_POINT_set_compressed_coordinates_GF2m
2432103: (const EC_GROUP *group, EC_POINT *p,
2432103: const BIGNUM *x, int y_bit, BN_CTX *ctx);
2432103: # 744 "/usr/include/openssl/ec.h" 3 4
2432103: size_t EC_POINT_point2oct(const EC_GROUP *group, const EC_POINT *p,
2432103: point_conversion_form_t form,
2432103: unsigned char *buf, size_t len, BN_CTX *ctx);
2432103: # 756 "/usr/include/openssl/ec.h" 3 4
2432103: int EC_POINT_oct2point(const EC_GROUP *group, EC_POINT *p,
2432103: const unsigned char *buf, size_t len, BN_CTX *ctx);
2432103: # 767 "/usr/include/openssl/ec.h" 3 4
2432103: size_t EC_POINT_point2buf(const EC_GROUP *group, const EC_POINT *point,
2432103: point_conversion_form_t form,
2432103: unsigned char **pbuf, BN_CTX *ctx);
2432103:
2432103:
2432103:
2432103: BIGNUM *EC_POINT_point2bn(const EC_GROUP *,
2432103: const EC_POINT *,
2432103: point_conversion_form_t form,
2432103: BIGNUM *, BN_CTX *);
2432103: EC_POINT *EC_POINT_bn2point(const EC_GROUP *,
2432103: const BIGNUM *,
2432103: EC_POINT *, BN_CTX *);
2432103:
2432103:
2432103: char *EC_POINT_point2hex(const EC_GROUP *, const EC_POINT *,
2432103: point_conversion_form_t form, BN_CTX *);
2432103: EC_POINT *EC_POINT_hex2point(const EC_GROUP *, const char *,
2432103: EC_POINT *, BN_CTX *);
2432103: # 799 "/usr/include/openssl/ec.h" 3 4
2432103: int EC_POINT_add(const EC_GROUP *group, EC_POINT *r, const EC_POINT *a,
2432103: const EC_POINT *b, BN_CTX *ctx);
2432103: # 809 "/usr/include/openssl/ec.h" 3 4
2432103: int EC_POINT_dbl(const EC_GROUP *group, EC_POINT *r, const EC_POINT *a,
2432103: BN_CTX *ctx);
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: int EC_POINT_invert(const EC_GROUP *group, EC_POINT *a, BN_CTX *ctx);
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: int EC_POINT_is_at_infinity(const EC_GROUP *group, const EC_POINT *p);
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: int EC_POINT_is_on_curve(const EC_GROUP *group, const EC_POINT *point,
2432103: BN_CTX *ctx);
2432103: # 843 "/usr/include/openssl/ec.h" 3 4
2432103: int EC_POINT_cmp(const EC_GROUP *group, const EC_POINT *a, const EC_POINT *b,
2432103: BN_CTX *ctx);
2432103:
2432103:
2432103: int EC_POINT_make_affine(const EC_GROUP *group,
2432103: EC_POINT *point, BN_CTX *ctx);
2432103: int EC_POINTs_make_affine(const EC_GROUP *group, size_t num,
2432103: EC_POINT *points[], BN_CTX *ctx);
2432103: # 862 "/usr/include/openssl/ec.h" 3 4
2432103: int EC_POINTs_mul(const EC_GROUP *group, EC_POINT *r,
2432103: const BIGNUM *n, size_t num,
2432103: const EC_POINT *p[], const BIGNUM *m[],
2432103: BN_CTX *ctx);
2432103: # 877 "/usr/include/openssl/ec.h" 3 4
2432103: int EC_POINT_mul(const EC_GROUP *group, EC_POINT *r, const BIGNUM *n,
2432103: const EC_POINT *q, const BIGNUM *m, BN_CTX *ctx);
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: int EC_GROUP_precompute_mult(EC_GROUP *group, BN_CTX *ctx);
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: int EC_GROUP_have_precompute_mult(const EC_GROUP *group);
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern const ASN1_ITEM * ECPKPARAMETERS_it(void);
2432103: extern ECPKPARAMETERS *ECPKPARAMETERS_new(void); extern void ECPKPARAMETERS_free(ECPKPARAMETERS *a);
2432103: extern const ASN1_ITEM * ECPARAMETERS_it(void);
2432103: extern ECPARAMETERS *ECPARAMETERS_new(void); extern void ECPARAMETERS_free(ECPARAMETERS *a);
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: int EC_GROUP_get_basis_type(const EC_GROUP *);
2432103:
2432103: int EC_GROUP_get_trinomial_basis(const EC_GROUP *, unsigned int *k);
2432103: int EC_GROUP_get_pentanomial_basis(const EC_GROUP *, unsigned int *k1,
2432103: unsigned int *k2, unsigned int *k3);
2432103:
2432103:
2432103: EC_GROUP *d2i_ECPKParameters(EC_GROUP **, const unsigned char **in, long len);
2432103: int i2d_ECPKParameters(const EC_GROUP *, unsigned char **out);
2432103: # 929 "/usr/include/openssl/ec.h" 3 4
2432103: int ECPKParameters_print(BIO *bp, const EC_GROUP *x,
2432103: int off);
2432103:
2432103: int ECPKParameters_print_fp(FILE *fp, const EC_GROUP *x,
2432103: int off);
2432103: # 964 "/usr/include/openssl/ec.h" 3 4
2432103: EC_KEY *EC_KEY_new_ex(OSSL_LIB_CTX *ctx, const char *propq);
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: EC_KEY *EC_KEY_new(void);
2432103:
2432103: int EC_KEY_get_flags(const EC_KEY *key);
2432103:
2432103: void EC_KEY_set_flags(EC_KEY *key, int flags);
2432103:
2432103: void EC_KEY_clear_flags(EC_KEY *key, int flags);
2432103:
2432103: int EC_KEY_decoded_from_explicit_params(const EC_KEY *key);
2432103: # 990 "/usr/include/openssl/ec.h" 3 4
2432103: EC_KEY *EC_KEY_new_by_curve_name_ex(OSSL_LIB_CTX *ctx,
2432103: const char *propq,
2432103: int nid);
2432103: # 1001 "/usr/include/openssl/ec.h" 3 4
2432103: EC_KEY *EC_KEY_new_by_curve_name(int nid);
2432103:
2432103:
2432103:
2432103:
2432103: void EC_KEY_free(EC_KEY *key);
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: EC_KEY *EC_KEY_copy(EC_KEY *dst, const EC_KEY *src);
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: EC_KEY *EC_KEY_dup(const EC_KEY *src);
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: int EC_KEY_up_ref(EC_KEY *key);
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: ENGINE *EC_KEY_get0_engine(const EC_KEY *eckey);
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key);
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: int EC_KEY_set_group(EC_KEY *key, const EC_GROUP *group);
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: const BIGNUM *EC_KEY_get0_private_key(const EC_KEY *key);
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: int EC_KEY_set_private_key(EC_KEY *key, const BIGNUM *prv);
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: const EC_POINT *EC_KEY_get0_public_key(const EC_KEY *key);
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: int EC_KEY_set_public_key(EC_KEY *key, const EC_POINT *pub);
2432103:
2432103: unsigned EC_KEY_get_enc_flags(const EC_KEY *key);
2432103: void EC_KEY_set_enc_flags(EC_KEY *eckey, unsigned int flags);
2432103: point_conversion_form_t EC_KEY_get_conv_form(const EC_KEY *key);
2432103: void EC_KEY_set_conv_form(EC_KEY *eckey,
2432103: point_conversion_form_t cform);
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: int EC_KEY_set_ex_data(EC_KEY *key, int idx, void *arg);
2432103: void *EC_KEY_get_ex_data(const EC_KEY *key, int idx);
2432103:
2432103:
2432103: void EC_KEY_set_asn1_flag(EC_KEY *eckey, int asn1_flag);
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: int EC_KEY_precompute_mult(EC_KEY *key, BN_CTX *ctx);
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: int EC_KEY_generate_key(EC_KEY *key);
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: int EC_KEY_check_key(const EC_KEY *key);
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: int EC_KEY_can_sign(const EC_KEY *eckey);
2432103: # 1125 "/usr/include/openssl/ec.h" 3 4
2432103: int EC_KEY_set_public_key_affine_coordinates(EC_KEY *key,
2432103: BIGNUM *x,
2432103: BIGNUM *y);
2432103: # 1136 "/usr/include/openssl/ec.h" 3 4
2432103: size_t EC_KEY_key2buf(const EC_KEY *key,
2432103: point_conversion_form_t form,
2432103: unsigned char **pbuf, BN_CTX *ctx);
2432103: # 1148 "/usr/include/openssl/ec.h" 3 4
2432103: int EC_KEY_oct2key(EC_KEY *key, const unsigned char *buf,
2432103: size_t len, BN_CTX *ctx);
2432103: # 1158 "/usr/include/openssl/ec.h" 3 4
2432103: int EC_KEY_oct2priv(EC_KEY *key, const unsigned char *buf,
2432103: size_t len);
2432103: # 1169 "/usr/include/openssl/ec.h" 3 4
2432103: size_t EC_KEY_priv2oct(const EC_KEY *key,
2432103: unsigned char *buf, size_t len);
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: size_t EC_KEY_priv2buf(const EC_KEY *eckey,
2432103: unsigned char **pbuf);
2432103: # 1190 "/usr/include/openssl/ec.h" 3 4
2432103: EC_KEY *d2i_ECPrivateKey(EC_KEY **key,
2432103: const unsigned char **in,
2432103: long len);
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: int i2d_ECPrivateKey(const EC_KEY *key,
2432103: unsigned char **out);
2432103: # 1214 "/usr/include/openssl/ec.h" 3 4
2432103: EC_KEY *d2i_ECParameters(EC_KEY **key,
2432103: const unsigned char **in,
2432103: long len);
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: int i2d_ECParameters(const EC_KEY *key,
2432103: unsigned char **out);
2432103: # 1239 "/usr/include/openssl/ec.h" 3 4
2432103: EC_KEY *o2i_ECPublicKey(EC_KEY **key,
2432103: const unsigned char **in, long len);
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: int i2o_ECPublicKey(const EC_KEY *key, unsigned char **out);
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: int ECParameters_print(BIO *bp, const EC_KEY *key);
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: int EC_KEY_print(BIO *bp, const EC_KEY *key, int off);
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: int ECParameters_print_fp(FILE *fp, const EC_KEY *key);
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: int EC_KEY_print_fp(FILE *fp, const EC_KEY *key, int off);
2432103:
2432103:
2432103: const EC_KEY_METHOD *EC_KEY_OpenSSL(void);
2432103: const EC_KEY_METHOD *EC_KEY_get_default_method(void);
2432103: void EC_KEY_set_default_method(const EC_KEY_METHOD *meth);
2432103: const EC_KEY_METHOD *EC_KEY_get_method(const EC_KEY *key);
2432103: int EC_KEY_set_method(EC_KEY *key, const EC_KEY_METHOD *meth);
2432103: EC_KEY *EC_KEY_new_method(ENGINE *engine);
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: int ECDH_KDF_X9_62(unsigned char *out, size_t outlen,
2432103: const unsigned char *Z, size_t Zlen,
2432103: const unsigned char *sinfo,
2432103: size_t sinfolen, const EVP_MD *md);
2432103:
2432103: int ECDH_compute_key(void *out, size_t outlen,
2432103: const EC_POINT *pub_key,
2432103: const EC_KEY *ecdh,
2432103: void *(*KDF)(const void *in,
2432103: size_t inlen, void *out,
2432103: size_t *outlen));
2432103:
2432103:
2432103: typedef struct ECDSA_SIG_st ECDSA_SIG;
2432103:
2432103:
2432103:
2432103:
2432103: ECDSA_SIG *ECDSA_SIG_new(void);
2432103:
2432103:
2432103:
2432103:
2432103: void ECDSA_SIG_free(ECDSA_SIG *sig);
2432103: # 1326 "/usr/include/openssl/ec.h" 3 4
2432103: extern ECDSA_SIG *d2i_ECDSA_SIG(ECDSA_SIG **a, const unsigned char **in, long len); extern int i2d_ECDSA_SIG(const ECDSA_SIG *a, unsigned char **out);
2432103: # 1341 "/usr/include/openssl/ec.h" 3 4
2432103: void ECDSA_SIG_get0(const ECDSA_SIG *sig, const BIGNUM **pr, const BIGNUM **ps);
2432103:
2432103:
2432103:
2432103:
2432103: const BIGNUM *ECDSA_SIG_get0_r(const ECDSA_SIG *sig);
2432103:
2432103:
2432103:
2432103:
2432103: const BIGNUM *ECDSA_SIG_get0_s(const ECDSA_SIG *sig);
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: int ECDSA_SIG_set0(ECDSA_SIG *sig, BIGNUM *r, BIGNUM *s);
2432103: # 1368 "/usr/include/openssl/ec.h" 3 4
2432103: ECDSA_SIG *ECDSA_do_sign(const unsigned char *dgst,
2432103: int dgst_len, EC_KEY *eckey);
2432103: # 1381 "/usr/include/openssl/ec.h" 3 4
2432103: ECDSA_SIG *ECDSA_do_sign_ex(const unsigned char *dgst,
2432103: int dgstlen, const BIGNUM *kinv,
2432103: const BIGNUM *rp, EC_KEY *eckey);
2432103: # 1394 "/usr/include/openssl/ec.h" 3 4
2432103: int ECDSA_do_verify(const unsigned char *dgst, int dgst_len,
2432103: const ECDSA_SIG *sig, EC_KEY *eckey);
2432103: # 1404 "/usr/include/openssl/ec.h" 3 4
2432103: int ECDSA_sign_setup(EC_KEY *eckey, BN_CTX *ctx,
2432103: BIGNUM **kinv, BIGNUM **rp);
2432103: # 1417 "/usr/include/openssl/ec.h" 3 4
2432103: int ECDSA_sign(int type, const unsigned char *dgst,
2432103: int dgstlen, unsigned char *sig,
2432103: unsigned int *siglen, EC_KEY *eckey);
2432103: # 1434 "/usr/include/openssl/ec.h" 3 4
2432103: int ECDSA_sign_ex(int type, const unsigned char *dgst,
2432103: int dgstlen, unsigned char *sig,
2432103: unsigned int *siglen, const BIGNUM *kinv,
2432103: const BIGNUM *rp, EC_KEY *eckey);
2432103: # 1450 "/usr/include/openssl/ec.h" 3 4
2432103: int ECDSA_verify(int type, const unsigned char *dgst,
2432103: int dgstlen, const unsigned char *sig,
2432103: int siglen, EC_KEY *eckey);
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: int ECDSA_size(const EC_KEY *eckey);
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: EC_KEY_METHOD *EC_KEY_METHOD_new(const EC_KEY_METHOD *meth);
2432103: void EC_KEY_METHOD_free(EC_KEY_METHOD *meth);
2432103: void EC_KEY_METHOD_set_init
2432103: (EC_KEY_METHOD *meth,
2432103: int (*init)(EC_KEY *key),
2432103: void (*finish)(EC_KEY *key),
2432103: int (*copy)(EC_KEY *dest, const EC_KEY *src),
2432103: int (*set_group)(EC_KEY *key, const EC_GROUP *grp),
2432103: int (*set_private)(EC_KEY *key, const BIGNUM *priv_key),
2432103: int (*set_public)(EC_KEY *key, const EC_POINT *pub_key));
2432103:
2432103: void EC_KEY_METHOD_set_keygen(EC_KEY_METHOD *meth,
2432103: int (*keygen)(EC_KEY *key));
2432103:
2432103: void EC_KEY_METHOD_set_compute_key
2432103: (EC_KEY_METHOD *meth,
2432103: int (*ckey)(unsigned char **psec, size_t *pseclen,
2432103: const EC_POINT *pub_key, const EC_KEY *ecdh));
2432103:
2432103: void EC_KEY_METHOD_set_sign
2432103: (EC_KEY_METHOD *meth,
2432103: int (*sign)(int type, const unsigned char *dgst,
2432103: int dlen, unsigned char *sig,
2432103: unsigned int *siglen,
2432103: const BIGNUM *kinv, const BIGNUM *r,
2432103: EC_KEY *eckey),
2432103: int (*sign_setup)(EC_KEY *eckey, BN_CTX *ctx_in,
2432103: BIGNUM **kinvp, BIGNUM **rp),
2432103: ECDSA_SIG *(*sign_sig)(const unsigned char *dgst,
2432103: int dgst_len,
2432103: const BIGNUM *in_kinv,
2432103: const BIGNUM *in_r,
2432103: EC_KEY *eckey));
2432103:
2432103: void EC_KEY_METHOD_set_verify
2432103: (EC_KEY_METHOD *meth,
2432103: int (*verify)(int type, const unsigned
2432103: char *dgst, int dgst_len,
2432103: const unsigned char *sigbuf,
2432103: int sig_len, EC_KEY *eckey),
2432103: int (*verify_sig)(const unsigned char *dgst,
2432103: int dgst_len, const ECDSA_SIG *sig,
2432103: EC_KEY *eckey));
2432103:
2432103: void EC_KEY_METHOD_get_init
2432103: (const EC_KEY_METHOD *meth,
2432103: int (**pinit)(EC_KEY *key),
2432103: void (**pfinish)(EC_KEY *key),
2432103: int (**pcopy)(EC_KEY *dest, const EC_KEY *src),
2432103: int (**pset_group)(EC_KEY *key, const EC_GROUP *grp),
2432103: int (**pset_private)(EC_KEY *key, const BIGNUM *priv_key),
2432103: int (**pset_public)(EC_KEY *key, const EC_POINT *pub_key));
2432103:
2432103: void EC_KEY_METHOD_get_keygen
2432103: (const EC_KEY_METHOD *meth, int (**pkeygen)(EC_KEY *key));
2432103:
2432103: void EC_KEY_METHOD_get_compute_key
2432103: (const EC_KEY_METHOD *meth,
2432103: int (**pck)(unsigned char **psec,
2432103: size_t *pseclen,
2432103: const EC_POINT *pub_key,
2432103: const EC_KEY *ecdh));
2432103:
2432103: void EC_KEY_METHOD_get_sign
2432103: (const EC_KEY_METHOD *meth,
2432103: int (**psign)(int type, const unsigned char *dgst,
2432103: int dlen, unsigned char *sig,
2432103: unsigned int *siglen,
2432103: const BIGNUM *kinv, const BIGNUM *r,
2432103: EC_KEY *eckey),
2432103: int (**psign_setup)(EC_KEY *eckey, BN_CTX *ctx_in,
2432103: BIGNUM **kinvp, BIGNUM **rp),
2432103: ECDSA_SIG *(**psign_sig)(const unsigned char *dgst,
2432103: int dgst_len,
2432103: const BIGNUM *in_kinv,
2432103: const BIGNUM *in_r,
2432103: EC_KEY *eckey));
2432103:
2432103: void EC_KEY_METHOD_get_verify
2432103: (const EC_KEY_METHOD *meth,
2432103: int (**pverify)(int type, const unsigned
2432103: char *dgst, int dgst_len,
2432103: const unsigned char *sigbuf,
2432103: int sig_len, EC_KEY *eckey),
2432103: int (**pverify_sig)(const unsigned char *dgst,
2432103: int dgst_len,
2432103: const ECDSA_SIG *sig,
2432103: EC_KEY *eckey));
2432103: # 76 "../../packet.c" 2
2432103:
2432103:
2432103:
2432103:
2432103: # 1 "/usr/include/zlib.h" 1 3 4
2432103: # 34 "/usr/include/zlib.h" 3 4
2432103: # 1 "/usr/include/zconf.h" 1 3 4
2432103: # 254 "/usr/include/zconf.h" 3 4
2432103: # 1 "/usr/lib/gcc/m68k-linux-gnu/13/include/stddef.h" 1 3 4
2432103: # 255 "/usr/include/zconf.h" 2 3 4
2432103: typedef size_t z_size_t;
2432103: # 401 "/usr/include/zconf.h" 3 4
2432103: typedef unsigned char Byte;
2432103:
2432103: typedef unsigned int uInt;
2432103: typedef unsigned long uLong;
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: typedef Byte Bytef;
2432103:
2432103: typedef char charf;
2432103: typedef int intf;
2432103: typedef uInt uIntf;
2432103: typedef uLong uLongf;
2432103:
2432103:
2432103: typedef void const *voidpc;
2432103: typedef void *voidpf;
2432103: typedef void *voidp;
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: # 1 "/usr/lib/gcc/m68k-linux-gnu/13/include/limits.h" 1 3 4
2432103: # 429 "/usr/include/zconf.h" 2 3 4
2432103: # 439 "/usr/include/zconf.h" 3 4
2432103: typedef unsigned z_crc_t;
2432103: # 35 "/usr/include/zlib.h" 2 3 4
2432103: # 81 "/usr/include/zlib.h" 3 4
2432103: typedef voidpf (*alloc_func)(voidpf opaque, uInt items, uInt size);
2432103: typedef void (*free_func)(voidpf opaque, voidpf address);
2432103:
2432103: struct internal_state;
2432103:
2432103: typedef struct z_stream_s {
2432103: Bytef *next_in;
2432103: uInt avail_in;
2432103: uLong total_in;
2432103:
2432103: Bytef *next_out;
2432103: uInt avail_out;
2432103: uLong total_out;
2432103:
2432103: char *msg;
2432103: struct internal_state *state;
2432103:
2432103: alloc_func zalloc;
2432103: free_func zfree;
2432103: voidpf opaque;
2432103:
2432103: int data_type;
2432103:
2432103: uLong adler;
2432103: uLong reserved;
2432103: } z_stream;
2432103:
2432103: typedef z_stream *z_streamp;
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: typedef struct gz_header_s {
2432103: int text;
2432103: uLong time;
2432103: int xflags;
2432103: int os;
2432103: Bytef *extra;
2432103: uInt extra_len;
2432103: uInt extra_max;
2432103: Bytef *name;
2432103: uInt name_max;
2432103: Bytef *comment;
2432103: uInt comm_max;
2432103: int hcrc;
2432103: int done;
2432103:
2432103: } gz_header;
2432103:
2432103: typedef gz_header *gz_headerp;
2432103: # 220 "/usr/include/zlib.h" 3 4
2432103: extern const char * zlibVersion(void);
2432103: # 250 "/usr/include/zlib.h" 3 4
2432103: extern int deflate(z_streamp strm, int flush);
2432103: # 363 "/usr/include/zlib.h" 3 4
2432103: extern int deflateEnd(z_streamp strm);
2432103: # 401 "/usr/include/zlib.h" 3 4
2432103: extern int inflate(z_streamp strm, int flush);
2432103: # 521 "/usr/include/zlib.h" 3 4
2432103: extern int inflateEnd(z_streamp strm);
2432103: # 611 "/usr/include/zlib.h" 3 4
2432103: extern int deflateSetDictionary(z_streamp strm,
2432103: const Bytef *dictionary,
2432103: uInt dictLength);
2432103: # 655 "/usr/include/zlib.h" 3 4
2432103: extern int deflateGetDictionary(z_streamp strm,
2432103: Bytef *dictionary,
2432103: uInt *dictLength);
2432103: # 677 "/usr/include/zlib.h" 3 4
2432103: extern int deflateCopy(z_streamp dest,
2432103: z_streamp source);
2432103: # 695 "/usr/include/zlib.h" 3 4
2432103: extern int deflateReset(z_streamp strm);
2432103: # 706 "/usr/include/zlib.h" 3 4
2432103: extern int deflateParams(z_streamp strm,
2432103: int level,
2432103: int strategy);
2432103: # 744 "/usr/include/zlib.h" 3 4
2432103: extern int deflateTune(z_streamp strm,
2432103: int good_length,
2432103: int max_lazy,
2432103: int nice_length,
2432103: int max_chain);
2432103: # 761 "/usr/include/zlib.h" 3 4
2432103: extern uLong deflateBound(z_streamp strm,
2432103: uLong sourceLen);
2432103: # 776 "/usr/include/zlib.h" 3 4
2432103: extern int deflatePending(z_streamp strm,
2432103: unsigned *pending,
2432103: int *bits);
2432103: # 791 "/usr/include/zlib.h" 3 4
2432103: extern int deflatePrime(z_streamp strm,
2432103: int bits,
2432103: int value);
2432103: # 808 "/usr/include/zlib.h" 3 4
2432103: extern int deflateSetHeader(z_streamp strm,
2432103: gz_headerp head);
2432103: # 888 "/usr/include/zlib.h" 3 4
2432103: extern int inflateSetDictionary(z_streamp strm,
2432103: const Bytef *dictionary,
2432103: uInt dictLength);
2432103: # 911 "/usr/include/zlib.h" 3 4
2432103: extern int inflateGetDictionary(z_streamp strm,
2432103: Bytef *dictionary,
2432103: uInt *dictLength);
2432103: # 926 "/usr/include/zlib.h" 3 4
2432103: extern int inflateSync(z_streamp strm);
2432103: # 945 "/usr/include/zlib.h" 3 4
2432103: extern int inflateCopy(z_streamp dest,
2432103: z_streamp source);
2432103: # 961 "/usr/include/zlib.h" 3 4
2432103: extern int inflateReset(z_streamp strm);
2432103: # 972 "/usr/include/zlib.h" 3 4
2432103: extern int inflateReset2(z_streamp strm,
2432103: int windowBits);
2432103: # 986 "/usr/include/zlib.h" 3 4
2432103: extern int inflatePrime(z_streamp strm,
2432103: int bits,
2432103: int value);
2432103: # 1007 "/usr/include/zlib.h" 3 4
2432103: extern long inflateMark(z_streamp strm);
2432103: # 1035 "/usr/include/zlib.h" 3 4
2432103: extern int inflateGetHeader(z_streamp strm,
2432103: gz_headerp head);
2432103: # 1097 "/usr/include/zlib.h" 3 4
2432103: typedef unsigned (*in_func)(void *,
2432103: unsigned char * *);
2432103: typedef int (*out_func)(void *, unsigned char *, unsigned);
2432103:
2432103: extern int inflateBack(z_streamp strm,
2432103: in_func in, void *in_desc,
2432103: out_func out, void *out_desc);
2432103: # 1171 "/usr/include/zlib.h" 3 4
2432103: extern int inflateBackEnd(z_streamp strm);
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern uLong zlibCompileFlags(void);
2432103: # 1232 "/usr/include/zlib.h" 3 4
2432103: extern int compress(Bytef *dest, uLongf *destLen,
2432103: const Bytef *source, uLong sourceLen);
2432103: # 1247 "/usr/include/zlib.h" 3 4
2432103: extern int compress2(Bytef *dest, uLongf *destLen,
2432103: const Bytef *source, uLong sourceLen,
2432103: int level);
2432103: # 1263 "/usr/include/zlib.h" 3 4
2432103: extern uLong compressBound(uLong sourceLen);
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern int uncompress(Bytef *dest, uLongf *destLen,
2432103: const Bytef *source, uLong sourceLen);
2432103: # 1288 "/usr/include/zlib.h" 3 4
2432103: extern int uncompress2(Bytef *dest, uLongf *destLen,
2432103: const Bytef *source, uLong *sourceLen);
2432103: # 1305 "/usr/include/zlib.h" 3 4
2432103: typedef struct gzFile_s *gzFile;
2432103: # 1345 "/usr/include/zlib.h" 3 4
2432103: extern gzFile gzdopen(int fd, const char *mode);
2432103: # 1368 "/usr/include/zlib.h" 3 4
2432103: extern int gzbuffer(gzFile file, unsigned size);
2432103: # 1384 "/usr/include/zlib.h" 3 4
2432103: extern int gzsetparams(gzFile file, int level, int strategy);
2432103: # 1395 "/usr/include/zlib.h" 3 4
2432103: extern int gzread(gzFile file, voidp buf, unsigned len);
2432103: # 1425 "/usr/include/zlib.h" 3 4
2432103: extern z_size_t gzfread(voidp buf, z_size_t size, z_size_t nitems,
2432103: gzFile file);
2432103: # 1451 "/usr/include/zlib.h" 3 4
2432103: extern int gzwrite(gzFile file, voidpc buf, unsigned len);
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern z_size_t gzfwrite(voidpc buf, z_size_t size,
2432103: z_size_t nitems, gzFile file);
2432103: # 1471 "/usr/include/zlib.h" 3 4
2432103: extern int gzprintf(gzFile file, const char *format, ...);
2432103: # 1486 "/usr/include/zlib.h" 3 4
2432103: extern int gzputs(gzFile file, const char *s);
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern char * gzgets(gzFile file, char *buf, int len);
2432103: # 1508 "/usr/include/zlib.h" 3 4
2432103: extern int gzputc(gzFile file, int c);
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern int gzgetc(gzFile file);
2432103: # 1523 "/usr/include/zlib.h" 3 4
2432103: extern int gzungetc(int c, gzFile file);
2432103: # 1535 "/usr/include/zlib.h" 3 4
2432103: extern int gzflush(gzFile file, int flush);
2432103: # 1570 "/usr/include/zlib.h" 3 4
2432103: extern int gzrewind(gzFile file);
2432103: # 1598 "/usr/include/zlib.h" 3 4
2432103: extern int gzeof(gzFile file);
2432103: # 1613 "/usr/include/zlib.h" 3 4
2432103: extern int gzdirect(gzFile file);
2432103: # 1634 "/usr/include/zlib.h" 3 4
2432103: extern int gzclose(gzFile file);
2432103: # 1647 "/usr/include/zlib.h" 3 4
2432103: extern int gzclose_r(gzFile file);
2432103: extern int gzclose_w(gzFile file);
2432103: # 1659 "/usr/include/zlib.h" 3 4
2432103: extern const char * gzerror(gzFile file, int *errnum);
2432103: # 1675 "/usr/include/zlib.h" 3 4
2432103: extern void gzclearerr(gzFile file);
2432103: # 1692 "/usr/include/zlib.h" 3 4
2432103: extern uLong adler32(uLong adler, const Bytef *buf, uInt len);
2432103: # 1712 "/usr/include/zlib.h" 3 4
2432103: extern uLong adler32_z(uLong adler, const Bytef *buf,
2432103: z_size_t len);
2432103: # 1730 "/usr/include/zlib.h" 3 4
2432103: extern uLong crc32(uLong crc, const Bytef *buf, uInt len);
2432103: # 1748 "/usr/include/zlib.h" 3 4
2432103: extern uLong crc32_z(uLong crc, const Bytef *buf,
2432103: z_size_t len);
2432103: # 1771 "/usr/include/zlib.h" 3 4
2432103: extern uLong crc32_combine_op(uLong crc1, uLong crc2, uLong op);
2432103: # 1784 "/usr/include/zlib.h" 3 4
2432103: extern int deflateInit_(z_streamp strm, int level,
2432103: const char *version, int stream_size);
2432103: extern int inflateInit_(z_streamp strm,
2432103: const char *version, int stream_size);
2432103: extern int deflateInit2_(z_streamp strm, int level, int method,
2432103: int windowBits, int memLevel,
2432103: int strategy, const char *version,
2432103: int stream_size);
2432103: extern int inflateInit2_(z_streamp strm, int windowBits,
2432103: const char *version, int stream_size);
2432103: extern int inflateBackInit_(z_streamp strm, int windowBits,
2432103: unsigned char *window,
2432103: const char *version,
2432103: int stream_size);
2432103: # 1837 "/usr/include/zlib.h" 3 4
2432103: struct gzFile_s {
2432103: unsigned have;
2432103: unsigned char *next;
2432103: off64_t pos;
2432103: };
2432103: extern int gzgetc_(gzFile file);
2432103: # 1859 "/usr/include/zlib.h" 3 4
2432103: extern gzFile gzopen64(const char *, const char *);
2432103: extern off64_t gzseek64(gzFile, off64_t, int);
2432103: extern off64_t gztell64(gzFile);
2432103: extern off64_t gzoffset64(gzFile);
2432103: extern uLong adler32_combine64(uLong, uLong, off64_t);
2432103: extern uLong crc32_combine64(uLong, uLong, off64_t);
2432103: extern uLong crc32_combine_gen64(off64_t);
2432103: # 1914 "/usr/include/zlib.h" 3 4
2432103: extern const char * zError(int);
2432103: extern int inflateSyncPoint(z_streamp);
2432103: extern const z_crc_t * get_crc_table(void);
2432103: extern int inflateUndermine(z_streamp, int);
2432103: extern int inflateValidate(z_streamp, int);
2432103: extern unsigned long inflateCodesUsed(z_streamp);
2432103: extern int inflateResetKeep(z_streamp);
2432103: extern int deflateResetKeep(z_streamp);
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: extern int gzvprintf(gzFile file,
2432103: const char *format,
2432103: va_list va);
2432103: # 81 "../../packet.c" 2
2432103:
2432103:
2432103: # 1 "../../xmalloc.h" 1
2432103: # 19 "../../xmalloc.h"
2432103:
2432103: # 19 "../../xmalloc.h"
2432103: void *xmalloc(size_t);
2432103: void *xcalloc(size_t, size_t);
2432103: void *xreallocarray(void *, size_t, size_t);
2432103: void *xrecallocarray(void *, size_t, size_t, size_t);
2432103: char *xstrdup(const char *);
2432103: int xasprintf(char **, const char *, ...)
2432103: __attribute__((__format__ (printf, 2, 3))) __attribute__((__nonnull__ (2)));
2432103: int xvasprintf(char **, const char *, va_list)
2432103: __attribute__((__nonnull__ (2)));
2432103: # 84 "../../packet.c" 2
2432103: # 1 "../../compat.h" 1
2432103: # 61 "../../compat.h"
2432103: struct ssh;
2432103:
2432103: void compat_banner(struct ssh *, const char *);
2432103: char *compat_kex_proposal(struct ssh *, const char *);
2432103: # 85 "../../packet.c" 2
2432103: # 1 "../../ssh2.h" 1
2432103: # 86 "../../packet.c" 2
2432103: # 1 "../../cipher.h" 1
2432103: # 44 "../../cipher.h"
2432103: # 1 "../../cipher-chachapoly.h" 1
2432103: # 22 "../../cipher-chachapoly.h"
2432103: # 1 "../../chacha.h" 1
2432103: # 15 "../../chacha.h"
2432103: struct chacha_ctx {
2432103: u_int input[16];
2432103: };
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: void chacha_keysetup(struct chacha_ctx *x, const u_char *k, u_int kbits)
2432103: __attribute__(());
2432103: void chacha_ivsetup(struct chacha_ctx *x, const u_char *iv, const u_char *ctr)
2432103: __attribute__(())
2432103: __attribute__(());
2432103: void chacha_encrypt_bytes(struct chacha_ctx *x, const u_char *m,
2432103: u_char *c, u_int bytes)
2432103: __attribute__(())
2432103: __attribute__(());
2432103: # 23 "../../cipher-chachapoly.h" 2
2432103: # 1 "../../poly1305.h" 1
2432103: # 16 "../../poly1305.h"
2432103: void poly1305_auth(u_char out[16], const u_char *m, size_t inlen,
2432103: const u_char key[32])
2432103: __attribute__(())
2432103: __attribute__(())
2432103: __attribute__(());
2432103: # 24 "../../cipher-chachapoly.h" 2
2432103:
2432103:
2432103:
2432103: struct chachapoly_ctx;
2432103:
2432103: struct chachapoly_ctx *chachapoly_new(const u_char *key, u_int keylen)
2432103: __attribute__(());
2432103: void chachapoly_free(struct chachapoly_ctx *cpctx);
2432103:
2432103: int chachapoly_crypt(struct chachapoly_ctx *cpctx, u_int seqnr,
2432103: u_char *dest, const u_char *src, u_int len, u_int aadlen, u_int authlen,
2432103: int do_encrypt);
2432103: int chachapoly_get_length(struct chachapoly_ctx *cpctx,
2432103: u_int *plenp, u_int seqnr, const u_char *cp, u_int len)
2432103: __attribute__(());
2432103: # 45 "../../cipher.h" 2
2432103: # 1 "../../cipher-aesctr.h" 1
2432103: # 21 "../../cipher-aesctr.h"
2432103: # 1 "../../rijndael.h" 1
2432103: # 36 "../../rijndael.h"
2432103: typedef unsigned char u8;
2432103: typedef unsigned short u16;
2432103: typedef unsigned int u32;
2432103:
2432103: int rijndaelKeySetupEnc(unsigned int [], const unsigned char [], int);
2432103: void rijndaelEncrypt(const unsigned int [], int, const u8 [16], u8 [16]);
2432103:
2432103:
2432103: typedef struct {
2432103: int decrypt;
2432103: int Nr;
2432103: u32 ek[4*(14 + 1)];
2432103: u32 dk[4*(14 + 1)];
2432103: } rijndael_ctx;
2432103:
2432103: void rijndael_set_key(rijndael_ctx *, u_char *, int, int);
2432103: void rijndael_decrypt(rijndael_ctx *, u_char *, u_char *);
2432103: void rijndael_encrypt(rijndael_ctx *, u_char *, u_char *);
2432103: # 22 "../../cipher-aesctr.h" 2
2432103:
2432103:
2432103:
2432103: typedef struct aesctr_ctx {
2432103: int rounds;
2432103: u32 ek[4*(14 + 1)];
2432103: u8 ctr[16];
2432103: } aesctr_ctx;
2432103:
2432103: void aesctr_keysetup(aesctr_ctx *x,const u8 *k,u32 kbits,u32 ivbits);
2432103: void aesctr_ivsetup(aesctr_ctx *x,const u8 *iv);
2432103: void aesctr_encrypt_bytes(aesctr_ctx *x,const u8 *m,u8 *c,u32 bytes);
2432103: # 46 "../../cipher.h" 2
2432103:
2432103:
2432103:
2432103:
2432103: struct sshcipher;
2432103: struct sshcipher_ctx;
2432103:
2432103: const struct sshcipher *cipher_by_name(const char *);
2432103: const char *cipher_warning_message(const struct sshcipher_ctx *);
2432103: int ciphers_valid(const char *);
2432103: char *cipher_alg_list(char, int);
2432103: const char *compression_alg_list(int);
2432103: int cipher_init(struct sshcipher_ctx **, const struct sshcipher *,
2432103: const u_char *, u_int, const u_char *, u_int, int);
2432103: int cipher_crypt(struct sshcipher_ctx *, u_int, u_char *, const u_char *,
2432103: u_int, u_int, u_int);
2432103: int cipher_get_length(struct sshcipher_ctx *, u_int *, u_int,
2432103: const u_char *, u_int);
2432103: void cipher_free(struct sshcipher_ctx *);
2432103: u_int cipher_blocksize(const struct sshcipher *);
2432103: u_int cipher_keylen(const struct sshcipher *);
2432103: u_int cipher_seclen(const struct sshcipher *);
2432103: u_int cipher_authlen(const struct sshcipher *);
2432103: u_int cipher_ivlen(const struct sshcipher *);
2432103: u_int cipher_is_cbc(const struct sshcipher *);
2432103:
2432103: u_int cipher_ctx_is_plaintext(struct sshcipher_ctx *);
2432103:
2432103: int cipher_get_keyiv(struct sshcipher_ctx *, u_char *, size_t);
2432103: int cipher_set_keyiv(struct sshcipher_ctx *, const u_char *, size_t);
2432103: # 87 "../../packet.c" 2
2432103: # 1 "../../sshkey.h" 1
2432103: # 32 "../../sshkey.h"
2432103: # 1 "/usr/include/openssl/rsa.h" 1 3 4
2432103: # 12 "/usr/include/openssl/rsa.h" 3 4
2432103:
2432103: # 24 "/usr/include/openssl/rsa.h" 3 4
2432103: # 1 "/usr/include/openssl/types.h" 1 3 4
2432103: # 25 "/usr/include/openssl/rsa.h" 2 3 4
2432103:
2432103:
2432103:
2432103: # 1 "/usr/include/openssl/rsaerr.h" 1 3 4
2432103: # 13 "/usr/include/openssl/rsaerr.h" 3 4
2432103:
2432103: # 29 "/usr/include/openssl/rsa.h" 2 3 4
2432103: # 122 "/usr/include/openssl/rsa.h" 3 4
2432103:
2432103: # 122 "/usr/include/openssl/rsa.h" 3 4
2432103: int EVP_PKEY_CTX_set_rsa_padding(EVP_PKEY_CTX *ctx, int pad_mode);
2432103: int EVP_PKEY_CTX_get_rsa_padding(EVP_PKEY_CTX *ctx, int *pad_mode);
2432103:
2432103: int EVP_PKEY_CTX_set_rsa_pss_saltlen(EVP_PKEY_CTX *ctx, int saltlen);
2432103: int EVP_PKEY_CTX_get_rsa_pss_saltlen(EVP_PKEY_CTX *ctx, int *saltlen);
2432103:
2432103: int EVP_PKEY_CTX_set_rsa_keygen_bits(EVP_PKEY_CTX *ctx, int bits);
2432103: int EVP_PKEY_CTX_set1_rsa_keygen_pubexp(EVP_PKEY_CTX *ctx, BIGNUM *pubexp);
2432103: int EVP_PKEY_CTX_set_rsa_keygen_primes(EVP_PKEY_CTX *ctx, int primes);
2432103: int EVP_PKEY_CTX_set_rsa_pss_keygen_saltlen(EVP_PKEY_CTX *ctx, int saltlen);
2432103:
2432103:
2432103: int EVP_PKEY_CTX_set_rsa_keygen_pubexp(EVP_PKEY_CTX *ctx, BIGNUM *pubexp);
2432103: # 149 "/usr/include/openssl/rsa.h" 3 4
2432103: int EVP_PKEY_CTX_set_rsa_mgf1_md(EVP_PKEY_CTX *ctx, const EVP_MD *md);
2432103: int EVP_PKEY_CTX_set_rsa_mgf1_md_name(EVP_PKEY_CTX *ctx, const char *mdname,
2432103: const char *mdprops);
2432103: int EVP_PKEY_CTX_get_rsa_mgf1_md(EVP_PKEY_CTX *ctx, const EVP_MD **md);
2432103: int EVP_PKEY_CTX_get_rsa_mgf1_md_name(EVP_PKEY_CTX *ctx, char *name,
2432103: size_t namelen);
2432103: int EVP_PKEY_CTX_set_rsa_pss_keygen_mgf1_md(EVP_PKEY_CTX *ctx, const EVP_MD *md);
2432103: int EVP_PKEY_CTX_set_rsa_pss_keygen_mgf1_md_name(EVP_PKEY_CTX *ctx,
2432103: const char *mdname);
2432103:
2432103: int EVP_PKEY_CTX_set_rsa_pss_keygen_md(EVP_PKEY_CTX *ctx, const EVP_MD *md);
2432103: int EVP_PKEY_CTX_set_rsa_pss_keygen_md_name(EVP_PKEY_CTX *ctx,
2432103: const char *mdname,
2432103: const char *mdprops);
2432103:
2432103: int EVP_PKEY_CTX_set_rsa_oaep_md(EVP_PKEY_CTX *ctx, const EVP_MD *md);
2432103: int EVP_PKEY_CTX_set_rsa_oaep_md_name(EVP_PKEY_CTX *ctx, const char *mdname,
2432103: const char *mdprops);
2432103: int EVP_PKEY_CTX_get_rsa_oaep_md(EVP_PKEY_CTX *ctx, const EVP_MD **md);
2432103: int EVP_PKEY_CTX_get_rsa_oaep_md_name(EVP_PKEY_CTX *ctx, char *name,
2432103: size_t namelen);
2432103: int EVP_PKEY_CTX_set0_rsa_oaep_label(EVP_PKEY_CTX *ctx, void *label, int llen);
2432103: int EVP_PKEY_CTX_get0_rsa_oaep_label(EVP_PKEY_CTX *ctx, unsigned char **label);
2432103: # 207 "/usr/include/openssl/rsa.h" 3 4
2432103: RSA *RSA_new(void);
2432103: RSA *RSA_new_method(ENGINE *engine);
2432103: int RSA_bits(const RSA *rsa);
2432103: int RSA_size(const RSA *rsa);
2432103: int RSA_security_bits(const RSA *rsa);
2432103:
2432103: int RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d);
2432103: int RSA_set0_factors(RSA *r, BIGNUM *p, BIGNUM *q);
2432103: int RSA_set0_crt_params(RSA *r,
2432103: BIGNUM *dmp1, BIGNUM *dmq1,
2432103: BIGNUM *iqmp);
2432103: int RSA_set0_multi_prime_params(RSA *r,
2432103: BIGNUM *primes[],
2432103: BIGNUM *exps[],
2432103: BIGNUM *coeffs[],
2432103: int pnum);
2432103: void RSA_get0_key(const RSA *r,
2432103: const BIGNUM **n, const BIGNUM **e,
2432103: const BIGNUM **d);
2432103: void RSA_get0_factors(const RSA *r,
2432103: const BIGNUM **p, const BIGNUM **q);
2432103: int RSA_get_multi_prime_extra_count(const RSA *r);
2432103: int RSA_get0_multi_prime_factors(const RSA *r,
2432103: const BIGNUM *primes[]);
2432103: void RSA_get0_crt_params(const RSA *r,
2432103: const BIGNUM **dmp1,
2432103: const BIGNUM **dmq1,
2432103: const BIGNUM **iqmp);
2432103:
2432103: int RSA_get0_multi_prime_crt_params(const RSA *r, const BIGNUM *exps[],
2432103: const BIGNUM *coeffs[]);
2432103: const BIGNUM *RSA_get0_n(const RSA *d);
2432103: const BIGNUM *RSA_get0_e(const RSA *d);
2432103: const BIGNUM *RSA_get0_d(const RSA *d);
2432103: const BIGNUM *RSA_get0_p(const RSA *d);
2432103: const BIGNUM *RSA_get0_q(const RSA *d);
2432103: const BIGNUM *RSA_get0_dmp1(const RSA *r);
2432103: const BIGNUM *RSA_get0_dmq1(const RSA *r);
2432103: const BIGNUM *RSA_get0_iqmp(const RSA *r);
2432103: const RSA_PSS_PARAMS *RSA_get0_pss_params(const RSA *r);
2432103: void RSA_clear_flags(RSA *r, int flags);
2432103: int RSA_test_flags(const RSA *r, int flags);
2432103: void RSA_set_flags(RSA *r, int flags);
2432103: int RSA_get_version(RSA *r);
2432103: ENGINE *RSA_get0_engine(const RSA *r);
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: __attribute__((deprecated("Since OpenSSL " "0.9.8"))) RSA *RSA_generate_key(int bits, unsigned long e, void
2432103: (*callback) (int, int, void *),
2432103: void *cb_arg);
2432103:
2432103:
2432103:
2432103:
2432103: int RSA_generate_key_ex(RSA *rsa, int bits, BIGNUM *e,
2432103: BN_GENCB *cb);
2432103:
2432103: int RSA_generate_multi_prime_key(RSA *rsa, int bits,
2432103: int primes, BIGNUM *e,
2432103: BN_GENCB *cb);
2432103:
2432103:
2432103: int RSA_X931_derive_ex(RSA *rsa, BIGNUM *p1, BIGNUM *p2,
2432103: BIGNUM *q1, BIGNUM *q2,
2432103: const BIGNUM *Xp1, const BIGNUM *Xp2,
2432103: const BIGNUM *Xp, const BIGNUM *Xq1,
2432103: const BIGNUM *Xq2, const BIGNUM *Xq,
2432103: const BIGNUM *e, BN_GENCB *cb);
2432103: int RSA_X931_generate_key_ex(RSA *rsa, int bits,
2432103: const BIGNUM *e,
2432103: BN_GENCB *cb);
2432103:
2432103: int RSA_check_key(const RSA *);
2432103: int RSA_check_key_ex(const RSA *, BN_GENCB *cb);
2432103:
2432103:
2432103: int RSA_public_encrypt(int flen, const unsigned char *from, unsigned char *to,
2432103: RSA *rsa, int padding);
2432103:
2432103: int RSA_private_encrypt(int flen, const unsigned char *from, unsigned char *to,
2432103: RSA *rsa, int padding);
2432103:
2432103: int RSA_public_decrypt(int flen, const unsigned char *from, unsigned char *to,
2432103: RSA *rsa, int padding);
2432103:
2432103: int RSA_private_decrypt(int flen, const unsigned char *from, unsigned char *to,
2432103: RSA *rsa, int padding);
2432103: void RSA_free(RSA *r);
2432103:
2432103: int RSA_up_ref(RSA *r);
2432103: int RSA_flags(const RSA *r);
2432103:
2432103: void RSA_set_default_method(const RSA_METHOD *meth);
2432103: const RSA_METHOD *RSA_get_default_method(void);
2432103: const RSA_METHOD *RSA_null_method(void);
2432103: const RSA_METHOD *RSA_get_method(const RSA *rsa);
2432103: int RSA_set_method(RSA *rsa, const RSA_METHOD *meth);
2432103:
2432103:
2432103: const RSA_METHOD *RSA_PKCS1_OpenSSL(void);
2432103:
2432103: RSA *d2i_RSAPublicKey(RSA **a, const unsigned char **in, long len); int i2d_RSAPublicKey(const RSA *a, unsigned char **out); const ASN1_ITEM * RSAPublicKey_it(void);
2432103:
2432103: RSA *d2i_RSAPrivateKey(RSA **a, const unsigned char **in, long len); int i2d_RSAPrivateKey(const RSA *a, unsigned char **out); const ASN1_ITEM * RSAPrivateKey_it(void);
2432103:
2432103:
2432103:
2432103: int RSA_pkey_ctx_ctrl(EVP_PKEY_CTX *ctx, int optype, int cmd, int p1, void *p2);
2432103:
2432103: struct rsa_pss_params_st {
2432103: X509_ALGOR *hashAlgorithm;
2432103: X509_ALGOR *maskGenAlgorithm;
2432103: ASN1_INTEGER *saltLength;
2432103: ASN1_INTEGER *trailerField;
2432103:
2432103: X509_ALGOR *maskHash;
2432103: };
2432103:
2432103: extern RSA_PSS_PARAMS *RSA_PSS_PARAMS_new(void); extern void RSA_PSS_PARAMS_free(RSA_PSS_PARAMS *a); extern RSA_PSS_PARAMS *d2i_RSA_PSS_PARAMS(RSA_PSS_PARAMS **a, const unsigned char **in, long len); extern int i2d_RSA_PSS_PARAMS(const RSA_PSS_PARAMS *a, unsigned char **out); extern const ASN1_ITEM * RSA_PSS_PARAMS_it(void);
2432103: extern RSA_PSS_PARAMS *RSA_PSS_PARAMS_dup(const RSA_PSS_PARAMS *a);
2432103:
2432103: typedef struct rsa_oaep_params_st {
2432103: X509_ALGOR *hashFunc;
2432103: X509_ALGOR *maskGenFunc;
2432103: X509_ALGOR *pSourceFunc;
2432103:
2432103: X509_ALGOR *maskHash;
2432103: } RSA_OAEP_PARAMS;
2432103:
2432103: extern RSA_OAEP_PARAMS *RSA_OAEP_PARAMS_new(void); extern void RSA_OAEP_PARAMS_free(RSA_OAEP_PARAMS *a); extern RSA_OAEP_PARAMS *d2i_RSA_OAEP_PARAMS(RSA_OAEP_PARAMS **a, const unsigned char **in, long len); extern int i2d_RSA_OAEP_PARAMS(const RSA_OAEP_PARAMS *a, unsigned char **out); extern const ASN1_ITEM * RSA_OAEP_PARAMS_it(void);
2432103:
2432103:
2432103:
2432103: int RSA_print_fp(FILE *fp, const RSA *r, int offset);
2432103:
2432103:
2432103: int RSA_print(BIO *bp, const RSA *r, int offset);
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: int RSA_sign(int type, const unsigned char *m,
2432103: unsigned int m_length, unsigned char *sigret,
2432103: unsigned int *siglen, RSA *rsa);
2432103: int RSA_verify(int type, const unsigned char *m,
2432103: unsigned int m_length,
2432103: const unsigned char *sigbuf,
2432103: unsigned int siglen, RSA *rsa);
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: int RSA_sign_ASN1_OCTET_STRING(int type,
2432103: const unsigned char *m, unsigned int m_length,
2432103: unsigned char *sigret, unsigned int *siglen,
2432103: RSA *rsa);
2432103:
2432103: int RSA_verify_ASN1_OCTET_STRING(int type,
2432103: const unsigned char *m, unsigned int m_length,
2432103: unsigned char *sigbuf, unsigned int siglen,
2432103: RSA *rsa);
2432103:
2432103: int RSA_blinding_on(RSA *rsa, BN_CTX *ctx);
2432103: void RSA_blinding_off(RSA *rsa);
2432103: BN_BLINDING *RSA_setup_blinding(RSA *rsa, BN_CTX *ctx);
2432103:
2432103:
2432103: int RSA_padding_add_PKCS1_type_1(unsigned char *to, int tlen,
2432103: const unsigned char *f, int fl);
2432103:
2432103: int RSA_padding_check_PKCS1_type_1(unsigned char *to, int tlen,
2432103: const unsigned char *f, int fl,
2432103: int rsa_len);
2432103:
2432103: int RSA_padding_add_PKCS1_type_2(unsigned char *to, int tlen,
2432103: const unsigned char *f, int fl);
2432103:
2432103: int RSA_padding_check_PKCS1_type_2(unsigned char *to, int tlen,
2432103: const unsigned char *f, int fl,
2432103: int rsa_len);
2432103: int PKCS1_MGF1(unsigned char *mask, long len,
2432103: const unsigned char *seed, long seedlen,
2432103: const EVP_MD *dgst);
2432103:
2432103: int RSA_padding_add_PKCS1_OAEP(unsigned char *to, int tlen,
2432103: const unsigned char *f, int fl,
2432103: const unsigned char *p, int pl);
2432103:
2432103: int RSA_padding_check_PKCS1_OAEP(unsigned char *to, int tlen,
2432103: const unsigned char *f, int fl, int rsa_len,
2432103: const unsigned char *p, int pl);
2432103:
2432103: int RSA_padding_add_PKCS1_OAEP_mgf1(unsigned char *to, int tlen,
2432103: const unsigned char *from, int flen,
2432103: const unsigned char *param, int plen,
2432103: const EVP_MD *md, const EVP_MD *mgf1md);
2432103:
2432103: int RSA_padding_check_PKCS1_OAEP_mgf1(unsigned char *to, int tlen,
2432103: const unsigned char *from, int flen,
2432103: int num,
2432103: const unsigned char *param, int plen,
2432103: const EVP_MD *md, const EVP_MD *mgf1md);
2432103: int RSA_padding_add_none(unsigned char *to, int tlen,
2432103: const unsigned char *f, int fl);
2432103: int RSA_padding_check_none(unsigned char *to, int tlen,
2432103: const unsigned char *f, int fl,
2432103: int rsa_len);
2432103: int RSA_padding_add_X931(unsigned char *to, int tlen,
2432103: const unsigned char *f, int fl);
2432103: int RSA_padding_check_X931(unsigned char *to, int tlen,
2432103: const unsigned char *f, int fl,
2432103: int rsa_len);
2432103: int RSA_X931_hash_id(int nid);
2432103:
2432103:
2432103: int RSA_verify_PKCS1_PSS(RSA *rsa, const unsigned char *mHash,
2432103: const EVP_MD *Hash, const unsigned char *EM,
2432103: int sLen);
2432103:
2432103: int RSA_padding_add_PKCS1_PSS(RSA *rsa, unsigned char *EM,
2432103: const unsigned char *mHash, const EVP_MD *Hash,
2432103: int sLen);
2432103:
2432103:
2432103: int RSA_verify_PKCS1_PSS_mgf1(RSA *rsa, const unsigned char *mHash,
2432103: const EVP_MD *Hash, const EVP_MD *mgf1Hash,
2432103: const unsigned char *EM, int sLen);
2432103:
2432103:
2432103: int RSA_padding_add_PKCS1_PSS_mgf1(RSA *rsa, unsigned char *EM,
2432103: const unsigned char *mHash,
2432103: const EVP_MD *Hash, const EVP_MD *mgf1Hash,
2432103: int sLen);
2432103:
2432103:
2432103:
2432103: int RSA_set_ex_data(RSA *r, int idx, void *arg);
2432103: void *RSA_get_ex_data(const RSA *r, int idx);
2432103:
2432103: RSA *RSAPublicKey_dup(const RSA *a);
2432103: RSA *RSAPrivateKey_dup(const RSA *a);
2432103: # 479 "/usr/include/openssl/rsa.h" 3 4
2432103: RSA_METHOD *RSA_meth_new(const char *name, int flags);
2432103: void RSA_meth_free(RSA_METHOD *meth);
2432103: RSA_METHOD *RSA_meth_dup(const RSA_METHOD *meth);
2432103: const char *RSA_meth_get0_name(const RSA_METHOD *meth);
2432103: int RSA_meth_set1_name(RSA_METHOD *meth,
2432103: const char *name);
2432103: int RSA_meth_get_flags(const RSA_METHOD *meth);
2432103: int RSA_meth_set_flags(RSA_METHOD *meth, int flags);
2432103: void *RSA_meth_get0_app_data(const RSA_METHOD *meth);
2432103: int RSA_meth_set0_app_data(RSA_METHOD *meth,
2432103: void *app_data);
2432103:
2432103: int (*RSA_meth_get_pub_enc(const RSA_METHOD *meth)) (int flen,
2432103: const unsigned char *from,
2432103: unsigned char *to,
2432103: RSA *rsa, int padding);
2432103:
2432103: int RSA_meth_set_pub_enc(RSA_METHOD *rsa,
2432103: int (*pub_enc) (int flen, const unsigned char *from,
2432103: unsigned char *to, RSA *rsa,
2432103: int padding));
2432103:
2432103: int (*RSA_meth_get_pub_dec(const RSA_METHOD *meth)) (int flen,
2432103: const unsigned char *from,
2432103: unsigned char *to,
2432103: RSA *rsa, int padding);
2432103:
2432103: int RSA_meth_set_pub_dec(RSA_METHOD *rsa,
2432103: int (*pub_dec) (int flen, const unsigned char *from,
2432103: unsigned char *to, RSA *rsa,
2432103: int padding));
2432103:
2432103: int (*RSA_meth_get_priv_enc(const RSA_METHOD *meth)) (int flen,
2432103: const unsigned char *from,
2432103: unsigned char *to,
2432103: RSA *rsa, int padding);
2432103:
2432103: int RSA_meth_set_priv_enc(RSA_METHOD *rsa,
2432103: int (*priv_enc) (int flen, const unsigned char *from,
2432103: unsigned char *to, RSA *rsa,
2432103: int padding));
2432103:
2432103: int (*RSA_meth_get_priv_dec(const RSA_METHOD *meth)) (int flen,
2432103: const unsigned char *from,
2432103: unsigned char *to,
2432103: RSA *rsa, int padding);
2432103:
2432103: int RSA_meth_set_priv_dec(RSA_METHOD *rsa,
2432103: int (*priv_dec) (int flen, const unsigned char *from,
2432103: unsigned char *to, RSA *rsa,
2432103: int padding));
2432103:
2432103: int (*RSA_meth_get_mod_exp(const RSA_METHOD *meth)) (BIGNUM *r0,
2432103: const BIGNUM *i,
2432103: RSA *rsa, BN_CTX *ctx);
2432103:
2432103: int RSA_meth_set_mod_exp(RSA_METHOD *rsa,
2432103: int (*mod_exp) (BIGNUM *r0, const BIGNUM *i, RSA *rsa,
2432103: BN_CTX *ctx));
2432103:
2432103: int (*RSA_meth_get_bn_mod_exp(const RSA_METHOD *meth)) (BIGNUM *r,
2432103: const BIGNUM *a,
2432103: const BIGNUM *p,
2432103: const BIGNUM *m,
2432103: BN_CTX *ctx,
2432103: BN_MONT_CTX *m_ctx);
2432103:
2432103: int RSA_meth_set_bn_mod_exp(RSA_METHOD *rsa,
2432103: int (*bn_mod_exp) (BIGNUM *r,
2432103: const BIGNUM *a,
2432103: const BIGNUM *p,
2432103: const BIGNUM *m,
2432103: BN_CTX *ctx,
2432103: BN_MONT_CTX *m_ctx));
2432103:
2432103: int (*RSA_meth_get_init(const RSA_METHOD *meth)) (RSA *rsa);
2432103:
2432103: int RSA_meth_set_init(RSA_METHOD *rsa, int (*init) (RSA *rsa));
2432103:
2432103: int (*RSA_meth_get_finish(const RSA_METHOD *meth)) (RSA *rsa);
2432103:
2432103: int RSA_meth_set_finish(RSA_METHOD *rsa, int (*finish) (RSA *rsa));
2432103:
2432103: int (*RSA_meth_get_sign(const RSA_METHOD *meth)) (int type,
2432103: const unsigned char *m,
2432103: unsigned int m_length,
2432103: unsigned char *sigret,
2432103: unsigned int *siglen,
2432103: const RSA *rsa);
2432103:
2432103: int RSA_meth_set_sign(RSA_METHOD *rsa,
2432103: int (*sign) (int type, const unsigned char *m,
2432103: unsigned int m_length,
2432103: unsigned char *sigret, unsigned int *siglen,
2432103: const RSA *rsa));
2432103:
2432103: int (*RSA_meth_get_verify(const RSA_METHOD *meth)) (int dtype,
2432103: const unsigned char *m,
2432103: unsigned int m_length,
2432103: const unsigned char *sigbuf,
2432103: unsigned int siglen,
2432103: const RSA *rsa);
2432103:
2432103: int RSA_meth_set_verify(RSA_METHOD *rsa,
2432103: int (*verify) (int dtype, const unsigned char *m,
2432103: unsigned int m_length,
2432103: const unsigned char *sigbuf,
2432103: unsigned int siglen, const RSA *rsa));
2432103:
2432103: int (*RSA_meth_get_keygen(const RSA_METHOD *meth)) (RSA *rsa, int bits,
2432103: BIGNUM *e, BN_GENCB *cb);
2432103:
2432103: int RSA_meth_set_keygen(RSA_METHOD *rsa,
2432103: int (*keygen) (RSA *rsa, int bits, BIGNUM *e,
2432103: BN_GENCB *cb));
2432103:
2432103: int (*RSA_meth_get_multi_prime_keygen(const RSA_METHOD *meth)) (RSA *rsa,
2432103: int bits,
2432103: int primes,
2432103: BIGNUM *e,
2432103: BN_GENCB *cb);
2432103:
2432103: int RSA_meth_set_multi_prime_keygen(RSA_METHOD *meth,
2432103: int (*keygen) (RSA *rsa, int bits,
2432103: int primes, BIGNUM *e,
2432103: BN_GENCB *cb));
2432103: # 33 "../../sshkey.h" 2
2432103: # 1 "/usr/include/openssl/dsa.h" 1 3 4
2432103: # 12 "/usr/include/openssl/dsa.h" 3 4
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: # 1 "/usr/include/openssl/types.h" 1 3 4
2432103: # 21 "/usr/include/openssl/dsa.h" 2 3 4
2432103: # 31 "/usr/include/openssl/dsa.h" 3 4
2432103: # 1 "/usr/include/openssl/dh.h" 1 3 4
2432103: # 12 "/usr/include/openssl/dh.h" 3 4
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: # 1 "/usr/include/openssl/types.h" 1 3 4
2432103: # 21 "/usr/include/openssl/dh.h" 2 3 4
2432103: # 34 "/usr/include/openssl/dh.h" 3 4
2432103: int EVP_PKEY_CTX_set_dh_paramgen_type(EVP_PKEY_CTX *ctx, int typ);
2432103: int EVP_PKEY_CTX_set_dh_paramgen_gindex(EVP_PKEY_CTX *ctx, int gindex);
2432103: int EVP_PKEY_CTX_set_dh_paramgen_seed(EVP_PKEY_CTX *ctx,
2432103: const unsigned char *seed,
2432103: size_t seedlen);
2432103: int EVP_PKEY_CTX_set_dh_paramgen_prime_len(EVP_PKEY_CTX *ctx, int pbits);
2432103: int EVP_PKEY_CTX_set_dh_paramgen_subprime_len(EVP_PKEY_CTX *ctx, int qlen);
2432103: int EVP_PKEY_CTX_set_dh_paramgen_generator(EVP_PKEY_CTX *ctx, int gen);
2432103: int EVP_PKEY_CTX_set_dh_nid(EVP_PKEY_CTX *ctx, int nid);
2432103: int EVP_PKEY_CTX_set_dh_rfc5114(EVP_PKEY_CTX *ctx, int gen);
2432103: int EVP_PKEY_CTX_set_dhx_rfc5114(EVP_PKEY_CTX *ctx, int gen);
2432103: int EVP_PKEY_CTX_set_dh_pad(EVP_PKEY_CTX *ctx, int pad);
2432103:
2432103: int EVP_PKEY_CTX_set_dh_kdf_type(EVP_PKEY_CTX *ctx, int kdf);
2432103: int EVP_PKEY_CTX_get_dh_kdf_type(EVP_PKEY_CTX *ctx);
2432103: int EVP_PKEY_CTX_set0_dh_kdf_oid(EVP_PKEY_CTX *ctx, ASN1_OBJECT *oid);
2432103: int EVP_PKEY_CTX_get0_dh_kdf_oid(EVP_PKEY_CTX *ctx, ASN1_OBJECT **oid);
2432103: int EVP_PKEY_CTX_set_dh_kdf_md(EVP_PKEY_CTX *ctx, const EVP_MD *md);
2432103: int EVP_PKEY_CTX_get_dh_kdf_md(EVP_PKEY_CTX *ctx, const EVP_MD **md);
2432103: int EVP_PKEY_CTX_set_dh_kdf_outlen(EVP_PKEY_CTX *ctx, int len);
2432103: int EVP_PKEY_CTX_get_dh_kdf_outlen(EVP_PKEY_CTX *ctx, int *len);
2432103: int EVP_PKEY_CTX_set0_dh_kdf_ukm(EVP_PKEY_CTX *ctx, unsigned char *ukm, int len);
2432103:
2432103:
2432103: int EVP_PKEY_CTX_get0_dh_kdf_ukm(EVP_PKEY_CTX *ctx, unsigned char **ukm);
2432103: # 92 "/usr/include/openssl/dh.h" 3 4
2432103: # 1 "/usr/include/openssl/dherr.h" 1 3 4
2432103: # 13 "/usr/include/openssl/dherr.h" 3 4
2432103:
2432103: # 93 "/usr/include/openssl/dh.h" 2 3 4
2432103: # 140 "/usr/include/openssl/dh.h" 3 4
2432103: extern const ASN1_ITEM * DHparams_it(void);
2432103: # 197 "/usr/include/openssl/dh.h" 3 4
2432103: DH *DHparams_dup(const DH *a);
2432103:
2432103: const DH_METHOD *DH_OpenSSL(void);
2432103:
2432103: void DH_set_default_method(const DH_METHOD *meth);
2432103: const DH_METHOD *DH_get_default_method(void);
2432103: int DH_set_method(DH *dh, const DH_METHOD *meth);
2432103: DH *DH_new_method(ENGINE *engine);
2432103:
2432103: DH *DH_new(void);
2432103: void DH_free(DH *dh);
2432103: int DH_up_ref(DH *dh);
2432103: int DH_bits(const DH *dh);
2432103: int DH_size(const DH *dh);
2432103: int DH_security_bits(const DH *dh);
2432103:
2432103:
2432103:
2432103:
2432103: int DH_set_ex_data(DH *d, int idx, void *arg);
2432103: void *DH_get_ex_data(const DH *d, int idx);
2432103:
2432103: int DH_generate_parameters_ex(DH *dh, int prime_len,
2432103: int generator,
2432103: BN_GENCB *cb);
2432103:
2432103: int DH_check_params_ex(const DH *dh);
2432103: int DH_check_ex(const DH *dh);
2432103: int DH_check_pub_key_ex(const DH *dh, const BIGNUM *pub_key);
2432103: int DH_check_params(const DH *dh, int *ret);
2432103: int DH_check(const DH *dh, int *codes);
2432103: int DH_check_pub_key(const DH *dh, const BIGNUM *pub_key,
2432103: int *codes);
2432103: int DH_generate_key(DH *dh);
2432103: int DH_compute_key(unsigned char *key,
2432103: const BIGNUM *pub_key, DH *dh);
2432103: int DH_compute_key_padded(unsigned char *key,
2432103: const BIGNUM *pub_key, DH *dh);
2432103:
2432103: DH *d2i_DHparams(DH **a, const unsigned char **in, long len); int i2d_DHparams(const DH *a, unsigned char **out);
2432103: DH *d2i_DHxparams(DH **a, const unsigned char **in, long len); int i2d_DHxparams(const DH *a, unsigned char **out);
2432103:
2432103:
2432103: int DHparams_print_fp(FILE *fp, const DH *x);
2432103:
2432103: int DHparams_print(BIO *bp, const DH *x);
2432103:
2432103:
2432103: DH *DH_get_1024_160(void);
2432103: DH *DH_get_2048_224(void);
2432103: DH *DH_get_2048_256(void);
2432103:
2432103:
2432103: DH *DH_new_by_nid(int nid);
2432103: int DH_get_nid(const DH *dh);
2432103:
2432103:
2432103: int DH_KDF_X9_42(unsigned char *out, size_t outlen,
2432103: const unsigned char *Z, size_t Zlen,
2432103: ASN1_OBJECT *key_oid,
2432103: const unsigned char *ukm,
2432103: size_t ukmlen, const EVP_MD *md);
2432103:
2432103: void DH_get0_pqg(const DH *dh, const BIGNUM **p,
2432103: const BIGNUM **q, const BIGNUM **g);
2432103: int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g);
2432103: void DH_get0_key(const DH *dh, const BIGNUM **pub_key,
2432103: const BIGNUM **priv_key);
2432103: int DH_set0_key(DH *dh, BIGNUM *pub_key, BIGNUM *priv_key);
2432103: const BIGNUM *DH_get0_p(const DH *dh);
2432103: const BIGNUM *DH_get0_q(const DH *dh);
2432103: const BIGNUM *DH_get0_g(const DH *dh);
2432103: const BIGNUM *DH_get0_priv_key(const DH *dh);
2432103: const BIGNUM *DH_get0_pub_key(const DH *dh);
2432103: void DH_clear_flags(DH *dh, int flags);
2432103: int DH_test_flags(const DH *dh, int flags);
2432103: void DH_set_flags(DH *dh, int flags);
2432103: ENGINE *DH_get0_engine(DH *d);
2432103: long DH_get_length(const DH *dh);
2432103: int DH_set_length(DH *dh, long length);
2432103:
2432103: DH_METHOD *DH_meth_new(const char *name, int flags);
2432103: void DH_meth_free(DH_METHOD *dhm);
2432103: DH_METHOD *DH_meth_dup(const DH_METHOD *dhm);
2432103: const char *DH_meth_get0_name(const DH_METHOD *dhm);
2432103: int DH_meth_set1_name(DH_METHOD *dhm, const char *name);
2432103: int DH_meth_get_flags(const DH_METHOD *dhm);
2432103: int DH_meth_set_flags(DH_METHOD *dhm, int flags);
2432103: void *DH_meth_get0_app_data(const DH_METHOD *dhm);
2432103: int DH_meth_set0_app_data(DH_METHOD *dhm, void *app_data);
2432103: int (*DH_meth_get_generate_key(const DH_METHOD *dhm)) (DH *);
2432103: int DH_meth_set_generate_key(DH_METHOD *dhm,
2432103: int (*generate_key) (DH *));
2432103: int (*DH_meth_get_compute_key(const DH_METHOD *dhm))
2432103: (unsigned char *key,
2432103: const BIGNUM *pub_key,
2432103: DH *dh);
2432103: int DH_meth_set_compute_key(DH_METHOD *dhm,
2432103: int (*compute_key)
2432103: (unsigned char *key,
2432103: const BIGNUM *pub_key,
2432103: DH *dh));
2432103: int (*DH_meth_get_bn_mod_exp(const DH_METHOD *dhm))
2432103: (const DH *, BIGNUM *,
2432103: const BIGNUM *,
2432103: const BIGNUM *,
2432103: const BIGNUM *, BN_CTX *,
2432103: BN_MONT_CTX *);
2432103: int DH_meth_set_bn_mod_exp(DH_METHOD *dhm,
2432103: int (*bn_mod_exp)
2432103: (const DH *, BIGNUM *,
2432103: const BIGNUM *, const BIGNUM *,
2432103: const BIGNUM *, BN_CTX *,
2432103: BN_MONT_CTX *));
2432103: int (*DH_meth_get_init(const DH_METHOD *dhm))(DH *);
2432103: int DH_meth_set_init(DH_METHOD *dhm, int (*init)(DH *));
2432103: int (*DH_meth_get_finish(const DH_METHOD *dhm)) (DH *);
2432103: int DH_meth_set_finish(DH_METHOD *dhm, int (*finish) (DH *));
2432103: int (*DH_meth_get_generate_params(const DH_METHOD *dhm))
2432103: (DH *, int, int,
2432103: BN_GENCB *);
2432103: int DH_meth_set_generate_params(DH_METHOD *dhm,
2432103: int (*generate_params)
2432103: (DH *, int, int,
2432103: BN_GENCB *));
2432103:
2432103:
2432103:
2432103: __attribute__((deprecated("Since OpenSSL " "0.9.8"))) DH *DH_generate_parameters(int prime_len, int generator,
2432103: void (*callback) (int, int,
2432103: void *),
2432103: void *cb_arg);
2432103: # 32 "/usr/include/openssl/dsa.h" 2 3 4
2432103:
2432103: # 1 "/usr/include/openssl/dsaerr.h" 1 3 4
2432103: # 13 "/usr/include/openssl/dsaerr.h" 3 4
2432103:
2432103: # 34 "/usr/include/openssl/dsa.h" 2 3 4
2432103: # 43 "/usr/include/openssl/dsa.h" 3 4
2432103: int EVP_PKEY_CTX_set_dsa_paramgen_bits(EVP_PKEY_CTX *ctx, int nbits);
2432103: int EVP_PKEY_CTX_set_dsa_paramgen_q_bits(EVP_PKEY_CTX *ctx, int qbits);
2432103: int EVP_PKEY_CTX_set_dsa_paramgen_md_props(EVP_PKEY_CTX *ctx,
2432103: const char *md_name,
2432103: const char *md_properties);
2432103: int EVP_PKEY_CTX_set_dsa_paramgen_gindex(EVP_PKEY_CTX *ctx, int gindex);
2432103: int EVP_PKEY_CTX_set_dsa_paramgen_type(EVP_PKEY_CTX *ctx, const char *name);
2432103: int EVP_PKEY_CTX_set_dsa_paramgen_seed(EVP_PKEY_CTX *ctx,
2432103: const unsigned char *seed,
2432103: size_t seedlen);
2432103: int EVP_PKEY_CTX_set_dsa_paramgen_md(EVP_PKEY_CTX *ctx, const EVP_MD *md);
2432103: # 66 "/usr/include/openssl/dsa.h" 3 4
2432103: typedef struct DSA_SIG_st DSA_SIG;
2432103: DSA_SIG *DSA_SIG_new(void);
2432103: void DSA_SIG_free(DSA_SIG *a);
2432103: extern DSA_SIG *d2i_DSA_SIG(DSA_SIG **a, const unsigned char **in, long len); extern int i2d_DSA_SIG(const DSA_SIG *a, unsigned char **out);
2432103: void DSA_SIG_get0(const DSA_SIG *sig, const BIGNUM **pr, const BIGNUM **ps);
2432103: int DSA_SIG_set0(DSA_SIG *sig, BIGNUM *r, BIGNUM *s);
2432103: # 117 "/usr/include/openssl/dsa.h" 3 4
2432103: DSA *DSAparams_dup(const DSA *a);
2432103: DSA_SIG *DSA_do_sign(const unsigned char *dgst, int dlen,
2432103: DSA *dsa);
2432103: int DSA_do_verify(const unsigned char *dgst, int dgst_len,
2432103: DSA_SIG *sig, DSA *dsa);
2432103:
2432103: const DSA_METHOD *DSA_OpenSSL(void);
2432103:
2432103: void DSA_set_default_method(const DSA_METHOD *);
2432103: const DSA_METHOD *DSA_get_default_method(void);
2432103: int DSA_set_method(DSA *dsa, const DSA_METHOD *);
2432103: const DSA_METHOD *DSA_get_method(DSA *d);
2432103:
2432103: DSA *DSA_new(void);
2432103: DSA *DSA_new_method(ENGINE *engine);
2432103: void DSA_free(DSA *r);
2432103:
2432103: int DSA_up_ref(DSA *r);
2432103: int DSA_size(const DSA *);
2432103: int DSA_bits(const DSA *d);
2432103: int DSA_security_bits(const DSA *d);
2432103:
2432103: int DSA_sign_setup(DSA *dsa, BN_CTX *ctx_in,
2432103: BIGNUM **kinvp, BIGNUM **rp);
2432103: int DSA_sign(int type, const unsigned char *dgst,
2432103: int dlen, unsigned char *sig,
2432103: unsigned int *siglen, DSA *dsa);
2432103: int DSA_verify(int type, const unsigned char *dgst,
2432103: int dgst_len, const unsigned char *sigbuf,
2432103: int siglen, DSA *dsa);
2432103:
2432103:
2432103:
2432103: int DSA_set_ex_data(DSA *d, int idx, void *arg);
2432103: void *DSA_get_ex_data(const DSA *d, int idx);
2432103:
2432103: DSA *d2i_DSAPublicKey(DSA **a, const unsigned char **in, long len); int i2d_DSAPublicKey(const DSA *a, unsigned char **out);
2432103:
2432103: DSA *d2i_DSAPrivateKey(DSA **a, const unsigned char **in, long len); int i2d_DSAPrivateKey(const DSA *a, unsigned char **out);
2432103:
2432103: DSA *d2i_DSAparams(DSA **a, const unsigned char **in, long len); int i2d_DSAparams(const DSA *a, unsigned char **out);
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: __attribute__((deprecated("Since OpenSSL " "0.9.8")))
2432103: DSA *DSA_generate_parameters(int bits, unsigned char *seed, int seed_len,
2432103: int *counter_ret, unsigned long *h_ret,
2432103: void (*callback) (int, int, void *),
2432103: void *cb_arg);
2432103:
2432103:
2432103:
2432103:
2432103: int DSA_generate_parameters_ex(DSA *dsa, int bits,
2432103: const unsigned char *seed,
2432103: int seed_len,
2432103: int *counter_ret,
2432103: unsigned long *h_ret,
2432103: BN_GENCB *cb);
2432103:
2432103: int DSA_generate_key(DSA *a);
2432103:
2432103: int DSAparams_print(BIO *bp, const DSA *x);
2432103: int DSA_print(BIO *bp, const DSA *x, int off);
2432103:
2432103: int DSAparams_print_fp(FILE *fp, const DSA *x);
2432103: int DSA_print_fp(FILE *bp, const DSA *x, int off);
2432103: # 203 "/usr/include/openssl/dsa.h" 3 4
2432103: DH *DSA_dup_DH(const DSA *r);
2432103:
2432103:
2432103: void DSA_get0_pqg(const DSA *d, const BIGNUM **p,
2432103: const BIGNUM **q, const BIGNUM **g);
2432103: int DSA_set0_pqg(DSA *d, BIGNUM *p, BIGNUM *q, BIGNUM *g);
2432103: void DSA_get0_key(const DSA *d, const BIGNUM **pub_key,
2432103: const BIGNUM **priv_key);
2432103: int DSA_set0_key(DSA *d, BIGNUM *pub_key,
2432103: BIGNUM *priv_key);
2432103: const BIGNUM *DSA_get0_p(const DSA *d);
2432103: const BIGNUM *DSA_get0_q(const DSA *d);
2432103: const BIGNUM *DSA_get0_g(const DSA *d);
2432103: const BIGNUM *DSA_get0_pub_key(const DSA *d);
2432103: const BIGNUM *DSA_get0_priv_key(const DSA *d);
2432103: void DSA_clear_flags(DSA *d, int flags);
2432103: int DSA_test_flags(const DSA *d, int flags);
2432103: void DSA_set_flags(DSA *d, int flags);
2432103: ENGINE *DSA_get0_engine(DSA *d);
2432103:
2432103: DSA_METHOD *DSA_meth_new(const char *name, int flags);
2432103: void DSA_meth_free(DSA_METHOD *dsam);
2432103: DSA_METHOD *DSA_meth_dup(const DSA_METHOD *dsam);
2432103: const char *DSA_meth_get0_name(const DSA_METHOD *dsam);
2432103: int DSA_meth_set1_name(DSA_METHOD *dsam,
2432103: const char *name);
2432103: int DSA_meth_get_flags(const DSA_METHOD *dsam);
2432103: int DSA_meth_set_flags(DSA_METHOD *dsam, int flags);
2432103: void *DSA_meth_get0_app_data(const DSA_METHOD *dsam);
2432103: int DSA_meth_set0_app_data(DSA_METHOD *dsam,
2432103: void *app_data);
2432103: DSA_SIG *(*DSA_meth_get_sign(const DSA_METHOD *dsam))
2432103: (const unsigned char *, int, DSA *);
2432103: int DSA_meth_set_sign(DSA_METHOD *dsam,
2432103: DSA_SIG *(*sign) (const unsigned char *, int, DSA *));
2432103: int (*DSA_meth_get_sign_setup(const DSA_METHOD *dsam))
2432103: (DSA *, BN_CTX *, BIGNUM **, BIGNUM **);
2432103: int DSA_meth_set_sign_setup(DSA_METHOD *dsam,
2432103: int (*sign_setup) (DSA *, BN_CTX *, BIGNUM **, BIGNUM **));
2432103: int (*DSA_meth_get_verify(const DSA_METHOD *dsam))
2432103: (const unsigned char *, int, DSA_SIG *, DSA *);
2432103: int DSA_meth_set_verify(DSA_METHOD *dsam,
2432103: int (*verify) (const unsigned char *, int, DSA_SIG *, DSA *));
2432103: int (*DSA_meth_get_mod_exp(const DSA_METHOD *dsam))
2432103: (DSA *, BIGNUM *, const BIGNUM *, const BIGNUM *, const BIGNUM *,
2432103: const BIGNUM *, const BIGNUM *, BN_CTX *, BN_MONT_CTX *);
2432103: int DSA_meth_set_mod_exp(DSA_METHOD *dsam,
2432103: int (*mod_exp) (DSA *, BIGNUM *, const BIGNUM *, const BIGNUM *,
2432103: const BIGNUM *, const BIGNUM *, const BIGNUM *, BN_CTX *,
2432103: BN_MONT_CTX *));
2432103: int (*DSA_meth_get_bn_mod_exp(const DSA_METHOD *dsam))
2432103: (DSA *, BIGNUM *, const BIGNUM *, const BIGNUM *, const BIGNUM *,
2432103: BN_CTX *, BN_MONT_CTX *);
2432103: int DSA_meth_set_bn_mod_exp(DSA_METHOD *dsam,
2432103: int (*bn_mod_exp) (DSA *, BIGNUM *, const BIGNUM *, const BIGNUM *,
2432103: const BIGNUM *, BN_CTX *, BN_MONT_CTX *));
2432103: int (*DSA_meth_get_init(const DSA_METHOD *dsam))(DSA *);
2432103: int DSA_meth_set_init(DSA_METHOD *dsam,
2432103: int (*init)(DSA *));
2432103: int (*DSA_meth_get_finish(const DSA_METHOD *dsam))(DSA *);
2432103: int DSA_meth_set_finish(DSA_METHOD *dsam,
2432103: int (*finish)(DSA *));
2432103: int (*DSA_meth_get_paramgen(const DSA_METHOD *dsam))
2432103: (DSA *, int, const unsigned char *, int, int *, unsigned long *,
2432103: BN_GENCB *);
2432103: int DSA_meth_set_paramgen(DSA_METHOD *dsam,
2432103: int (*paramgen) (DSA *, int, const unsigned char *, int, int *,
2432103: unsigned long *, BN_GENCB *));
2432103: int (*DSA_meth_get_keygen(const DSA_METHOD *dsam))(DSA *);
2432103: int DSA_meth_set_keygen(DSA_METHOD *dsam,
2432103: int (*keygen) (DSA *));
2432103: # 34 "../../sshkey.h" 2
2432103:
2432103:
2432103: # 1 "/usr/include/openssl/ecdsa.h" 1 3 4
2432103: # 37 "../../sshkey.h" 2
2432103: # 56 "../../sshkey.h"
2432103:
2432103: # 56 "../../sshkey.h"
2432103: struct sshbuf;
2432103:
2432103:
2432103: enum sshkey_types {
2432103: KEY_RSA,
2432103: KEY_DSA,
2432103: KEY_ECDSA,
2432103: KEY_ED25519,
2432103: KEY_RSA_CERT,
2432103: KEY_DSA_CERT,
2432103: KEY_ECDSA_CERT,
2432103: KEY_ED25519_CERT,
2432103: KEY_XMSS,
2432103: KEY_XMSS_CERT,
2432103: KEY_ECDSA_SK,
2432103: KEY_ECDSA_SK_CERT,
2432103: KEY_ED25519_SK,
2432103: KEY_ED25519_SK_CERT,
2432103: KEY_NULL,
2432103: KEY_UNSPEC
2432103: };
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: enum sshkey_fp_rep {
2432103: SSH_FP_DEFAULT = 0,
2432103: SSH_FP_HEX,
2432103: SSH_FP_BASE64,
2432103: SSH_FP_BUBBLEBABBLE,
2432103: SSH_FP_RANDOMART
2432103: };
2432103:
2432103:
2432103: enum sshkey_serialize_rep {
2432103: SSHKEY_SERIALIZE_DEFAULT = 0,
2432103: SSHKEY_SERIALIZE_STATE = 1,
2432103: SSHKEY_SERIALIZE_FULL = 2,
2432103: SSHKEY_SERIALIZE_SHIELD = 3,
2432103: SSHKEY_SERIALIZE_INFO = 254,
2432103: };
2432103:
2432103:
2432103: enum sshkey_private_format {
2432103: SSHKEY_PRIVATE_OPENSSH = 0,
2432103: SSHKEY_PRIVATE_PEM = 1,
2432103: SSHKEY_PRIVATE_PKCS8 = 2,
2432103: };
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: struct sshkey_cert {
2432103: struct sshbuf *certblob;
2432103: u_int type;
2432103: u_int64_t serial;
2432103: char *key_id;
2432103: u_int nprincipals;
2432103: char **principals;
2432103: u_int64_t valid_after, valid_before;
2432103: struct sshbuf *critical;
2432103: struct sshbuf *extensions;
2432103: struct sshkey *signature_key;
2432103: char *signature_type;
2432103: };
2432103:
2432103:
2432103: struct sshkey {
2432103: int type;
2432103: int flags;
2432103:
2432103: RSA *rsa;
2432103:
2432103: DSA *dsa;
2432103:
2432103: int ecdsa_nid;
2432103: EC_KEY *ecdsa;
2432103:
2432103: u_char *ed25519_sk;
2432103: u_char *ed25519_pk;
2432103:
2432103: char *xmss_name;
2432103: char *xmss_filename;
2432103: void *xmss_state;
2432103: u_char *xmss_sk;
2432103: u_char *xmss_pk;
2432103:
2432103: char *sk_application;
2432103: uint8_t sk_flags;
2432103: struct sshbuf *sk_key_handle;
2432103: struct sshbuf *sk_reserved;
2432103:
2432103: struct sshkey_cert *cert;
2432103:
2432103: u_char *shielded_private;
2432103: size_t shielded_len;
2432103: u_char *shield_prekey;
2432103: size_t shield_prekey_len;
2432103: };
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: struct sshkey_sig_details {
2432103: uint32_t sk_counter;
2432103: uint8_t sk_flags;
2432103: };
2432103:
2432103: struct sshkey_impl_funcs {
2432103: u_int (*size)(const struct sshkey *);
2432103: int (*alloc)(struct sshkey *);
2432103: void (*cleanup)(struct sshkey *);
2432103: int (*equal)(const struct sshkey *, const struct sshkey *);
2432103: int (*serialize_public)(const struct sshkey *, struct sshbuf *,
2432103: enum sshkey_serialize_rep);
2432103: int (*deserialize_public)(const char *, struct sshbuf *,
2432103: struct sshkey *);
2432103: int (*serialize_private)(const struct sshkey *, struct sshbuf *,
2432103: enum sshkey_serialize_rep);
2432103: int (*deserialize_private)(const char *, struct sshbuf *,
2432103: struct sshkey *);
2432103: int (*generate)(struct sshkey *, int);
2432103: int (*copy_public)(const struct sshkey *, struct sshkey *);
2432103: int (*sign)(struct sshkey *, u_char **, size_t *,
2432103: const u_char *, size_t, const char *,
2432103: const char *, const char *, u_int);
2432103: int (*verify)(const struct sshkey *, const u_char *, size_t,
2432103: const u_char *, size_t, const char *, u_int,
2432103: struct sshkey_sig_details **);
2432103: };
2432103:
2432103: struct sshkey_impl {
2432103: const char *name;
2432103: const char *shortname;
2432103: const char *sigalg;
2432103: int type;
2432103: int nid;
2432103: int cert;
2432103: int sigonly;
2432103: int keybits;
2432103: const struct sshkey_impl_funcs *funcs;
2432103: };
2432103:
2432103: struct sshkey *sshkey_new(int);
2432103: void sshkey_free(struct sshkey *);
2432103: int sshkey_equal_public(const struct sshkey *,
2432103: const struct sshkey *);
2432103: int sshkey_equal(const struct sshkey *, const struct sshkey *);
2432103: char *sshkey_fingerprint(const struct sshkey *,
2432103: int, enum sshkey_fp_rep);
2432103: int sshkey_fingerprint_raw(const struct sshkey *k,
2432103: int, u_char **retp, size_t *lenp);
2432103: const char *sshkey_type(const struct sshkey *);
2432103: const char *sshkey_cert_type(const struct sshkey *);
2432103: int sshkey_format_text(const struct sshkey *, struct sshbuf *);
2432103: int sshkey_write(const struct sshkey *, FILE *);
2432103: int sshkey_read(struct sshkey *, char **);
2432103: u_int sshkey_size(const struct sshkey *);
2432103:
2432103: int sshkey_generate(int type, u_int bits, struct sshkey **keyp);
2432103: int sshkey_from_private(const struct sshkey *, struct sshkey **);
2432103:
2432103: int sshkey_is_shielded(struct sshkey *);
2432103: int sshkey_shield_private(struct sshkey *);
2432103: int sshkey_unshield_private(struct sshkey *);
2432103:
2432103: int sshkey_type_from_name(const char *);
2432103: int sshkey_is_cert(const struct sshkey *);
2432103: int sshkey_is_sk(const struct sshkey *);
2432103: int sshkey_type_is_cert(int);
2432103: int sshkey_type_plain(int);
2432103:
2432103:
2432103: int sshkey_match_keyname_to_sigalgs(const char *, const char *);
2432103:
2432103: int sshkey_to_certified(struct sshkey *);
2432103: int sshkey_drop_cert(struct sshkey *);
2432103: int sshkey_cert_copy(const struct sshkey *, struct sshkey *);
2432103: int sshkey_cert_check_authority(const struct sshkey *, int, int, int,
2432103: uint64_t, const char *, const char **);
2432103: int sshkey_cert_check_authority_now(const struct sshkey *, int, int, int,
2432103: const char *, const char **);
2432103: int sshkey_cert_check_host(const struct sshkey *, const char *,
2432103: int , const char *, const char **);
2432103: size_t sshkey_format_cert_validity(const struct sshkey_cert *,
2432103: char *, size_t) __attribute__(());
2432103: int sshkey_check_cert_sigtype(const struct sshkey *, const char *);
2432103:
2432103: int sshkey_certify(struct sshkey *, struct sshkey *,
2432103: const char *, const char *, const char *);
2432103:
2432103: typedef int sshkey_certify_signer(struct sshkey *, u_char **, size_t *,
2432103: const u_char *, size_t, const char *, const char *, const char *,
2432103: u_int, void *);
2432103: int sshkey_certify_custom(struct sshkey *, struct sshkey *, const char *,
2432103: const char *, const char *, sshkey_certify_signer *, void *);
2432103:
2432103: int sshkey_ecdsa_nid_from_name(const char *);
2432103: int sshkey_curve_name_to_nid(const char *);
2432103: const char * sshkey_curve_nid_to_name(int);
2432103: u_int sshkey_curve_nid_to_bits(int);
2432103: int sshkey_ecdsa_bits_to_nid(int);
2432103: int sshkey_ecdsa_key_to_nid(EC_KEY *);
2432103: int sshkey_ec_nid_to_hash_alg(int nid);
2432103: int sshkey_ec_validate_public(const EC_GROUP *, const EC_POINT *);
2432103: int sshkey_ec_validate_private(const EC_KEY *);
2432103: const char *sshkey_ssh_name(const struct sshkey *);
2432103: const char *sshkey_ssh_name_plain(const struct sshkey *);
2432103: int sshkey_names_valid2(const char *, int, int);
2432103: char *sshkey_alg_list(int, int, int, char);
2432103:
2432103: int sshkey_from_blob(const u_char *, size_t, struct sshkey **);
2432103: int sshkey_fromb(struct sshbuf *, struct sshkey **);
2432103: int sshkey_froms(struct sshbuf *, struct sshkey **);
2432103: int sshkey_to_blob(const struct sshkey *, u_char **, size_t *);
2432103: int sshkey_to_base64(const struct sshkey *, char **);
2432103: int sshkey_putb(const struct sshkey *, struct sshbuf *);
2432103: int sshkey_puts(const struct sshkey *, struct sshbuf *);
2432103: int sshkey_puts_opts(const struct sshkey *, struct sshbuf *,
2432103: enum sshkey_serialize_rep);
2432103: int sshkey_plain_to_blob(const struct sshkey *, u_char **, size_t *);
2432103: int sshkey_putb_plain(const struct sshkey *, struct sshbuf *);
2432103:
2432103: int sshkey_sign(struct sshkey *, u_char **, size_t *,
2432103: const u_char *, size_t, const char *, const char *, const char *, u_int);
2432103: int sshkey_verify(const struct sshkey *, const u_char *, size_t,
2432103: const u_char *, size_t, const char *, u_int, struct sshkey_sig_details **);
2432103: int sshkey_check_sigtype(const u_char *, size_t, const char *);
2432103: const char *sshkey_sigalg_by_name(const char *);
2432103: int sshkey_get_sigtype(const u_char *, size_t, char **);
2432103:
2432103:
2432103: void sshkey_dump_ec_point(const EC_GROUP *, const EC_POINT *);
2432103: void sshkey_dump_ec_key(const EC_KEY *);
2432103:
2432103:
2432103: int sshkey_private_serialize(struct sshkey *key, struct sshbuf *buf);
2432103: int sshkey_private_serialize_opt(struct sshkey *key, struct sshbuf *buf,
2432103: enum sshkey_serialize_rep);
2432103: int sshkey_private_deserialize(struct sshbuf *buf, struct sshkey **keyp);
2432103:
2432103:
2432103: int sshkey_private_to_fileblob(struct sshkey *key, struct sshbuf *blob,
2432103: const char *passphrase, const char *comment,
2432103: int format, const char *openssh_format_cipher, int openssh_format_rounds);
2432103: int sshkey_parse_private_fileblob(struct sshbuf *buffer,
2432103: const char *passphrase, struct sshkey **keyp, char **commentp);
2432103: int sshkey_parse_private_fileblob_type(struct sshbuf *blob, int type,
2432103: const char *passphrase, struct sshkey **keyp, char **commentp);
2432103: int sshkey_parse_pubkey_from_private_fileblob_type(struct sshbuf *blob,
2432103: int type, struct sshkey **pubkeyp);
2432103:
2432103: int sshkey_check_rsa_length(const struct sshkey *, int);
2432103:
2432103: int ssh_rsa_complete_crt_parameters(struct sshkey *, const BIGNUM *);
2432103:
2432103:
2432103: int sshkey_set_filename(struct sshkey *, const char *);
2432103: int sshkey_enable_maxsign(struct sshkey *, u_int32_t);
2432103: u_int32_t sshkey_signatures_left(const struct sshkey *);
2432103: int sshkey_forward_state(const struct sshkey *, u_int32_t, int);
2432103: int sshkey_private_serialize_maxsign(struct sshkey *key,
2432103: struct sshbuf *buf, u_int32_t maxsign, int);
2432103:
2432103: void sshkey_sig_details_free(struct sshkey_sig_details *);
2432103: # 88 "../../packet.c" 2
2432103: # 1 "../../kex.h" 1
2432103: # 29 "../../kex.h"
2432103: # 1 "../../mac.h" 1
2432103: # 31 "../../mac.h"
2432103: struct sshmac {
2432103: char *name;
2432103: int enabled;
2432103: u_int mac_len;
2432103: u_char *key;
2432103: u_int key_len;
2432103: int type;
2432103: int etm;
2432103: struct ssh_hmac_ctx *hmac_ctx;
2432103: struct umac_ctx *umac_ctx;
2432103: };
2432103:
2432103: int mac_valid(const char *);
2432103: char *mac_alg_list(char);
2432103: int mac_setup(struct sshmac *, char *);
2432103: int mac_init(struct sshmac *);
2432103: int mac_compute(struct sshmac *, u_int32_t, const u_char *, int,
2432103: u_char *, size_t);
2432103: int mac_check(struct sshmac *, u_int32_t, const u_char *, size_t,
2432103: const u_char *, size_t);
2432103: void mac_clear(struct sshmac *);
2432103: # 30 "../../kex.h" 2
2432103: # 1 "../../crypto_api.h" 1
2432103: # 18 "../../crypto_api.h"
2432103: typedef int8_t crypto_int8;
2432103: typedef uint8_t crypto_uint8;
2432103: typedef int16_t crypto_int16;
2432103: typedef uint16_t crypto_uint16;
2432103: typedef int32_t crypto_int32;
2432103: typedef uint32_t crypto_uint32;
2432103: typedef int64_t crypto_int64;
2432103: typedef uint64_t crypto_uint64;
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: int crypto_hash_sha512(unsigned char *, const unsigned char *,
2432103: unsigned long long);
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: int crypto_sign_ed25519(unsigned char *, unsigned long long *,
2432103: const unsigned char *, unsigned long long, const unsigned char *);
2432103: int crypto_sign_ed25519_open(unsigned char *, unsigned long long *,
2432103: const unsigned char *, unsigned long long, const unsigned char *);
2432103: int crypto_sign_ed25519_keypair(unsigned char *, unsigned char *);
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: int crypto_kem_sntrup761_enc(unsigned char *cstr, unsigned char *k,
2432103: const unsigned char *pk);
2432103: int crypto_kem_sntrup761_dec(unsigned char *k,
2432103: const unsigned char *cstr, const unsigned char *sk);
2432103: int crypto_kem_sntrup761_keypair(unsigned char *pk, unsigned char *sk);
2432103: # 31 "../../kex.h" 2
2432103:
2432103:
2432103:
2432103:
2432103: # 1 "/usr/include/openssl/ecdsa.h" 1 3 4
2432103: # 36 "../../kex.h" 2
2432103: # 74 "../../kex.h"
2432103: enum kex_init_proposals {
2432103: PROPOSAL_KEX_ALGS,
2432103: PROPOSAL_SERVER_HOST_KEY_ALGS,
2432103: PROPOSAL_ENC_ALGS_CTOS,
2432103: PROPOSAL_ENC_ALGS_STOC,
2432103: PROPOSAL_MAC_ALGS_CTOS,
2432103: PROPOSAL_MAC_ALGS_STOC,
2432103: PROPOSAL_COMP_ALGS_CTOS,
2432103: PROPOSAL_COMP_ALGS_STOC,
2432103: PROPOSAL_LANG_CTOS,
2432103: PROPOSAL_LANG_STOC,
2432103: PROPOSAL_MAX
2432103: };
2432103:
2432103: enum kex_modes {
2432103: MODE_IN,
2432103: MODE_OUT,
2432103: MODE_MAX
2432103: };
2432103:
2432103: enum kex_exchange {
2432103: KEX_DH_GRP1_SHA1,
2432103: KEX_DH_GRP14_SHA1,
2432103: KEX_DH_GRP14_SHA256,
2432103: KEX_DH_GRP16_SHA512,
2432103: KEX_DH_GRP18_SHA512,
2432103: KEX_DH_GEX_SHA1,
2432103: KEX_DH_GEX_SHA256,
2432103: KEX_ECDH_SHA2,
2432103: KEX_C25519_SHA256,
2432103: KEX_KEM_SNTRUP761X25519_SHA512,
2432103:
2432103: KEX_GSS_GRP1_SHA1,
2432103: KEX_GSS_GRP14_SHA1,
2432103: KEX_GSS_GRP14_SHA256,
2432103: KEX_GSS_GRP16_SHA512,
2432103: KEX_GSS_GEX_SHA1,
2432103: KEX_GSS_NISTP256_SHA256,
2432103: KEX_GSS_C25519_SHA256,
2432103:
2432103: KEX_MAX
2432103: };
2432103: # 126 "../../kex.h"
2432103: struct sshenc {
2432103: char *name;
2432103: const struct sshcipher *cipher;
2432103: int enabled;
2432103: u_int key_len;
2432103: u_int iv_len;
2432103: u_int block_size;
2432103: u_char *key;
2432103: u_char *iv;
2432103: };
2432103: struct sshcomp {
2432103: u_int type;
2432103: int enabled;
2432103: char *name;
2432103: };
2432103: struct newkeys {
2432103: struct sshenc enc;
2432103: struct sshmac mac;
2432103: struct sshcomp comp;
2432103: };
2432103:
2432103: struct ssh;
2432103: struct sshbuf;
2432103:
2432103: struct kex {
2432103: struct newkeys *newkeys[MODE_MAX];
2432103: u_int we_need;
2432103: u_int dh_need;
2432103: int server;
2432103: char *name;
2432103: char *hostkey_alg;
2432103: int hostkey_type;
2432103: int hostkey_nid;
2432103: u_int kex_type;
2432103: char *server_sig_algs;
2432103: int ext_info_c;
2432103: int ext_info_s;
2432103: int kex_strict;
2432103: int ext_info_received;
2432103: struct sshbuf *my;
2432103: struct sshbuf *peer;
2432103: struct sshbuf *client_version;
2432103: struct sshbuf *server_version;
2432103: struct sshbuf *session_id;
2432103: struct sshbuf *initial_sig;
2432103: struct sshkey *initial_hostkey;
2432103: sig_atomic_t done;
2432103: u_int flags;
2432103: int hash_alg;
2432103: int ec_nid;
2432103:
2432103: int gss_deleg_creds;
2432103: int gss_trust_dns;
2432103: char *gss_host;
2432103: char *gss_client;
2432103:
2432103: char *failed_choice;
2432103: int (*verify_host_key)(struct sshkey *, struct ssh *);
2432103: struct sshkey *(*load_host_public_key)(int, int, struct ssh *);
2432103: struct sshkey *(*load_host_private_key)(int, int, struct ssh *);
2432103: int (*host_key_index)(struct sshkey *, int, struct ssh *);
2432103: int (*sign)(struct ssh *, struct sshkey *, struct sshkey *,
2432103: u_char **, size_t *, const u_char *, size_t, const char *);
2432103: int (*kex[KEX_MAX])(struct ssh *);
2432103:
2432103: DH *dh;
2432103: u_int min, max, nbits;
2432103: EC_KEY *ec_client_key;
2432103: const EC_GROUP *ec_group;
2432103: u_char c25519_client_key[32];
2432103: u_char c25519_client_pubkey[32];
2432103: u_char sntrup761_client_key[1763];
2432103: struct sshbuf *client_pub;
2432103: };
2432103:
2432103: int kex_names_valid(const char *);
2432103: char *kex_alg_list(char);
2432103: char *kex_gss_alg_list(char);
2432103: char *kex_names_cat(const char *, const char *);
2432103: int kex_assemble_names(char **, const char *, const char *);
2432103: void kex_proposal_populate_entries(struct ssh *, char *prop[PROPOSAL_MAX],
2432103: const char *, const char *, const char *, const char *, const char *);
2432103: void kex_proposal_free_entries(char *prop[PROPOSAL_MAX]);
2432103: int kex_gss_names_valid(const char *);
2432103:
2432103: int kex_exchange_identification(struct ssh *, int, int, const char *);
2432103:
2432103: struct kex *kex_new(void);
2432103: int kex_ready(struct ssh *, char *[PROPOSAL_MAX]);
2432103: int kex_setup(struct ssh *, char *[PROPOSAL_MAX]);
2432103: void kex_free_newkeys(struct newkeys *);
2432103: void kex_free(struct kex *);
2432103:
2432103: int kex_buf2prop(struct sshbuf *, int *, char ***);
2432103: int kex_prop2buf(struct sshbuf *, char *proposal[PROPOSAL_MAX]);
2432103: void kex_prop_free(char **);
2432103: int kex_load_hostkey(struct ssh *, struct sshkey **, struct sshkey **);
2432103: int kex_verify_host_key(struct ssh *, struct sshkey *);
2432103:
2432103: int kex_send_kexinit(struct ssh *);
2432103: int kex_input_kexinit(int, u_int32_t, struct ssh *);
2432103: int kex_input_ext_info(int, u_int32_t, struct ssh *);
2432103: int kex_protocol_error(int, u_int32_t, struct ssh *);
2432103: int kex_derive_keys(struct ssh *, u_char *, u_int, const struct sshbuf *);
2432103: int kex_send_newkeys(struct ssh *);
2432103: int kex_start_rekex(struct ssh *);
2432103: int kex_server_update_ext_info(struct ssh *);
2432103: void kex_set_server_sig_algs(struct ssh *, const char *);
2432103:
2432103: int kexgex_client(struct ssh *);
2432103: int kexgex_server(struct ssh *);
2432103: int kex_gen_client(struct ssh *);
2432103: int kex_gen_server(struct ssh *);
2432103:
2432103: int kexgssgex_client(struct ssh *);
2432103: int kexgssgex_server(struct ssh *);
2432103: int kexgss_client(struct ssh *);
2432103: int kexgss_server(struct ssh *);
2432103:
2432103:
2432103: int kex_dh_keypair(struct kex *);
2432103: int kex_dh_enc(struct kex *, const struct sshbuf *, struct sshbuf **,
2432103: struct sshbuf **);
2432103: int kex_dh_dec(struct kex *, const struct sshbuf *, struct sshbuf **);
2432103:
2432103: int kex_ecdh_keypair(struct kex *);
2432103: int kex_ecdh_enc(struct kex *, const struct sshbuf *, struct sshbuf **,
2432103: struct sshbuf **);
2432103: int kex_ecdh_dec(struct kex *, const struct sshbuf *, struct sshbuf **);
2432103:
2432103: int kex_c25519_keypair(struct kex *);
2432103: int kex_c25519_enc(struct kex *, const struct sshbuf *, struct sshbuf **,
2432103: struct sshbuf **);
2432103: int kex_c25519_dec(struct kex *, const struct sshbuf *, struct sshbuf **);
2432103:
2432103: int kex_kem_sntrup761x25519_keypair(struct kex *);
2432103: int kex_kem_sntrup761x25519_enc(struct kex *, const struct sshbuf *,
2432103: struct sshbuf **, struct sshbuf **);
2432103: int kex_kem_sntrup761x25519_dec(struct kex *, const struct sshbuf *,
2432103: struct sshbuf **);
2432103:
2432103: int kex_dh_keygen(struct kex *);
2432103: int kex_dh_compute_key(struct kex *, BIGNUM *, struct sshbuf *);
2432103:
2432103: int kexgex_hash(int, const struct sshbuf *, const struct sshbuf *,
2432103: const struct sshbuf *, const struct sshbuf *, const struct sshbuf *,
2432103: int, int, int,
2432103: const BIGNUM *, const BIGNUM *, const BIGNUM *,
2432103: const BIGNUM *, const u_char *, size_t,
2432103: u_char *, size_t *);
2432103:
2432103: int kex_gen_hash(int hash_alg, const struct sshbuf *client_version,
2432103: const struct sshbuf *server_version, const struct sshbuf *client_kexinit,
2432103: const struct sshbuf *server_kexinit, const struct sshbuf *server_host_key_blob,
2432103: const struct sshbuf *client_pub, const struct sshbuf *server_pub,
2432103: const struct sshbuf *shared_secret, u_char *hash, size_t *hashlen);
2432103:
2432103: void kexc25519_keygen(u_char key[32], u_char pub[32])
2432103: __attribute__(())
2432103: __attribute__(());
2432103: int kexc25519_shared_key(const u_char key[32],
2432103: const u_char pub[32], struct sshbuf *out)
2432103: __attribute__(())
2432103: __attribute__(());
2432103: int kexc25519_shared_key_ext(const u_char key[32],
2432103: const u_char pub[32], struct sshbuf *out, int)
2432103: __attribute__(())
2432103: __attribute__(());
2432103: # 89 "../../packet.c" 2
2432103: # 1 "../../digest.h" 1
2432103: # 32 "../../digest.h"
2432103: struct sshbuf;
2432103: struct ssh_digest_ctx;
2432103:
2432103:
2432103: int ssh_digest_alg_by_name(const char *name);
2432103:
2432103:
2432103: const char *ssh_digest_alg_name(int alg);
2432103:
2432103:
2432103: size_t ssh_digest_bytes(int alg);
2432103:
2432103:
2432103: size_t ssh_digest_blocksize(struct ssh_digest_ctx *ctx);
2432103:
2432103:
2432103: int ssh_digest_copy_state(struct ssh_digest_ctx *from,
2432103: struct ssh_digest_ctx *to);
2432103:
2432103:
2432103: int ssh_digest_memory(int alg, const void *m, size_t mlen,
2432103: u_char *d, size_t dlen)
2432103: __attribute__(())
2432103: __attribute__(());
2432103: int ssh_digest_buffer(int alg, const struct sshbuf *b, u_char *d, size_t dlen)
2432103: __attribute__(());
2432103:
2432103:
2432103: struct ssh_digest_ctx *ssh_digest_start(int alg);
2432103: int ssh_digest_update(struct ssh_digest_ctx *ctx, const void *m, size_t mlen)
2432103: __attribute__(());
2432103: int ssh_digest_update_buffer(struct ssh_digest_ctx *ctx,
2432103: const struct sshbuf *b);
2432103: int ssh_digest_final(struct ssh_digest_ctx *ctx, u_char *d, size_t dlen)
2432103: __attribute__(());
2432103: void ssh_digest_free(struct ssh_digest_ctx *ctx);
2432103: # 90 "../../packet.c" 2
2432103:
2432103: # 1 "../../log.h" 1
2432103: # 19 "../../log.h"
2432103: # 1 "../../ssherr.h" 1
2432103: # 87 "../../ssherr.h"
2432103: const char *ssh_err(int n);
2432103: # 20 "../../log.h" 2
2432103:
2432103:
2432103: typedef enum {
2432103: SYSLOG_FACILITY_DAEMON,
2432103: SYSLOG_FACILITY_USER,
2432103: SYSLOG_FACILITY_AUTH,
2432103:
2432103:
2432103:
2432103: SYSLOG_FACILITY_LOCAL0,
2432103: SYSLOG_FACILITY_LOCAL1,
2432103: SYSLOG_FACILITY_LOCAL2,
2432103: SYSLOG_FACILITY_LOCAL3,
2432103: SYSLOG_FACILITY_LOCAL4,
2432103: SYSLOG_FACILITY_LOCAL5,
2432103: SYSLOG_FACILITY_LOCAL6,
2432103: SYSLOG_FACILITY_LOCAL7,
2432103: SYSLOG_FACILITY_NOT_SET = -1
2432103: } SyslogFacility;
2432103:
2432103: typedef enum {
2432103: SYSLOG_LEVEL_QUIET,
2432103: SYSLOG_LEVEL_FATAL,
2432103: SYSLOG_LEVEL_ERROR,
2432103: SYSLOG_LEVEL_INFO,
2432103: SYSLOG_LEVEL_VERBOSE,
2432103: SYSLOG_LEVEL_DEBUG1,
2432103: SYSLOG_LEVEL_DEBUG2,
2432103: SYSLOG_LEVEL_DEBUG3,
2432103: SYSLOG_LEVEL_NOT_SET = -1
2432103: } LogLevel;
2432103:
2432103: typedef void (log_handler_fn)(LogLevel, int, const char *, void *);
2432103:
2432103: void log_init(const char *, LogLevel, SyslogFacility, int);
2432103: LogLevel log_level_get(void);
2432103: int log_change_level(LogLevel);
2432103: int log_is_on_stderr(void);
2432103: void log_redirect_stderr_to(const char *);
2432103: void log_verbose_add(const char *);
2432103: void log_verbose_reset(void);
2432103:
2432103: SyslogFacility log_facility_number(char *);
2432103: const char * log_facility_name(SyslogFacility);
2432103: LogLevel log_level_number(char *);
2432103: const char * log_level_name(LogLevel);
2432103:
2432103: void set_log_handler(log_handler_fn *, void *);
2432103: void cleanup_exit(int) __attribute__((noreturn));
2432103:
2432103: void sshlog(const char *, const char *, int, int,
2432103: LogLevel, const char *, const char *, ...)
2432103: __attribute__((format(printf, 7, 8)));
2432103: void sshlogv(const char *, const char *, int, int,
2432103: LogLevel, const char *, const char *, va_list);
2432103: void sshsigdie(const char *, const char *, int, int,
2432103: LogLevel, const char *, const char *, ...) __attribute__((noreturn))
2432103: __attribute__((format(printf, 7, 8)));
2432103: void sshlogdie(const char *, const char *, int, int,
2432103: LogLevel, const char *, const char *, ...) __attribute__((noreturn))
2432103: __attribute__((format(printf, 7, 8)));
2432103: void sshfatal(const char *, const char *, int, int,
2432103: LogLevel, const char *, const char *, ...) __attribute__((noreturn))
2432103: __attribute__((format(printf, 7, 8)));
2432103: void sshlogdirect(LogLevel, int, const char *, ...)
2432103: __attribute__((format(printf, 3, 4)));
2432103: # 92 "../../packet.c" 2
2432103: # 1 "../../canohost.h" 1
2432103: # 18 "../../canohost.h"
2432103: struct ssh;
2432103:
2432103: char *remote_hostname(struct ssh *);
2432103: char *get_peer_ipaddr(int);
2432103: int get_peer_port(int);
2432103: char *get_local_ipaddr(int);
2432103: char *get_local_name(int);
2432103: int get_local_port(int);
2432103:
2432103:
2432103:
2432103: void ipv64_normalise_mapped(struct sockaddr_storage *, socklen_t *);
2432103: # 93 "../../packet.c" 2
2432103: # 1 "../../misc.h" 1
2432103: # 25 "../../misc.h"
2432103: struct Forward {
2432103: char *listen_host;
2432103: int listen_port;
2432103: char *listen_path;
2432103: char *connect_host;
2432103: int connect_port;
2432103: char *connect_path;
2432103: int allocated_port;
2432103: int handle;
2432103: };
2432103:
2432103: int forward_equals(const struct Forward *, const struct Forward *);
2432103: int daemonized(void);
2432103:
2432103:
2432103: struct ForwardOptions {
2432103: int gateway_ports;
2432103: mode_t streamlocal_bind_mask;
2432103: int streamlocal_bind_unlink;
2432103: };
2432103:
2432103:
2432103:
2432103: char *chop(char *);
2432103: void rtrim(char *);
2432103: void skip_space(char **);
2432103: char *strdelim(char **);
2432103: char *strdelimw(char **);
2432103: int set_nonblock(int);
2432103: int unset_nonblock(int);
2432103: void set_nodelay(int);
2432103: int set_reuseaddr(int);
2432103: char *get_rdomain(int);
2432103: int set_rdomain(int, const char *);
2432103: int get_sock_af(int);
2432103: void set_sock_tos(int, int);
2432103: int waitrfd(int, int *, volatile sig_atomic_t *);
2432103: int timeout_connect(int, const struct sockaddr *, socklen_t, int *);
2432103: int a2port(const char *);
2432103: int a2tun(const char *, int *);
2432103: char *put_host_port(const char *, u_short);
2432103: char *hpdelim2(char **, char *);
2432103: char *hpdelim(char **);
2432103: char *cleanhostname(char *);
2432103: char *colon(char *);
2432103: int parse_user_host_path(const char *, char **, char **, char **);
2432103: int parse_user_host_port(const char *, char **, char **, int *);
2432103: int parse_uri(const char *, const char *, char **, char **, int *, char **);
2432103: int convtime(const char *);
2432103: const char *fmt_timeframe(time_t t);
2432103: int tilde_expand(const char *, uid_t, char **);
2432103: char *tilde_expand_filename(const char *, uid_t);
2432103:
2432103: char *dollar_expand(int *, const char *string, ...);
2432103: char *percent_expand(const char *, ...) __attribute__(());
2432103: char *percent_dollar_expand(const char *, ...) __attribute__(());
2432103: char *tohex(const void *, size_t);
2432103: void xextendf(char **s, const char *sep, const char *fmt, ...)
2432103: __attribute__((__format__ (printf, 3, 4))) __attribute__((__nonnull__ (3)));
2432103: void sanitise_stdfd(void);
2432103: void ms_subtract_diff(struct timeval *, int *);
2432103: void ms_to_timespec(struct timespec *, int);
2432103: void monotime_ts(struct timespec *);
2432103: void monotime_tv(struct timeval *);
2432103: time_t monotime(void);
2432103: double monotime_double(void);
2432103: void lowercase(char *s);
2432103: int unix_listener(const char *, int, int);
2432103: int valid_domain(char *, int, const char **);
2432103: int valid_env_name(const char *);
2432103: const char *atoi_err(const char *, int *);
2432103: int parse_absolute_time(const char *, uint64_t *);
2432103: void format_absolute_time(uint64_t, char *, size_t);
2432103: int parse_pattern_interval(const char *, char **, int *);
2432103: int path_absolute(const char *);
2432103: int stdfd_devnull(int, int, int);
2432103: int lib_contains_symbol(const char *, const char *);
2432103:
2432103: void sock_set_v6only(int);
2432103:
2432103: struct passwd *pwcopy(struct passwd *);
2432103: const char *ssh_gai_strerror(int);
2432103:
2432103: typedef void privdrop_fn(struct passwd *);
2432103: typedef void privrestore_fn(void);
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: pid_t subprocess(const char *, const char *, int, char **, FILE **, u_int,
2432103: struct passwd *, privdrop_fn *, privrestore_fn *);
2432103:
2432103: typedef struct arglist arglist;
2432103: struct arglist {
2432103: char **list;
2432103: u_int num;
2432103: u_int nalloc;
2432103: };
2432103: void addargs(arglist *, char *, ...)
2432103: __attribute__((format(printf, 2, 3)));
2432103: void replacearg(arglist *, u_int, char *, ...)
2432103: __attribute__((format(printf, 3, 4)));
2432103: void freeargs(arglist *);
2432103:
2432103: int tun_open(int, int, char **);
2432103: # 147 "../../misc.h"
2432103: u_int64_t get_u64(const void *)
2432103: __attribute__(());
2432103: u_int32_t get_u32(const void *)
2432103: __attribute__(());
2432103: u_int16_t get_u16(const void *)
2432103: __attribute__(());
2432103: void put_u64(void *, u_int64_t)
2432103: __attribute__(());
2432103: void put_u32(void *, u_int32_t)
2432103: __attribute__(());
2432103: void put_u16(void *, u_int16_t)
2432103: __attribute__(());
2432103:
2432103:
2432103: u_int32_t get_u32_le(const void *)
2432103: __attribute__(());
2432103: void put_u32_le(void *, u_int32_t)
2432103: __attribute__(());
2432103:
2432103: struct bwlimit {
2432103: size_t buflen;
2432103: u_int64_t rate;
2432103: u_int64_t thresh;
2432103: u_int64_t lamt;
2432103: struct timeval bwstart, bwend;
2432103: };
2432103:
2432103: void bandwidth_limit_init(struct bwlimit *, u_int64_t, size_t);
2432103: void bandwidth_limit(struct bwlimit *, size_t);
2432103:
2432103: int parse_ipqos(const char *);
2432103: const char *iptos2str(int);
2432103: void mktemp_proto(char *, size_t);
2432103:
2432103: void child_set_env(char ***envp, u_int *envsizep, const char *name,
2432103: const char *value);
2432103: const char *lookup_env_in_list(const char *env,
2432103: char * const *envs, size_t nenvs);
2432103: const char *lookup_setenv_in_list(const char *env,
2432103: char * const *envs, size_t nenvs);
2432103:
2432103: int argv_split(const char *, int *, char ***, int);
2432103: char *argv_assemble(int, char **argv);
2432103: char *argv_next(int *, char ***);
2432103: void argv_consume(int *);
2432103: void argv_free(char **, int);
2432103:
2432103: int exited_cleanly(pid_t, const char *, const char *, int);
2432103:
2432103: struct stat;
2432103: int safe_path(const char *, struct stat *, const char *, uid_t,
2432103: char *, size_t);
2432103: int safe_path_fd(int, const char *, struct passwd *,
2432103: char *err, size_t errlen);
2432103:
2432103:
2432103: int opt_flag(const char *opt, int allow_negate, const char **optsp);
2432103: char *opt_dequote(const char **sp, const char **errstrp);
2432103: int opt_match(const char **opts, const char *term);
2432103:
2432103:
2432103: void opt_array_append(const char *file, const int line,
2432103: const char *directive, char ***array, u_int *lp, const char *s);
2432103: void opt_array_append2(const char *file, const int line,
2432103: const char *directive, char ***array, int **iarray, u_int *lp,
2432103: const char *s, int i);
2432103: void opt_array_free2(char **array, int **iarray, u_int l);
2432103:
2432103: struct timespec;
2432103: void ptimeout_init(struct timespec *pt);
2432103: void ptimeout_deadline_sec(struct timespec *pt, long sec);
2432103: void ptimeout_deadline_ms(struct timespec *pt, long ms);
2432103: void ptimeout_deadline_monotime_tsp(struct timespec *pt, struct timespec *when);
2432103: void ptimeout_deadline_monotime(struct timespec *pt, time_t when);
2432103: int ptimeout_get_ms(struct timespec *pt);
2432103: struct timespec *ptimeout_get_tsp(struct timespec *pt);
2432103: int ptimeout_isset(struct timespec *pt);
2432103: # 232 "../../misc.h"
2432103: struct notifier_ctx;
2432103:
2432103: char *read_passphrase(const char *, int);
2432103: int ask_permission(const char *, ...) __attribute__((format(printf, 1, 2)));
2432103: struct notifier_ctx *notify_start(int, const char *, ...)
2432103: __attribute__((format(printf, 2, 3)));
2432103: void notify_complete(struct notifier_ctx *, const char *, ...)
2432103: __attribute__((format(printf, 2, 3)));
2432103:
2432103: int secure_permissions(struct stat *st, uid_t uid);
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: typedef void (*sshsig_t)(int);
2432103: sshsig_t ssh_signal(int, sshsig_t);
2432103: # 94 "../../packet.c" 2
2432103: # 1 "../../channels.h" 1
2432103: # 85 "../../channels.h"
2432103: struct ssh;
2432103: struct Channel;
2432103: typedef struct Channel Channel;
2432103: struct fwd_perm_list;
2432103:
2432103: typedef void channel_open_fn(struct ssh *, int, int, void *);
2432103: typedef void channel_callback_fn(struct ssh *, int, int, void *);
2432103: typedef int channel_infilter_fn(struct ssh *, struct Channel *, char *, int);
2432103: typedef void channel_filter_cleanup_fn(struct ssh *, int, void *);
2432103: typedef u_char *channel_outfilter_fn(struct ssh *, struct Channel *,
2432103: u_char **, size_t *);
2432103:
2432103:
2432103: typedef void channel_confirm_cb(struct ssh *, int, struct Channel *, void *);
2432103: typedef void channel_confirm_abandon_cb(struct ssh *, struct Channel *, void *);
2432103: struct channel_confirm {
2432103: struct { struct channel_confirm *tqe_next; struct channel_confirm **tqe_prev; } entry;
2432103: channel_confirm_cb *cb;
2432103: channel_confirm_abandon_cb *abandon_cb;
2432103: void *ctx;
2432103: };
2432103: struct channel_confirms { struct channel_confirm *tqh_first; struct channel_confirm **tqh_last; };
2432103:
2432103:
2432103: struct channel_connect {
2432103: char *host;
2432103: int port;
2432103: struct addrinfo *ai, *aitop;
2432103: };
2432103:
2432103:
2432103: typedef int mux_callback_fn(struct ssh *, struct Channel *);
2432103: # 125 "../../channels.h"
2432103: struct Channel {
2432103: int type;
2432103:
2432103: int self;
2432103: uint32_t remote_id;
2432103: int have_remote_id;
2432103:
2432103: u_int istate;
2432103: u_int ostate;
2432103: int flags;
2432103: int rfd;
2432103: int wfd;
2432103: int efd;
2432103: int sock;
2432103: u_int io_want;
2432103: u_int io_ready;
2432103: int pfds[4];
2432103: int ctl_chan;
2432103: int isatty;
2432103:
2432103:
2432103:
2432103: int client_tty;
2432103: int force_drain;
2432103: time_t notbefore;
2432103: int delayed;
2432103:
2432103:
2432103:
2432103:
2432103: int restore_block;
2432103: int restore_flags[3];
2432103: struct sshbuf *input;
2432103:
2432103: struct sshbuf *output;
2432103:
2432103: struct sshbuf *extended;
2432103:
2432103: char *path;
2432103:
2432103: int listening_port;
2432103: char *listening_addr;
2432103: int host_port;
2432103: char *remote_name;
2432103:
2432103: u_int remote_window;
2432103: u_int remote_maxpacket;
2432103: u_int local_window;
2432103: u_int local_window_exceeded;
2432103: u_int local_window_max;
2432103: u_int local_consumed;
2432103: u_int local_maxpacket;
2432103: int extended_usage;
2432103: int single_connection;
2432103:
2432103: char *ctype;
2432103: char *xctype;
2432103:
2432103:
2432103: channel_open_fn *open_confirm;
2432103: void *open_confirm_ctx;
2432103: channel_callback_fn *detach_user;
2432103: int detach_close;
2432103: struct channel_confirms status_confirms;
2432103:
2432103:
2432103: channel_infilter_fn *input_filter;
2432103: channel_outfilter_fn *output_filter;
2432103: void *filter_ctx;
2432103: channel_filter_cleanup_fn *filter_cleanup;
2432103:
2432103:
2432103: int datagram;
2432103:
2432103:
2432103:
2432103: struct channel_connect connect_ctx;
2432103:
2432103:
2432103: mux_callback_fn *mux_rcb;
2432103: void *mux_ctx;
2432103: int mux_pause;
2432103: int mux_downstream_id;
2432103:
2432103:
2432103:
2432103:
2432103: time_t lastused;
2432103:
2432103: int inactive_deadline;
2432103: };
2432103: # 280 "../../channels.h"
2432103: void channel_init_channels(struct ssh *ssh);
2432103:
2432103:
2432103:
2432103: Channel *channel_by_id(struct ssh *, int);
2432103: Channel *channel_by_remote_id(struct ssh *, u_int);
2432103: Channel *channel_lookup(struct ssh *, int);
2432103: Channel *channel_new(struct ssh *, char *, int, int, int, int,
2432103: u_int, u_int, int, const char *, int);
2432103: void channel_set_fds(struct ssh *, int, int, int, int, int,
2432103: int, int, u_int);
2432103: void channel_free(struct ssh *, Channel *);
2432103: void channel_free_all(struct ssh *);
2432103: void channel_stop_listening(struct ssh *);
2432103: void channel_force_close(struct ssh *, Channel *, int);
2432103: void channel_set_xtype(struct ssh *, int, const char *);
2432103:
2432103: void channel_send_open(struct ssh *, int);
2432103: void channel_request_start(struct ssh *, int, char *, int);
2432103: void channel_register_cleanup(struct ssh *, int,
2432103: channel_callback_fn *, int);
2432103: void channel_register_open_confirm(struct ssh *, int,
2432103: channel_open_fn *, void *);
2432103: void channel_register_filter(struct ssh *, int, channel_infilter_fn *,
2432103: channel_outfilter_fn *, channel_filter_cleanup_fn *, void *);
2432103: void channel_register_status_confirm(struct ssh *, int,
2432103: channel_confirm_cb *, channel_confirm_abandon_cb *, void *);
2432103: void channel_cancel_cleanup(struct ssh *, int);
2432103: int channel_close_fd(struct ssh *, Channel *, int *);
2432103: void channel_send_window_changes(struct ssh *);
2432103:
2432103:
2432103: void channel_add_timeout(struct ssh *, const char *, int);
2432103: void channel_clear_timeouts(struct ssh *);
2432103:
2432103:
2432103:
2432103: int channel_proxy_downstream(struct ssh *, Channel *mc);
2432103: int channel_proxy_upstream(Channel *, int, u_int32_t, struct ssh *);
2432103:
2432103:
2432103:
2432103: int channel_input_data(int, u_int32_t, struct ssh *);
2432103: int channel_input_extended_data(int, u_int32_t, struct ssh *);
2432103: int channel_input_ieof(int, u_int32_t, struct ssh *);
2432103: int channel_input_oclose(int, u_int32_t, struct ssh *);
2432103: int channel_input_open_confirmation(int, u_int32_t, struct ssh *);
2432103: int channel_input_open_failure(int, u_int32_t, struct ssh *);
2432103: int channel_input_port_open(int, u_int32_t, struct ssh *);
2432103: int channel_input_window_adjust(int, u_int32_t, struct ssh *);
2432103: int channel_input_status_confirm(int, u_int32_t, struct ssh *);
2432103:
2432103:
2432103: struct pollfd;
2432103: struct timespec;
2432103:
2432103: void channel_prepare_poll(struct ssh *, struct pollfd **,
2432103: u_int *, u_int *, u_int, struct timespec *);
2432103: void channel_after_poll(struct ssh *, struct pollfd *, u_int);
2432103: int channel_output_poll(struct ssh *);
2432103:
2432103: int channel_not_very_much_buffered_data(struct ssh *);
2432103: void channel_close_all(struct ssh *);
2432103: int channel_still_open(struct ssh *);
2432103: int channel_tty_open(struct ssh *);
2432103: const char *channel_format_extended_usage(const Channel *);
2432103: char *channel_open_message(struct ssh *);
2432103: int channel_find_open(struct ssh *);
2432103:
2432103:
2432103: struct Forward;
2432103: struct ForwardOptions;
2432103: void channel_set_af(struct ssh *, int af);
2432103: void channel_permit_all(struct ssh *, int);
2432103: void channel_add_permission(struct ssh *, int, int, char *, int);
2432103: void channel_clear_permission(struct ssh *, int, int);
2432103: void channel_disable_admin(struct ssh *, int);
2432103: void channel_update_permission(struct ssh *, int, int);
2432103: Channel *channel_connect_to_port(struct ssh *, const char *, u_short,
2432103: char *, char *, int *, const char **);
2432103: Channel *channel_connect_to_path(struct ssh *, const char *, char *, char *);
2432103: Channel *channel_connect_stdio_fwd(struct ssh *, const char*,
2432103: int, int, int, int);
2432103: Channel *channel_connect_by_listen_address(struct ssh *, const char *,
2432103: u_short, char *, char *);
2432103: Channel *channel_connect_by_listen_path(struct ssh *, const char *,
2432103: char *, char *);
2432103: int channel_request_remote_forwarding(struct ssh *, struct Forward *);
2432103: int channel_setup_local_fwd_listener(struct ssh *, struct Forward *,
2432103: struct ForwardOptions *);
2432103: int channel_request_rforward_cancel(struct ssh *, struct Forward *);
2432103: int channel_setup_remote_fwd_listener(struct ssh *, struct Forward *,
2432103: int *, struct ForwardOptions *);
2432103: int channel_cancel_rport_listener(struct ssh *, struct Forward *);
2432103: int channel_cancel_lport_listener(struct ssh *, struct Forward *,
2432103: int, struct ForwardOptions *);
2432103: int permitopen_port(const char *);
2432103:
2432103:
2432103:
2432103: void channel_set_x11_refuse_time(struct ssh *, time_t);
2432103: int x11_connect_display(struct ssh *);
2432103: int x11_create_display_inet(struct ssh *, int, int, int, u_int *, int **);
2432103: void x11_request_forwarding_with_spoofing(struct ssh *, int,
2432103: const char *, const char *, const char *, int);
2432103:
2432103:
2432103:
2432103: int chan_is_dead(struct ssh *, Channel *, int);
2432103: void chan_mark_dead(struct ssh *, Channel *);
2432103:
2432103:
2432103:
2432103: void chan_rcvd_oclose(struct ssh *, Channel *);
2432103: void chan_rcvd_eow(struct ssh *, Channel *);
2432103: void chan_read_failed(struct ssh *, Channel *);
2432103: void chan_ibuf_empty(struct ssh *, Channel *);
2432103: void chan_rcvd_ieof(struct ssh *, Channel *);
2432103: void chan_write_failed(struct ssh *, Channel *);
2432103: void chan_obuf_empty(struct ssh *, Channel *);
2432103: # 95 "../../packet.c" 2
2432103: # 1 "../../ssh.h" 1
2432103: # 96 "../../packet.c" 2
2432103: # 1 "../../packet.h" 1
2432103: # 40 "../../packet.h"
2432103: struct kex;
2432103: struct sshkey;
2432103: struct sshbuf;
2432103: struct session_state;
2432103:
2432103: # 1 "../../dispatch.h" 1
2432103: # 32 "../../dispatch.h"
2432103: enum {
2432103: DISPATCH_BLOCK,
2432103: DISPATCH_NONBLOCK
2432103: };
2432103:
2432103: struct ssh;
2432103:
2432103: typedef int dispatch_fn(int, u_int32_t, struct ssh *);
2432103:
2432103: int dispatch_protocol_error(int, u_int32_t, struct ssh *);
2432103: int dispatch_protocol_ignore(int, u_int32_t, struct ssh *);
2432103: void ssh_dispatch_init(struct ssh *, dispatch_fn *);
2432103: void ssh_dispatch_set(struct ssh *, int, dispatch_fn *);
2432103: void ssh_dispatch_range(struct ssh *, u_int, u_int, dispatch_fn *);
2432103: int ssh_dispatch_run(struct ssh *, int, volatile sig_atomic_t *);
2432103: void ssh_dispatch_run_fatal(struct ssh *, int, volatile sig_atomic_t *);
2432103: # 46 "../../packet.h" 2
2432103:
2432103: struct key_entry {
2432103: struct { struct key_entry *tqe_next; struct key_entry **tqe_prev; } next;
2432103: struct sshkey *key;
2432103: };
2432103:
2432103: struct ssh {
2432103:
2432103: struct session_state *state;
2432103:
2432103:
2432103: struct kex *kex;
2432103:
2432103:
2432103: char *remote_ipaddr;
2432103: int remote_port;
2432103: char *local_ipaddr;
2432103: int local_port;
2432103: char *rdomain_in;
2432103:
2432103:
2432103: char *log_preamble;
2432103:
2432103:
2432103: dispatch_fn *dispatch[255];
2432103:
2432103: int dispatch_skip_packets;
2432103:
2432103:
2432103: int compat;
2432103:
2432103:
2432103: struct { struct key_entry *tqh_first; struct key_entry **tqh_last; } private_keys;
2432103: struct { struct key_entry *tqh_first; struct key_entry **tqh_last; } public_keys;
2432103:
2432103:
2432103: void *authctxt;
2432103:
2432103:
2432103: struct ssh_channels *chanctxt;
2432103:
2432103:
2432103: void *app_data;
2432103: };
2432103:
2432103: typedef int (ssh_packet_hook_fn)(struct ssh *, struct sshbuf *,
2432103: u_char *, void *);
2432103:
2432103: struct ssh *ssh_alloc_session_state(void);
2432103: struct ssh *ssh_packet_set_connection(struct ssh *, int, int);
2432103: void ssh_packet_set_timeout(struct ssh *, int, int);
2432103: int ssh_packet_stop_discard(struct ssh *);
2432103: int ssh_packet_connection_af(struct ssh *);
2432103: void ssh_packet_set_nonblocking(struct ssh *);
2432103: int ssh_packet_get_connection_in(struct ssh *);
2432103: int ssh_packet_get_connection_out(struct ssh *);
2432103: void ssh_packet_close(struct ssh *);
2432103: void ssh_packet_set_input_hook(struct ssh *, ssh_packet_hook_fn *, void *);
2432103: void ssh_packet_clear_keys(struct ssh *);
2432103: void ssh_clear_newkeys(struct ssh *, int);
2432103:
2432103: int ssh_packet_is_rekeying(struct ssh *);
2432103: int ssh_packet_check_rekey(struct ssh *);
2432103: void ssh_packet_set_protocol_flags(struct ssh *, u_int);
2432103: u_int ssh_packet_get_protocol_flags(struct ssh *);
2432103: void ssh_packet_set_tos(struct ssh *, int);
2432103: void ssh_packet_set_interactive(struct ssh *, int, int, int);
2432103: int ssh_packet_is_interactive(struct ssh *);
2432103: void ssh_packet_set_server(struct ssh *);
2432103: void ssh_packet_set_authenticated(struct ssh *);
2432103: void ssh_packet_set_mux(struct ssh *);
2432103: int ssh_packet_get_mux(struct ssh *);
2432103: int ssh_packet_set_log_preamble(struct ssh *, const char *, ...)
2432103: __attribute__((format(printf, 2, 3)));
2432103:
2432103: int ssh_packet_log_type(u_char);
2432103:
2432103: int ssh_packet_send2_wrapped(struct ssh *);
2432103: int ssh_packet_send2(struct ssh *);
2432103:
2432103: int ssh_packet_read(struct ssh *);
2432103: int ssh_packet_read_poll(struct ssh *);
2432103: int ssh_packet_read_poll2(struct ssh *, u_char *, u_int32_t *seqnr_p);
2432103: int ssh_packet_process_incoming(struct ssh *, const char *buf, u_int len);
2432103: int ssh_packet_process_read(struct ssh *, int);
2432103: int ssh_packet_read_seqnr(struct ssh *, u_char *, u_int32_t *seqnr_p);
2432103: int ssh_packet_read_poll_seqnr(struct ssh *, u_char *, u_int32_t *seqnr_p);
2432103:
2432103: const void *ssh_packet_get_string_ptr(struct ssh *, u_int *length_ptr);
2432103: void ssh_packet_disconnect(struct ssh *, const char *fmt, ...)
2432103: __attribute__((format(printf, 2, 3)))
2432103: __attribute__((noreturn));
2432103: void ssh_packet_send_debug(struct ssh *, const char *fmt, ...) __attribute__((format(printf, 2, 3)));
2432103:
2432103: int ssh_set_newkeys(struct ssh *, int mode);
2432103: void ssh_packet_get_bytes(struct ssh *, u_int64_t *, u_int64_t *);
2432103:
2432103: int ssh_packet_write_poll(struct ssh *);
2432103: int ssh_packet_write_wait(struct ssh *);
2432103: int ssh_packet_have_data_to_write(struct ssh *);
2432103: int ssh_packet_not_very_much_data_to_write(struct ssh *);
2432103: int ssh_packet_interactive_data_to_write(struct ssh *);
2432103:
2432103: int ssh_packet_connection_is_on_socket(struct ssh *);
2432103: int ssh_packet_remaining(struct ssh *);
2432103:
2432103: void ssh_tty_make_modes(struct ssh *, int, struct termios *);
2432103: void ssh_tty_parse_modes(struct ssh *, int);
2432103:
2432103: void ssh_packet_set_alive_timeouts(struct ssh *, int);
2432103: int ssh_packet_inc_alive_timeouts(struct ssh *);
2432103: int ssh_packet_set_maxsize(struct ssh *, u_int);
2432103: u_int ssh_packet_get_maxsize(struct ssh *);
2432103:
2432103: int ssh_packet_get_state(struct ssh *, struct sshbuf *);
2432103: int ssh_packet_set_state(struct ssh *, struct sshbuf *);
2432103:
2432103: const char *ssh_remote_ipaddr(struct ssh *);
2432103: int ssh_remote_port(struct ssh *);
2432103: const char *ssh_local_ipaddr(struct ssh *);
2432103: int ssh_local_port(struct ssh *);
2432103: const char *ssh_packet_rdomain_in(struct ssh *);
2432103:
2432103: void ssh_packet_set_rekey_limits(struct ssh *, u_int64_t, u_int32_t);
2432103: time_t ssh_packet_get_rekey_timeout(struct ssh *);
2432103:
2432103: void *ssh_packet_get_input(struct ssh *);
2432103: void *ssh_packet_get_output(struct ssh *);
2432103:
2432103:
2432103: int sshpkt_start(struct ssh *ssh, u_char type);
2432103: int sshpkt_send(struct ssh *ssh);
2432103: int sshpkt_disconnect(struct ssh *, const char *fmt, ...)
2432103: __attribute__((format(printf, 2, 3)));
2432103: int sshpkt_add_padding(struct ssh *, u_char);
2432103: void sshpkt_fatal(struct ssh *ssh, int r, const char *fmt, ...)
2432103: __attribute__((format(printf, 3, 4)))
2432103: __attribute__((noreturn));
2432103: int sshpkt_msg_ignore(struct ssh *, u_int);
2432103:
2432103: int sshpkt_put(struct ssh *ssh, const void *v, size_t len);
2432103: int sshpkt_putb(struct ssh *ssh, const struct sshbuf *b);
2432103: int sshpkt_put_u8(struct ssh *ssh, u_char val);
2432103: int sshpkt_put_u32(struct ssh *ssh, u_int32_t val);
2432103: int sshpkt_put_u64(struct ssh *ssh, u_int64_t val);
2432103: int sshpkt_put_string(struct ssh *ssh, const void *v, size_t len);
2432103: int sshpkt_put_cstring(struct ssh *ssh, const void *v);
2432103: int sshpkt_put_stringb(struct ssh *ssh, const struct sshbuf *v);
2432103: int sshpkt_put_ec(struct ssh *ssh, const EC_POINT *v, const EC_GROUP *g);
2432103: int sshpkt_put_bignum2(struct ssh *ssh, const BIGNUM *v);
2432103:
2432103: int sshpkt_get(struct ssh *ssh, void *valp, size_t len);
2432103: int sshpkt_get_u8(struct ssh *ssh, u_char *valp);
2432103: int sshpkt_get_u32(struct ssh *ssh, u_int32_t *valp);
2432103: int sshpkt_get_u64(struct ssh *ssh, u_int64_t *valp);
2432103: int sshpkt_get_string(struct ssh *ssh, u_char **valp, size_t *lenp);
2432103: int sshpkt_get_string_direct(struct ssh *ssh, const u_char **valp, size_t *lenp);
2432103: int sshpkt_peek_string_direct(struct ssh *ssh, const u_char **valp, size_t *lenp);
2432103: int sshpkt_get_cstring(struct ssh *ssh, char **valp, size_t *lenp);
2432103: int sshpkt_getb_froms(struct ssh *ssh, struct sshbuf **valp);
2432103: int sshpkt_get_ec(struct ssh *ssh, EC_POINT *v, const EC_GROUP *g);
2432103: int sshpkt_get_bignum2(struct ssh *ssh, BIGNUM **valp);
2432103: int sshpkt_get_end(struct ssh *ssh);
2432103: void sshpkt_fmt_connection_id(struct ssh *ssh, char *s, size_t l);
2432103: const u_char *sshpkt_ptr(struct ssh *, size_t *lenp);
2432103: # 97 "../../packet.c" 2
2432103:
2432103: # 1 "../../sshbuf.h" 1
2432103: # 36 "../../sshbuf.h"
2432103: struct sshbuf;
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: struct sshbuf *sshbuf_new(void);
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: struct sshbuf *sshbuf_from(const void *blob, size_t len);
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: struct sshbuf *sshbuf_fromb(struct sshbuf *buf);
2432103: # 65 "../../sshbuf.h"
2432103: int sshbuf_froms(struct sshbuf *buf, struct sshbuf **bufp);
2432103:
2432103:
2432103:
2432103:
2432103: void sshbuf_free(struct sshbuf *buf);
2432103:
2432103:
2432103:
2432103:
2432103: void sshbuf_reset(struct sshbuf *buf);
2432103:
2432103:
2432103:
2432103:
2432103: size_t sshbuf_max_size(const struct sshbuf *buf);
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: int sshbuf_set_max_size(struct sshbuf *buf, size_t max_size);
2432103:
2432103:
2432103:
2432103:
2432103: size_t sshbuf_len(const struct sshbuf *buf);
2432103:
2432103:
2432103:
2432103:
2432103: size_t sshbuf_avail(const struct sshbuf *buf);
2432103:
2432103:
2432103:
2432103:
2432103: const u_char *sshbuf_ptr(const struct sshbuf *buf);
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: u_char *sshbuf_mutable_ptr(const struct sshbuf *buf);
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: int sshbuf_check_reserve(const struct sshbuf *buf, size_t len);
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: int sshbuf_allocate(struct sshbuf *buf, size_t len);
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: int sshbuf_reserve(struct sshbuf *buf, size_t len, u_char **dpp);
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: int sshbuf_consume(struct sshbuf *buf, size_t len);
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: int sshbuf_consume_end(struct sshbuf *buf, size_t len);
2432103:
2432103:
2432103: int sshbuf_get(struct sshbuf *buf, void *v, size_t len);
2432103: int sshbuf_put(struct sshbuf *buf, const void *v, size_t len);
2432103: int sshbuf_putb(struct sshbuf *buf, const struct sshbuf *v);
2432103:
2432103:
2432103: int sshbuf_putf(struct sshbuf *buf, const char *fmt, ...)
2432103: __attribute__((format(printf, 2, 3)));
2432103: int sshbuf_putfv(struct sshbuf *buf, const char *fmt, va_list ap);
2432103:
2432103:
2432103: int sshbuf_get_u64(struct sshbuf *buf, u_int64_t *valp);
2432103: int sshbuf_get_u32(struct sshbuf *buf, u_int32_t *valp);
2432103: int sshbuf_get_u16(struct sshbuf *buf, u_int16_t *valp);
2432103: int sshbuf_get_u8(struct sshbuf *buf, u_char *valp);
2432103: int sshbuf_put_u64(struct sshbuf *buf, u_int64_t val);
2432103: int sshbuf_put_u32(struct sshbuf *buf, u_int32_t val);
2432103: int sshbuf_put_u16(struct sshbuf *buf, u_int16_t val);
2432103: int sshbuf_put_u8(struct sshbuf *buf, u_char val);
2432103:
2432103:
2432103: int sshbuf_peek_u64(const struct sshbuf *buf, size_t offset,
2432103: u_int64_t *valp);
2432103: int sshbuf_peek_u32(const struct sshbuf *buf, size_t offset,
2432103: u_int32_t *valp);
2432103: int sshbuf_peek_u16(const struct sshbuf *buf, size_t offset,
2432103: u_int16_t *valp);
2432103: int sshbuf_peek_u8(const struct sshbuf *buf, size_t offset,
2432103: u_char *valp);
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: int sshbuf_poke_u64(struct sshbuf *buf, size_t offset, u_int64_t val);
2432103: int sshbuf_poke_u32(struct sshbuf *buf, size_t offset, u_int32_t val);
2432103: int sshbuf_poke_u16(struct sshbuf *buf, size_t offset, u_int16_t val);
2432103: int sshbuf_poke_u8(struct sshbuf *buf, size_t offset, u_char val);
2432103: int sshbuf_poke(struct sshbuf *buf, size_t offset, void *v, size_t len);
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: int sshbuf_get_string(struct sshbuf *buf, u_char **valp, size_t *lenp);
2432103: int sshbuf_get_cstring(struct sshbuf *buf, char **valp, size_t *lenp);
2432103: int sshbuf_get_stringb(struct sshbuf *buf, struct sshbuf *v);
2432103: int sshbuf_put_string(struct sshbuf *buf, const void *v, size_t len);
2432103: int sshbuf_put_cstring(struct sshbuf *buf, const char *v);
2432103: int sshbuf_put_stringb(struct sshbuf *buf, const struct sshbuf *v);
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: int sshbuf_get_string_direct(struct sshbuf *buf, const u_char **valp,
2432103: size_t *lenp);
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: int sshbuf_peek_string_direct(const struct sshbuf *buf, const u_char **valp,
2432103: size_t *lenp);
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: int sshbuf_put_bignum2_bytes(struct sshbuf *buf, const void *v, size_t len);
2432103: int sshbuf_get_bignum2_bytes_direct(struct sshbuf *buf,
2432103: const u_char **valp, size_t *lenp);
2432103:
2432103: int sshbuf_get_bignum2(struct sshbuf *buf, BIGNUM **valp);
2432103: int sshbuf_put_bignum2(struct sshbuf *buf, const BIGNUM *v);
2432103:
2432103: int sshbuf_get_ec(struct sshbuf *buf, EC_POINT *v, const EC_GROUP *g);
2432103: int sshbuf_get_eckey(struct sshbuf *buf, EC_KEY *v);
2432103: int sshbuf_put_ec(struct sshbuf *buf, const EC_POINT *v, const EC_GROUP *g);
2432103: int sshbuf_put_eckey(struct sshbuf *buf, const EC_KEY *v);
2432103:
2432103:
2432103:
2432103:
2432103: void sshbuf_dump(const struct sshbuf *buf, FILE *f);
2432103:
2432103:
2432103: void sshbuf_dump_data(const void *s, size_t len, FILE *f);
2432103:
2432103:
2432103: char *sshbuf_dtob16(struct sshbuf *buf);
2432103:
2432103:
2432103: char *sshbuf_dtob64_string(const struct sshbuf *buf, int wrap);
2432103: int sshbuf_dtob64(const struct sshbuf *d, struct sshbuf *b64, int wrap);
2432103:
2432103: int sshbuf_dtourlb64(const struct sshbuf *d, struct sshbuf *b64, int wrap);
2432103:
2432103:
2432103: int sshbuf_b64tod(struct sshbuf *buf, const char *b64);
2432103: # 259 "../../sshbuf.h"
2432103: int sshbuf_cmp(const struct sshbuf *b, size_t offset,
2432103: const void *s, size_t len);
2432103: # 270 "../../sshbuf.h"
2432103: int
2432103: sshbuf_find(const struct sshbuf *b, size_t start_offset,
2432103: const void *s, size_t len, size_t *offsetp);
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: char *sshbuf_dup_string(struct sshbuf *buf);
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: int sshbuf_load_fd(int, struct sshbuf **)
2432103: __attribute__((__nonnull__ (2)));
2432103: int sshbuf_load_file(const char *, struct sshbuf **)
2432103: __attribute__((__nonnull__ (2)));
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: int sshbuf_write_file(const char *path, struct sshbuf *buf)
2432103: __attribute__((__nonnull__ (2)));
2432103:
2432103:
2432103: int sshbuf_read(int, struct sshbuf *, size_t, size_t *)
2432103: __attribute__((__nonnull__ (2)));
2432103: # 99 "../../packet.c" 2
2432103: # 108 "../../packet.c"
2432103: struct packet_state {
2432103: u_int32_t seqnr;
2432103: u_int32_t packets;
2432103: u_int64_t blocks;
2432103: u_int64_t bytes;
2432103: };
2432103:
2432103: struct packet {
2432103: struct { struct packet *tqe_next; struct packet **tqe_prev; } next;
2432103: u_char type;
2432103: struct sshbuf *payload;
2432103: };
2432103:
2432103: struct session_state {
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: int connection_in;
2432103: int connection_out;
2432103:
2432103:
2432103: u_int remote_protocol_flags;
2432103:
2432103:
2432103: struct sshcipher_ctx *receive_context;
2432103:
2432103:
2432103: struct sshcipher_ctx *send_context;
2432103:
2432103:
2432103: struct sshbuf *input;
2432103:
2432103:
2432103: struct sshbuf *output;
2432103:
2432103:
2432103: struct sshbuf *outgoing_packet;
2432103:
2432103:
2432103: struct sshbuf *incoming_packet;
2432103:
2432103:
2432103: struct sshbuf *compression_buffer;
2432103:
2432103:
2432103:
2432103: z_stream compression_in_stream;
2432103: z_stream compression_out_stream;
2432103:
2432103: int compression_in_started;
2432103: int compression_out_started;
2432103: int compression_in_failures;
2432103: int compression_out_failures;
2432103:
2432103:
2432103: u_int max_packet_size;
2432103:
2432103:
2432103: int initialized;
2432103:
2432103:
2432103: int interactive_mode;
2432103:
2432103:
2432103: int server_side;
2432103:
2432103:
2432103: int after_authentication;
2432103:
2432103: int keep_alive_timeouts;
2432103:
2432103:
2432103: int packet_timeout_ms;
2432103:
2432103:
2432103: struct newkeys *newkeys[MODE_MAX];
2432103: struct packet_state p_read, p_send;
2432103:
2432103:
2432103: u_int64_t max_blocks_in, max_blocks_out, rekey_limit;
2432103:
2432103:
2432103: u_int32_t rekey_interval;
2432103: time_t rekey_time;
2432103:
2432103:
2432103: u_char extra_pad;
2432103:
2432103:
2432103: u_int packet_discard;
2432103: size_t packet_discard_mac_already;
2432103: struct sshmac *packet_discard_mac;
2432103:
2432103:
2432103: u_int packlen;
2432103:
2432103:
2432103: int rekeying;
2432103:
2432103:
2432103: int mux;
2432103:
2432103:
2432103: int set_interactive_called;
2432103:
2432103:
2432103: int set_maxsize_called;
2432103:
2432103:
2432103: int cipher_warning_done;
2432103:
2432103:
2432103: ssh_packet_hook_fn *hook_in;
2432103: void *hook_in_ctx;
2432103:
2432103: struct { struct packet *tqh_first; struct packet **tqh_last; } outgoing;
2432103: };
2432103:
2432103: struct ssh *
2432103: ssh_alloc_session_state(void)
2432103: {
2432103: struct ssh *ssh =
2432103: # 232 "../../packet.c" 3 4
2432103: ((void *)0)
2432103: # 232 "../../packet.c"
2432103: ;
2432103: struct session_state *state =
2432103: # 233 "../../packet.c" 3 4
2432103: ((void *)0)
2432103: # 233 "../../packet.c"
2432103: ;
2432103:
2432103: if ((ssh = calloc(1, sizeof(*ssh))) ==
2432103: # 235 "../../packet.c" 3 4
2432103: ((void *)0)
2432103: # 235 "../../packet.c"
2432103: ||
2432103: (state = calloc(1, sizeof(*state))) ==
2432103: # 236 "../../packet.c" 3 4
2432103: ((void *)0)
2432103: # 236 "../../packet.c"
2432103: ||
2432103: (ssh->kex = kex_new()) ==
2432103: # 237 "../../packet.c" 3 4
2432103: ((void *)0)
2432103: # 237 "../../packet.c"
2432103: ||
2432103: (state->input = sshbuf_new()) ==
2432103: # 238 "../../packet.c" 3 4
2432103: ((void *)0)
2432103: # 238 "../../packet.c"
2432103: ||
2432103: (state->output = sshbuf_new()) ==
2432103: # 239 "../../packet.c" 3 4
2432103: ((void *)0)
2432103: # 239 "../../packet.c"
2432103: ||
2432103: (state->outgoing_packet = sshbuf_new()) ==
2432103: # 240 "../../packet.c" 3 4
2432103: ((void *)0)
2432103: # 240 "../../packet.c"
2432103: ||
2432103: (state->incoming_packet = sshbuf_new()) ==
2432103: # 241 "../../packet.c" 3 4
2432103: ((void *)0)
2432103: # 241 "../../packet.c"
2432103: )
2432103: goto fail;
2432103: do { (&state->outgoing)->tqh_first =
2432103: # 243 "../../packet.c" 3 4
2432103: ((void *)0)
2432103: # 243 "../../packet.c"
2432103: ; (&state->outgoing)->tqh_last = &(&state->outgoing)->tqh_first; } while (0);
2432103: do { (&ssh->private_keys)->tqh_first =
2432103: # 244 "../../packet.c" 3 4
2432103: ((void *)0)
2432103: # 244 "../../packet.c"
2432103: ; (&ssh->private_keys)->tqh_last = &(&ssh->private_keys)->tqh_first; } while (0);
2432103: do { (&ssh->public_keys)->tqh_first =
2432103: # 245 "../../packet.c" 3 4
2432103: ((void *)0)
2432103: # 245 "../../packet.c"
2432103: ; (&ssh->public_keys)->tqh_last = &(&ssh->public_keys)->tqh_first; } while (0);
2432103: state->connection_in = -1;
2432103: state->connection_out = -1;
2432103: state->max_packet_size = 32768;
2432103: state->packet_timeout_ms = -1;
2432103: state->p_send.packets = state->p_read.packets = 0;
2432103: state->initialized = 1;
2432103:
2432103:
2432103:
2432103:
2432103: state->rekeying = 1;
2432103: ssh->state = state;
2432103: return ssh;
2432103: fail:
2432103: if (ssh) {
2432103: kex_free(ssh->kex);
2432103: free(ssh);
2432103: }
2432103: if (state) {
2432103: sshbuf_free(state->input);
2432103: sshbuf_free(state->output);
2432103: sshbuf_free(state->incoming_packet);
2432103: sshbuf_free(state->outgoing_packet);
2432103: free(state);
2432103: }
2432103: return
2432103: # 271 "../../packet.c" 3 4
2432103: ((void *)0)
2432103: # 271 "../../packet.c"
2432103: ;
2432103: }
2432103:
2432103: void
2432103: ssh_packet_set_input_hook(struct ssh *ssh, ssh_packet_hook_fn *hook, void *ctx)
2432103: {
2432103: ssh->state->hook_in = hook;
2432103: ssh->state->hook_in_ctx = ctx;
2432103: }
2432103:
2432103:
2432103: int
2432103: ssh_packet_is_rekeying(struct ssh *ssh)
2432103: {
2432103: return ssh->state->rekeying ||
2432103: (ssh->kex !=
2432103: # 286 "../../packet.c" 3 4
2432103: ((void *)0)
2432103: # 286 "../../packet.c"
2432103: && ssh->kex->done == 0);
2432103: }
2432103:
2432103:
2432103:
2432103:
2432103: struct ssh *
2432103: ssh_packet_set_connection(struct ssh *ssh, int fd_in, int fd_out)
2432103: {
2432103: struct session_state *state;
2432103: const struct sshcipher *none = cipher_by_name("none");
2432103: int r;
2432103:
2432103: if (none ==
2432103: # 299 "../../packet.c" 3 4
2432103: ((void *)0)
2432103: # 299 "../../packet.c"
2432103: ) {
2432103: sshlog("../../packet.c", __func__, 300, 1, SYSLOG_LEVEL_ERROR,
2432103: # 300 "../../packet.c" 3 4
2432103: ((void *)0)
2432103: # 300 "../../packet.c"
2432103: , "cannot load cipher 'none'");
2432103: return
2432103: # 301 "../../packet.c" 3 4
2432103: ((void *)0)
2432103: # 301 "../../packet.c"
2432103: ;
2432103: }
2432103: if (ssh ==
2432103: # 303 "../../packet.c" 3 4
2432103: ((void *)0)
2432103: # 303 "../../packet.c"
2432103: )
2432103: ssh = ssh_alloc_session_state();
2432103: if (ssh ==
2432103: # 305 "../../packet.c" 3 4
2432103: ((void *)0)
2432103: # 305 "../../packet.c"
2432103: ) {
2432103: sshlog("../../packet.c", __func__, 306, 1, SYSLOG_LEVEL_ERROR,
2432103: # 306 "../../packet.c" 3 4
2432103: ((void *)0)
2432103: # 306 "../../packet.c"
2432103: , "could not allocate state");
2432103: return
2432103: # 307 "../../packet.c" 3 4
2432103: ((void *)0)
2432103: # 307 "../../packet.c"
2432103: ;
2432103: }
2432103: state = ssh->state;
2432103: state->connection_in = fd_in;
2432103: state->connection_out = fd_out;
2432103: if ((r = cipher_init(&state->send_context, none,
2432103: (const u_char *)"", 0,
2432103: # 313 "../../packet.c" 3 4
2432103: ((void *)0)
2432103: # 313 "../../packet.c"
2432103: , 0, 1)) != 0 ||
2432103: (r = cipher_init(&state->receive_context, none,
2432103: (const u_char *)"", 0,
2432103: # 315 "../../packet.c" 3 4
2432103: ((void *)0)
2432103: # 315 "../../packet.c"
2432103: , 0, 0)) != 0) {
2432103: sshlog("../../packet.c", __func__, 316, 1, SYSLOG_LEVEL_ERROR, ssh_err(r), "cipher_init failed");
2432103: free(ssh);
2432103: return
2432103: # 318 "../../packet.c" 3 4
2432103: ((void *)0)
2432103: # 318 "../../packet.c"
2432103: ;
2432103: }
2432103: state->newkeys[MODE_IN] = state->newkeys[MODE_OUT] =
2432103: # 320 "../../packet.c" 3 4
2432103: ((void *)0)
2432103: # 320 "../../packet.c"
2432103: ;
2432103:
2432103:
2432103:
2432103:
2432103: (void)ssh_remote_ipaddr(ssh);
2432103: return ssh;
2432103: }
2432103:
2432103: void
2432103: ssh_packet_set_timeout(struct ssh *ssh, int timeout, int count)
2432103: {
2432103: struct session_state *state = ssh->state;
2432103:
2432103: if (timeout <= 0 || count <= 0) {
2432103: state->packet_timeout_ms = -1;
2432103: return;
2432103: }
2432103: if ((0x7fffffff
2432103: # 338 "../../packet.c"
2432103: / 1000) / count < timeout)
2432103: state->packet_timeout_ms = 0x7fffffff
2432103: # 339 "../../packet.c"
2432103: ;
2432103: else
2432103: state->packet_timeout_ms = timeout * count * 1000;
2432103: }
2432103:
2432103: void
2432103: ssh_packet_set_mux(struct ssh *ssh)
2432103: {
2432103: ssh->state->mux = 1;
2432103: ssh->state->rekeying = 0;
2432103: kex_free(ssh->kex);
2432103: ssh->kex =
2432103: # 350 "../../packet.c" 3 4
2432103: ((void *)0)
2432103: # 350 "../../packet.c"
2432103: ;
2432103: }
2432103:
2432103: int
2432103: ssh_packet_get_mux(struct ssh *ssh)
2432103: {
2432103: return ssh->state->mux;
2432103: }
2432103:
2432103: int
2432103: ssh_packet_set_log_preamble(struct ssh *ssh, const char *fmt, ...)
2432103: {
2432103: va_list args;
2432103: int r;
2432103:
2432103: free(ssh->log_preamble);
2432103: if (fmt ==
2432103: # 366 "../../packet.c" 3 4
2432103: ((void *)0)
2432103: # 366 "../../packet.c"
2432103: )
2432103: ssh->log_preamble =
2432103: # 367 "../../packet.c" 3 4
2432103: ((void *)0)
2432103: # 367 "../../packet.c"
2432103: ;
2432103: else {
2432103:
2432103: # 369 "../../packet.c" 3 4
2432103: __builtin_va_start(
2432103: # 369 "../../packet.c"
2432103: args
2432103: # 369 "../../packet.c" 3 4
2432103: ,
2432103: # 369 "../../packet.c"
2432103: fmt
2432103: # 369 "../../packet.c" 3 4
2432103: )
2432103: # 369 "../../packet.c"
2432103: ;
2432103: r = vasprintf(&ssh->log_preamble, fmt, args);
2432103:
2432103: # 371 "../../packet.c" 3 4
2432103: __builtin_va_end(
2432103: # 371 "../../packet.c"
2432103: args
2432103: # 371 "../../packet.c" 3 4
2432103: )
2432103: # 371 "../../packet.c"
2432103: ;
2432103: if (r < 0 || ssh->log_preamble ==
2432103: # 372 "../../packet.c" 3 4
2432103: ((void *)0)
2432103: # 372 "../../packet.c"
2432103: )
2432103: return -2;
2432103: }
2432103: return 0;
2432103: }
2432103:
2432103: int
2432103: ssh_packet_stop_discard(struct ssh *ssh)
2432103: {
2432103: struct session_state *state = ssh->state;
2432103: int r;
2432103:
2432103: if (state->packet_discard_mac) {
2432103: char buf[1024];
2432103: size_t dlen = (256 * 1024);
2432103:
2432103: if (dlen > state->packet_discard_mac_already)
2432103: dlen -= state->packet_discard_mac_already;
2432103: memset(buf, 'a', sizeof(buf));
2432103: while (sshbuf_len(state->incoming_packet) < dlen)
2432103: if ((r = sshbuf_put(state->incoming_packet, buf,
2432103: sizeof(buf))) != 0)
2432103: return r;
2432103: (void) mac_compute(state->packet_discard_mac,
2432103: state->p_read.seqnr,
2432103: sshbuf_ptr(state->incoming_packet), dlen,
2432103:
2432103: # 398 "../../packet.c" 3 4
2432103: ((void *)0)
2432103: # 398 "../../packet.c"
2432103: , 0);
2432103: }
2432103: sshlog("../../packet.c", __func__, 400, 0, SYSLOG_LEVEL_INFO,
2432103: # 400 "../../packet.c" 3 4
2432103: ((void *)0)
2432103: # 400 "../../packet.c"
2432103: , "Finished discarding for %.200s port %d", ssh_remote_ipaddr(ssh), ssh_remote_port(ssh))
2432103: ;
2432103: return -30;
2432103: }
2432103:
2432103: static int
2432103: ssh_packet_start_discard(struct ssh *ssh, struct sshenc *enc,
2432103: struct sshmac *mac, size_t mac_already, u_int discard)
2432103: {
2432103: struct session_state *state = ssh->state;
2432103: int r;
2432103:
2432103: if (enc ==
2432103: # 412 "../../packet.c" 3 4
2432103: ((void *)0)
2432103: # 412 "../../packet.c"
2432103: || !cipher_is_cbc(enc->cipher) || (mac && mac->etm)) {
2432103: if ((r = sshpkt_disconnect(ssh, "Packet corrupt")) != 0)
2432103: return r;
2432103: return -30;
2432103: }
2432103:
2432103:
2432103:
2432103:
2432103: if (mac && mac->enabled) {
2432103: state->packet_discard_mac = mac;
2432103: state->packet_discard_mac_already = mac_already;
2432103: }
2432103: if (sshbuf_len(state->input) >= discard)
2432103: return ssh_packet_stop_discard(ssh);
2432103: state->packet_discard = discard - sshbuf_len(state->input);
2432103: return 0;
2432103: }
2432103:
2432103:
2432103:
2432103: int
2432103: ssh_packet_connection_is_on_socket(struct ssh *ssh)
2432103: {
2432103: struct session_state *state;
2432103: struct sockaddr_storage from, to;
2432103: socklen_t fromlen, tolen;
2432103:
2432103: if (ssh ==
2432103: # 440 "../../packet.c" 3 4
2432103: ((void *)0)
2432103: # 440 "../../packet.c"
2432103: || ssh->state ==
2432103: # 440 "../../packet.c" 3 4
2432103: ((void *)0)
2432103: # 440 "../../packet.c"
2432103: )
2432103: return 0;
2432103:
2432103: state = ssh->state;
2432103: if (state->connection_in == -1 || state->connection_out == -1)
2432103: return 0;
2432103:
2432103: if (state->connection_in == state->connection_out)
2432103: return 1;
2432103: fromlen = sizeof(from);
2432103: memset(&from, 0, sizeof(from));
2432103: if (getpeername(state->connection_in, (struct sockaddr *)&from,
2432103: &fromlen) == -1)
2432103: return 0;
2432103: tolen = sizeof(to);
2432103: memset(&to, 0, sizeof(to));
2432103: if (getpeername(state->connection_out, (struct sockaddr *)&to,
2432103: &tolen) == -1)
2432103: return 0;
2432103: if (fromlen != tolen || memcmp(&from, &to, fromlen) != 0)
2432103: return 0;
2432103: if (from.ss_family !=
2432103: # 461 "../../packet.c" 3 4
2432103: 2
2432103: # 461 "../../packet.c"
2432103: && from.ss_family !=
2432103: # 461 "../../packet.c" 3 4
2432103: 10
2432103: # 461 "../../packet.c"
2432103: )
2432103: return 0;
2432103: return 1;
2432103: }
2432103:
2432103: void
2432103: ssh_packet_get_bytes(struct ssh *ssh, u_int64_t *ibytes, u_int64_t *obytes)
2432103: {
2432103: if (ibytes)
2432103: *ibytes = ssh->state->p_read.bytes;
2432103: if (obytes)
2432103: *obytes = ssh->state->p_send.bytes;
2432103: }
2432103:
2432103: int
2432103: ssh_packet_connection_af(struct ssh *ssh)
2432103: {
2432103: return get_sock_af(ssh->state->connection_out);
2432103: }
2432103:
2432103:
2432103:
2432103: void
2432103: ssh_packet_set_nonblocking(struct ssh *ssh)
2432103: {
2432103:
2432103: set_nonblock(ssh->state->connection_in);
2432103:
2432103: if (ssh->state->connection_out != ssh->state->connection_in)
2432103: set_nonblock(ssh->state->connection_out);
2432103: }
2432103:
2432103:
2432103:
2432103: int
2432103: ssh_packet_get_connection_in(struct ssh *ssh)
2432103: {
2432103: return ssh->state->connection_in;
2432103: }
2432103:
2432103:
2432103:
2432103: int
2432103: ssh_packet_get_connection_out(struct ssh *ssh)
2432103: {
2432103: return ssh->state->connection_out;
2432103: }
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: const char *
2432103: ssh_remote_ipaddr(struct ssh *ssh)
2432103: {
2432103: int sock;
2432103:
2432103:
2432103: if (ssh->remote_ipaddr ==
2432103: # 520 "../../packet.c" 3 4
2432103: ((void *)0)
2432103: # 520 "../../packet.c"
2432103: ) {
2432103: if (ssh_packet_connection_is_on_socket(ssh)) {
2432103: sock = ssh->state->connection_in;
2432103: ssh->remote_ipaddr = get_peer_ipaddr(sock);
2432103: ssh->remote_port = get_peer_port(sock);
2432103: ssh->local_ipaddr = get_local_ipaddr(sock);
2432103: ssh->local_port = get_local_port(sock);
2432103: } else {
2432103: ssh->remote_ipaddr = xstrdup("UNKNOWN");
2432103: ssh->remote_port = 65535;
2432103: ssh->local_ipaddr = xstrdup("UNKNOWN");
2432103: ssh->local_port = 65535;
2432103: }
2432103: }
2432103: return ssh->remote_ipaddr;
2432103: }
2432103:
2432103:
2432103:
2432103: int
2432103: ssh_remote_port(struct ssh *ssh)
2432103: {
2432103: (void)ssh_remote_ipaddr(ssh);
2432103: return ssh->remote_port;
2432103: }
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: const char *
2432103: ssh_local_ipaddr(struct ssh *ssh)
2432103: {
2432103: (void)ssh_remote_ipaddr(ssh);
2432103: return ssh->local_ipaddr;
2432103: }
2432103:
2432103:
2432103:
2432103: int
2432103: ssh_local_port(struct ssh *ssh)
2432103: {
2432103: (void)ssh_remote_ipaddr(ssh);
2432103: return ssh->local_port;
2432103: }
2432103:
2432103:
2432103: const char *
2432103: ssh_packet_rdomain_in(struct ssh *ssh)
2432103: {
2432103: if (ssh->rdomain_in !=
2432103: # 571 "../../packet.c" 3 4
2432103: ((void *)0)
2432103: # 571 "../../packet.c"
2432103: )
2432103: return ssh->rdomain_in;
2432103: if (!ssh_packet_connection_is_on_socket(ssh))
2432103: return
2432103: # 574 "../../packet.c" 3 4
2432103: ((void *)0)
2432103: # 574 "../../packet.c"
2432103: ;
2432103: ssh->rdomain_in = get_rdomain(ssh->state->connection_in);
2432103: return ssh->rdomain_in;
2432103: }
2432103:
2432103:
2432103:
2432103: static void
2432103: ssh_packet_close_internal(struct ssh *ssh, int do_close)
2432103: {
2432103: struct session_state *state = ssh->state;
2432103: u_int mode;
2432103:
2432103: if (!state->initialized)
2432103: return;
2432103: state->initialized = 0;
2432103: if (do_close) {
2432103: if (state->connection_in == state->connection_out) {
2432103: close(state->connection_out);
2432103: } else {
2432103: close(state->connection_in);
2432103: close(state->connection_out);
2432103: }
2432103: }
2432103: sshbuf_free(state->input);
2432103: sshbuf_free(state->output);
2432103: sshbuf_free(state->outgoing_packet);
2432103: sshbuf_free(state->incoming_packet);
2432103: for (mode = 0; mode < MODE_MAX; mode++) {
2432103: kex_free_newkeys(state->newkeys[mode]);
2432103: state->newkeys[mode] =
2432103: # 604 "../../packet.c" 3 4
2432103: ((void *)0)
2432103: # 604 "../../packet.c"
2432103: ;
2432103: ssh_clear_newkeys(ssh, mode);
2432103: }
2432103:
2432103:
2432103: if (do_close && state->compression_buffer) {
2432103: sshbuf_free(state->compression_buffer);
2432103: if (state->compression_out_started) {
2432103: z_streamp stream = &state->compression_out_stream;
2432103: sshlog("../../packet.c", __func__, 613, 0, SYSLOG_LEVEL_DEBUG1,
2432103: # 613 "../../packet.c" 3 4
2432103: ((void *)0)
2432103: # 613 "../../packet.c"
2432103: , "compress outgoing: " "raw data %llu, compressed %llu, factor %.2f", (unsigned long long)stream->total_in, (unsigned long long)stream->total_out, stream->total_in == 0 ? 0.0 : (double) stream->total_out / stream->total_in)
2432103:
2432103:
2432103:
2432103:
2432103: ;
2432103: if (state->compression_out_failures == 0)
2432103: deflateEnd(stream);
2432103: }
2432103: if (state->compression_in_started) {
2432103: z_streamp stream = &state->compression_in_stream;
2432103: sshlog("../../packet.c", __func__, 624, 0, SYSLOG_LEVEL_DEBUG1,
2432103: # 624 "../../packet.c" 3 4
2432103: ((void *)0)
2432103: # 624 "../../packet.c"
2432103: , "compress incoming: " "raw data %llu, compressed %llu, factor %.2f", (unsigned long long)stream->total_out, (unsigned long long)stream->total_in, stream->total_out == 0 ? 0.0 : (double) stream->total_in / stream->total_out)
2432103:
2432103:
2432103:
2432103:
2432103: ;
2432103: if (state->compression_in_failures == 0)
2432103: inflateEnd(stream);
2432103: }
2432103: }
2432103:
2432103: cipher_free(state->send_context);
2432103: cipher_free(state->receive_context);
2432103: state->send_context = state->receive_context =
2432103: # 637 "../../packet.c" 3 4
2432103: ((void *)0)
2432103: # 637 "../../packet.c"
2432103: ;
2432103: if (do_close) {
2432103: free(ssh->local_ipaddr);
2432103: ssh->local_ipaddr =
2432103: # 640 "../../packet.c" 3 4
2432103: ((void *)0)
2432103: # 640 "../../packet.c"
2432103: ;
2432103: free(ssh->remote_ipaddr);
2432103: ssh->remote_ipaddr =
2432103: # 642 "../../packet.c" 3 4
2432103: ((void *)0)
2432103: # 642 "../../packet.c"
2432103: ;
2432103: free(ssh->state);
2432103: ssh->state =
2432103: # 644 "../../packet.c" 3 4
2432103: ((void *)0)
2432103: # 644 "../../packet.c"
2432103: ;
2432103: kex_free(ssh->kex);
2432103: ssh->kex =
2432103: # 646 "../../packet.c" 3 4
2432103: ((void *)0)
2432103: # 646 "../../packet.c"
2432103: ;
2432103: }
2432103: }
2432103:
2432103: void
2432103: ssh_packet_close(struct ssh *ssh)
2432103: {
2432103: ssh_packet_close_internal(ssh, 1);
2432103: }
2432103:
2432103: void
2432103: ssh_packet_clear_keys(struct ssh *ssh)
2432103: {
2432103: ssh_packet_close_internal(ssh, 0);
2432103: }
2432103:
2432103:
2432103:
2432103: void
2432103: ssh_packet_set_protocol_flags(struct ssh *ssh, u_int protocol_flags)
2432103: {
2432103: ssh->state->remote_protocol_flags = protocol_flags;
2432103: }
2432103:
2432103:
2432103:
2432103: u_int
2432103: ssh_packet_get_protocol_flags(struct ssh *ssh)
2432103: {
2432103: return ssh->state->remote_protocol_flags;
2432103: }
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: static int
2432103: ssh_packet_init_compression(struct ssh *ssh)
2432103: {
2432103: if (!ssh->state->compression_buffer &&
2432103: ((ssh->state->compression_buffer = sshbuf_new()) ==
2432103: # 687 "../../packet.c" 3 4
2432103: ((void *)0)
2432103: # 687 "../../packet.c"
2432103: ))
2432103: return -2;
2432103: return 0;
2432103: }
2432103:
2432103:
2432103: static int
2432103: start_compression_out(struct ssh *ssh, int level)
2432103: {
2432103: if (level < 1 || level > 9)
2432103: return -10;
2432103: sshlog("../../packet.c", __func__, 698, 0, SYSLOG_LEVEL_DEBUG1,
2432103: # 698 "../../packet.c" 3 4
2432103: ((void *)0)
2432103: # 698 "../../packet.c"
2432103: , "Enabling compression at level %d.", level);
2432103: if (ssh->state->compression_out_started == 1)
2432103: deflateEnd(&ssh->state->compression_out_stream);
2432103: switch (
2432103: # 701 "../../packet.c" 3 4
2432103: deflateInit_((
2432103: # 701 "../../packet.c"
2432103: &ssh->state->compression_out_stream
2432103: # 701 "../../packet.c" 3 4
2432103: ), (
2432103: # 701 "../../packet.c"
2432103: level
2432103: # 701 "../../packet.c" 3 4
2432103: ), "1.3", (int)sizeof(z_stream))
2432103: # 701 "../../packet.c"
2432103: ) {
2432103: case
2432103: # 702 "../../packet.c" 3 4
2432103: 0
2432103: # 702 "../../packet.c"
2432103: :
2432103: ssh->state->compression_out_started = 1;
2432103: break;
2432103: case
2432103: # 705 "../../packet.c" 3 4
2432103: (-4)
2432103: # 705 "../../packet.c"
2432103: :
2432103: return -2;
2432103: default:
2432103: return -1;
2432103: }
2432103: return 0;
2432103: }
2432103:
2432103: static int
2432103: start_compression_in(struct ssh *ssh)
2432103: {
2432103: if (ssh->state->compression_in_started == 1)
2432103: inflateEnd(&ssh->state->compression_in_stream);
2432103: switch (
2432103: # 718 "../../packet.c" 3 4
2432103: inflateInit_((
2432103: # 718 "../../packet.c"
2432103: &ssh->state->compression_in_stream
2432103: # 718 "../../packet.c" 3 4
2432103: ), "1.3", (int)sizeof(z_stream))
2432103: # 718 "../../packet.c"
2432103: ) {
2432103: case
2432103: # 719 "../../packet.c" 3 4
2432103: 0
2432103: # 719 "../../packet.c"
2432103: :
2432103: ssh->state->compression_in_started = 1;
2432103: break;
2432103: case
2432103: # 722 "../../packet.c" 3 4
2432103: (-4)
2432103: # 722 "../../packet.c"
2432103: :
2432103: return -2;
2432103: default:
2432103: return -1;
2432103: }
2432103: return 0;
2432103: }
2432103:
2432103:
2432103: static int
2432103: compress_buffer(struct ssh *ssh, struct sshbuf *in, struct sshbuf *out)
2432103: {
2432103: u_char buf[4096];
2432103: int r, status;
2432103:
2432103: if (ssh->state->compression_out_started != 1)
2432103: return -1;
2432103:
2432103:
2432103: if (sshbuf_len(in) == 0)
2432103: return 0;
2432103:
2432103:
2432103: if ((ssh->state->compression_out_stream.next_in =
2432103: sshbuf_mutable_ptr(in)) ==
2432103: # 746 "../../packet.c" 3 4
2432103: ((void *)0)
2432103: # 746 "../../packet.c"
2432103: )
2432103: return -1;
2432103: ssh->state->compression_out_stream.avail_in = sshbuf_len(in);
2432103:
2432103:
2432103: do {
2432103:
2432103: ssh->state->compression_out_stream.next_out = buf;
2432103: ssh->state->compression_out_stream.avail_out = sizeof(buf);
2432103:
2432103:
2432103: status = deflate(&ssh->state->compression_out_stream,
2432103:
2432103: # 758 "../../packet.c" 3 4
2432103: 1
2432103: # 758 "../../packet.c"
2432103: );
2432103: switch (status) {
2432103: case
2432103: # 760 "../../packet.c" 3 4
2432103: (-4)
2432103: # 760 "../../packet.c"
2432103: :
2432103: return -2;
2432103: case
2432103: # 762 "../../packet.c" 3 4
2432103: 0
2432103: # 762 "../../packet.c"
2432103: :
2432103:
2432103: if ((r = sshbuf_put(out, buf, sizeof(buf) -
2432103: ssh->state->compression_out_stream.avail_out)) != 0)
2432103: return r;
2432103: break;
2432103: case
2432103: # 768 "../../packet.c" 3 4
2432103: (-2)
2432103: # 768 "../../packet.c"
2432103: :
2432103: default:
2432103: ssh->state->compression_out_failures++;
2432103: return -4;
2432103: }
2432103: } while (ssh->state->compression_out_stream.avail_out == 0);
2432103: return 0;
2432103: }
2432103:
2432103: static int
2432103: uncompress_buffer(struct ssh *ssh, struct sshbuf *in, struct sshbuf *out)
2432103: {
2432103: u_char buf[4096];
2432103: int r, status;
2432103:
2432103: if (ssh->state->compression_in_started != 1)
2432103: return -1;
2432103:
2432103: if ((ssh->state->compression_in_stream.next_in =
2432103: sshbuf_mutable_ptr(in)) ==
2432103: # 787 "../../packet.c" 3 4
2432103: ((void *)0)
2432103: # 787 "../../packet.c"
2432103: )
2432103: return -1;
2432103: ssh->state->compression_in_stream.avail_in = sshbuf_len(in);
2432103:
2432103: for (;;) {
2432103:
2432103: ssh->state->compression_in_stream.next_out = buf;
2432103: ssh->state->compression_in_stream.avail_out = sizeof(buf);
2432103:
2432103: status = inflate(&ssh->state->compression_in_stream,
2432103:
2432103: # 797 "../../packet.c" 3 4
2432103: 2
2432103: # 797 "../../packet.c"
2432103: );
2432103: switch (status) {
2432103: case
2432103: # 799 "../../packet.c" 3 4
2432103: 0
2432103: # 799 "../../packet.c"
2432103: :
2432103: if ((r = sshbuf_put(out, buf, sizeof(buf) -
2432103: ssh->state->compression_in_stream.avail_out)) != 0)
2432103: return r;
2432103: break;
2432103: case
2432103: # 804 "../../packet.c" 3 4
2432103: (-5)
2432103: # 804 "../../packet.c"
2432103: :
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: return 0;
2432103: case
2432103: # 811 "../../packet.c" 3 4
2432103: (-3)
2432103: # 811 "../../packet.c"
2432103: :
2432103: return -4;
2432103: case
2432103: # 813 "../../packet.c" 3 4
2432103: (-4)
2432103: # 813 "../../packet.c"
2432103: :
2432103: return -2;
2432103: case
2432103: # 815 "../../packet.c" 3 4
2432103: (-2)
2432103: # 815 "../../packet.c"
2432103: :
2432103: default:
2432103: ssh->state->compression_in_failures++;
2432103: return -1;
2432103: }
2432103: }
2432103:
2432103: }
2432103: # 851 "../../packet.c"
2432103: void
2432103: ssh_clear_newkeys(struct ssh *ssh, int mode)
2432103: {
2432103: if (ssh->kex && ssh->kex->newkeys[mode]) {
2432103: kex_free_newkeys(ssh->kex->newkeys[mode]);
2432103: ssh->kex->newkeys[mode] =
2432103: # 856 "../../packet.c" 3 4
2432103: ((void *)0)
2432103: # 856 "../../packet.c"
2432103: ;
2432103: }
2432103: }
2432103:
2432103: int
2432103: ssh_set_newkeys(struct ssh *ssh, int mode)
2432103: {
2432103: struct session_state *state = ssh->state;
2432103: struct sshenc *enc;
2432103: struct sshmac *mac;
2432103: struct sshcomp *comp;
2432103: struct sshcipher_ctx **ccp;
2432103: struct packet_state *ps;
2432103: u_int64_t *max_blocks;
2432103: const char *wmsg;
2432103: int r, crypt_type;
2432103: const char *dir = mode == MODE_OUT ? "out" : "in";
2432103:
2432103: sshlog("../../packet.c", __func__, 874, 1, SYSLOG_LEVEL_DEBUG2,
2432103: # 874 "../../packet.c" 3 4
2432103: ((void *)0)
2432103: # 874 "../../packet.c"
2432103: , "mode %d", mode);
2432103:
2432103: if (mode == MODE_OUT) {
2432103: ccp = &state->send_context;
2432103: crypt_type = 1;
2432103: ps = &state->p_send;
2432103: max_blocks = &state->max_blocks_out;
2432103: } else {
2432103: ccp = &state->receive_context;
2432103: crypt_type = 0;
2432103: ps = &state->p_read;
2432103: max_blocks = &state->max_blocks_in;
2432103: }
2432103: if (state->newkeys[mode] !=
2432103: # 887 "../../packet.c" 3 4
2432103: ((void *)0)
2432103: # 887 "../../packet.c"
2432103: ) {
2432103: sshlog("../../packet.c", __func__, 888, 1, SYSLOG_LEVEL_DEBUG1,
2432103: # 888 "../../packet.c" 3 4
2432103: ((void *)0)
2432103: # 888 "../../packet.c"
2432103: , "rekeying %s, input %llu bytes %llu blocks, " "output %llu bytes %llu blocks", dir, (unsigned long long)state->p_read.bytes, (unsigned long long)state->p_read.blocks, (unsigned long long)state->p_send.bytes, (unsigned long long)state->p_send.blocks)
2432103:
2432103:
2432103:
2432103:
2432103: ;
2432103: kex_free_newkeys(state->newkeys[mode]);
2432103: state->newkeys[mode] =
2432103: # 895 "../../packet.c" 3 4
2432103: ((void *)0)
2432103: # 895 "../../packet.c"
2432103: ;
2432103: }
2432103:
2432103: ps->packets = ps->blocks = 0;
2432103:
2432103: if ((state->newkeys[mode] = ssh->kex->newkeys[mode]) ==
2432103: # 900 "../../packet.c" 3 4
2432103: ((void *)0)
2432103: # 900 "../../packet.c"
2432103: )
2432103: return -1;
2432103: ssh->kex->newkeys[mode] =
2432103: # 902 "../../packet.c" 3 4
2432103: ((void *)0)
2432103: # 902 "../../packet.c"
2432103: ;
2432103: enc = &state->newkeys[mode]->enc;
2432103: mac = &state->newkeys[mode]->mac;
2432103: comp = &state->newkeys[mode]->comp;
2432103: if (cipher_authlen(enc->cipher) == 0) {
2432103: if ((r = mac_init(mac)) != 0)
2432103: return r;
2432103: }
2432103: mac->enabled = 1;
2432103: ;
2432103: cipher_free(*ccp);
2432103: *ccp =
2432103: # 913 "../../packet.c" 3 4
2432103: ((void *)0)
2432103: # 913 "../../packet.c"
2432103: ;
2432103: if ((r = cipher_init(ccp, enc->cipher, enc->key, enc->key_len,
2432103: enc->iv, enc->iv_len, crypt_type)) != 0)
2432103: return r;
2432103: if (!state->cipher_warning_done &&
2432103: (wmsg = cipher_warning_message(*ccp)) !=
2432103: # 918 "../../packet.c" 3 4
2432103: ((void *)0)
2432103: # 918 "../../packet.c"
2432103: ) {
2432103: sshlog("../../packet.c", __func__, 919, 0, SYSLOG_LEVEL_ERROR,
2432103: # 919 "../../packet.c" 3 4
2432103: ((void *)0)
2432103: # 919 "../../packet.c"
2432103: , "Warning: %s", wmsg);
2432103: state->cipher_warning_done = 1;
2432103: }
2432103:
2432103:
2432103:
2432103:
2432103: if ((comp->type == 1 ||
2432103: (comp->type == 2 &&
2432103: state->after_authentication)) && comp->enabled == 0) {
2432103: if ((r = ssh_packet_init_compression(ssh)) < 0)
2432103: return r;
2432103: if (mode == MODE_OUT) {
2432103: if ((r = start_compression_out(ssh, 6)) != 0)
2432103: return r;
2432103: } else {
2432103: if ((r = start_compression_in(ssh)) != 0)
2432103: return r;
2432103: }
2432103: comp->enabled = 1;
2432103: }
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: if (enc->block_size >= 16)
2432103: *max_blocks = (u_int64_t)1 << (enc->block_size*2);
2432103: else
2432103: *max_blocks = ((u_int64_t)1 << 30) / enc->block_size;
2432103: if (state->rekey_limit)
2432103: *max_blocks = (((*max_blocks) < (state->rekey_limit / enc->block_size)) ? (*max_blocks) : (state->rekey_limit / enc->block_size))
2432103: ;
2432103: sshlog("../../packet.c", __func__, 952, 0, SYSLOG_LEVEL_DEBUG1,
2432103: # 952 "../../packet.c" 3 4
2432103: ((void *)0)
2432103: # 952 "../../packet.c"
2432103: , "rekey %s after %llu blocks", dir, (unsigned long long)*max_blocks)
2432103: ;
2432103: return 0;
2432103: }
2432103:
2432103:
2432103: static int
2432103: ssh_packet_need_rekeying(struct ssh *ssh, u_int outbound_packet_len)
2432103: {
2432103: struct session_state *state = ssh->state;
2432103: u_int32_t out_blocks;
2432103:
2432103:
2432103: if (!state->after_authentication)
2432103: return 0;
2432103:
2432103:
2432103: if (ssh_packet_is_rekeying(ssh))
2432103: return 0;
2432103:
2432103:
2432103: if (ssh->compat & 0x00008000)
2432103: return 0;
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: if (state->p_send.packets == 0 && state->p_read.packets == 0)
2432103: return 0;
2432103:
2432103:
2432103: if (state->rekey_interval != 0 &&
2432103: (int64_t)state->rekey_time + state->rekey_interval <= monotime())
2432103: return 1;
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: if (state->p_send.packets > (1U<<31) ||
2432103: state->p_read.packets > (1U<<31))
2432103: return 1;
2432103:
2432103:
2432103: out_blocks = ((((outbound_packet_len)+((state->newkeys[MODE_OUT]->enc.block_size)-1))/(state->newkeys[MODE_OUT]->enc.block_size))*(state->newkeys[MODE_OUT]->enc.block_size))
2432103: ;
2432103: return (state->max_blocks_out &&
2432103: (state->p_send.blocks + out_blocks > state->max_blocks_out)) ||
2432103: (state->max_blocks_in &&
2432103: (state->p_read.blocks > state->max_blocks_in));
2432103: }
2432103:
2432103: int
2432103: ssh_packet_check_rekey(struct ssh *ssh)
2432103: {
2432103: if (!ssh_packet_need_rekeying(ssh, 0))
2432103: return 0;
2432103: sshlog("../../packet.c", __func__, 1010, 1, SYSLOG_LEVEL_DEBUG3,
2432103: # 1010 "../../packet.c" 3 4
2432103: ((void *)0)
2432103: # 1010 "../../packet.c"
2432103: , "rekex triggered");
2432103: return kex_start_rekex(ssh);
2432103: }
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: static int
2432103: ssh_packet_enable_delayed_compress(struct ssh *ssh)
2432103: {
2432103: struct session_state *state = ssh->state;
2432103: struct sshcomp *comp =
2432103: # 1023 "../../packet.c" 3 4
2432103: ((void *)0)
2432103: # 1023 "../../packet.c"
2432103: ;
2432103: int r, mode;
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: state->after_authentication = 1;
2432103: for (mode = 0; mode < MODE_MAX; mode++) {
2432103:
2432103: if (state->newkeys[mode] ==
2432103: # 1033 "../../packet.c" 3 4
2432103: ((void *)0)
2432103: # 1033 "../../packet.c"
2432103: )
2432103: continue;
2432103: comp = &state->newkeys[mode]->comp;
2432103: if (comp && !comp->enabled && comp->type == 2) {
2432103: if ((r = ssh_packet_init_compression(ssh)) != 0)
2432103: return r;
2432103: if (mode == MODE_OUT) {
2432103: if ((r = start_compression_out(ssh, 6)) != 0)
2432103: return r;
2432103: } else {
2432103: if ((r = start_compression_in(ssh)) != 0)
2432103: return r;
2432103: }
2432103: comp->enabled = 1;
2432103: }
2432103: }
2432103: return 0;
2432103: }
2432103:
2432103:
2432103: int
2432103: ssh_packet_log_type(u_char type)
2432103: {
2432103: switch (type) {
2432103: case 192:
2432103: case 193:
2432103: case 94:
2432103: case 95:
2432103: case 93:
2432103: return 0;
2432103: default:
2432103: return 1;
2432103: }
2432103: }
2432103:
2432103:
2432103:
2432103:
2432103: int
2432103: ssh_packet_send2_wrapped(struct ssh *ssh)
2432103: {
2432103: struct session_state *state = ssh->state;
2432103: u_char type, *cp, macbuf[64];
2432103: u_char tmp, padlen, pad = 0;
2432103: u_int authlen = 0, aadlen = 0;
2432103: u_int len;
2432103: struct sshenc *enc =
2432103: # 1079 "../../packet.c" 3 4
2432103: ((void *)0)
2432103: # 1079 "../../packet.c"
2432103: ;
2432103: struct sshmac *mac =
2432103: # 1080 "../../packet.c" 3 4
2432103: ((void *)0)
2432103: # 1080 "../../packet.c"
2432103: ;
2432103: struct sshcomp *comp =
2432103: # 1081 "../../packet.c" 3 4
2432103: ((void *)0)
2432103: # 1081 "../../packet.c"
2432103: ;
2432103: int r, block_size;
2432103:
2432103: if (state->newkeys[MODE_OUT] !=
2432103: # 1084 "../../packet.c" 3 4
2432103: ((void *)0)
2432103: # 1084 "../../packet.c"
2432103: ) {
2432103: enc = &state->newkeys[MODE_OUT]->enc;
2432103: mac = &state->newkeys[MODE_OUT]->mac;
2432103: comp = &state->newkeys[MODE_OUT]->comp;
2432103:
2432103: if ((authlen = cipher_authlen(enc->cipher)) != 0)
2432103: mac =
2432103: # 1090 "../../packet.c" 3 4
2432103: ((void *)0)
2432103: # 1090 "../../packet.c"
2432103: ;
2432103: }
2432103: block_size = enc ? enc->block_size : 8;
2432103: aadlen = (mac && mac->enabled && mac->etm) || authlen ? 4 : 0;
2432103:
2432103: type = (sshbuf_ptr(state->outgoing_packet))[5];
2432103: if (ssh_packet_log_type(type))
2432103: sshlog("../../packet.c", __func__, 1097, 0, SYSLOG_LEVEL_DEBUG3,
2432103: # 1097 "../../packet.c" 3 4
2432103: ((void *)0)
2432103: # 1097 "../../packet.c"
2432103: , "send packet: type %u", type);
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: if (comp && comp->enabled) {
2432103: len = sshbuf_len(state->outgoing_packet);
2432103:
2432103: if ((r = sshbuf_consume(state->outgoing_packet, 5)) != 0)
2432103: goto out;
2432103: sshbuf_reset(state->compression_buffer);
2432103: if ((r = compress_buffer(ssh, state->outgoing_packet,
2432103: state->compression_buffer)) != 0)
2432103: goto out;
2432103: sshbuf_reset(state->outgoing_packet);
2432103: if ((r = sshbuf_put(state->outgoing_packet,
2432103: "\0\0\0\0\0", 5)) != 0 ||
2432103: (r = sshbuf_putb(state->outgoing_packet,
2432103: state->compression_buffer)) != 0)
2432103: goto out;
2432103:
2432103: ;
2432103: }
2432103:
2432103:
2432103: len = sshbuf_len(state->outgoing_packet);
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: len -= aadlen;
2432103: padlen = block_size - (len % block_size);
2432103: if (padlen < 4)
2432103: padlen += block_size;
2432103: if (state->extra_pad) {
2432103: tmp = state->extra_pad;
2432103: state->extra_pad =
2432103: ((((state->extra_pad)+((block_size)-1))/(block_size))*(block_size));
2432103:
2432103: if (state->extra_pad < tmp)
2432103: return -10;
2432103: tmp = (len + padlen) % state->extra_pad;
2432103:
2432103: if (tmp > state->extra_pad)
2432103: return -10;
2432103: pad = state->extra_pad - tmp;
2432103:
2432103: ;
2432103: tmp = padlen;
2432103: padlen += pad;
2432103:
2432103: if (padlen < tmp)
2432103: return -10;
2432103: state->extra_pad = 0;
2432103: }
2432103: if ((r = sshbuf_reserve(state->outgoing_packet, padlen, &cp)) != 0)
2432103: goto out;
2432103: if (enc && !cipher_ctx_is_plaintext(state->send_context)) {
2432103:
2432103: arc4random_buf(cp, padlen);
2432103: } else {
2432103:
2432103: explicit_bzero(cp, padlen);
2432103: }
2432103:
2432103: len = sshbuf_len(state->outgoing_packet);
2432103: cp = sshbuf_mutable_ptr(state->outgoing_packet);
2432103: if (cp ==
2432103: # 1166 "../../packet.c" 3 4
2432103: ((void *)0)
2432103: # 1166 "../../packet.c"
2432103: ) {
2432103: r = -1;
2432103: goto out;
2432103: }
2432103:
2432103: do { const u_int32_t __v = (len - 4); ((u_char *)(cp))[0] = (__v >> 24) & 0xff; ((u_char *)(cp))[1] = (__v >> 16) & 0xff; ((u_char *)(cp))[2] = (__v >> 8) & 0xff; ((u_char *)(cp))[3] = __v & 0xff; } while (0);
2432103: cp[4] = padlen;
2432103:
2432103: ;
2432103:
2432103:
2432103: if (mac && mac->enabled && !mac->etm) {
2432103: if ((r = mac_compute(mac, state->p_send.seqnr,
2432103: sshbuf_ptr(state->outgoing_packet), len,
2432103: macbuf, sizeof(macbuf))) != 0)
2432103: goto out;
2432103: ;
2432103: }
2432103:
2432103: if ((r = sshbuf_reserve(state->output,
2432103: sshbuf_len(state->outgoing_packet) + authlen, &cp)) != 0)
2432103: goto out;
2432103: if ((r = cipher_crypt(state->send_context, state->p_send.seqnr, cp,
2432103: sshbuf_ptr(state->outgoing_packet),
2432103: len - aadlen, aadlen, authlen)) != 0)
2432103: goto out;
2432103:
2432103: if (mac && mac->enabled) {
2432103: if (mac->etm) {
2432103:
2432103: if ((r = mac_compute(mac, state->p_send.seqnr,
2432103: cp, len, macbuf, sizeof(macbuf))) != 0)
2432103: goto out;
2432103:
2432103: ;
2432103: }
2432103: if ((r = sshbuf_put(state->output, macbuf, mac->mac_len)) != 0)
2432103: goto out;
2432103: }
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: if (++state->p_send.seqnr == 0) {
2432103: if ((ssh->kex->flags & 0x0002) != 0) {
2432103: ssh_packet_disconnect(ssh, "outgoing sequence number "
2432103: "wrapped during initial key exchange");
2432103: }
2432103: sshlog("../../packet.c", __func__, 1215, 0, SYSLOG_LEVEL_INFO,
2432103: # 1215 "../../packet.c" 3 4
2432103: ((void *)0)
2432103: # 1215 "../../packet.c"
2432103: , "outgoing seqnr wraps around");
2432103: }
2432103: if (++state->p_send.packets == 0)
2432103: if (!(ssh->compat & 0x00008000))
2432103: return -39;
2432103: state->p_send.blocks += len / block_size;
2432103: state->p_send.bytes += len;
2432103: sshbuf_reset(state->outgoing_packet);
2432103:
2432103: if (type == 21 && ssh->kex->kex_strict) {
2432103: sshlog("../../packet.c", __func__, 1225, 1, SYSLOG_LEVEL_DEBUG1,
2432103: # 1225 "../../packet.c" 3 4
2432103: ((void *)0)
2432103: # 1225 "../../packet.c"
2432103: , "resetting send seqnr %u", state->p_send.seqnr);
2432103: state->p_send.seqnr = 0;
2432103: }
2432103:
2432103: if (type == 21)
2432103: r = ssh_set_newkeys(ssh, MODE_OUT);
2432103: else if (type == 52 && state->server_side)
2432103: r = ssh_packet_enable_delayed_compress(ssh);
2432103: else
2432103: r = 0;
2432103: out:
2432103: return r;
2432103: }
2432103:
2432103:
2432103: static int
2432103: ssh_packet_type_is_kex(u_char type)
2432103: {
2432103: return
2432103: type >= 1 &&
2432103: type <= 49 &&
2432103: type != 5 &&
2432103: type != 6 &&
2432103: type != 7;
2432103: }
2432103:
2432103: int
2432103: ssh_packet_send2(struct ssh *ssh)
2432103: {
2432103: struct session_state *state = ssh->state;
2432103: struct packet *p;
2432103: u_char type;
2432103: int r, need_rekey;
2432103:
2432103: if (sshbuf_len(state->outgoing_packet) < 6)
2432103: return -1;
2432103: type = sshbuf_ptr(state->outgoing_packet)[5];
2432103: need_rekey = !ssh_packet_type_is_kex(type) &&
2432103: ssh_packet_need_rekeying(ssh, sshbuf_len(state->outgoing_packet));
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: if ((need_rekey || state->rekeying) && !ssh_packet_type_is_kex(type)) {
2432103: if (need_rekey)
2432103: sshlog("../../packet.c", __func__, 1271, 1, SYSLOG_LEVEL_DEBUG3,
2432103: # 1271 "../../packet.c" 3 4
2432103: ((void *)0)
2432103: # 1271 "../../packet.c"
2432103: , "rekex triggered");
2432103: sshlog("../../packet.c", __func__, 1272, 0, SYSLOG_LEVEL_DEBUG1,
2432103: # 1272 "../../packet.c" 3 4
2432103: ((void *)0)
2432103: # 1272 "../../packet.c"
2432103: , "enqueue packet: %u", type);
2432103: p = calloc(1, sizeof(*p));
2432103: if (p ==
2432103: # 1274 "../../packet.c" 3 4
2432103: ((void *)0)
2432103: # 1274 "../../packet.c"
2432103: )
2432103: return -2;
2432103: p->type = type;
2432103: p->payload = state->outgoing_packet;
2432103: do { (p)->next.tqe_next =
2432103: # 1278 "../../packet.c" 3 4
2432103: ((void *)0)
2432103: # 1278 "../../packet.c"
2432103: ; (p)->next.tqe_prev = (&state->outgoing)->tqh_last; *(&state->outgoing)->tqh_last = (p); (&state->outgoing)->tqh_last = &(p)->next.tqe_next; } while (0);
2432103: state->outgoing_packet = sshbuf_new();
2432103: if (state->outgoing_packet ==
2432103: # 1280 "../../packet.c" 3 4
2432103: ((void *)0)
2432103: # 1280 "../../packet.c"
2432103: )
2432103: return -2;
2432103: if (need_rekey) {
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: return kex_start_rekex(ssh);
2432103: }
2432103: return 0;
2432103: }
2432103:
2432103:
2432103: if (type == 20)
2432103: state->rekeying = 1;
2432103:
2432103: if ((r = ssh_packet_send2_wrapped(ssh)) != 0)
2432103: return r;
2432103:
2432103:
2432103: if (type == 21) {
2432103: state->rekeying = 0;
2432103: state->rekey_time = monotime();
2432103: while ((p = ((&state->outgoing)->tqh_first))) {
2432103: type = p->type;
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: if (ssh_packet_need_rekeying(ssh,
2432103: sshbuf_len(p->payload))) {
2432103: sshlog("../../packet.c", __func__, 1313, 1, SYSLOG_LEVEL_DEBUG3,
2432103: # 1313 "../../packet.c" 3 4
2432103: ((void *)0)
2432103: # 1313 "../../packet.c"
2432103: , "queued packet triggered rekex");
2432103: return kex_start_rekex(ssh);
2432103: }
2432103: sshlog("../../packet.c", __func__, 1316, 0, SYSLOG_LEVEL_DEBUG1,
2432103: # 1316 "../../packet.c" 3 4
2432103: ((void *)0)
2432103: # 1316 "../../packet.c"
2432103: , "dequeue packet: %u", type);
2432103: sshbuf_free(state->outgoing_packet);
2432103: state->outgoing_packet = p->payload;
2432103: do { if (((p)->next.tqe_next) !=
2432103: # 1319 "../../packet.c" 3 4
2432103: ((void *)0)
2432103: # 1319 "../../packet.c"
2432103: ) (p)->next.tqe_next->next.tqe_prev = (p)->next.tqe_prev; else (&state->outgoing)->tqh_last = (p)->next.tqe_prev; *(p)->next.tqe_prev = (p)->next.tqe_next; ; ; } while (0);
2432103: memset(p, 0, sizeof(*p));
2432103: free(p);
2432103: if ((r = ssh_packet_send2_wrapped(ssh)) != 0)
2432103: return r;
2432103: }
2432103: }
2432103: return 0;
2432103: }
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: int
2432103: ssh_packet_read_seqnr(struct ssh *ssh, u_char *typep, u_int32_t *seqnr_p)
2432103: {
2432103: struct session_state *state = ssh->state;
2432103: int len, r, ms_remain = 0;
2432103: struct pollfd pfd;
2432103: char buf[8192];
2432103: struct timeval start;
2432103: struct timespec timespec, *timespecp =
2432103: # 1343 "../../packet.c" 3 4
2432103: ((void *)0)
2432103: # 1343 "../../packet.c"
2432103: ;
2432103:
2432103: ;
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: if ((r = ssh_packet_write_wait(ssh)) != 0)
2432103: goto out;
2432103:
2432103:
2432103: for (;;) {
2432103:
2432103: if ((r = ssh_packet_read_poll_seqnr(ssh, typep, seqnr_p)) != 0)
2432103: break;
2432103:
2432103: if (*typep != 0)
2432103: break;
2432103:
2432103:
2432103:
2432103:
2432103: pfd.fd = state->connection_in;
2432103: pfd.events =
2432103: # 1367 "../../packet.c" 3 4
2432103: 0x001
2432103: # 1367 "../../packet.c"
2432103: ;
2432103:
2432103: if (state->packet_timeout_ms > 0) {
2432103: ms_remain = state->packet_timeout_ms;
2432103: timespecp = ×pec;
2432103: }
2432103:
2432103: for (;;) {
2432103: if (state->packet_timeout_ms > 0) {
2432103: ms_to_timespec(×pec, ms_remain);
2432103: monotime_tv(&start);
2432103: }
2432103: if ((r = ppoll(&pfd, 1, timespecp,
2432103: # 1379 "../../packet.c" 3 4
2432103: ((void *)0)
2432103: # 1379 "../../packet.c"
2432103: )) >= 0)
2432103: break;
2432103: if (
2432103: # 1381 "../../packet.c" 3 4
2432103: (*__errno_location ())
2432103: # 1381 "../../packet.c"
2432103: !=
2432103: # 1381 "../../packet.c" 3 4
2432103: 11
2432103: # 1381 "../../packet.c"
2432103: &&
2432103: # 1381 "../../packet.c" 3 4
2432103: (*__errno_location ())
2432103: # 1381 "../../packet.c"
2432103: !=
2432103: # 1381 "../../packet.c" 3 4
2432103: 4
2432103: # 1381 "../../packet.c"
2432103: &&
2432103:
2432103: # 1382 "../../packet.c" 3 4
2432103: (*__errno_location ())
2432103: # 1382 "../../packet.c"
2432103: !=
2432103: # 1382 "../../packet.c" 3 4
2432103: 11
2432103: # 1382 "../../packet.c"
2432103: ) {
2432103: r = -24;
2432103: goto out;
2432103: }
2432103: if (state->packet_timeout_ms <= 0)
2432103: continue;
2432103: ms_subtract_diff(&start, &ms_remain);
2432103: if (ms_remain <= 0) {
2432103: r = 0;
2432103: break;
2432103: }
2432103: }
2432103: if (r == 0) {
2432103: r = -53;
2432103: goto out;
2432103: }
2432103:
2432103: len = read(state->connection_in, buf, sizeof(buf));
2432103: if (len == 0) {
2432103: r = -52;
2432103: goto out;
2432103: }
2432103: if (len == -1) {
2432103: r = -24;
2432103: goto out;
2432103: }
2432103:
2432103:
2432103: if ((r = ssh_packet_process_incoming(ssh, buf, len)) != 0)
2432103: goto out;
2432103: }
2432103: out:
2432103: return r;
2432103: }
2432103:
2432103: int
2432103: ssh_packet_read(struct ssh *ssh)
2432103: {
2432103: u_char type;
2432103: int r;
2432103:
2432103: if ((r = ssh_packet_read_seqnr(ssh, &type,
2432103: # 1423 "../../packet.c" 3 4
2432103: ((void *)0)
2432103: # 1423 "../../packet.c"
2432103: )) != 0)
2432103: sshfatal("../../packet.c", __func__, 1424, 1, SYSLOG_LEVEL_FATAL, ssh_err(r), "read");
2432103: return type;
2432103: }
2432103:
2432103: static int
2432103: ssh_packet_read_poll2_mux(struct ssh *ssh, u_char *typep, u_int32_t *seqnr_p)
2432103: {
2432103: struct session_state *state = ssh->state;
2432103: const u_char *cp;
2432103: size_t need;
2432103: int r;
2432103:
2432103: if (ssh->kex)
2432103: return -1;
2432103: *typep = 0;
2432103: cp = sshbuf_ptr(state->input);
2432103: if (state->packlen == 0) {
2432103: if (sshbuf_len(state->input) < 4 + 1)
2432103: return 0;
2432103: state->packlen = (((u_int32_t)(((const u_char *)(cp))[0]) << 24) | ((u_int32_t)(((const u_char *)(cp))[1]) << 16) | ((u_int32_t)(((const u_char *)(cp))[2]) << 8) | (u_int32_t)(((const u_char *)(cp))[3]));
2432103: if (state->packlen < 4 + 1 ||
2432103: state->packlen > (256 * 1024))
2432103: return -3;
2432103: }
2432103: need = state->packlen + 4;
2432103: if (sshbuf_len(state->input) < need)
2432103: return 0;
2432103: sshbuf_reset(state->incoming_packet);
2432103: if ((r = sshbuf_put(state->incoming_packet, cp + 4,
2432103: state->packlen)) != 0 ||
2432103: (r = sshbuf_consume(state->input, need)) != 0 ||
2432103: (r = sshbuf_get_u8(state->incoming_packet,
2432103: # 1455 "../../packet.c" 3 4
2432103: ((void *)0)
2432103: # 1455 "../../packet.c"
2432103: )) != 0 ||
2432103: (r = sshbuf_get_u8(state->incoming_packet, typep)) != 0)
2432103: return r;
2432103: if (ssh_packet_log_type(*typep))
2432103: sshlog("../../packet.c", __func__, 1459, 1, SYSLOG_LEVEL_DEBUG3,
2432103: # 1459 "../../packet.c" 3 4
2432103: ((void *)0)
2432103: # 1459 "../../packet.c"
2432103: , "type %u", *typep);
2432103:
2432103:
2432103: state->packlen = 0;
2432103: return r;
2432103: }
2432103:
2432103: int
2432103: ssh_packet_read_poll2(struct ssh *ssh, u_char *typep, u_int32_t *seqnr_p)
2432103: {
2432103: struct session_state *state = ssh->state;
2432103: u_int padlen, need;
2432103: u_char *cp;
2432103: u_int maclen, aadlen = 0, authlen = 0, block_size;
2432103: struct sshenc *enc =
2432103: # 1473 "../../packet.c" 3 4
2432103: ((void *)0)
2432103: # 1473 "../../packet.c"
2432103: ;
2432103: struct sshmac *mac =
2432103: # 1474 "../../packet.c" 3 4
2432103: ((void *)0)
2432103: # 1474 "../../packet.c"
2432103: ;
2432103: struct sshcomp *comp =
2432103: # 1475 "../../packet.c" 3 4
2432103: ((void *)0)
2432103: # 1475 "../../packet.c"
2432103: ;
2432103: int r;
2432103:
2432103: if (state->mux)
2432103: return ssh_packet_read_poll2_mux(ssh, typep, seqnr_p);
2432103:
2432103: *typep = 0;
2432103:
2432103: if (state->packet_discard)
2432103: return 0;
2432103:
2432103: if (state->newkeys[MODE_IN] !=
2432103: # 1486 "../../packet.c" 3 4
2432103: ((void *)0)
2432103: # 1486 "../../packet.c"
2432103: ) {
2432103: enc = &state->newkeys[MODE_IN]->enc;
2432103: mac = &state->newkeys[MODE_IN]->mac;
2432103: comp = &state->newkeys[MODE_IN]->comp;
2432103:
2432103: if ((authlen = cipher_authlen(enc->cipher)) != 0)
2432103: mac =
2432103: # 1492 "../../packet.c" 3 4
2432103: ((void *)0)
2432103: # 1492 "../../packet.c"
2432103: ;
2432103: }
2432103: maclen = mac && mac->enabled ? mac->mac_len : 0;
2432103: block_size = enc ? enc->block_size : 8;
2432103: aadlen = (mac && mac->enabled && mac->etm) || authlen ? 4 : 0;
2432103:
2432103: if (aadlen && state->packlen == 0) {
2432103: if (cipher_get_length(state->receive_context,
2432103: &state->packlen, state->p_read.seqnr,
2432103: sshbuf_ptr(state->input), sshbuf_len(state->input)) != 0)
2432103: return 0;
2432103: if (state->packlen < 1 + 4 ||
2432103: state->packlen > (256 * 1024)) {
2432103:
2432103:
2432103:
2432103: sshlog("../../packet.c", __func__, 1508, 0, SYSLOG_LEVEL_INFO,
2432103: # 1508 "../../packet.c" 3 4
2432103: ((void *)0)
2432103: # 1508 "../../packet.c"
2432103: , "Bad packet length %u.", state->packlen);
2432103: if ((r = sshpkt_disconnect(ssh, "Packet corrupt")) != 0)
2432103: return r;
2432103: return -54;
2432103: }
2432103: sshbuf_reset(state->incoming_packet);
2432103: } else if (state->packlen == 0) {
2432103:
2432103:
2432103:
2432103:
2432103: if (sshbuf_len(state->input) < block_size)
2432103: return 0;
2432103: sshbuf_reset(state->incoming_packet);
2432103: if ((r = sshbuf_reserve(state->incoming_packet, block_size,
2432103: &cp)) != 0)
2432103: goto out;
2432103: if ((r = cipher_crypt(state->receive_context,
2432103: state->p_send.seqnr, cp, sshbuf_ptr(state->input),
2432103: block_size, 0, 0)) != 0)
2432103: goto out;
2432103: state->packlen = (((u_int32_t)(((const u_char *)(sshbuf_ptr(state->incoming_packet)))[0]) << 24) | ((u_int32_t)(((const u_char *)(sshbuf_ptr(state->incoming_packet)))[1]) << 16) | ((u_int32_t)(((const u_char *)(sshbuf_ptr(state->incoming_packet)))[2]) << 8) | (u_int32_t)(((const u_char *)(sshbuf_ptr(state->incoming_packet)))[3]));
2432103: if (state->packlen < 1 + 4 ||
2432103: state->packlen > (256 * 1024)) {
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: sshlog("../../packet.c", __func__, 1538, 0, SYSLOG_LEVEL_INFO,
2432103: # 1538 "../../packet.c" 3 4
2432103: ((void *)0)
2432103: # 1538 "../../packet.c"
2432103: , "Bad packet length %u.", state->packlen);
2432103: return ssh_packet_start_discard(ssh, enc, mac, 0,
2432103: (256 * 1024));
2432103: }
2432103: if ((r = sshbuf_consume(state->input, block_size)) != 0)
2432103: goto out;
2432103: }
2432103: ;
2432103:
2432103: if (aadlen) {
2432103:
2432103: need = state->packlen;
2432103: } else {
2432103:
2432103:
2432103:
2432103:
2432103: need = 4 + state->packlen - block_size;
2432103: }
2432103:
2432103: ;
2432103: if (need % block_size != 0) {
2432103: sshlog("../../packet.c", __func__, 1560, 0, SYSLOG_LEVEL_INFO,
2432103: # 1560 "../../packet.c" 3 4
2432103: ((void *)0)
2432103: # 1560 "../../packet.c"
2432103: , "padding error: need %d block %d mod %d", need, block_size, need % block_size)
2432103: ;
2432103: return ssh_packet_start_discard(ssh, enc, mac, 0,
2432103: (256 * 1024) - block_size);
2432103: }
2432103: # 1573 "../../packet.c"
2432103: if (sshbuf_len(state->input) < aadlen + need + authlen + maclen)
2432103: return 0;
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: if (mac && mac->enabled && mac->etm) {
2432103: if ((r = mac_check(mac, state->p_read.seqnr,
2432103: sshbuf_ptr(state->input), aadlen + need,
2432103: sshbuf_ptr(state->input) + aadlen + need + authlen,
2432103: maclen)) != 0) {
2432103: if (r == -30)
2432103: sshlog("../../packet.c", __func__, 1586, 0, SYSLOG_LEVEL_INFO,
2432103: # 1586 "../../packet.c" 3 4
2432103: ((void *)0)
2432103: # 1586 "../../packet.c"
2432103: , "Corrupted MAC on input.");
2432103: goto out;
2432103: }
2432103: }
2432103: if ((r = sshbuf_reserve(state->incoming_packet, aadlen + need,
2432103: &cp)) != 0)
2432103: goto out;
2432103: if ((r = cipher_crypt(state->receive_context, state->p_read.seqnr, cp,
2432103: sshbuf_ptr(state->input), need, aadlen, authlen)) != 0)
2432103: goto out;
2432103: if ((r = sshbuf_consume(state->input, aadlen + need + authlen)) != 0)
2432103: goto out;
2432103: if (mac && mac->enabled) {
2432103:
2432103: if (!mac->etm && (r = mac_check(mac, state->p_read.seqnr,
2432103: sshbuf_ptr(state->incoming_packet),
2432103: sshbuf_len(state->incoming_packet),
2432103: sshbuf_ptr(state->input), maclen)) != 0) {
2432103: if (r != -30)
2432103: goto out;
2432103: sshlog("../../packet.c", __func__, 1606, 0, SYSLOG_LEVEL_INFO,
2432103: # 1606 "../../packet.c" 3 4
2432103: ((void *)0)
2432103: # 1606 "../../packet.c"
2432103: , "Corrupted MAC on input.");
2432103: if (need + block_size > (256 * 1024))
2432103: return -1;
2432103: return ssh_packet_start_discard(ssh, enc, mac,
2432103: sshbuf_len(state->incoming_packet),
2432103: (256 * 1024) - need - block_size);
2432103: }
2432103:
2432103: ;
2432103: if ((r = sshbuf_consume(state->input, mac->mac_len)) != 0)
2432103: goto out;
2432103: }
2432103:
2432103: if (seqnr_p !=
2432103: # 1619 "../../packet.c" 3 4
2432103: ((void *)0)
2432103: # 1619 "../../packet.c"
2432103: )
2432103: *seqnr_p = state->p_read.seqnr;
2432103: if (++state->p_read.seqnr == 0) {
2432103: if ((ssh->kex->flags & 0x0002) != 0) {
2432103: ssh_packet_disconnect(ssh, "incoming sequence number "
2432103: "wrapped during initial key exchange");
2432103: }
2432103: sshlog("../../packet.c", __func__, 1626, 0, SYSLOG_LEVEL_INFO,
2432103: # 1626 "../../packet.c" 3 4
2432103: ((void *)0)
2432103: # 1626 "../../packet.c"
2432103: , "incoming seqnr wraps around");
2432103: }
2432103: if (++state->p_read.packets == 0)
2432103: if (!(ssh->compat & 0x00008000))
2432103: return -39;
2432103: state->p_read.blocks += (state->packlen + 4) / block_size;
2432103: state->p_read.bytes += state->packlen + 4;
2432103:
2432103:
2432103: padlen = sshbuf_ptr(state->incoming_packet)[4];
2432103: ;
2432103: if (padlen < 4) {
2432103: if ((r = sshpkt_disconnect(ssh,
2432103: "Corrupted padlen %d on input.", padlen)) != 0 ||
2432103: (r = ssh_packet_write_wait(ssh)) != 0)
2432103: return r;
2432103: return -54;
2432103: }
2432103:
2432103:
2432103: if ((r = sshbuf_consume(state->incoming_packet, 4 + 1)) != 0 ||
2432103: ((r = sshbuf_consume_end(state->incoming_packet, padlen)) != 0))
2432103: goto out;
2432103:
2432103:
2432103: ;
2432103: if (comp && comp->enabled) {
2432103: sshbuf_reset(state->compression_buffer);
2432103: if ((r = uncompress_buffer(ssh, state->incoming_packet,
2432103: state->compression_buffer)) != 0)
2432103: goto out;
2432103: sshbuf_reset(state->incoming_packet);
2432103: if ((r = sshbuf_putb(state->incoming_packet,
2432103: state->compression_buffer)) != 0)
2432103: goto out;
2432103:
2432103: ;
2432103: }
2432103:
2432103:
2432103:
2432103:
2432103: if ((r = sshbuf_get_u8(state->incoming_packet, typep)) != 0)
2432103: goto out;
2432103: if (ssh_packet_log_type(*typep))
2432103: sshlog("../../packet.c", __func__, 1671, 0, SYSLOG_LEVEL_DEBUG3,
2432103: # 1671 "../../packet.c" 3 4
2432103: ((void *)0)
2432103: # 1671 "../../packet.c"
2432103: , "receive packet: type %u", *typep);
2432103: if (*typep < 1) {
2432103: if ((r = sshpkt_disconnect(ssh,
2432103: "Invalid ssh2 packet type: %d", *typep)) != 0 ||
2432103: (r = ssh_packet_write_wait(ssh)) != 0)
2432103: return r;
2432103: return -55;
2432103: }
2432103: if (state->hook_in !=
2432103: # 1679 "../../packet.c" 3 4
2432103: ((void *)0)
2432103: # 1679 "../../packet.c"
2432103: &&
2432103: (r = state->hook_in(ssh, state->incoming_packet, typep,
2432103: state->hook_in_ctx)) != 0)
2432103: return r;
2432103: if (*typep == 52 && !state->server_side)
2432103: r = ssh_packet_enable_delayed_compress(ssh);
2432103: else
2432103: r = 0;
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: state->packlen = 0;
2432103: if (*typep == 21 && ssh->kex->kex_strict) {
2432103: sshlog("../../packet.c", __func__, 1694, 1, SYSLOG_LEVEL_DEBUG1,
2432103: # 1694 "../../packet.c" 3 4
2432103: ((void *)0)
2432103: # 1694 "../../packet.c"
2432103: , "resetting read seqnr %u", state->p_read.seqnr);
2432103: state->p_read.seqnr = 0;
2432103: }
2432103:
2432103: if ((r = ssh_packet_check_rekey(ssh)) != 0)
2432103: return r;
2432103: out:
2432103: return r;
2432103: }
2432103:
2432103: int
2432103: ssh_packet_read_poll_seqnr(struct ssh *ssh, u_char *typep, u_int32_t *seqnr_p)
2432103: {
2432103: struct session_state *state = ssh->state;
2432103: u_int reason, seqnr;
2432103: int r;
2432103: u_char *msg;
2432103: const u_char *d;
2432103: size_t len;
2432103:
2432103: for (;;) {
2432103: msg =
2432103: # 1715 "../../packet.c" 3 4
2432103: ((void *)0)
2432103: # 1715 "../../packet.c"
2432103: ;
2432103: r = ssh_packet_read_poll2(ssh, typep, seqnr_p);
2432103: if (r != 0)
2432103: return r;
2432103: if (*typep == 0) {
2432103:
2432103: return 0;
2432103: }
2432103: state->keep_alive_timeouts = 0;
2432103: ;
2432103:
2432103:
2432103: if (*typep == 1) {
2432103: if ((r = sshpkt_get_u32(ssh, &reason)) != 0 ||
2432103: (r = sshpkt_get_string(ssh, &msg,
2432103: # 1729 "../../packet.c" 3 4
2432103: ((void *)0)
2432103: # 1729 "../../packet.c"
2432103: )) != 0)
2432103: return r;
2432103:
2432103: sshlog("../../packet.c", __func__, 1732, 0, ssh->state->server_side && reason == 11 ? SYSLOG_LEVEL_INFO : SYSLOG_LEVEL_ERROR,
2432103: # 1732 "../../packet.c" 3 4
2432103: ((void *)0)
2432103: # 1732 "../../packet.c"
2432103: , "Received disconnect from %s port %d:" "%u: %.400s", ssh_remote_ipaddr(ssh), ssh_remote_port(ssh), reason, msg)
2432103:
2432103:
2432103:
2432103:
2432103: ;
2432103: free(msg);
2432103: return -29;
2432103: }
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: if (ssh->kex !=
2432103: # 1748 "../../packet.c" 3 4
2432103: ((void *)0)
2432103: # 1748 "../../packet.c"
2432103: &&
2432103: (ssh->kex->flags & 0x0002) && ssh->kex->kex_strict)
2432103: return 0;
2432103:
2432103: switch (*typep) {
2432103: case 2:
2432103: sshlog("../../packet.c", __func__, 1754, 0, SYSLOG_LEVEL_DEBUG3,
2432103: # 1754 "../../packet.c" 3 4
2432103: ((void *)0)
2432103: # 1754 "../../packet.c"
2432103: , "Received SSH2_MSG_IGNORE");
2432103: break;
2432103: case 4:
2432103: if ((r = sshpkt_get_u8(ssh,
2432103: # 1757 "../../packet.c" 3 4
2432103: ((void *)0)
2432103: # 1757 "../../packet.c"
2432103: )) != 0 ||
2432103: (r = sshpkt_get_string(ssh, &msg,
2432103: # 1758 "../../packet.c" 3 4
2432103: ((void *)0)
2432103: # 1758 "../../packet.c"
2432103: )) != 0 ||
2432103: (r = sshpkt_get_string(ssh,
2432103: # 1759 "../../packet.c" 3 4
2432103: ((void *)0)
2432103: # 1759 "../../packet.c"
2432103: ,
2432103: # 1759 "../../packet.c" 3 4
2432103: ((void *)0)
2432103: # 1759 "../../packet.c"
2432103: )) != 0) {
2432103: free(msg);
2432103: return r;
2432103: }
2432103: sshlog("../../packet.c", __func__, 1763, 0, SYSLOG_LEVEL_DEBUG1,
2432103: # 1763 "../../packet.c" 3 4
2432103: ((void *)0)
2432103: # 1763 "../../packet.c"
2432103: , "Remote: %.900s", msg);
2432103: free(msg);
2432103: break;
2432103: case 3:
2432103: if ((r = sshpkt_get_u32(ssh, &seqnr)) != 0)
2432103: return r;
2432103: sshlog("../../packet.c", __func__, 1769, 0, SYSLOG_LEVEL_DEBUG1,
2432103: # 1769 "../../packet.c" 3 4
2432103: ((void *)0)
2432103: # 1769 "../../packet.c"
2432103: , "Received SSH2_MSG_UNIMPLEMENTED for %u", seqnr)
2432103: ;
2432103: break;
2432103: case 192:
2432103: if ((r = sshpkt_get_string_direct(ssh, &d, &len)) != 0)
2432103: return r;
2432103: ;
2432103: if ((r = sshpkt_start(ssh, 193)) != 0 ||
2432103: (r = sshpkt_put_string(ssh, d, len)) != 0 ||
2432103: (r = sshpkt_send(ssh)) != 0)
2432103: return r;
2432103: break;
2432103: case 193:
2432103: if ((r = sshpkt_get_string_direct(ssh,
2432103:
2432103: # 1783 "../../packet.c" 3 4
2432103: ((void *)0)
2432103: # 1783 "../../packet.c"
2432103: , &len)) != 0)
2432103: return r;
2432103: ;
2432103: break;
2432103: default:
2432103: return 0;
2432103: }
2432103: }
2432103: }
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: int
2432103: ssh_packet_process_incoming(struct ssh *ssh, const char *buf, u_int len)
2432103: {
2432103: struct session_state *state = ssh->state;
2432103: int r;
2432103:
2432103: if (state->packet_discard) {
2432103: state->keep_alive_timeouts = 0;
2432103: if (len >= state->packet_discard) {
2432103: if ((r = ssh_packet_stop_discard(ssh)) != 0)
2432103: return r;
2432103: }
2432103: state->packet_discard -= len;
2432103: return 0;
2432103: }
2432103: if ((r = sshbuf_put(state->input, buf, len)) != 0)
2432103: return r;
2432103:
2432103: return 0;
2432103: }
2432103:
2432103:
2432103: int
2432103: ssh_packet_process_read(struct ssh *ssh, int fd)
2432103: {
2432103: struct session_state *state = ssh->state;
2432103: int r;
2432103: size_t rlen;
2432103:
2432103: if ((r = sshbuf_read(fd, state->input, (256 * 1024), &rlen)) != 0)
2432103: return r;
2432103:
2432103: if (state->packet_discard) {
2432103: if ((r = sshbuf_consume_end(state->input, rlen)) != 0)
2432103: return r;
2432103: state->keep_alive_timeouts = 0;
2432103: if (rlen >= state->packet_discard) {
2432103: if ((r = ssh_packet_stop_discard(ssh)) != 0)
2432103: return r;
2432103: }
2432103: state->packet_discard -= rlen;
2432103: return 0;
2432103: }
2432103: return 0;
2432103: }
2432103:
2432103: int
2432103: ssh_packet_remaining(struct ssh *ssh)
2432103: {
2432103: return sshbuf_len(ssh->state->incoming_packet);
2432103: }
2432103: # 1857 "../../packet.c"
2432103: void
2432103: ssh_packet_send_debug(struct ssh *ssh, const char *fmt,...)
2432103: {
2432103: char buf[1024];
2432103: va_list args;
2432103: int r;
2432103:
2432103: if ((ssh->compat & 0x00000040))
2432103: return;
2432103:
2432103:
2432103: # 1867 "../../packet.c" 3 4
2432103: __builtin_va_start(
2432103: # 1867 "../../packet.c"
2432103: args
2432103: # 1867 "../../packet.c" 3 4
2432103: ,
2432103: # 1867 "../../packet.c"
2432103: fmt
2432103: # 1867 "../../packet.c" 3 4
2432103: )
2432103: # 1867 "../../packet.c"
2432103: ;
2432103: vsnprintf(buf, sizeof(buf), fmt, args);
2432103:
2432103: # 1869 "../../packet.c" 3 4
2432103: __builtin_va_end(
2432103: # 1869 "../../packet.c"
2432103: args
2432103: # 1869 "../../packet.c" 3 4
2432103: )
2432103: # 1869 "../../packet.c"
2432103: ;
2432103:
2432103: sshlog("../../packet.c", __func__, 1871, 0, SYSLOG_LEVEL_DEBUG3,
2432103: # 1871 "../../packet.c" 3 4
2432103: ((void *)0)
2432103: # 1871 "../../packet.c"
2432103: , "sending debug message: %s", buf);
2432103:
2432103: if ((r = sshpkt_start(ssh, 4)) != 0 ||
2432103: (r = sshpkt_put_u8(ssh, 0)) != 0 ||
2432103: (r = sshpkt_put_cstring(ssh, buf)) != 0 ||
2432103: (r = sshpkt_put_cstring(ssh, "")) != 0 ||
2432103: (r = sshpkt_send(ssh)) != 0 ||
2432103: (r = ssh_packet_write_wait(ssh)) != 0)
2432103: sshfatal("../../packet.c", __func__, 1879, 1, SYSLOG_LEVEL_FATAL, ssh_err(r), "send DEBUG");
2432103: }
2432103:
2432103: void
2432103: sshpkt_fmt_connection_id(struct ssh *ssh, char *s, size_t l)
2432103: {
2432103: snprintf(s, l, "%.200s%s%s port %d",
2432103: ssh->log_preamble ? ssh->log_preamble : "",
2432103: ssh->log_preamble ? " " : "",
2432103: ssh_remote_ipaddr(ssh), ssh_remote_port(ssh));
2432103: }
2432103:
2432103:
2432103:
2432103:
2432103: static void
2432103: sshpkt_vfatal(struct ssh *ssh, int r, const char *fmt, va_list ap)
2432103: {
2432103: char *tag =
2432103: # 1897 "../../packet.c" 3 4
2432103: ((void *)0)
2432103: # 1897 "../../packet.c"
2432103: , remote_id[512];
2432103: int oerrno =
2432103: # 1898 "../../packet.c" 3 4
2432103: (*__errno_location ())
2432103: # 1898 "../../packet.c"
2432103: ;
2432103:
2432103: sshpkt_fmt_connection_id(ssh, remote_id, sizeof(remote_id));
2432103:
2432103: switch (r) {
2432103: case -52:
2432103: ssh_packet_clear_keys(ssh);
2432103: sshlogdie("../../packet.c", __func__, 1905, 0, SYSLOG_LEVEL_ERROR,
2432103: # 1905 "../../packet.c" 3 4
2432103: ((void *)0)
2432103: # 1905 "../../packet.c"
2432103: , "Connection closed by %s", remote_id);
2432103: case -53:
2432103: ssh_packet_clear_keys(ssh);
2432103: sshlogdie("../../packet.c", __func__, 1908, 0, SYSLOG_LEVEL_ERROR,
2432103: # 1908 "../../packet.c" 3 4
2432103: ((void *)0)
2432103: # 1908 "../../packet.c"
2432103: , "Connection %s %s timed out", ssh->state->server_side ? "from" : "to", remote_id)
2432103: ;
2432103: case -29:
2432103: ssh_packet_clear_keys(ssh);
2432103: sshlogdie("../../packet.c", __func__, 1912, 0, SYSLOG_LEVEL_ERROR,
2432103: # 1912 "../../packet.c" 3 4
2432103: ((void *)0)
2432103: # 1912 "../../packet.c"
2432103: , "Disconnected from %s", remote_id);
2432103: case -24:
2432103: if (
2432103: # 1914 "../../packet.c" 3 4
2432103: (*__errno_location ())
2432103: # 1914 "../../packet.c"
2432103: ==
2432103: # 1914 "../../packet.c" 3 4
2432103: 104
2432103: # 1914 "../../packet.c"
2432103: ) {
2432103: ssh_packet_clear_keys(ssh);
2432103: sshlogdie("../../packet.c", __func__, 1916, 0, SYSLOG_LEVEL_ERROR,
2432103: # 1916 "../../packet.c" 3 4
2432103: ((void *)0)
2432103: # 1916 "../../packet.c"
2432103: , "Connection reset by %s", remote_id);
2432103: }
2432103:
2432103: case -31:
2432103: case -32:
2432103: case -33:
2432103: case -34:
2432103: case -35:
2432103: if (ssh->kex && ssh->kex->failed_choice) {
2432103: ssh_packet_clear_keys(ssh);
2432103:
2432103: # 1926 "../../packet.c" 3 4
2432103: (*__errno_location ())
2432103: # 1926 "../../packet.c"
2432103: = oerrno;
2432103: sshlogdie("../../packet.c", __func__, 1927, 0, SYSLOG_LEVEL_ERROR,
2432103: # 1927 "../../packet.c" 3 4
2432103: ((void *)0)
2432103: # 1927 "../../packet.c"
2432103: , "Unable to negotiate with %s: %s. " "Their offer: %s", remote_id, ssh_err(r), ssh->kex->failed_choice)
2432103:
2432103: ;
2432103: }
2432103:
2432103: default:
2432103: if (vasprintf(&tag, fmt, ap) == -1) {
2432103: ssh_packet_clear_keys(ssh);
2432103: sshlogdie("../../packet.c", __func__, 1935, 1, SYSLOG_LEVEL_ERROR,
2432103: # 1935 "../../packet.c" 3 4
2432103: ((void *)0)
2432103: # 1935 "../../packet.c"
2432103: , "could not allocate failure message");
2432103: }
2432103: ssh_packet_clear_keys(ssh);
2432103:
2432103: # 1938 "../../packet.c" 3 4
2432103: (*__errno_location ())
2432103: # 1938 "../../packet.c"
2432103: = oerrno;
2432103: sshlogdie("../../packet.c", __func__, 1939, 0, SYSLOG_LEVEL_ERROR, ssh_err(r), "%s%sConnection %s %s", tag !=
2432103: # 1939 "../../packet.c" 3 4
2432103: ((void *)0)
2432103: # 1939 "../../packet.c"
2432103: ? tag : "", tag !=
2432103: # 1939 "../../packet.c" 3 4
2432103: ((void *)0)
2432103: # 1939 "../../packet.c"
2432103: ? ": " : "", ssh->state->server_side ? "from" : "to", remote_id)
2432103:
2432103: ;
2432103: }
2432103: }
2432103:
2432103: void
2432103: sshpkt_fatal(struct ssh *ssh, int r, const char *fmt, ...)
2432103: {
2432103: va_list ap;
2432103:
2432103:
2432103: # 1950 "../../packet.c" 3 4
2432103: __builtin_va_start(
2432103: # 1950 "../../packet.c"
2432103: ap
2432103: # 1950 "../../packet.c" 3 4
2432103: ,
2432103: # 1950 "../../packet.c"
2432103: fmt
2432103: # 1950 "../../packet.c" 3 4
2432103: )
2432103: # 1950 "../../packet.c"
2432103: ;
2432103: sshpkt_vfatal(ssh, r, fmt, ap);
2432103:
2432103:
2432103: # 1953 "../../packet.c" 3 4
2432103: __builtin_va_end(
2432103: # 1953 "../../packet.c"
2432103: ap
2432103: # 1953 "../../packet.c" 3 4
2432103: )
2432103: # 1953 "../../packet.c"
2432103: ;
2432103: sshlogdie("../../packet.c", __func__, 1954, 1, SYSLOG_LEVEL_ERROR,
2432103: # 1954 "../../packet.c" 3 4
2432103: ((void *)0)
2432103: # 1954 "../../packet.c"
2432103: , "should have exited");
2432103: }
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: void
2432103: ssh_packet_disconnect(struct ssh *ssh, const char *fmt,...)
2432103: {
2432103: char buf[1024], remote_id[512];
2432103: va_list args;
2432103: static int disconnecting = 0;
2432103: int r;
2432103:
2432103: if (disconnecting)
2432103: sshfatal("../../packet.c", __func__, 1972, 0, SYSLOG_LEVEL_FATAL,
2432103: # 1972 "../../packet.c" 3 4
2432103: ((void *)0)
2432103: # 1972 "../../packet.c"
2432103: , "packet_disconnect called recursively.");
2432103: disconnecting = 1;
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: sshpkt_fmt_connection_id(ssh, remote_id, sizeof(remote_id));
2432103:
2432103: # 1980 "../../packet.c" 3 4
2432103: __builtin_va_start(
2432103: # 1980 "../../packet.c"
2432103: args
2432103: # 1980 "../../packet.c" 3 4
2432103: ,
2432103: # 1980 "../../packet.c"
2432103: fmt
2432103: # 1980 "../../packet.c" 3 4
2432103: )
2432103: # 1980 "../../packet.c"
2432103: ;
2432103: vsnprintf(buf, sizeof(buf), fmt, args);
2432103:
2432103: # 1982 "../../packet.c" 3 4
2432103: __builtin_va_end(
2432103: # 1982 "../../packet.c"
2432103: args
2432103: # 1982 "../../packet.c" 3 4
2432103: )
2432103: # 1982 "../../packet.c"
2432103: ;
2432103:
2432103:
2432103: sshlog("../../packet.c", __func__, 1985, 0, SYSLOG_LEVEL_INFO,
2432103: # 1985 "../../packet.c" 3 4
2432103: ((void *)0)
2432103: # 1985 "../../packet.c"
2432103: , "Disconnecting %s: %.100s", remote_id, buf);
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: if ((r = sshpkt_disconnect(ssh, "%s", buf)) != 0)
2432103: sshpkt_fatal(ssh, r, "%s", __func__);
2432103:
2432103: if ((r = ssh_packet_write_wait(ssh)) != 0)
2432103: sshpkt_fatal(ssh, r, "%s", __func__);
2432103:
2432103:
2432103: ssh_packet_close(ssh);
2432103: cleanup_exit(255);
2432103: }
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: int
2432103: ssh_packet_write_poll(struct ssh *ssh)
2432103: {
2432103: struct session_state *state = ssh->state;
2432103: int len = sshbuf_len(state->output);
2432103: int r;
2432103:
2432103: if (len > 0) {
2432103: len = write(state->connection_out,
2432103: sshbuf_ptr(state->output), len);
2432103: if (len == -1) {
2432103: if (
2432103: # 2017 "../../packet.c" 3 4
2432103: (*__errno_location ())
2432103: # 2017 "../../packet.c"
2432103: ==
2432103: # 2017 "../../packet.c" 3 4
2432103: 4
2432103: # 2017 "../../packet.c"
2432103: ||
2432103: # 2017 "../../packet.c" 3 4
2432103: (*__errno_location ())
2432103: # 2017 "../../packet.c"
2432103: ==
2432103: # 2017 "../../packet.c" 3 4
2432103: 11
2432103: # 2017 "../../packet.c"
2432103: ||
2432103:
2432103: # 2018 "../../packet.c" 3 4
2432103: (*__errno_location ())
2432103: # 2018 "../../packet.c"
2432103: ==
2432103: # 2018 "../../packet.c" 3 4
2432103: 11
2432103: # 2018 "../../packet.c"
2432103: )
2432103: return 0;
2432103: return -24;
2432103: }
2432103: if (len == 0)
2432103: return -52;
2432103: if ((r = sshbuf_consume(state->output, len)) != 0)
2432103: return r;
2432103: }
2432103: return 0;
2432103: }
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: int
2432103: ssh_packet_write_wait(struct ssh *ssh)
2432103: {
2432103: int ret, r, ms_remain = 0;
2432103: struct timeval start;
2432103: struct timespec timespec, *timespecp =
2432103: # 2039 "../../packet.c" 3 4
2432103: ((void *)0)
2432103: # 2039 "../../packet.c"
2432103: ;
2432103: struct session_state *state = ssh->state;
2432103: struct pollfd pfd;
2432103:
2432103: if ((r = ssh_packet_write_poll(ssh)) != 0)
2432103: return r;
2432103: while (ssh_packet_have_data_to_write(ssh)) {
2432103: pfd.fd = state->connection_out;
2432103: pfd.events =
2432103: # 2047 "../../packet.c" 3 4
2432103: 0x004
2432103: # 2047 "../../packet.c"
2432103: ;
2432103:
2432103: if (state->packet_timeout_ms > 0) {
2432103: ms_remain = state->packet_timeout_ms;
2432103: timespecp = ×pec;
2432103: }
2432103: for (;;) {
2432103: if (state->packet_timeout_ms > 0) {
2432103: ms_to_timespec(×pec, ms_remain);
2432103: monotime_tv(&start);
2432103: }
2432103: if ((ret = ppoll(&pfd, 1, timespecp,
2432103: # 2058 "../../packet.c" 3 4
2432103: ((void *)0)
2432103: # 2058 "../../packet.c"
2432103: )) >= 0)
2432103: break;
2432103: if (
2432103: # 2060 "../../packet.c" 3 4
2432103: (*__errno_location ())
2432103: # 2060 "../../packet.c"
2432103: !=
2432103: # 2060 "../../packet.c" 3 4
2432103: 11
2432103: # 2060 "../../packet.c"
2432103: &&
2432103: # 2060 "../../packet.c" 3 4
2432103: (*__errno_location ())
2432103: # 2060 "../../packet.c"
2432103: !=
2432103: # 2060 "../../packet.c" 3 4
2432103: 4
2432103: # 2060 "../../packet.c"
2432103: &&
2432103:
2432103: # 2061 "../../packet.c" 3 4
2432103: (*__errno_location ())
2432103: # 2061 "../../packet.c"
2432103: !=
2432103: # 2061 "../../packet.c" 3 4
2432103: 11
2432103: # 2061 "../../packet.c"
2432103: )
2432103: break;
2432103: if (state->packet_timeout_ms <= 0)
2432103: continue;
2432103: ms_subtract_diff(&start, &ms_remain);
2432103: if (ms_remain <= 0) {
2432103: ret = 0;
2432103: break;
2432103: }
2432103: }
2432103: if (ret == 0)
2432103: return -53;
2432103: if ((r = ssh_packet_write_poll(ssh)) != 0)
2432103: return r;
2432103: }
2432103: return 0;
2432103: }
2432103:
2432103:
2432103:
2432103: int
2432103: ssh_packet_have_data_to_write(struct ssh *ssh)
2432103: {
2432103: return sshbuf_len(ssh->state->output) != 0;
2432103: }
2432103:
2432103:
2432103:
2432103: int
2432103: ssh_packet_not_very_much_data_to_write(struct ssh *ssh)
2432103: {
2432103: if (ssh->state->interactive_mode)
2432103: return sshbuf_len(ssh->state->output) < 16384;
2432103: else
2432103: return sshbuf_len(ssh->state->output) < 128 * 1024;
2432103: }
2432103:
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: int
2432103: ssh_packet_interactive_data_to_write(struct ssh *ssh)
2432103: {
2432103: return ssh->state->interactive_mode &&
2432103: sshbuf_len(ssh->state->output) < 256;
2432103: }
2432103:
2432103: void
2432103: ssh_packet_set_tos(struct ssh *ssh, int tos)
2432103: {
2432103: if (!ssh_packet_connection_is_on_socket(ssh) || tos == 0x7fffffff
2432103: # 2113 "../../packet.c"
2432103: )
2432103: return;
2432103: set_sock_tos(ssh->state->connection_in, tos);
2432103: }
2432103:
2432103:
2432103:
2432103: void
2432103: ssh_packet_set_interactive(struct ssh *ssh, int interactive, int qos_interactive, int qos_bulk)
2432103: {
2432103: struct session_state *state = ssh->state;
2432103:
2432103: if (state->set_interactive_called)
2432103: return;
2432103: state->set_interactive_called = 1;
2432103:
2432103:
2432103: state->interactive_mode = interactive;
2432103:
2432103:
2432103: if (!ssh_packet_connection_is_on_socket(ssh))
2432103: return;
2432103: set_nodelay(state->connection_in);
2432103: ssh_packet_set_tos(ssh, interactive ? qos_interactive : qos_bulk);
2432103: }
2432103:
2432103:
2432103:
2432103: int
2432103: ssh_packet_is_interactive(struct ssh *ssh)
2432103: {
2432103: return ssh->state->interactive_mode;
2432103: }
2432103:
2432103: int
2432103: ssh_packet_set_maxsize(struct ssh *ssh, u_int s)
2432103: {
2432103: struct session_state *state = ssh->state;
2432103:
2432103: if (state->set_maxsize_called) {
2432103: sshlog("../../packet.c", __func__, 2153, 1, SYSLOG_LEVEL_INFO,
2432103: # 2153 "../../packet.c" 3 4
2432103: ((void *)0)
2432103: # 2153 "../../packet.c"
2432103: , "called twice: old %d new %d", state->max_packet_size, s)
2432103: ;
2432103: return -1;
2432103: }
2432103: if (s < 4 * 1024 || s > 1024 * 1024) {
2432103: sshlog("../../packet.c", __func__, 2158, 1, SYSLOG_LEVEL_INFO,
2432103: # 2158 "../../packet.c" 3 4
2432103: ((void *)0)
2432103: # 2158 "../../packet.c"
2432103: , "bad size %d", s);
2432103: return -1;
2432103: }
2432103: state->set_maxsize_called = 1;
2432103: sshlog("../../packet.c", __func__, 2162, 1, SYSLOG_LEVEL_DEBUG1,
2432103: # 2162 "../../packet.c" 3 4
2432103: ((void *)0)
2432103: # 2162 "../../packet.c"
2432103: , "setting to %d", s);
2432103: state->max_packet_size = s;
2432103: return s;
2432103: }
2432103:
2432103: int
2432103: ssh_packet_inc_alive_timeouts(struct ssh *ssh)
2432103: {
2432103: return ++ssh->state->keep_alive_timeouts;
2432103: }
2432103:
2432103: void
2432103: ssh_packet_set_alive_timeouts(struct ssh *ssh, int ka)
2432103: {
2432103: ssh->state->keep_alive_timeouts = ka;
2432103: }
2432103:
2432103: u_int
2432103: ssh_packet_get_maxsize(struct ssh *ssh)
2432103: {
2432103: return ssh->state->max_packet_size;
2432103: }
2432103:
2432103: void
2432103: ssh_packet_set_rekey_limits(struct ssh *ssh, u_int64_t bytes, u_int32_t seconds)
2432103: {
2432103: sshlog("../../packet.c", __func__, 2188, 0, SYSLOG_LEVEL_DEBUG3,
2432103: # 2188 "../../packet.c" 3 4
2432103: ((void *)0)
2432103: # 2188 "../../packet.c"
2432103: , "rekey after %llu bytes, %u seconds", (unsigned long long)bytes, (unsigned int)seconds)
2432103: ;
2432103: ssh->state->rekey_limit = bytes;
2432103: ssh->state->rekey_interval = seconds;
2432103: }
2432103:
2432103: time_t
2432103: ssh_packet_get_rekey_timeout(struct ssh *ssh)
2432103: {
2432103: time_t seconds;
2432103:
2432103: seconds = ssh->state->rekey_time + ssh->state->rekey_interval -
2432103: monotime();
2432103: return (seconds <= 0 ? 1 : seconds);
2432103: }
2432103:
2432103: void
2432103: ssh_packet_set_server(struct ssh *ssh)
2432103: {
2432103: ssh->state->server_side = 1;
2432103: ssh->kex->server = 1;
2432103: }
2432103:
2432103: void
2432103: ssh_packet_set_authenticated(struct ssh *ssh)
2432103: {
2432103: ssh->state->after_authentication = 1;
2432103: }
2432103:
2432103: void *
2432103: ssh_packet_get_input(struct ssh *ssh)
2432103: {
2432103: return (void *)ssh->state->input;
2432103: }
2432103:
2432103: void *
2432103: ssh_packet_get_output(struct ssh *ssh)
2432103: {
2432103: return (void *)ssh->state->output;
2432103: }
2432103:
2432103:
2432103: static int
2432103: ssh_packet_set_postauth(struct ssh *ssh)
2432103: {
2432103: int r;
2432103:
2432103: sshlog("../../packet.c", __func__, 2235, 1, SYSLOG_LEVEL_DEBUG1,
2432103: # 2235 "../../packet.c" 3 4
2432103: ((void *)0)
2432103: # 2235 "../../packet.c"
2432103: , "called");
2432103:
2432103: ssh->state->after_authentication = 1;
2432103: ssh->state->rekeying = 0;
2432103: if ((r = ssh_packet_enable_delayed_compress(ssh)) != 0)
2432103: return r;
2432103: return 0;
2432103: }
2432103:
2432103:
2432103:
2432103:
2432103: static int
2432103: kex_to_blob(struct sshbuf *m, struct kex *kex)
2432103: {
2432103: int r;
2432103:
2432103: if ((r = sshbuf_put_u32(m, kex->we_need)) != 0 ||
2432103: (r = sshbuf_put_cstring(m, kex->hostkey_alg)) != 0 ||
2432103: (r = sshbuf_put_u32(m, kex->hostkey_type)) != 0 ||
2432103: (r = sshbuf_put_u32(m, kex->hostkey_nid)) != 0 ||
2432103: (r = sshbuf_put_u32(m, kex->kex_type)) != 0 ||
2432103: (r = sshbuf_put_u32(m, kex->kex_strict)) != 0 ||
2432103: (r = sshbuf_put_stringb(m, kex->my)) != 0 ||
2432103: (r = sshbuf_put_stringb(m, kex->peer)) != 0 ||
2432103: (r = sshbuf_put_stringb(m, kex->client_version)) != 0 ||
2432103: (r = sshbuf_put_stringb(m, kex->server_version)) != 0 ||
2432103: (r = sshbuf_put_stringb(m, kex->session_id)) != 0 ||
2432103: (r = sshbuf_put_u32(m, kex->flags)) != 0)
2432103: return r;
2432103: return 0;
2432103: }
2432103:
2432103:
2432103: static int
2432103: newkeys_to_blob(struct sshbuf *m, struct ssh *ssh, int mode)
2432103: {
2432103: struct sshbuf *b;
2432103: struct sshcipher_ctx *cc;
2432103: struct sshcomp *comp;
2432103: struct sshenc *enc;
2432103: struct sshmac *mac;
2432103: struct newkeys *newkey;
2432103: int r;
2432103:
2432103: if ((newkey = ssh->state->newkeys[mode]) ==
2432103: # 2280 "../../packet.c" 3 4
2432103: ((void *)0)
2432103: # 2280 "../../packet.c"
2432103: )
2432103: return -1;
2432103: enc = &newkey->enc;
2432103: mac = &newkey->mac;
2432103: comp = &newkey->comp;
2432103: cc = (mode == MODE_OUT) ? ssh->state->send_context :
2432103: ssh->state->receive_context;
2432103: if ((r = cipher_get_keyiv(cc, enc->iv, enc->iv_len)) != 0)
2432103: return r;
2432103: if ((b = sshbuf_new()) ==
2432103: # 2289 "../../packet.c" 3 4
2432103: ((void *)0)
2432103: # 2289 "../../packet.c"
2432103: )
2432103: return -2;
2432103: if ((r = sshbuf_put_cstring(b, enc->name)) != 0 ||
2432103: (r = sshbuf_put_u32(b, enc->enabled)) != 0 ||
2432103: (r = sshbuf_put_u32(b, enc->block_size)) != 0 ||
2432103: (r = sshbuf_put_string(b, enc->key, enc->key_len)) != 0 ||
2432103: (r = sshbuf_put_string(b, enc->iv, enc->iv_len)) != 0)
2432103: goto out;
2432103: if (cipher_authlen(enc->cipher) == 0) {
2432103: if ((r = sshbuf_put_cstring(b, mac->name)) != 0 ||
2432103: (r = sshbuf_put_u32(b, mac->enabled)) != 0 ||
2432103: (r = sshbuf_put_string(b, mac->key, mac->key_len)) != 0)
2432103: goto out;
2432103: }
2432103: if ((r = sshbuf_put_u32(b, comp->type)) != 0 ||
2432103: (r = sshbuf_put_cstring(b, comp->name)) != 0)
2432103: goto out;
2432103: r = sshbuf_put_stringb(m, b);
2432103: out:
2432103: sshbuf_free(b);
2432103: return r;
2432103: }
2432103:
2432103:
2432103: int
2432103: ssh_packet_get_state(struct ssh *ssh, struct sshbuf *m)
2432103: {
2432103: struct session_state *state = ssh->state;
2432103: int r;
2432103:
2432103: if ((r = kex_to_blob(m, ssh->kex)) != 0 ||
2432103: (r = newkeys_to_blob(m, ssh, MODE_OUT)) != 0 ||
2432103: (r = newkeys_to_blob(m, ssh, MODE_IN)) != 0 ||
2432103: (r = sshbuf_put_u64(m, state->rekey_limit)) != 0 ||
2432103: (r = sshbuf_put_u32(m, state->rekey_interval)) != 0 ||
2432103: (r = sshbuf_put_u32(m, state->p_send.seqnr)) != 0 ||
2432103: (r = sshbuf_put_u64(m, state->p_send.blocks)) != 0 ||
2432103: (r = sshbuf_put_u32(m, state->p_send.packets)) != 0 ||
2432103: (r = sshbuf_put_u64(m, state->p_send.bytes)) != 0 ||
2432103: (r = sshbuf_put_u32(m, state->p_read.seqnr)) != 0 ||
2432103: (r = sshbuf_put_u64(m, state->p_read.blocks)) != 0 ||
2432103: (r = sshbuf_put_u32(m, state->p_read.packets)) != 0 ||
2432103: (r = sshbuf_put_u64(m, state->p_read.bytes)) != 0 ||
2432103: (r = sshbuf_put_stringb(m, state->input)) != 0 ||
2432103: (r = sshbuf_put_stringb(m, state->output)) != 0)
2432103: return r;
2432103:
2432103: return 0;
2432103: }
2432103:
2432103:
2432103: static int
2432103: newkeys_from_blob(struct sshbuf *m, struct ssh *ssh, int mode)
2432103: {
2432103: struct sshbuf *b =
2432103: # 2343 "../../packet.c" 3 4
2432103: ((void *)0)
2432103: # 2343 "../../packet.c"
2432103: ;
2432103: struct sshcomp *comp;
2432103: struct sshenc *enc;
2432103: struct sshmac *mac;
2432103: struct newkeys *newkey =
2432103: # 2347 "../../packet.c" 3 4
2432103: ((void *)0)
2432103: # 2347 "../../packet.c"
2432103: ;
2432103: size_t keylen, ivlen, maclen;
2432103: int r;
2432103:
2432103: if ((newkey = calloc(1, sizeof(*newkey))) ==
2432103: # 2351 "../../packet.c" 3 4
2432103: ((void *)0)
2432103: # 2351 "../../packet.c"
2432103: ) {
2432103: r = -2;
2432103: goto out;
2432103: }
2432103: if ((r = sshbuf_froms(m, &b)) != 0)
2432103: goto out;
2432103:
2432103:
2432103:
2432103: enc = &newkey->enc;
2432103: mac = &newkey->mac;
2432103: comp = &newkey->comp;
2432103:
2432103: if ((r = sshbuf_get_cstring(b, &enc->name,
2432103: # 2364 "../../packet.c" 3 4
2432103: ((void *)0)
2432103: # 2364 "../../packet.c"
2432103: )) != 0 ||
2432103: (r = sshbuf_get_u32(b, (u_int *)&enc->enabled)) != 0 ||
2432103: (r = sshbuf_get_u32(b, &enc->block_size)) != 0 ||
2432103: (r = sshbuf_get_string(b, &enc->key, &keylen)) != 0 ||
2432103: (r = sshbuf_get_string(b, &enc->iv, &ivlen)) != 0)
2432103: goto out;
2432103: if ((enc->cipher = cipher_by_name(enc->name)) ==
2432103: # 2370 "../../packet.c" 3 4
2432103: ((void *)0)
2432103: # 2370 "../../packet.c"
2432103: ) {
2432103: r = -4;
2432103: goto out;
2432103: }
2432103: if (cipher_authlen(enc->cipher) == 0) {
2432103: if ((r = sshbuf_get_cstring(b, &mac->name,
2432103: # 2375 "../../packet.c" 3 4
2432103: ((void *)0)
2432103: # 2375 "../../packet.c"
2432103: )) != 0)
2432103: goto out;
2432103: if ((r = mac_setup(mac, mac->name)) != 0)
2432103: goto out;
2432103: if ((r = sshbuf_get_u32(b, (u_int *)&mac->enabled)) != 0 ||
2432103: (r = sshbuf_get_string(b, &mac->key, &maclen)) != 0)
2432103: goto out;
2432103: if (maclen > mac->key_len) {
2432103: r = -4;
2432103: goto out;
2432103: }
2432103: mac->key_len = maclen;
2432103: }
2432103: if ((r = sshbuf_get_u32(b, &comp->type)) != 0 ||
2432103: (r = sshbuf_get_cstring(b, &comp->name,
2432103: # 2389 "../../packet.c" 3 4
2432103: ((void *)0)
2432103: # 2389 "../../packet.c"
2432103: )) != 0)
2432103: goto out;
2432103: if (sshbuf_len(b) != 0) {
2432103: r = -4;
2432103: goto out;
2432103: }
2432103: enc->key_len = keylen;
2432103: enc->iv_len = ivlen;
2432103: ssh->kex->newkeys[mode] = newkey;
2432103: newkey =
2432103: # 2398 "../../packet.c" 3 4
2432103: ((void *)0)
2432103: # 2398 "../../packet.c"
2432103: ;
2432103: r = 0;
2432103: out:
2432103: free(newkey);
2432103: sshbuf_free(b);
2432103: return r;
2432103: }
2432103:
2432103:
2432103: static int
2432103: kex_from_blob(struct sshbuf *m, struct kex **kexp)
2432103: {
2432103: struct kex *kex;
2432103: int r;
2432103:
2432103: if ((kex = kex_new()) ==
2432103: # 2413 "../../packet.c" 3 4
2432103: ((void *)0)
2432103: # 2413 "../../packet.c"
2432103: )
2432103: return -2;
2432103: if ((r = sshbuf_get_u32(m, &kex->we_need)) != 0 ||
2432103: (r = sshbuf_get_cstring(m, &kex->hostkey_alg,
2432103: # 2416 "../../packet.c" 3 4
2432103: ((void *)0)
2432103: # 2416 "../../packet.c"
2432103: )) != 0 ||
2432103: (r = sshbuf_get_u32(m, (u_int *)&kex->hostkey_type)) != 0 ||
2432103: (r = sshbuf_get_u32(m, (u_int *)&kex->hostkey_nid)) != 0 ||
2432103: (r = sshbuf_get_u32(m, &kex->kex_type)) != 0 ||
2432103: (r = sshbuf_get_u32(m, &kex->kex_strict)) != 0 ||
2432103: (r = sshbuf_get_stringb(m, kex->my)) != 0 ||
2432103: (r = sshbuf_get_stringb(m, kex->peer)) != 0 ||
2432103: (r = sshbuf_get_stringb(m, kex->client_version)) != 0 ||
2432103: (r = sshbuf_get_stringb(m, kex->server_version)) != 0 ||
2432103: (r = sshbuf_get_stringb(m, kex->session_id)) != 0 ||
2432103: (r = sshbuf_get_u32(m, &kex->flags)) != 0)
2432103: goto out;
2432103: kex->server = 1;
2432103: kex->done = 1;
2432103: r = 0;
2432103: out:
2432103: if (r != 0 || kexp ==
2432103: # 2432 "../../packet.c" 3 4
2432103: ((void *)0)
2432103: # 2432 "../../packet.c"
2432103: ) {
2432103: kex_free(kex);
2432103: if (kexp !=
2432103: # 2434 "../../packet.c" 3 4
2432103: ((void *)0)
2432103: # 2434 "../../packet.c"
2432103: )
2432103: *kexp =
2432103: # 2435 "../../packet.c" 3 4
2432103: ((void *)0)
2432103: # 2435 "../../packet.c"
2432103: ;
2432103: } else {
2432103: kex_free(*kexp);
2432103: *kexp = kex;
2432103: }
2432103: return r;
2432103: }
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: int
2432103: ssh_packet_set_state(struct ssh *ssh, struct sshbuf *m)
2432103: {
2432103: struct session_state *state = ssh->state;
2432103: const u_char *input, *output;
2432103: size_t ilen, olen;
2432103: int r;
2432103:
2432103: if ((r = kex_from_blob(m, &ssh->kex)) != 0 ||
2432103: (r = newkeys_from_blob(m, ssh, MODE_OUT)) != 0 ||
2432103: (r = newkeys_from_blob(m, ssh, MODE_IN)) != 0 ||
2432103: (r = sshbuf_get_u64(m, &state->rekey_limit)) != 0 ||
2432103: (r = sshbuf_get_u32(m, &state->rekey_interval)) != 0 ||
2432103: (r = sshbuf_get_u32(m, &state->p_send.seqnr)) != 0 ||
2432103: (r = sshbuf_get_u64(m, &state->p_send.blocks)) != 0 ||
2432103: (r = sshbuf_get_u32(m, &state->p_send.packets)) != 0 ||
2432103: (r = sshbuf_get_u64(m, &state->p_send.bytes)) != 0 ||
2432103: (r = sshbuf_get_u32(m, &state->p_read.seqnr)) != 0 ||
2432103: (r = sshbuf_get_u64(m, &state->p_read.blocks)) != 0 ||
2432103: (r = sshbuf_get_u32(m, &state->p_read.packets)) != 0 ||
2432103: (r = sshbuf_get_u64(m, &state->p_read.bytes)) != 0)
2432103: return r;
2432103:
2432103:
2432103:
2432103:
2432103: state->rekey_time = monotime();
2432103:
2432103: if ((r = ssh_set_newkeys(ssh, MODE_IN)) != 0 ||
2432103: (r = ssh_set_newkeys(ssh, MODE_OUT)) != 0)
2432103: return r;
2432103:
2432103: if ((r = ssh_packet_set_postauth(ssh)) != 0)
2432103: return r;
2432103:
2432103: sshbuf_reset(state->input);
2432103: sshbuf_reset(state->output);
2432103: if ((r = sshbuf_get_string_direct(m, &input, &ilen)) != 0 ||
2432103: (r = sshbuf_get_string_direct(m, &output, &olen)) != 0 ||
2432103: (r = sshbuf_put(state->input, input, ilen)) != 0 ||
2432103: (r = sshbuf_put(state->output, output, olen)) != 0)
2432103: return r;
2432103:
2432103: if (sshbuf_len(m))
2432103: return -4;
2432103: sshlog("../../packet.c", __func__, 2492, 1, SYSLOG_LEVEL_DEBUG3,
2432103: # 2492 "../../packet.c" 3 4
2432103: ((void *)0)
2432103: # 2492 "../../packet.c"
2432103: , "done");
2432103: return 0;
2432103: }
2432103:
2432103:
2432103:
2432103:
2432103:
2432103: int
2432103: sshpkt_put(struct ssh *ssh, const void *v, size_t len)
2432103: {
2432103: return sshbuf_put(ssh->state->outgoing_packet, v, len);
2432103: }
2432103:
2432103: int
2432103: sshpkt_putb(struct ssh *ssh, const struct sshbuf *b)
2432103: {
2432103: return sshbuf_putb(ssh->state->outgoing_packet, b);
2432103: }
2432103:
2432103: int
2432103: sshpkt_put_u8(struct ssh *ssh, u_char val)
2432103: {
2432103: return sshbuf_put_u8(ssh->state->outgoing_packet, val);
2432103: }
2432103:
2432103: int
2432103: sshpkt_put_u32(struct ssh *ssh, u_int32_t val)
2432103: {
2432103: return sshbuf_put_u32(ssh->state->outgoing_packet, val);
2432103: }
2432103:
2432103: int
2432103: sshpkt_put_u64(struct ssh *ssh, u_int64_t val)
2432103: {
2432103: return sshbuf_put_u64(ssh->state->outgoing_packet, val);
2432103: }
2432103:
2432103: int
2432103: sshpkt_put_string(struct ssh *ssh, const void *v, size_t len)
2432103: {
2432103: return sshbuf_put_string(ssh->state->outgoing_packet, v, len);
2432103: }
2432103:
2432103: int
2432103: sshpkt_put_cstring(struct ssh *ssh, const void *v)
2432103: {
2432103: return sshbuf_put_cstring(ssh->state->outgoing_packet, v);
2432103: }
2432103:
2432103: int
2432103: sshpkt_put_stringb(struct ssh *ssh, const struct sshbuf *v)
2432103: {
2432103: return sshbuf_put_stringb(ssh->state->outgoing_packet, v);
2432103: }
2432103:
2432103: int
2432103: sshpkt_getb_froms(struct ssh *ssh, struct sshbuf **valp)
2432103: {
2432103: return sshbuf_froms(ssh->state->incoming_packet, valp);
2432103: }
2432103:
2432103:
2432103:
2432103: int
2432103: sshpkt_put_ec(struct ssh *ssh, const EC_POINT *v, const EC_GROUP *g)
2432103: {
2432103: return sshbuf_put_ec(ssh->state->outgoing_packet, v, g);
2432103: }
2432103:
2432103:
2432103:
2432103: int
2432103: sshpkt_put_bignum2(struct ssh *ssh, const BIGNUM *v)
2432103: {
2432103: return sshbuf_put_bignum2(ssh->state->outgoing_packet, v);
2432103: }
2432103:
2432103:
2432103:
2432103:
2432103: int
2432103: sshpkt_get(struct ssh *ssh, void *valp, size_t len)
2432103: {
2432103: return sshbuf_get(ssh->state->incoming_packet, valp, len);
2432103: }
2432103:
2432103: int
2432103: sshpkt_get_u8(struct ssh *ssh, u_char *valp)
2432103: {
2432103: return sshbuf_get_u8(ssh->state->incoming_packet, valp);
2432103: }
2432103:
2432103: int
2432103: sshpkt_get_u32(struct ssh *ssh, u_int32_t *valp)
2432103: {
2432103: return sshbuf_get_u32(ssh->state->incoming_packet, valp);
2432103: }
2432103:
2432103: int
2432103: sshpkt_get_u64(struct ssh *ssh, u_int64_t *valp)
2432103: {
2432103: return sshbuf_get_u64(ssh->state->incoming_packet, valp);
2432103: }
2432103:
2432103: int
2432103: sshpkt_get_string(struct ssh *ssh, u_char **valp, size_t *lenp)
2432103: {
2432103: return sshbuf_get_string(ssh->state->incoming_packet, valp, lenp);
2432103: }
2432103:
2432103: int
2432103: sshpkt_get_string_direct(struct ssh *ssh, const u_char **valp, size_t *lenp)
2432103: {
2432103: return sshbuf_get_string_direct(ssh->state->incoming_packet, valp, lenp);
2432103: }
2432103:
2432103: int
2432103: sshpkt_peek_string_direct(struct ssh *ssh, const u_char **valp, size_t *lenp)
2432103: {
2432103: return sshbuf_peek_string_direct(ssh->state->incoming_packet, valp, lenp);
2432103: }
2432103:
2432103: int
2432103: sshpkt_get_cstring(struct ssh *ssh, char **valp, size_t *lenp)
2432103: {
2432103: return sshbuf_get_cstring(ssh->state->incoming_packet, valp, lenp);
2432103: }
2432103:
2432103:
2432103:
2432103: int
2432103: sshpkt_get_ec(struct ssh *ssh, EC_POINT *v, const EC_GROUP *g)
2432103: {
2432103: return sshbuf_get_ec(ssh->state->incoming_packet, v, g);
2432103: }
2432103:
2432103:
2432103: int
2432103: sshpkt_get_bignum2(struct ssh *ssh, BIGNUM **valp)
2432103: {
2432103: return sshbuf_get_bignum2(ssh->state->incoming_packet, valp);
2432103: }
2432103:
2432103:
2432103: int
2432103: sshpkt_get_end(struct ssh *ssh)
2432103: {
2432103: if (sshbuf_len(ssh->state->incoming_packet) > 0)
2432103: return -23;
2432103: return 0;
2432103: }
2432103:
2432103: const u_char *
2432103: sshpkt_ptr(struct ssh *ssh, size_t *lenp)
2432103: {
2432103: if (lenp !=
2432103: # 2648 "../../packet.c" 3 4
2432103: ((void *)0)
2432103: # 2648 "../../packet.c"
2432103: )
2432103: *lenp = sshbuf_len(ssh->state->incoming_packet);
2432103: return sshbuf_ptr(ssh->state->incoming_packet);
2432103: }
2432103:
2432103:
2432103:
2432103: int
2432103: sshpkt_start(struct ssh *ssh, u_char type)
2432103: {
2432103: u_char buf[6];
2432103:
2432103: ;
2432103: memset(buf, 0, sizeof(buf));
2432103: buf[sizeof(buf) - 1] = type;
2432103: sshbuf_reset(ssh->state->outgoing_packet);
2432103: return sshbuf_put(ssh->state->outgoing_packet, buf, sizeof(buf));
2432103: }
2432103:
2432103: static int
2432103: ssh_packet_send_mux(struct ssh *ssh)
2432103: {
2432103: struct session_state *state = ssh->state;
2432103: u_char type, *cp;
2432103: size_t len;
2432103: int r;
2432103:
2432103: if (ssh->kex)
2432103: return -1;
2432103: len = sshbuf_len(state->outgoing_packet);
2432103: if (len < 6)
2432103: return -1;
2432103: cp = sshbuf_mutable_ptr(state->outgoing_packet);
2432103: type = cp[5];
2432103: if (ssh_packet_log_type(type))
2432103: sshlog("../../packet.c", __func__, 2683, 1, SYSLOG_LEVEL_DEBUG3,
2432103: # 2683 "../../packet.c" 3 4
2432103: ((void *)0)
2432103: # 2683 "../../packet.c"
2432103: , "type %u", type);
2432103:
2432103: if (type >= 80 &&
2432103: type <= 127) {
2432103: do { const u_int32_t __v = (len - 4); ((u_char *)(cp))[0] = (__v >> 24) & 0xff; ((u_char *)(cp))[1] = (__v >> 16) & 0xff; ((u_char *)(cp))[2] = (__v >> 8) & 0xff; ((u_char *)(cp))[3] = __v & 0xff; } while (0);
2432103: if ((r = sshbuf_putb(state->output,
2432103: state->outgoing_packet)) != 0)
2432103: return r;
2432103:
2432103: }
2432103: sshbuf_reset(state->outgoing_packet);
2432103: return 0;
2432103: }
2432103: # 2708 "../../packet.c"
2432103: int
2432103: sshpkt_msg_ignore(struct ssh *ssh, u_int nbytes)
2432103: {
2432103: u_int32_t rnd = 0;
2432103: int r;
2432103: u_int i;
2432103:
2432103: if ((r = sshpkt_start(ssh, 2)) != 0 ||
2432103: (r = sshpkt_put_u32(ssh, nbytes)) != 0)
2432103: return r;
2432103: for (i = 0; i < nbytes; i++) {
2432103: if (i % 4 == 0)
2432103: rnd = arc4random();
2432103: if ((r = sshpkt_put_u8(ssh, (u_char)rnd & 0xff)) != 0)
2432103: return r;
2432103: rnd >>= 8;
2432103: }
2432103: return 0;
2432103: }
2432103:
2432103:
2432103:
2432103: int
2432103: sshpkt_send(struct ssh *ssh)
2432103: {
2432103: if (ssh->state && ssh->state->mux)
2432103: return ssh_packet_send_mux(ssh);
2432103: return ssh_packet_send2(ssh);
2432103: }
2432103:
2432103: int
2432103: sshpkt_disconnect(struct ssh *ssh, const char *fmt,...)
2432103: {
2432103: char buf[1024];
2432103: va_list args;
2432103: int r;
2432103:
2432103:
2432103: # 2745 "../../packet.c" 3 4
2432103: __builtin_va_start(
2432103: # 2745 "../../packet.c"
2432103: args
2432103: # 2745 "../../packet.c" 3 4
2432103: ,
2432103: # 2745 "../../packet.c"
2432103: fmt
2432103: # 2745 "../../packet.c" 3 4
2432103: )
2432103: # 2745 "../../packet.c"
2432103: ;
2432103: vsnprintf(buf, sizeof(buf), fmt, args);
2432103:
2432103: # 2747 "../../packet.c" 3 4
2432103: __builtin_va_end(
2432103: # 2747 "../../packet.c"
2432103: args
2432103: # 2747 "../../packet.c" 3 4
2432103: )
2432103: # 2747 "../../packet.c"
2432103: ;
2432103:
2432103: sshlog("../../packet.c", __func__, 2749, 1, SYSLOG_LEVEL_DEBUG2,
2432103: # 2749 "../../packet.c" 3 4
2432103: ((void *)0)
2432103: # 2749 "../../packet.c"
2432103: , "sending SSH2_MSG_DISCONNECT: %s", buf);
2432103: if ((r = sshpkt_start(ssh, 1)) != 0 ||
2432103: (r = sshpkt_put_u32(ssh, 2)) != 0 ||
2432103: (r = sshpkt_put_cstring(ssh, buf)) != 0 ||
2432103: (r = sshpkt_put_cstring(ssh, "")) != 0 ||
2432103: (r = sshpkt_send(ssh)) != 0)
2432103: return r;
2432103: return 0;
2432103: }
2432103:
2432103:
2432103: int
2432103: sshpkt_add_padding(struct ssh *ssh, u_char pad)
2432103: {
2432103: ssh->state->extra_pad = pad;
2432103: return 0;
2432103: }
=== END GCC DUMP ===