Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 899272 Details for
Bug 937331
net-misc/iperf-3.17.1, bad immediate value for 8-bit offset, on ARM MUSL
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
.i file
libiperf_la-iperf_server_api.i (text/plain), 384.12 KB, created by
Marius Dinu
on 2024-08-06 08:53:46 UTC
(
hide
)
Description:
.i file
Filename:
MIME Type:
Creator:
Marius Dinu
Created:
2024-08-06 08:53:46 UTC
Size:
384.12 KB
patch
obsolete
># 0 "iperf_server_api.c" ># 0 "<built-in>" ># 0 "<command-line>" ># 1 "/usr/include/stdc-predef.h" 1 3 4 ># 0 "<command-line>" 2 ># 1 "iperf_server_api.c" ># 30 "iperf_server_api.c" ># 1 "/usr/include/stdio.h" 1 3 4 > > > > > > > ># 1 "/usr/include/features.h" 1 3 4 ># 9 "/usr/include/stdio.h" 2 3 4 ># 26 "/usr/include/stdio.h" 3 4 ># 1 "/usr/include/bits/alltypes.h" 1 3 4 ># 43 "/usr/include/bits/alltypes.h" 3 4 > ># 43 "/usr/include/bits/alltypes.h" 3 4 >typedef unsigned int size_t; ># 58 "/usr/include/bits/alltypes.h" 3 4 >typedef int ssize_t; ># 155 "/usr/include/bits/alltypes.h" 3 4 >typedef long long off_t; ># 313 "/usr/include/bits/alltypes.h" 3 4 >typedef struct _IO_FILE FILE; > > > > > >typedef __builtin_va_list va_list; > > > > >typedef __builtin_va_list __isoc_va_list; ># 27 "/usr/include/stdio.h" 2 3 4 ># 56 "/usr/include/stdio.h" 3 4 >typedef union _G_fpos64_t { > char __opaque[16]; > long long __lldata; > double __align; >} fpos_t; > >extern FILE *const stdin; >extern FILE *const stdout; >extern FILE *const stderr; > > > > > >FILE *fopen(const char *restrict, const char *restrict); >FILE *freopen(const char *restrict, const char *restrict, FILE *restrict); >int fclose(FILE *); > >int remove(const char *); >int rename(const char *, const char *); > >int feof(FILE *); >int ferror(FILE *); >int fflush(FILE *); >void clearerr(FILE *); > >int fseek(FILE *, long, int); >long ftell(FILE *); >void rewind(FILE *); > >int fgetpos(FILE *restrict, fpos_t *restrict); >int fsetpos(FILE *, const fpos_t *); > >size_t fread(void *restrict, size_t, size_t, FILE *restrict); >size_t fwrite(const void *restrict, size_t, size_t, FILE *restrict); > >int fgetc(FILE *); >int getc(FILE *); >int getchar(void); >int ungetc(int, FILE *); > >int fputc(int, FILE *); >int putc(int, FILE *); >int putchar(int); > >char *fgets(char *restrict, int, FILE *restrict); > > > > >int fputs(const char *restrict, FILE *restrict); >int puts(const char *); > >int printf(const char *restrict, ...); >int fprintf(FILE *restrict, const char *restrict, ...); >int sprintf(char *restrict, const char *restrict, ...); >int snprintf(char *restrict, size_t, const char *restrict, ...); > >int vprintf(const char *restrict, __isoc_va_list); >int vfprintf(FILE *restrict, const char *restrict, __isoc_va_list); >int vsprintf(char *restrict, const char *restrict, __isoc_va_list); >int vsnprintf(char *restrict, size_t, const char *restrict, __isoc_va_list); > >int scanf(const char *restrict, ...); >int fscanf(FILE *restrict, const char *restrict, ...); >int sscanf(const char *restrict, const char *restrict, ...); >int vscanf(const char *restrict, __isoc_va_list); >int vfscanf(FILE *restrict, const char *restrict, __isoc_va_list); >int vsscanf(const char *restrict, const char *restrict, __isoc_va_list); > >void perror(const char *); > >int setvbuf(FILE *restrict, char *restrict, int, size_t); >void setbuf(FILE *restrict, char *restrict); > >char *tmpnam(char *); >FILE *tmpfile(void); > > > > >FILE *fmemopen(void *restrict, size_t, const char *restrict); >FILE *open_memstream(char **, size_t *); >FILE *fdopen(int, const char *); >FILE *popen(const char *, const char *); >int pclose(FILE *); >int fileno(FILE *); >int fseeko(FILE *, off_t, int); >off_t ftello(FILE *); >int dprintf(int, const char *restrict, ...); >int vdprintf(int, const char *restrict, __isoc_va_list); >void flockfile(FILE *); >int ftrylockfile(FILE *); >void funlockfile(FILE *); >int getc_unlocked(FILE *); >int getchar_unlocked(void); >int putc_unlocked(int, FILE *); >int putchar_unlocked(int); >ssize_t getdelim(char **restrict, size_t *restrict, int, FILE *restrict); >ssize_t getline(char **restrict, size_t *restrict, FILE *restrict); >int renameat(int, const char *, int, const char *); >char *ctermid(char *); > > > > > > > >char *tempnam(const char *, const char *); > > > > >char *cuserid(char *); >void setlinebuf(FILE *); >void setbuffer(FILE *, char *, size_t); >int fgetc_unlocked(FILE *); >int fputc_unlocked(int, FILE *); >int fflush_unlocked(FILE *); >size_t fread_unlocked(void *, size_t, size_t, FILE *); >size_t fwrite_unlocked(const void *, size_t, size_t, FILE *); >void clearerr_unlocked(FILE *); >int feof_unlocked(FILE *); >int ferror_unlocked(FILE *); >int fileno_unlocked(FILE *); >int getw(FILE *); >int putw(int, FILE *); >char *fgetln(FILE *, size_t *); >int asprintf(char **, const char *, ...); >int vasprintf(char **, const char *, __isoc_va_list); ># 31 "iperf_server_api.c" 2 ># 1 "/usr/include/stdlib.h" 1 3 4 ># 21 "/usr/include/stdlib.h" 3 4 ># 1 "/usr/include/bits/alltypes.h" 1 3 4 ># 16 "/usr/include/bits/alltypes.h" 3 4 >typedef unsigned wchar_t; ># 22 "/usr/include/stdlib.h" 2 3 4 > >int atoi (const char *); >long atol (const char *); >long long atoll (const char *); >double atof (const char *); > >float strtof (const char *restrict, char **restrict); >double strtod (const char *restrict, char **restrict); >long double strtold (const char *restrict, char **restrict); > >long strtol (const char *restrict, char **restrict, int); >unsigned long strtoul (const char *restrict, char **restrict, int); >long long strtoll (const char *restrict, char **restrict, int); >unsigned long long strtoull (const char *restrict, char **restrict, int); > >int rand (void); >void srand (unsigned); > >void *malloc (size_t); >void *calloc (size_t, size_t); >void *realloc (void *, size_t); >void free (void *); >void *aligned_alloc(size_t, size_t); > >_Noreturn void abort (void); >int atexit (void (*) (void)); >_Noreturn void exit (int); >_Noreturn void _Exit (int); >int at_quick_exit (void (*) (void)); >_Noreturn void quick_exit (int); > >char *getenv (const char *); > >int system (const char *); > >void *bsearch (const void *, const void *, size_t, size_t, int (*)(const void *, const void *)); >void qsort (void *, size_t, size_t, int (*)(const void *, const void *)); > >int abs (int); >long labs (long); >long long llabs (long long); > >typedef struct { int quot, rem; } div_t; >typedef struct { long quot, rem; } ldiv_t; >typedef struct { long long quot, rem; } lldiv_t; > >div_t div (int, int); >ldiv_t ldiv (long, long); >lldiv_t lldiv (long long, long long); > >int mblen (const char *, size_t); >int mbtowc (wchar_t *restrict, const char *restrict, size_t); >int wctomb (char *, wchar_t); >size_t mbstowcs (wchar_t *restrict, const char *restrict, size_t); >size_t wcstombs (char *restrict, const wchar_t *restrict, size_t); > > > > >size_t __ctype_get_mb_cur_max(void); ># 101 "/usr/include/stdlib.h" 3 4 >int posix_memalign (void **, size_t, size_t); >int setenv (const char *, const char *, int); >int unsetenv (const char *); >int mkstemp (char *); >int mkostemp (char *, int); >char *mkdtemp (char *); >int getsubopt (char **, char *const *, char **); >int rand_r (unsigned *); > > > > > > >char *realpath (const char *restrict, char *restrict); >long int random (void); >void srandom (unsigned int); >char *initstate (unsigned int, char *, size_t); >char *setstate (char *); >int putenv (char *); >int posix_openpt (int); >int grantpt (int); >int unlockpt (int); >char *ptsname (int); >char *l64a (long); >long a64l (const char *); >void setkey (const char *); >double drand48 (void); >double erand48 (unsigned short [3]); >long int lrand48 (void); >long int nrand48 (unsigned short [3]); >long mrand48 (void); >long jrand48 (unsigned short [3]); >void srand48 (long); >unsigned short *seed48 (unsigned short [3]); >void lcong48 (unsigned short [7]); > > > ># 1 "/usr/include/alloca.h" 1 3 4 ># 9 "/usr/include/alloca.h" 3 4 ># 1 "/usr/include/bits/alltypes.h" 1 3 4 ># 10 "/usr/include/alloca.h" 2 3 4 > >void *alloca(size_t); ># 141 "/usr/include/stdlib.h" 2 3 4 >char *mktemp (char *); >int mkstemps (char *, int); >int mkostemps (char *, int, int); >void *valloc (size_t); >void *memalign(size_t, size_t); >int getloadavg(double *, int); >int clearenv(void); > > >void *reallocarray (void *, size_t, size_t); >void qsort_r (void *, size_t, size_t, int (*)(const void *, const void *, void *), void *); ># 32 "iperf_server_api.c" 2 ># 1 "/usr/include/string.h" 1 3 4 ># 25 "/usr/include/string.h" 3 4 ># 1 "/usr/include/bits/alltypes.h" 1 3 4 ># 336 "/usr/include/bits/alltypes.h" 3 4 >typedef struct __locale_struct * locale_t; ># 26 "/usr/include/string.h" 2 3 4 > >void *memcpy (void *restrict, const void *restrict, size_t); >void *memmove (void *, const void *, size_t); >void *memset (void *, int, size_t); >int memcmp (const void *, const void *, size_t); >void *memchr (const void *, int, size_t); > >char *strcpy (char *restrict, const char *restrict); >char *strncpy (char *restrict, const char *restrict, size_t); > >char *strcat (char *restrict, const char *restrict); >char *strncat (char *restrict, const char *restrict, size_t); > >int strcmp (const char *, const char *); >int strncmp (const char *, const char *, size_t); > >int strcoll (const char *, const char *); >size_t strxfrm (char *restrict, const char *restrict, size_t); > >char *strchr (const char *, int); >char *strrchr (const char *, int); > >size_t strcspn (const char *, const char *); >size_t strspn (const char *, const char *); >char *strpbrk (const char *, const char *); >char *strstr (const char *, const char *); >char *strtok (char *restrict, const char *restrict); > >size_t strlen (const char *); > >char *strerror (int); > > ># 1 "/usr/include/strings.h" 1 3 4 ># 12 "/usr/include/strings.h" 3 4 ># 1 "/usr/include/bits/alltypes.h" 1 3 4 ># 13 "/usr/include/strings.h" 2 3 4 > > > > >int bcmp (const void *, const void *, size_t); >void bcopy (const void *, void *, size_t); >void bzero (void *, size_t); >char *index (const char *, int); >char *rindex (const char *, int); > > > >int ffs (int); >int ffsl (long); >int ffsll (long long); > > >int strcasecmp (const char *, const char *); >int strncasecmp (const char *, const char *, size_t); > >int strcasecmp_l (const char *, const char *, locale_t); >int strncasecmp_l (const char *, const char *, size_t, locale_t); ># 60 "/usr/include/string.h" 2 3 4 > > > > > >char *strtok_r (char *restrict, const char *restrict, char **restrict); >int strerror_r (int, char *, size_t); >char *stpcpy(char *restrict, const char *restrict); >char *stpncpy(char *restrict, const char *restrict, size_t); >size_t strnlen (const char *, size_t); >char *strdup (const char *); >char *strndup (const char *, size_t); >char *strsignal(int); >char *strerror_l (int, locale_t); >int strcoll_l (const char *, const char *, locale_t); >size_t strxfrm_l (char *restrict, const char *restrict, size_t, locale_t); >void *memmem(const void *, size_t, const void *, size_t); > > > > >void *memccpy (void *restrict, const void *restrict, int, size_t); > > > >char *strsep(char **, const char *); >size_t strlcat (char *, const char *, size_t); >size_t strlcpy (char *, const char *, size_t); >void explicit_bzero (void *, size_t); ># 33 "iperf_server_api.c" 2 ># 1 "/usr/include/getopt.h" 1 3 4 > > > > > > > >int getopt(int, char * const [], const char *); >extern char *optarg; >extern int optind, opterr, optopt, optreset; > >struct option { > const char *name; > int has_arg; > int *flag; > int val; >}; > >int getopt_long(int, char *const *, const char *, const struct option *, int *); >int getopt_long_only(int, char *const *, const char *, const struct option *, int *); ># 34 "iperf_server_api.c" 2 ># 1 "/usr/include/errno.h" 1 3 4 ># 10 "/usr/include/errno.h" 3 4 ># 1 "/usr/include/bits/errno.h" 1 3 4 ># 11 "/usr/include/errno.h" 2 3 4 > > >__attribute__((const)) > >int *__errno_location(void); ># 35 "iperf_server_api.c" 2 ># 1 "/usr/include/unistd.h" 1 3 4 ># 37 "/usr/include/unistd.h" 3 4 ># 1 "/usr/include/bits/alltypes.h" 1 3 4 ># 63 "/usr/include/bits/alltypes.h" 3 4 >typedef int intptr_t; ># 228 "/usr/include/bits/alltypes.h" 3 4 >typedef int pid_t; ># 238 "/usr/include/bits/alltypes.h" 3 4 >typedef unsigned uid_t; > > > > >typedef unsigned gid_t; ># 253 "/usr/include/bits/alltypes.h" 3 4 >typedef unsigned useconds_t; ># 38 "/usr/include/unistd.h" 2 3 4 > >int pipe(int [2]); >int pipe2(int [2], int); >int close(int); >int posix_close(int, int); >int dup(int); >int dup2(int, int); >int dup3(int, int, int); >off_t lseek(int, off_t, int); >int fsync(int); >int fdatasync(int); > >ssize_t read(int, void *, size_t); >ssize_t write(int, const void *, size_t); >ssize_t pread(int, void *, size_t, off_t); >ssize_t pwrite(int, const void *, size_t, off_t); > >int chown(const char *, uid_t, gid_t); >int fchown(int, uid_t, gid_t); >int lchown(const char *, uid_t, gid_t); >int fchownat(int, const char *, uid_t, gid_t, int); > >int link(const char *, const char *); >int linkat(int, const char *, int, const char *, int); >int symlink(const char *, const char *); >int symlinkat(const char *, int, const char *); >ssize_t readlink(const char *restrict, char *restrict, size_t); >ssize_t readlinkat(int, const char *restrict, char *restrict, size_t); >int unlink(const char *); >int unlinkat(int, const char *, int); >int rmdir(const char *); >int truncate(const char *, off_t); >int ftruncate(int, off_t); > > > > > > >int access(const char *, int); >int faccessat(int, const char *, int, int); > >int chdir(const char *); >int fchdir(int); >char *getcwd(char *, size_t); > >unsigned alarm(unsigned); >unsigned sleep(unsigned); >int pause(void); > >pid_t fork(void); >pid_t _Fork(void); >int execve(const char *, char *const [], char *const []); >int execv(const char *, char *const []); >int execle(const char *, const char *, ...); >int execl(const char *, const char *, ...); >int execvp(const char *, char *const []); >int execlp(const char *, const char *, ...); >int fexecve(int, char *const [], char *const []); >_Noreturn void _exit(int); > >pid_t getpid(void); >pid_t getppid(void); >pid_t getpgrp(void); >pid_t getpgid(pid_t); >int setpgid(pid_t, pid_t); >pid_t setsid(void); >pid_t getsid(pid_t); >char *ttyname(int); >int ttyname_r(int, char *, size_t); >int isatty(int); >pid_t tcgetpgrp(int); >int tcsetpgrp(int, pid_t); > >uid_t getuid(void); >uid_t geteuid(void); >gid_t getgid(void); >gid_t getegid(void); >int getgroups(int, gid_t []); >int setuid(uid_t); >int seteuid(uid_t); >int setgid(gid_t); >int setegid(gid_t); > >char *getlogin(void); >int getlogin_r(char *, size_t); >int gethostname(char *, size_t); >char *ctermid(char *); > >int getopt(int, char * const [], const char *); >extern char *optarg; >extern int optind, opterr, optopt; > >long pathconf(const char *, int); >long fpathconf(int, int); >long sysconf(int); >size_t confstr(int, char *, size_t); > > > > > > >int setreuid(uid_t, uid_t); >int setregid(gid_t, gid_t); >int lockf(int, int, off_t); >long gethostid(void); >int nice(int); >void sync(void); >pid_t setpgrp(void); >char *crypt(const char *, const char *); >void encrypt(char *, int); >void swab(const void *restrict, void *restrict, ssize_t); > > > > >int usleep(unsigned); >unsigned ualarm(unsigned, unsigned); > > > > > > >int brk(void *); >void *sbrk(intptr_t); >pid_t vfork(void); >int vhangup(void); >int chroot(const char *); >int getpagesize(void); >int getdtablesize(void); >int sethostname(const char *, size_t); >int getdomainname(char *, size_t); >int setdomainname(const char *, size_t); >int setgroups(size_t, const gid_t *); >char *getpass(const char *); >int daemon(int, int); >void setusershell(void); >void endusershell(void); >char *getusershell(void); >int acct(const char *); >long syscall(long, ...); >int execvpe(const char *, char *const [], char *const []); >int issetugid(void); >int getentropy(void *, size_t); >extern int optreset; ># 260 "/usr/include/unistd.h" 3 4 ># 1 "/usr/include/bits/posix.h" 1 3 4 ># 261 "/usr/include/unistd.h" 2 3 4 ># 36 "iperf_server_api.c" 2 ># 1 "/usr/include/assert.h" 1 3 4 ># 19 "/usr/include/assert.h" 3 4 >_Noreturn void __assert_fail (const char *, const char *, int, const char *); ># 37 "iperf_server_api.c" 2 ># 1 "/usr/include/fcntl.h" 1 3 4 ># 20 "/usr/include/fcntl.h" 3 4 ># 1 "/usr/include/bits/alltypes.h" 1 3 4 ># 145 "/usr/include/bits/alltypes.h" 3 4 >typedef unsigned mode_t; ># 21 "/usr/include/fcntl.h" 2 3 4 > ># 1 "/usr/include/bits/fcntl.h" 1 3 4 ># 23 "/usr/include/fcntl.h" 2 3 4 > >struct flock { > short l_type; > short l_whence; > off_t l_start; > off_t l_len; > pid_t l_pid; >}; > >int creat(const char *, mode_t); >int fcntl(int, int, ...); >int open(const char *, int, ...); >int openat(int, const char *, int, ...); >int posix_fadvise(int, off_t, off_t, int); >int posix_fallocate(int, off_t, off_t); ># 159 "/usr/include/fcntl.h" 3 4 >int lockf(int, int, off_t); ># 38 "iperf_server_api.c" 2 ># 1 "/usr/include/sys/socket.h" 1 3 4 ># 18 "/usr/include/sys/socket.h" 3 4 ># 1 "/usr/include/bits/alltypes.h" 1 3 4 ># 348 "/usr/include/bits/alltypes.h" 3 4 >struct iovec { void *iov_base; size_t iov_len; }; ># 360 "/usr/include/bits/alltypes.h" 3 4 >typedef unsigned socklen_t; > > > > >typedef unsigned short sa_family_t; ># 19 "/usr/include/sys/socket.h" 2 3 4 > ># 1 "/usr/include/bits/socket.h" 1 3 4 ># 21 "/usr/include/sys/socket.h" 2 3 4 > >struct msghdr { > void *msg_name; > socklen_t msg_namelen; > struct iovec *msg_iov; > > > > int msg_iovlen; > > > > void *msg_control; > > > > socklen_t msg_controllen; > > > > int msg_flags; >}; > >struct cmsghdr { > > > > socklen_t cmsg_len; > > > > int cmsg_level; > int cmsg_type; >}; ># 74 "/usr/include/sys/socket.h" 3 4 >struct linger { > int l_onoff; > int l_linger; >}; ># 369 "/usr/include/sys/socket.h" 3 4 >struct sockaddr { > sa_family_t sa_family; > char sa_data[14]; >}; > >struct sockaddr_storage { > sa_family_t ss_family; > char __ss_padding[128-sizeof(long)-sizeof(sa_family_t)]; > unsigned long __ss_align; >}; > >int socket (int, int, int); >int socketpair (int, int, int, int [2]); > >int shutdown (int, int); > >int bind (int, const struct sockaddr *, socklen_t); >int connect (int, const struct sockaddr *, socklen_t); >int listen (int, int); >int accept (int, struct sockaddr *restrict, socklen_t *restrict); >int accept4(int, struct sockaddr *restrict, socklen_t *restrict, int); > >int getsockname (int, struct sockaddr *restrict, socklen_t *restrict); >int getpeername (int, struct sockaddr *restrict, socklen_t *restrict); > >ssize_t send (int, const void *, size_t, int); >ssize_t recv (int, void *, size_t, int); >ssize_t sendto (int, const void *, size_t, int, const struct sockaddr *, socklen_t); >ssize_t recvfrom (int, void *restrict, size_t, int, struct sockaddr *restrict, socklen_t *restrict); >ssize_t sendmsg (int, const struct msghdr *, int); >ssize_t recvmsg (int, struct msghdr *, int); > >int getsockopt (int, int, int, void *restrict, socklen_t *restrict); >int setsockopt (int, int, int, const void *, socklen_t); > >int sockatmark (int); ># 39 "iperf_server_api.c" 2 ># 1 "/usr/include/sys/types.h" 1 3 4 ># 57 "/usr/include/sys/types.h" 3 4 ># 1 "/usr/include/bits/alltypes.h" 1 3 4 ># 73 "/usr/include/bits/alltypes.h" 3 4 >typedef int register_t; > > > > >typedef long long time_t; > > > > >typedef long long suseconds_t; > > > > > >typedef signed char int8_t; > > > > >typedef signed short int16_t; > > > > >typedef signed int int32_t; > > > > >typedef signed long long int64_t; ># 134 "/usr/include/bits/alltypes.h" 3 4 >typedef unsigned long long u_int64_t; ># 150 "/usr/include/bits/alltypes.h" 3 4 >typedef unsigned int nlink_t; ># 160 "/usr/include/bits/alltypes.h" 3 4 >typedef unsigned long long ino_t; > > > > >typedef unsigned long long dev_t; > > > > >typedef long blksize_t; > > > > >typedef long long blkcnt_t; > > > > >typedef unsigned long long fsblkcnt_t; > > > > >typedef unsigned long long fsfilcnt_t; ># 202 "/usr/include/bits/alltypes.h" 3 4 >typedef void * timer_t; > > > > >typedef int clockid_t; > > > > >typedef long clock_t; ># 233 "/usr/include/bits/alltypes.h" 3 4 >typedef unsigned id_t; ># 248 "/usr/include/bits/alltypes.h" 3 4 >typedef int key_t; ># 266 "/usr/include/bits/alltypes.h" 3 4 >typedef struct __pthread * pthread_t; > > > > > >typedef int pthread_once_t; > > > > >typedef unsigned pthread_key_t; > > > > >typedef int pthread_spinlock_t; > > > > >typedef struct { unsigned __attr; } pthread_mutexattr_t; > > > > >typedef struct { unsigned __attr; } pthread_condattr_t; > > > > >typedef struct { unsigned __attr; } pthread_barrierattr_t; > > > > >typedef struct { unsigned __attr[2]; } pthread_rwlockattr_t; ># 371 "/usr/include/bits/alltypes.h" 3 4 >typedef struct { union { int __i[sizeof(long)==8?14:9]; volatile int __vi[sizeof(long)==8?14:9]; unsigned long __s[sizeof(long)==8?7:9]; } __u; } pthread_attr_t; > > > > >typedef struct { union { int __i[sizeof(long)==8?10:6]; volatile int __vi[sizeof(long)==8?10:6]; volatile void *volatile __p[sizeof(long)==8?5:6]; } __u; } pthread_mutex_t; ># 386 "/usr/include/bits/alltypes.h" 3 4 >typedef struct { union { int __i[12]; volatile int __vi[12]; void *__p[12*sizeof(int)/sizeof(void*)]; } __u; } pthread_cond_t; ># 396 "/usr/include/bits/alltypes.h" 3 4 >typedef struct { union { int __i[sizeof(long)==8?14:8]; volatile int __vi[sizeof(long)==8?14:8]; void *__p[sizeof(long)==8?7:8]; } __u; } pthread_rwlock_t; > > > > >typedef struct { union { int __i[sizeof(long)==8?8:5]; volatile int __vi[sizeof(long)==8?8:5]; void *__p[sizeof(long)==8?4:5]; } __u; } pthread_barrier_t; ># 58 "/usr/include/sys/types.h" 2 3 4 > > >typedef unsigned char u_int8_t; >typedef unsigned short u_int16_t; >typedef unsigned u_int32_t; >typedef char *caddr_t; >typedef unsigned char u_char; >typedef unsigned short u_short, ushort; >typedef unsigned u_int, uint; >typedef unsigned long u_long, ulong; >typedef long long quad_t; >typedef unsigned long long u_quad_t; ># 1 "/usr/include/endian.h" 1 3 4 ># 10 "/usr/include/endian.h" 3 4 ># 1 "/usr/include/bits/alltypes.h" 1 3 4 ># 119 "/usr/include/bits/alltypes.h" 3 4 >typedef unsigned short uint16_t; > > > > >typedef unsigned int uint32_t; > > > > >typedef unsigned long long uint64_t; ># 11 "/usr/include/endian.h" 2 3 4 ># 19 "/usr/include/endian.h" 3 4 >static inline uint16_t __bswap16(uint16_t __x) >{ > return __x<<8 | __x>>8; >} > >static inline uint32_t __bswap32(uint32_t __x) >{ > return __x>>24 | __x>>8&0xff00 | __x<<8&0xff0000 | __x<<24; >} > >static inline uint64_t __bswap64(uint64_t __x) >{ > return __bswap32(__x)+0ULL<<32 | __bswap32(__x>>32); >} ># 71 "/usr/include/sys/types.h" 2 3 4 ># 1 "/usr/include/sys/select.h" 1 3 4 ># 16 "/usr/include/sys/select.h" 3 4 ># 1 "/usr/include/bits/alltypes.h" 1 3 4 ># 217 "/usr/include/bits/alltypes.h" 3 4 >struct timeval { time_t tv_sec; suseconds_t tv_usec; }; > > > > >struct timespec { time_t tv_sec; int :8*(sizeof(time_t)-sizeof(long))*(1234==4321); long tv_nsec; int :8*(sizeof(time_t)-sizeof(long))*(1234!=4321); }; ># 342 "/usr/include/bits/alltypes.h" 3 4 >typedef struct __sigset_t { unsigned long __bits[128/sizeof(long)]; } sigset_t; ># 17 "/usr/include/sys/select.h" 2 3 4 > > > >typedef unsigned long fd_mask; > >typedef struct { > unsigned long fds_bits[1024 / 8 / sizeof(long)]; >} fd_set; > > > > > > >int select (int, fd_set *restrict, fd_set *restrict, fd_set *restrict, struct timeval *restrict); >int pselect (int, fd_set *restrict, fd_set *restrict, fd_set *restrict, const struct timespec *restrict, const sigset_t *restrict); > > > > > > >__typeof__(select) select __asm__("__select_time64"); >__typeof__(pselect) pselect __asm__("__pselect_time64"); ># 72 "/usr/include/sys/types.h" 2 3 4 ># 40 "iperf_server_api.c" 2 ># 1 "/usr/include/netinet/in.h" 1 3 4 ># 9 "/usr/include/netinet/in.h" 3 4 ># 1 "/usr/include/inttypes.h" 1 3 4 ># 9 "/usr/include/inttypes.h" 3 4 ># 1 "/usr/include/stdint.h" 1 3 4 ># 20 "/usr/include/stdint.h" 3 4 ># 1 "/usr/include/bits/alltypes.h" 1 3 4 ># 48 "/usr/include/bits/alltypes.h" 3 4 >typedef unsigned int uintptr_t; ># 109 "/usr/include/bits/alltypes.h" 3 4 >typedef signed long long intmax_t; > > > > >typedef unsigned char uint8_t; ># 139 "/usr/include/bits/alltypes.h" 3 4 >typedef unsigned long long uintmax_t; ># 21 "/usr/include/stdint.h" 2 3 4 > >typedef int8_t int_fast8_t; >typedef int64_t int_fast64_t; > >typedef int8_t int_least8_t; >typedef int16_t int_least16_t; >typedef int32_t int_least32_t; >typedef int64_t int_least64_t; > >typedef uint8_t uint_fast8_t; >typedef uint64_t uint_fast64_t; > >typedef uint8_t uint_least8_t; >typedef uint16_t uint_least16_t; >typedef uint32_t uint_least32_t; >typedef uint64_t uint_least64_t; ># 95 "/usr/include/stdint.h" 3 4 ># 1 "/usr/include/bits/stdint.h" 1 3 4 >typedef int32_t int_fast16_t; >typedef int32_t int_fast32_t; >typedef uint32_t uint_fast16_t; >typedef uint32_t uint_fast32_t; ># 96 "/usr/include/stdint.h" 2 3 4 ># 10 "/usr/include/inttypes.h" 2 3 4 > > ># 1 "/usr/include/bits/alltypes.h" 1 3 4 ># 13 "/usr/include/inttypes.h" 2 3 4 > >typedef struct { intmax_t quot, rem; } imaxdiv_t; > >intmax_t imaxabs(intmax_t); >imaxdiv_t imaxdiv(intmax_t, intmax_t); > >intmax_t strtoimax(const char *restrict, char **restrict, int); >uintmax_t strtoumax(const char *restrict, char **restrict, int); > >intmax_t wcstoimax(const wchar_t *restrict, wchar_t **restrict, int); >uintmax_t wcstoumax(const wchar_t *restrict, wchar_t **restrict, int); ># 10 "/usr/include/netinet/in.h" 2 3 4 > > >typedef uint16_t in_port_t; >typedef uint32_t in_addr_t; >struct in_addr { in_addr_t s_addr; }; > >struct sockaddr_in { > sa_family_t sin_family; > in_port_t sin_port; > struct in_addr sin_addr; > uint8_t sin_zero[8]; >}; > >struct in6_addr { > union { > uint8_t __s6_addr[16]; > uint16_t __s6_addr16[8]; > uint32_t __s6_addr32[4]; > } __in6_union; >}; > > > > >struct sockaddr_in6 { > sa_family_t sin6_family; > in_port_t sin6_port; > uint32_t sin6_flowinfo; > struct in6_addr sin6_addr; > uint32_t sin6_scope_id; >}; > >struct ipv6_mreq { > struct in6_addr ipv6mr_multiaddr; > unsigned ipv6mr_interface; >}; ># 62 "/usr/include/netinet/in.h" 3 4 >extern const struct in6_addr in6addr_any, in6addr_loopback; > > > > >uint32_t htonl(uint32_t); >uint16_t htons(uint16_t); >uint32_t ntohl(uint32_t); >uint16_t ntohs(uint16_t); ># 233 "/usr/include/netinet/in.h" 3 4 >struct ip_opts { > struct in_addr ip_dst; > char ip_opts[40]; >}; ># 251 "/usr/include/netinet/in.h" 3 4 >struct ip_mreq { > struct in_addr imr_multiaddr; > struct in_addr imr_interface; >}; > >struct ip_mreqn { > struct in_addr imr_multiaddr; > struct in_addr imr_address; > int imr_ifindex; >}; > >struct ip_mreq_source { > struct in_addr imr_multiaddr; > struct in_addr imr_interface; > struct in_addr imr_sourceaddr; >}; > >struct ip_msfilter { > struct in_addr imsf_multiaddr; > struct in_addr imsf_interface; > uint32_t imsf_fmode; > uint32_t imsf_numsrc; > struct in_addr imsf_slist[1]; >}; > > > > >struct group_req { > uint32_t gr_interface; > struct sockaddr_storage gr_group; >}; > >struct group_source_req { > uint32_t gsr_interface; > struct sockaddr_storage gsr_group; > struct sockaddr_storage gsr_source; >}; > >struct group_filter { > uint32_t gf_interface; > struct sockaddr_storage gf_group; > uint32_t gf_fmode; > uint32_t gf_numsrc; > struct sockaddr_storage gf_slist[1]; >}; > > > > >struct in_pktinfo { > int ipi_ifindex; > struct in_addr ipi_spec_dst; > struct in_addr ipi_addr; >}; > >struct in6_pktinfo { > struct in6_addr ipi6_addr; > unsigned ipi6_ifindex; >}; > >struct ip6_mtuinfo { > struct sockaddr_in6 ip6m_addr; > uint32_t ip6m_mtu; >}; ># 41 "iperf_server_api.c" 2 ># 1 "/usr/include/arpa/inet.h" 1 3 4 ># 11 "/usr/include/arpa/inet.h" 3 4 >uint32_t htonl(uint32_t); >uint16_t htons(uint16_t); >uint32_t ntohl(uint32_t); >uint16_t ntohs(uint16_t); > >in_addr_t inet_addr (const char *); >in_addr_t inet_network (const char *); >char *inet_ntoa (struct in_addr); >int inet_pton (int, const char *restrict, void *restrict); >const char *inet_ntop (int, const void *restrict, char *restrict, socklen_t); > >int inet_aton (const char *, struct in_addr *); >struct in_addr inet_makeaddr(in_addr_t, in_addr_t); >in_addr_t inet_lnaof(struct in_addr); >in_addr_t inet_netof(struct in_addr); ># 42 "iperf_server_api.c" 2 ># 1 "/usr/include/netdb.h" 1 3 4 ># 13 "/usr/include/netdb.h" 3 4 ># 1 "/usr/include/bits/alltypes.h" 1 3 4 ># 14 "/usr/include/netdb.h" 2 3 4 > > >struct addrinfo { > int ai_flags; > int ai_family; > int ai_socktype; > int ai_protocol; > socklen_t ai_addrlen; > struct sockaddr *ai_addr; > char *ai_canonname; > struct addrinfo *ai_next; >}; ># 55 "/usr/include/netdb.h" 3 4 >int getaddrinfo (const char *restrict, const char *restrict, const struct addrinfo *restrict, struct addrinfo **restrict); >void freeaddrinfo (struct addrinfo *); >int getnameinfo (const struct sockaddr *restrict, socklen_t, char *restrict, socklen_t, char *restrict, socklen_t, int); >const char *gai_strerror(int); > > > > >struct netent { > char *n_name; > char **n_aliases; > int n_addrtype; > uint32_t n_net; >}; > >struct hostent { > char *h_name; > char **h_aliases; > int h_addrtype; > int h_length; > char **h_addr_list; >}; > > >struct servent { > char *s_name; > char **s_aliases; > int s_port; > char *s_proto; >}; > >struct protoent { > char *p_name; > char **p_aliases; > int p_proto; >}; > >void sethostent (int); >void endhostent (void); >struct hostent *gethostent (void); > >void setnetent (int); >void endnetent (void); >struct netent *getnetent (void); >struct netent *getnetbyaddr (uint32_t, int); >struct netent *getnetbyname (const char *); > >void setservent (int); >void endservent (void); >struct servent *getservent (void); >struct servent *getservbyname (const char *, const char *); >struct servent *getservbyport (int, const char *); > >void setprotoent (int); >void endprotoent (void); >struct protoent *getprotoent (void); >struct protoent *getprotobyname (const char *); >struct protoent *getprotobynumber (int); > > > > >struct hostent *gethostbyname (const char *); >struct hostent *gethostbyaddr (const void *, socklen_t, int); > >__attribute__((const)) > >int *__h_errno_location(void); ># 132 "/usr/include/netdb.h" 3 4 >void herror(const char *); >const char *hstrerror(int); >int gethostbyname_r(const char *, struct hostent *, char *, size_t, struct hostent **, int *); >int gethostbyname2_r(const char *, int, struct hostent *, char *, size_t, struct hostent **, int *); >struct hostent *gethostbyname2(const char *, int); >int gethostbyaddr_r(const void *, socklen_t, int, struct hostent *, char *, size_t, struct hostent **, int *); >int getservbyport_r(int, const char *, struct servent *, char *, size_t, struct servent **); >int getservbyname_r(const char *, const char *, struct servent *, char *, size_t, struct servent **); ># 43 "iperf_server_api.c" 2 > ># 1 "/usr/include/sys/time.h" 1 3 4 ># 11 "/usr/include/sys/time.h" 3 4 >int gettimeofday (struct timeval *restrict, void *restrict); > > > > > >struct itimerval { > struct timeval it_interval; > struct timeval it_value; >}; > >int getitimer (int, struct itimerval *); >int setitimer (int, const struct itimerval *restrict, struct itimerval *restrict); >int utimes (const char *, const struct timeval [2]); > > >struct timezone { > int tz_minuteswest; > int tz_dsttime; >}; >int futimes(int, const struct timeval [2]); >int futimesat(int, const char *, const struct timeval [2]); >int lutimes(const char *, const struct timeval [2]); >int settimeofday(const struct timeval *, const struct timezone *); >int adjtime (const struct timeval *, struct timeval *); ># 60 "/usr/include/sys/time.h" 3 4 >__typeof__(gettimeofday) gettimeofday __asm__("__gettimeofday_time64"); >__typeof__(getitimer) getitimer __asm__("__getitimer_time64"); >__typeof__(setitimer) setitimer __asm__("__setitimer_time64"); >__typeof__(utimes) utimes __asm__("__utimes_time64"); > >__typeof__(futimes) futimes __asm__("__futimes_time64"); >__typeof__(futimesat) futimesat __asm__("__futimesat_time64"); >__typeof__(lutimes) lutimes __asm__("__lutimes_time64"); >__typeof__(settimeofday) settimeofday __asm__("__settimeofday_time64"); >__typeof__(adjtime) adjtime __asm__("__adjtime64"); ># 45 "iperf_server_api.c" 2 ># 1 "/usr/include/sys/resource.h" 1 3 4 ># 17 "/usr/include/sys/resource.h" 3 4 ># 1 "/usr/include/bits/alltypes.h" 1 3 4 ># 18 "/usr/include/sys/resource.h" 2 3 4 ># 1 "/usr/include/bits/resource.h" 1 3 4 ># 19 "/usr/include/sys/resource.h" 2 3 4 > >typedef unsigned long long rlim_t; > >struct rlimit { > rlim_t rlim_cur; > rlim_t rlim_max; >}; > >struct rusage { > struct timeval ru_utime; > struct timeval ru_stime; > > long ru_maxrss; > long ru_ixrss; > long ru_idrss; > long ru_isrss; > long ru_minflt; > long ru_majflt; > long ru_nswap; > long ru_inblock; > long ru_oublock; > long ru_msgsnd; > long ru_msgrcv; > long ru_nsignals; > long ru_nvcsw; > long ru_nivcsw; > > long __reserved[16]; >}; > >int getrlimit (int, struct rlimit *); >int setrlimit (int, const struct rlimit *); >int getrusage (int, struct rusage *); > >int getpriority (int, id_t); >int setpriority (int, id_t, int); ># 109 "/usr/include/sys/resource.h" 3 4 >__typeof__(getrusage) getrusage __asm__("__getrusage_time64"); ># 46 "iperf_server_api.c" 2 ># 1 "/usr/include/sched.h" 1 3 4 ># 17 "/usr/include/sched.h" 3 4 ># 1 "/usr/include/bits/alltypes.h" 1 3 4 ># 18 "/usr/include/sched.h" 2 3 4 > >struct sched_param { > int sched_priority; > int __reserved1; > > long __reserved2[4]; > > > > > > > int __reserved3; >}; > >int sched_get_priority_max(int); >int sched_get_priority_min(int); >int sched_getparam(pid_t, struct sched_param *); >int sched_getscheduler(pid_t); >int sched_rr_get_interval(pid_t, struct timespec *); >int sched_setparam(pid_t, const struct sched_param *); >int sched_setscheduler(pid_t, int, const struct sched_param *); >int sched_yield(void); ># 142 "/usr/include/sched.h" 3 4 >__typeof__(sched_rr_get_interval) sched_rr_get_interval __asm__("__sched_rr_get_interval_time64"); ># 47 "iperf_server_api.c" 2 ># 1 "/usr/include/setjmp.h" 1 3 4 ># 10 "/usr/include/setjmp.h" 3 4 ># 1 "/usr/include/bits/setjmp.h" 1 3 4 >typedef unsigned long long __jmp_buf[32]; ># 11 "/usr/include/setjmp.h" 2 3 4 > >typedef struct __jmp_buf_tag { > __jmp_buf __jb; > unsigned long __fl; > unsigned long __ss[128/sizeof(long)]; >} jmp_buf[1]; ># 27 "/usr/include/setjmp.h" 3 4 >typedef jmp_buf sigjmp_buf; >int sigsetjmp (sigjmp_buf, int) __attribute__((__returns_twice__)); >_Noreturn void siglongjmp (sigjmp_buf, int); > > > > >int _setjmp (jmp_buf) __attribute__((__returns_twice__)); >_Noreturn void _longjmp (jmp_buf, int); > > >int setjmp (jmp_buf) __attribute__((__returns_twice__)); >_Noreturn void longjmp (jmp_buf, int); ># 48 "iperf_server_api.c" 2 > ># 1 "iperf.h" 1 ># 30 "iperf.h" ># 1 "iperf_config.h" 1 ># 31 "iperf.h" 2 ># 42 "iperf.h" ># 1 "/usr/include/linux/tcp.h" 1 3 4 ># 21 "/usr/include/linux/tcp.h" 3 4 ># 1 "/usr/include/linux/types.h" 1 3 4 > > > > ># 1 "/usr/include/asm/types.h" 1 3 4 > > > > ># 1 "/usr/include/asm-generic/int-ll64.h" 1 3 4 ># 12 "/usr/include/asm-generic/int-ll64.h" 3 4 ># 1 "/usr/include/asm/bitsperlong.h" 1 3 4 ># 1 "/usr/include/asm-generic/bitsperlong.h" 1 3 4 ># 2 "/usr/include/asm/bitsperlong.h" 2 3 4 ># 13 "/usr/include/asm-generic/int-ll64.h" 2 3 4 > > > > > > > >typedef __signed__ char __s8; >typedef unsigned char __u8; > >typedef __signed__ short __s16; >typedef unsigned short __u16; > >typedef __signed__ int __s32; >typedef unsigned int __u32; > > >__extension__ typedef __signed__ long long __s64; >__extension__ typedef unsigned long long __u64; ># 6 "/usr/include/asm/types.h" 2 3 4 ># 6 "/usr/include/linux/types.h" 2 3 4 > > > ># 1 "/usr/include/linux/posix_types.h" 1 3 4 > > > > ># 1 "/usr/include/linux/stddef.h" 1 3 4 ># 6 "/usr/include/linux/posix_types.h" 2 3 4 ># 25 "/usr/include/linux/posix_types.h" 3 4 >typedef struct { > unsigned long fds_bits[1024 / (8 * sizeof(long))]; >} __kernel_fd_set; > > >typedef void (*__kernel_sighandler_t)(int); > > >typedef int __kernel_key_t; >typedef int __kernel_mqd_t; > ># 1 "/usr/include/asm/posix_types.h" 1 3 4 ># 23 "/usr/include/asm/posix_types.h" 3 4 >typedef unsigned short __kernel_mode_t; > > >typedef unsigned short __kernel_ipc_pid_t; > > >typedef unsigned short __kernel_uid_t; >typedef unsigned short __kernel_gid_t; > > >typedef unsigned short __kernel_old_dev_t; > > ># 1 "/usr/include/asm-generic/posix_types.h" 1 3 4 > > > > ># 1 "/usr/include/asm/bitsperlong.h" 1 3 4 ># 6 "/usr/include/asm-generic/posix_types.h" 2 3 4 ># 15 "/usr/include/asm-generic/posix_types.h" 3 4 >typedef long __kernel_long_t; >typedef unsigned long __kernel_ulong_t; > > > >typedef __kernel_ulong_t __kernel_ino_t; > > > > > > > >typedef int __kernel_pid_t; ># 41 "/usr/include/asm-generic/posix_types.h" 3 4 >typedef __kernel_long_t __kernel_suseconds_t; > > > >typedef int __kernel_daddr_t; > > > >typedef unsigned int __kernel_uid32_t; >typedef unsigned int __kernel_gid32_t; > > > >typedef __kernel_uid_t __kernel_old_uid_t; >typedef __kernel_gid_t __kernel_old_gid_t; ># 68 "/usr/include/asm-generic/posix_types.h" 3 4 >typedef unsigned int __kernel_size_t; >typedef int __kernel_ssize_t; >typedef int __kernel_ptrdiff_t; ># 79 "/usr/include/asm-generic/posix_types.h" 3 4 >typedef struct { > int val[2]; >} __kernel_fsid_t; > > > > > >typedef __kernel_long_t __kernel_off_t; >typedef long long __kernel_loff_t; >typedef __kernel_long_t __kernel_old_time_t; >typedef __kernel_long_t __kernel_time_t; >typedef long long __kernel_time64_t; >typedef __kernel_long_t __kernel_clock_t; >typedef int __kernel_timer_t; >typedef int __kernel_clockid_t; >typedef char * __kernel_caddr_t; >typedef unsigned short __kernel_uid16_t; >typedef unsigned short __kernel_gid16_t; ># 37 "/usr/include/asm/posix_types.h" 2 3 4 ># 37 "/usr/include/linux/posix_types.h" 2 3 4 ># 10 "/usr/include/linux/types.h" 2 3 4 ># 31 "/usr/include/linux/types.h" 3 4 >typedef __u16 __le16; >typedef __u16 __be16; >typedef __u32 __le32; >typedef __u32 __be32; >typedef __u64 __le64; >typedef __u64 __be64; > >typedef __u16 __sum16; >typedef __u32 __wsum; ># 54 "/usr/include/linux/types.h" 3 4 >typedef unsigned __poll_t; ># 22 "/usr/include/linux/tcp.h" 2 3 4 ># 1 "/usr/include/asm/byteorder.h" 1 3 4 ># 22 "/usr/include/asm/byteorder.h" 3 4 ># 1 "/usr/include/linux/byteorder/little_endian.h" 1 3 4 ># 14 "/usr/include/linux/byteorder/little_endian.h" 3 4 ># 1 "/usr/include/linux/swab.h" 1 3 4 > > > > > > ># 1 "/usr/include/asm/bitsperlong.h" 1 3 4 ># 8 "/usr/include/linux/swab.h" 2 3 4 ># 1 "/usr/include/asm/swab.h" 1 3 4 ># 27 "/usr/include/asm/swab.h" 3 4 >static __inline__ __u32 __arch_swab32(__u32 x) >{ > __u32 t; > > > if (!__builtin_constant_p(x)) { > > > > > > __asm__ ("eor\t%0, %1, %1, ror #16" : "=r" (t) : "r" (x)); > } else > > t = x ^ ((x << 16) | (x >> 16)); > > x = (x << 24) | (x >> 8); > t &= ~0x00FF0000; > x ^= (t >> 8); > > return x; >} ># 9 "/usr/include/linux/swab.h" 2 3 4 ># 48 "/usr/include/linux/swab.h" 3 4 >static __inline__ __u16 __fswab16(__u16 val) >{ > > > > return ((__u16)( (((__u16)(val) & (__u16)0x00ffU) << 8) | (((__u16)(val) & (__u16)0xff00U) >> 8))); > >} > >static __inline__ __u32 __fswab32(__u32 val) >{ > > return __arch_swab32(val); > > > >} > >static __inline__ __u64 __fswab64(__u64 val) >{ > > > > __u32 h = val >> 32; > __u32 l = val & ((1ULL << 32) - 1); > return (((__u64)__fswab32(l)) << 32) | ((__u64)(__fswab32(h))); > > > >} > >static __inline__ __u32 __fswahw32(__u32 val) >{ > > > > return ((__u32)( (((__u32)(val) & (__u32)0x0000ffffUL) << 16) | (((__u32)(val) & (__u32)0xffff0000UL) >> 16))); > >} > >static __inline__ __u32 __fswahb32(__u32 val) >{ > > > > return ((__u32)( (((__u32)(val) & (__u32)0x00ff00ffUL) << 8) | (((__u32)(val) & (__u32)0xff00ff00UL) >> 8))); > >} ># 136 "/usr/include/linux/swab.h" 3 4 >static __inline__ unsigned long __swab(const unsigned long y) >{ > > > > return (__u32)(__builtin_constant_p(y) ? ((__u32)( (((__u32)(y) & (__u32)0x000000ffUL) << 24) | (((__u32)(y) & (__u32)0x0000ff00UL) << 8) | (((__u32)(y) & (__u32)0x00ff0000UL) >> 8) | (((__u32)(y) & (__u32)0xff000000UL) >> 24))) : __fswab32(y)); > >} ># 171 "/usr/include/linux/swab.h" 3 4 >static __inline__ __u16 __swab16p(const __u16 *p) >{ > > > > return (__u16)(__builtin_constant_p(*p) ? ((__u16)( (((__u16)(*p) & (__u16)0x00ffU) << 8) | (((__u16)(*p) & (__u16)0xff00U) >> 8))) : __fswab16(*p)); > >} > > > > > >static __inline__ __u32 __swab32p(const __u32 *p) >{ > > > > return (__u32)(__builtin_constant_p(*p) ? ((__u32)( (((__u32)(*p) & (__u32)0x000000ffUL) << 24) | (((__u32)(*p) & (__u32)0x0000ff00UL) << 8) | (((__u32)(*p) & (__u32)0x00ff0000UL) >> 8) | (((__u32)(*p) & (__u32)0xff000000UL) >> 24))) : __fswab32(*p)); > >} > > > > > >static __inline__ __u64 __swab64p(const __u64 *p) >{ > > > > return (__u64)(__builtin_constant_p(*p) ? ((__u64)( (((__u64)(*p) & (__u64)0x00000000000000ffULL) << 56) | (((__u64)(*p) & (__u64)0x000000000000ff00ULL) << 40) | (((__u64)(*p) & (__u64)0x0000000000ff0000ULL) << 24) | (((__u64)(*p) & (__u64)0x00000000ff000000ULL) << 8) | (((__u64)(*p) & (__u64)0x000000ff00000000ULL) >> 8) | (((__u64)(*p) & (__u64)0x0000ff0000000000ULL) >> 24) | (((__u64)(*p) & (__u64)0x00ff000000000000ULL) >> 40) | (((__u64)(*p) & (__u64)0xff00000000000000ULL) >> 56))) : __fswab64(*p)); > >} > > > > > > > >static __inline__ __u32 __swahw32p(const __u32 *p) >{ > > > > return (__builtin_constant_p((__u32)(*p)) ? ((__u32)( (((__u32)(*p) & (__u32)0x0000ffffUL) << 16) | (((__u32)(*p) & (__u32)0xffff0000UL) >> 16))) : __fswahw32(*p)); > >} > > > > > > > >static __inline__ __u32 __swahb32p(const __u32 *p) >{ > > > > return (__builtin_constant_p((__u32)(*p)) ? ((__u32)( (((__u32)(*p) & (__u32)0x00ff00ffUL) << 8) | (((__u32)(*p) & (__u32)0xff00ff00UL) >> 8))) : __fswahb32(*p)); > >} > > > > > >static __inline__ void __swab16s(__u16 *p) >{ > > > > *p = __swab16p(p); > >} > > > > >static __inline__ void __swab32s(__u32 *p) >{ > > > > *p = __swab32p(p); > >} > > > > > >static __inline__ void __swab64s(__u64 *p) >{ > > > > *p = __swab64p(p); > >} > > > > > > > >static __inline__ void __swahw32s(__u32 *p) >{ > > > > *p = __swahw32p(p); > >} > > > > > > > >static __inline__ void __swahb32s(__u32 *p) >{ > > > > *p = __swahb32p(p); > >} ># 15 "/usr/include/linux/byteorder/little_endian.h" 2 3 4 ># 45 "/usr/include/linux/byteorder/little_endian.h" 3 4 >static __inline__ __le64 __cpu_to_le64p(const __u64 *p) >{ > return (__le64)*p; >} >static __inline__ __u64 __le64_to_cpup(const __le64 *p) >{ > return (__u64)*p; >} >static __inline__ __le32 __cpu_to_le32p(const __u32 *p) >{ > return (__le32)*p; >} >static __inline__ __u32 __le32_to_cpup(const __le32 *p) >{ > return (__u32)*p; >} >static __inline__ __le16 __cpu_to_le16p(const __u16 *p) >{ > return (__le16)*p; >} >static __inline__ __u16 __le16_to_cpup(const __le16 *p) >{ > return (__u16)*p; >} >static __inline__ __be64 __cpu_to_be64p(const __u64 *p) >{ > return (__be64)__swab64p(p); >} >static __inline__ __u64 __be64_to_cpup(const __be64 *p) >{ > return __swab64p((__u64 *)p); >} >static __inline__ __be32 __cpu_to_be32p(const __u32 *p) >{ > return (__be32)__swab32p(p); >} >static __inline__ __u32 __be32_to_cpup(const __be32 *p) >{ > return __swab32p((__u32 *)p); >} >static __inline__ __be16 __cpu_to_be16p(const __u16 *p) >{ > return (__be16)__swab16p(p); >} >static __inline__ __u16 __be16_to_cpup(const __be16 *p) >{ > return __swab16p((__u16 *)p); >} ># 23 "/usr/include/asm/byteorder.h" 2 3 4 ># 23 "/usr/include/linux/tcp.h" 2 3 4 ># 1 "/usr/include/linux/socket.h" 1 3 4 ># 10 "/usr/include/linux/socket.h" 3 4 >typedef unsigned short __kernel_sa_family_t; > > > > > >struct __kernel_sockaddr_storage { > union { > struct { > __kernel_sa_family_t ss_family; > > char __data[128 - sizeof(unsigned short)]; > > > }; > void *__align; > }; >}; ># 24 "/usr/include/linux/tcp.h" 2 3 4 > >struct tcphdr { > __be16 source; > __be16 dest; > __be32 seq; > __be32 ack_seq; > > __u16 res1:4, > doff:4, > fin:1, > syn:1, > rst:1, > psh:1, > ack:1, > urg:1, > ece:1, > cwr:1; ># 55 "/usr/include/linux/tcp.h" 3 4 > __be16 window; > __sum16 check; > __be16 urg_ptr; >}; > > > > > > >union tcp_word_hdr { > struct tcphdr hdr; > __be32 words[5]; >}; > > > >enum { > TCP_FLAG_CWR = ((__be32)((__u32)( (((__u32)((0x00800000)) & (__u32)0x000000ffUL) << 24) | (((__u32)((0x00800000)) & (__u32)0x0000ff00UL) << 8) | (((__u32)((0x00800000)) & (__u32)0x00ff0000UL) >> 8) | (((__u32)((0x00800000)) & (__u32)0xff000000UL) >> 24)))), > TCP_FLAG_ECE = ((__be32)((__u32)( (((__u32)((0x00400000)) & (__u32)0x000000ffUL) << 24) | (((__u32)((0x00400000)) & (__u32)0x0000ff00UL) << 8) | (((__u32)((0x00400000)) & (__u32)0x00ff0000UL) >> 8) | (((__u32)((0x00400000)) & (__u32)0xff000000UL) >> 24)))), > TCP_FLAG_URG = ((__be32)((__u32)( (((__u32)((0x00200000)) & (__u32)0x000000ffUL) << 24) | (((__u32)((0x00200000)) & (__u32)0x0000ff00UL) << 8) | (((__u32)((0x00200000)) & (__u32)0x00ff0000UL) >> 8) | (((__u32)((0x00200000)) & (__u32)0xff000000UL) >> 24)))), > TCP_FLAG_ACK = ((__be32)((__u32)( (((__u32)((0x00100000)) & (__u32)0x000000ffUL) << 24) | (((__u32)((0x00100000)) & (__u32)0x0000ff00UL) << 8) | (((__u32)((0x00100000)) & (__u32)0x00ff0000UL) >> 8) | (((__u32)((0x00100000)) & (__u32)0xff000000UL) >> 24)))), > TCP_FLAG_PSH = ((__be32)((__u32)( (((__u32)((0x00080000)) & (__u32)0x000000ffUL) << 24) | (((__u32)((0x00080000)) & (__u32)0x0000ff00UL) << 8) | (((__u32)((0x00080000)) & (__u32)0x00ff0000UL) >> 8) | (((__u32)((0x00080000)) & (__u32)0xff000000UL) >> 24)))), > TCP_FLAG_RST = ((__be32)((__u32)( (((__u32)((0x00040000)) & (__u32)0x000000ffUL) << 24) | (((__u32)((0x00040000)) & (__u32)0x0000ff00UL) << 8) | (((__u32)((0x00040000)) & (__u32)0x00ff0000UL) >> 8) | (((__u32)((0x00040000)) & (__u32)0xff000000UL) >> 24)))), > TCP_FLAG_SYN = ((__be32)((__u32)( (((__u32)((0x00020000)) & (__u32)0x000000ffUL) << 24) | (((__u32)((0x00020000)) & (__u32)0x0000ff00UL) << 8) | (((__u32)((0x00020000)) & (__u32)0x00ff0000UL) >> 8) | (((__u32)((0x00020000)) & (__u32)0xff000000UL) >> 24)))), > TCP_FLAG_FIN = ((__be32)((__u32)( (((__u32)((0x00010000)) & (__u32)0x000000ffUL) << 24) | (((__u32)((0x00010000)) & (__u32)0x0000ff00UL) << 8) | (((__u32)((0x00010000)) & (__u32)0x00ff0000UL) >> 8) | (((__u32)((0x00010000)) & (__u32)0xff000000UL) >> 24)))), > TCP_RESERVED_BITS = ((__be32)((__u32)( (((__u32)((0x0F000000)) & (__u32)0x000000ffUL) << 24) | (((__u32)((0x0F000000)) & (__u32)0x0000ff00UL) << 8) | (((__u32)((0x0F000000)) & (__u32)0x00ff0000UL) >> 8) | (((__u32)((0x0F000000)) & (__u32)0xff000000UL) >> 24)))), > TCP_DATA_OFFSET = ((__be32)((__u32)( (((__u32)((0xF0000000)) & (__u32)0x000000ffUL) << 24) | (((__u32)((0xF0000000)) & (__u32)0x0000ff00UL) << 8) | (((__u32)((0xF0000000)) & (__u32)0x00ff0000UL) >> 8) | (((__u32)((0xF0000000)) & (__u32)0xff000000UL) >> 24)))) >}; ># 142 "/usr/include/linux/tcp.h" 3 4 >struct tcp_repair_opt { > __u32 opt_code; > __u32 opt_val; >}; > >struct tcp_repair_window { > __u32 snd_wl1; > __u32 snd_wnd; > __u32 max_window; > > __u32 rcv_wnd; > __u32 rcv_wup; >}; > >enum { > TCP_NO_QUEUE, > TCP_RECV_QUEUE, > TCP_SEND_QUEUE, > TCP_QUEUES_NR, >}; > > >enum tcp_fastopen_client_fail { > TFO_STATUS_UNSPEC, > TFO_COOKIE_UNAVAILABLE, > TFO_DATA_NOT_ACKED, > TFO_SYN_RETRANSMITTED, >}; ># 185 "/usr/include/linux/tcp.h" 3 4 >enum tcp_ca_state { > > > > > TCP_CA_Open = 0, > > > > > > > > TCP_CA_Disorder = 1, > > > > > > > TCP_CA_CWR = 2, > > > > > > TCP_CA_Recovery = 3, > > > > > TCP_CA_Loss = 4 > >}; > >struct tcp_info { > __u8 tcpi_state; > __u8 tcpi_ca_state; > __u8 tcpi_retransmits; > __u8 tcpi_probes; > __u8 tcpi_backoff; > __u8 tcpi_options; > __u8 tcpi_snd_wscale : 4, tcpi_rcv_wscale : 4; > __u8 tcpi_delivery_rate_app_limited:1, tcpi_fastopen_client_fail:2; > > __u32 tcpi_rto; > __u32 tcpi_ato; > __u32 tcpi_snd_mss; > __u32 tcpi_rcv_mss; > > __u32 tcpi_unacked; > __u32 tcpi_sacked; > __u32 tcpi_lost; > __u32 tcpi_retrans; > __u32 tcpi_fackets; > > > __u32 tcpi_last_data_sent; > __u32 tcpi_last_ack_sent; > __u32 tcpi_last_data_recv; > __u32 tcpi_last_ack_recv; > > > __u32 tcpi_pmtu; > __u32 tcpi_rcv_ssthresh; > __u32 tcpi_rtt; > __u32 tcpi_rttvar; > __u32 tcpi_snd_ssthresh; > __u32 tcpi_snd_cwnd; > __u32 tcpi_advmss; > __u32 tcpi_reordering; > > __u32 tcpi_rcv_rtt; > __u32 tcpi_rcv_space; > > __u32 tcpi_total_retrans; > > __u64 tcpi_pacing_rate; > __u64 tcpi_max_pacing_rate; > __u64 tcpi_bytes_acked; > __u64 tcpi_bytes_received; > __u32 tcpi_segs_out; > __u32 tcpi_segs_in; > > __u32 tcpi_notsent_bytes; > __u32 tcpi_min_rtt; > __u32 tcpi_data_segs_in; > __u32 tcpi_data_segs_out; > > __u64 tcpi_delivery_rate; > > __u64 tcpi_busy_time; > __u64 tcpi_rwnd_limited; > __u64 tcpi_sndbuf_limited; > > __u32 tcpi_delivered; > __u32 tcpi_delivered_ce; > > __u64 tcpi_bytes_sent; > __u64 tcpi_bytes_retrans; > __u32 tcpi_dsack_dups; > __u32 tcpi_reord_seen; > > __u32 tcpi_rcv_ooopack; > > __u32 tcpi_snd_wnd; > > > __u32 tcpi_rcv_wnd; > > > > __u32 tcpi_rehash; > > __u16 tcpi_total_rto; > > > __u16 tcpi_total_rto_recoveries; > > > > __u32 tcpi_total_rto_time; > > > >}; > > >enum { > TCP_NLA_PAD, > TCP_NLA_BUSY, > TCP_NLA_RWND_LIMITED, > TCP_NLA_SNDBUF_LIMITED, > TCP_NLA_DATA_SEGS_OUT, > TCP_NLA_TOTAL_RETRANS, > TCP_NLA_PACING_RATE, > TCP_NLA_DELIVERY_RATE, > TCP_NLA_SND_CWND, > TCP_NLA_REORDERING, > TCP_NLA_MIN_RTT, > TCP_NLA_RECUR_RETRANS, > TCP_NLA_DELIVERY_RATE_APP_LMT, > TCP_NLA_SNDQ_SIZE, > TCP_NLA_CA_STATE, > TCP_NLA_SND_SSTHRESH, > TCP_NLA_DELIVERED, > TCP_NLA_DELIVERED_CE, > TCP_NLA_BYTES_SENT, > TCP_NLA_BYTES_RETRANS, > TCP_NLA_DSACK_DUPS, > TCP_NLA_REORD_SEEN, > TCP_NLA_SRTT, > TCP_NLA_TIMEOUT_REHASH, > TCP_NLA_BYTES_NOTSENT, > TCP_NLA_EDT, > TCP_NLA_TTL, > TCP_NLA_REHASH, >}; ># 351 "/usr/include/linux/tcp.h" 3 4 >struct tcp_md5sig { > struct __kernel_sockaddr_storage tcpm_addr; > __u8 tcpm_flags; > __u8 tcpm_prefixlen; > __u16 tcpm_keylen; > int tcpm_ifindex; > __u8 tcpm_key[80]; >}; > > >struct tcp_diag_md5sig { > __u8 tcpm_family; > __u8 tcpm_prefixlen; > __u16 tcpm_keylen; > __be32 tcpm_addr[4]; > __u8 tcpm_key[80]; >}; ># 378 "/usr/include/linux/tcp.h" 3 4 >struct tcp_ao_add { > struct __kernel_sockaddr_storage addr; > char alg_name[64]; > __s32 ifindex; > __u32 set_current :1, > set_rnext :1, > reserved :30; > __u16 reserved2; > __u8 prefix; > __u8 sndid; > __u8 rcvid; > __u8 maclen; > __u8 keyflags; > __u8 keylen; > __u8 key[80]; >} __attribute__((aligned(8))); > >struct tcp_ao_del { > struct __kernel_sockaddr_storage addr; > __s32 ifindex; > __u32 set_current :1, > set_rnext :1, > del_async :1, > reserved :29; > __u16 reserved2; > __u8 prefix; > __u8 sndid; > __u8 rcvid; > __u8 current_key; > __u8 rnext; > __u8 keyflags; >} __attribute__((aligned(8))); > >struct tcp_ao_info_opt { > > __u32 set_current :1, > set_rnext :1, > ao_required :1, > set_counters :1, > accept_icmps :1, > reserved :27; > __u16 reserved2; > __u8 current_key; > __u8 rnext; > __u64 pkt_good; > __u64 pkt_bad; > __u64 pkt_key_not_found; > __u64 pkt_ao_required; > __u64 pkt_dropped_icmp; >} __attribute__((aligned(8))); > >struct tcp_ao_getsockopt { > struct __kernel_sockaddr_storage addr; > > > char alg_name[64]; > __u8 key[80]; > __u32 nkeys; > > > > > __u16 is_current :1, > > > > is_rnext :1, > > > get_all :1, > reserved :13; > __u8 sndid; > __u8 rcvid; > __u8 prefix; > __u8 maclen; > > > __u8 keyflags; > __u8 keylen; > __s32 ifindex; > __u64 pkt_good; > __u64 pkt_bad; >} __attribute__((aligned(8))); > >struct tcp_ao_repair { > __be32 snt_isn; > __be32 rcv_isn; > __u32 snd_sne; > __u32 rcv_sne; >} __attribute__((aligned(8))); > > > > >struct tcp_zerocopy_receive { > __u64 address; > __u32 length; > __u32 recv_skip_hint; > __u32 inq; > __s32 err; > __u64 copybuf_address; > __s32 copybuf_len; > __u32 flags; > __u64 msg_control; > __u64 msg_controllen; > __u32 msg_flags; > __u32 reserved; >}; ># 43 "iperf.h" 2 > > > ># 1 "/usr/include/net/if.h" 1 3 4 ># 12 "/usr/include/net/if.h" 3 4 >struct if_nameindex { > unsigned int if_index; > char *if_name; >}; > >unsigned int if_nametoindex (const char *); >char *if_indextoname (unsigned int, char *); >struct if_nameindex *if_nameindex (void); >void if_freenameindex (struct if_nameindex *); ># 51 "/usr/include/net/if.h" 3 4 >struct ifaddr { > struct sockaddr ifa_addr; > union { > struct sockaddr ifu_broadaddr; > struct sockaddr ifu_dstaddr; > } ifa_ifu; > struct iface *ifa_ifp; > struct ifaddr *ifa_next; >}; > > > > >struct ifmap { > unsigned long int mem_start; > unsigned long int mem_end; > unsigned short int base_addr; > unsigned char irq; > unsigned char dma; > unsigned char port; >}; > > > > >struct ifreq { > union { > char ifrn_name[16]; > } ifr_ifrn; > union { > struct sockaddr ifru_addr; > struct sockaddr ifru_dstaddr; > struct sockaddr ifru_broadaddr; > struct sockaddr ifru_netmask; > struct sockaddr ifru_hwaddr; > short int ifru_flags; > int ifru_ivalue; > int ifru_mtu; > struct ifmap ifru_map; > char ifru_slave[16]; > char ifru_newname[16]; > char *ifru_data; > } ifr_ifru; >}; ># 116 "/usr/include/net/if.h" 3 4 >struct ifconf { > int ifc_len; > union { > char *ifcu_buf; > struct ifreq *ifcu_req; > } ifc_ifcu; >}; ># 47 "iperf.h" 2 > > > > > > ># 1 "timer.h" 1 ># 33 "timer.h" ># 1 "/usr/include/time.h" 1 3 4 ># 33 "/usr/include/time.h" 3 4 ># 1 "/usr/include/bits/alltypes.h" 1 3 4 ># 34 "/usr/include/time.h" 2 3 4 > > > > > > >struct tm { > int tm_sec; > int tm_min; > int tm_hour; > int tm_mday; > int tm_mon; > int tm_year; > int tm_wday; > int tm_yday; > int tm_isdst; > long tm_gmtoff; > const char *tm_zone; >}; > >clock_t clock (void); >time_t time (time_t *); >double difftime (time_t, time_t); >time_t mktime (struct tm *); >size_t strftime (char *restrict, size_t, const char *restrict, const struct tm *restrict); >struct tm *gmtime (const time_t *); >struct tm *localtime (const time_t *); >char *asctime (const struct tm *); >char *ctime (const time_t *); >int timespec_get(struct timespec *, int); ># 73 "/usr/include/time.h" 3 4 >size_t strftime_l (char * restrict, size_t, const char * restrict, const struct tm * restrict, locale_t); > >struct tm *gmtime_r (const time_t *restrict, struct tm *restrict); >struct tm *localtime_r (const time_t *restrict, struct tm *restrict); >char *asctime_r (const struct tm *restrict, char *restrict); >char *ctime_r (const time_t *, char *); > >void tzset (void); > >struct itimerspec { > struct timespec it_interval; > struct timespec it_value; >}; ># 102 "/usr/include/time.h" 3 4 >int nanosleep (const struct timespec *, struct timespec *); >int clock_getres (clockid_t, struct timespec *); >int clock_gettime (clockid_t, struct timespec *); >int clock_settime (clockid_t, const struct timespec *); >int clock_nanosleep (clockid_t, int, const struct timespec *, struct timespec *); >int clock_getcpuclockid (pid_t, clockid_t *); > >struct sigevent; >int timer_create (clockid_t, struct sigevent *restrict, timer_t *restrict); >int timer_delete (timer_t); >int timer_settime (timer_t, int, const struct itimerspec *restrict, struct itimerspec *restrict); >int timer_gettime (timer_t, struct itimerspec *); >int timer_getoverrun (timer_t); > >extern char *tzname[2]; > > > > > >char *strptime (const char *restrict, const char *restrict, struct tm *restrict); >extern int daylight; >extern long timezone; >extern int getdate_err; >struct tm *getdate (const char *); > > > > >int stime(const time_t *); >time_t timegm(struct tm *); > > > >__typeof__(time) time __asm__("__time64"); >__typeof__(difftime) difftime __asm__("__difftime64"); >__typeof__(mktime) mktime __asm__("__mktime64"); >__typeof__(gmtime) gmtime __asm__("__gmtime64"); >__typeof__(localtime) localtime __asm__("__localtime64"); >__typeof__(ctime) ctime __asm__("__ctime64"); >__typeof__(timespec_get) timespec_get __asm__("__timespec_get_time64"); > > > >__typeof__(gmtime_r) gmtime_r __asm__("__gmtime64_r"); >__typeof__(localtime_r) localtime_r __asm__("__localtime64_r"); >__typeof__(ctime_r) ctime_r __asm__("__ctime64_r"); >__typeof__(nanosleep) nanosleep __asm__("__nanosleep_time64"); >__typeof__(clock_getres) clock_getres __asm__("__clock_getres_time64"); >__typeof__(clock_gettime) clock_gettime __asm__("__clock_gettime64"); >__typeof__(clock_settime) clock_settime __asm__("__clock_settime64"); >__typeof__(clock_nanosleep) clock_nanosleep __asm__("__clock_nanosleep_time64"); >__typeof__(timer_settime) timer_settime __asm__("__timer_settime64"); >__typeof__(timer_gettime) timer_gettime __asm__("__timer_gettime64"); > > >__typeof__(stime) stime __asm__("__stime64"); >__typeof__(timegm) timegm __asm__("__timegm_time64"); ># 34 "timer.h" 2 > > ># 1 "iperf_time.h" 1 ># 32 "iperf_time.h" > ># 32 "iperf_time.h" >struct iperf_time { > uint32_t secs; > uint32_t usecs; >}; > >int iperf_time_now(struct iperf_time *time1); > >void iperf_time_add_usecs(struct iperf_time *time1, uint64_t usecs); > >int iperf_time_compare(struct iperf_time *time1, struct iperf_time *time2); > >int iperf_time_diff(struct iperf_time *time1, struct iperf_time *time2, struct iperf_time *diff); > >uint64_t iperf_time_in_usecs(struct iperf_time *time); > >double iperf_time_in_secs(struct iperf_time *time); ># 37 "timer.h" 2 > > > > > >typedef union >{ > void* p; > int i; > long l; >} TimerClientData; > >extern TimerClientData JunkClientData; > > > > > >typedef void TimerProc( TimerClientData client_data, struct iperf_time* nowP ); > > >typedef struct TimerStruct >{ > TimerProc* timer_proc; > TimerClientData client_data; > int64_t usecs; > int periodic; > struct iperf_time time; > struct TimerStruct* prev; > struct TimerStruct* next; > int hash; >} Timer; > > >extern Timer* tmr_create( > struct iperf_time* nowP, TimerProc* timer_proc, TimerClientData client_data, > int64_t usecs, int periodic ); > > > > > >extern struct timeval* tmr_timeout( struct iperf_time* nowP ) ; > > > > >extern void tmr_run( struct iperf_time* nowP ) ; > > >extern void tmr_reset( struct iperf_time* nowP, Timer* timer ); > > > > >extern void tmr_cancel( Timer* timer ); > > >extern void tmr_cleanup( void ); > > >extern void tmr_destroy( void ); ># 54 "iperf.h" 2 ># 1 "queue.h" 1 ># 55 "iperf.h" 2 ># 1 "/usr/include/cjson/cJSON.h" 1 3 4 ># 86 "/usr/include/cjson/cJSON.h" 3 4 ># 1 "/usr/include/stddef.h" 1 3 4 ># 19 "/usr/include/stddef.h" 3 4 ># 1 "/usr/include/bits/alltypes.h" 1 3 4 ># 34 "/usr/include/bits/alltypes.h" 3 4 > ># 34 "/usr/include/bits/alltypes.h" 3 4 >typedef struct { long long __ll; long double __ld; } max_align_t; ># 53 "/usr/include/bits/alltypes.h" 3 4 >typedef int ptrdiff_t; ># 20 "/usr/include/stddef.h" 2 3 4 ># 87 "/usr/include/cjson/cJSON.h" 2 3 4 ># 103 "/usr/include/cjson/cJSON.h" 3 4 >typedef struct cJSON >{ > > struct cJSON *next; > struct cJSON *prev; > > struct cJSON *child; > > > int type; > > > char *valuestring; > > int valueint; > > double valuedouble; > > > char *string; >} cJSON; > >typedef struct cJSON_Hooks >{ > > void *( *malloc_fn)(size_t sz); > void ( *free_fn)(void *ptr); >} cJSON_Hooks; > >typedef int cJSON_bool; ># 141 "/usr/include/cjson/cJSON.h" 3 4 >const char* cJSON_Version(void); > > >void cJSON_InitHooks(cJSON_Hooks* hooks); > > > >cJSON * cJSON_Parse(const char *value); >cJSON * cJSON_ParseWithLength(const char *value, size_t buffer_length); > > >cJSON * cJSON_ParseWithOpts(const char *value, const char **return_parse_end, cJSON_bool require_null_terminated); >cJSON * cJSON_ParseWithLengthOpts(const char *value, size_t buffer_length, const char **return_parse_end, cJSON_bool require_null_terminated); > > >char * cJSON_Print(const cJSON *item); > >char * cJSON_PrintUnformatted(const cJSON *item); > >char * cJSON_PrintBuffered(const cJSON *item, int prebuffer, cJSON_bool fmt); > > >cJSON_bool cJSON_PrintPreallocated(cJSON *item, char *buffer, const int length, const cJSON_bool format); > >void cJSON_Delete(cJSON *item); > > >int cJSON_GetArraySize(const cJSON *array); > >cJSON * cJSON_GetArrayItem(const cJSON *array, int index); > >cJSON * cJSON_GetObjectItem(const cJSON * const object, const char * const string); >cJSON * cJSON_GetObjectItemCaseSensitive(const cJSON * const object, const char * const string); >cJSON_bool cJSON_HasObjectItem(const cJSON *object, const char *string); > >const char * cJSON_GetErrorPtr(void); > > >char * cJSON_GetStringValue(const cJSON * const item); >double cJSON_GetNumberValue(const cJSON * const item); > > >cJSON_bool cJSON_IsInvalid(const cJSON * const item); >cJSON_bool cJSON_IsFalse(const cJSON * const item); >cJSON_bool cJSON_IsTrue(const cJSON * const item); >cJSON_bool cJSON_IsBool(const cJSON * const item); >cJSON_bool cJSON_IsNull(const cJSON * const item); >cJSON_bool cJSON_IsNumber(const cJSON * const item); >cJSON_bool cJSON_IsString(const cJSON * const item); >cJSON_bool cJSON_IsArray(const cJSON * const item); >cJSON_bool cJSON_IsObject(const cJSON * const item); >cJSON_bool cJSON_IsRaw(const cJSON * const item); > > >cJSON * cJSON_CreateNull(void); >cJSON * cJSON_CreateTrue(void); >cJSON * cJSON_CreateFalse(void); >cJSON * cJSON_CreateBool(cJSON_bool boolean); >cJSON * cJSON_CreateNumber(double num); >cJSON * cJSON_CreateString(const char *string); > >cJSON * cJSON_CreateRaw(const char *raw); >cJSON * cJSON_CreateArray(void); >cJSON * cJSON_CreateObject(void); > > > >cJSON * cJSON_CreateStringReference(const char *string); > > >cJSON * cJSON_CreateObjectReference(const cJSON *child); >cJSON * cJSON_CreateArrayReference(const cJSON *child); > > > >cJSON * cJSON_CreateIntArray(const int *numbers, int count); >cJSON * cJSON_CreateFloatArray(const float *numbers, int count); >cJSON * cJSON_CreateDoubleArray(const double *numbers, int count); >cJSON * cJSON_CreateStringArray(const char *const *strings, int count); > > >cJSON_bool cJSON_AddItemToArray(cJSON *array, cJSON *item); >cJSON_bool cJSON_AddItemToObject(cJSON *object, const char *string, cJSON *item); > > > >cJSON_bool cJSON_AddItemToObjectCS(cJSON *object, const char *string, cJSON *item); > >cJSON_bool cJSON_AddItemReferenceToArray(cJSON *array, cJSON *item); >cJSON_bool cJSON_AddItemReferenceToObject(cJSON *object, const char *string, cJSON *item); > > >cJSON * cJSON_DetachItemViaPointer(cJSON *parent, cJSON * const item); >cJSON * cJSON_DetachItemFromArray(cJSON *array, int which); >void cJSON_DeleteItemFromArray(cJSON *array, int which); >cJSON * cJSON_DetachItemFromObject(cJSON *object, const char *string); >cJSON * cJSON_DetachItemFromObjectCaseSensitive(cJSON *object, const char *string); >void cJSON_DeleteItemFromObject(cJSON *object, const char *string); >void cJSON_DeleteItemFromObjectCaseSensitive(cJSON *object, const char *string); > > >cJSON_bool cJSON_InsertItemInArray(cJSON *array, int which, cJSON *newitem); >cJSON_bool cJSON_ReplaceItemViaPointer(cJSON * const parent, cJSON * const item, cJSON * replacement); >cJSON_bool cJSON_ReplaceItemInArray(cJSON *array, int which, cJSON *newitem); >cJSON_bool cJSON_ReplaceItemInObject(cJSON *object,const char *string,cJSON *newitem); >cJSON_bool cJSON_ReplaceItemInObjectCaseSensitive(cJSON *object,const char *string,cJSON *newitem); > > >cJSON * cJSON_Duplicate(const cJSON *item, cJSON_bool recurse); > > > > > >cJSON_bool cJSON_Compare(const cJSON * const a, const cJSON * const b, const cJSON_bool case_sensitive); > > > > >void cJSON_Minify(char *json); > > > >cJSON* cJSON_AddNullToObject(cJSON * const object, const char * const name); >cJSON* cJSON_AddTrueToObject(cJSON * const object, const char * const name); >cJSON* cJSON_AddFalseToObject(cJSON * const object, const char * const name); >cJSON* cJSON_AddBoolToObject(cJSON * const object, const char * const name, const cJSON_bool boolean); >cJSON* cJSON_AddNumberToObject(cJSON * const object, const char * const name, const double number); >cJSON* cJSON_AddStringToObject(cJSON * const object, const char * const name, const char * const string); >cJSON* cJSON_AddRawToObject(cJSON * const object, const char * const name, const char * const raw); >cJSON* cJSON_AddObjectToObject(cJSON * const object, const char * const name); >cJSON* cJSON_AddArrayToObject(cJSON * const object, const char * const name); > > > > >double cJSON_SetNumberHelper(cJSON *object, double number); > > >char* cJSON_SetValuestring(cJSON *object, const char *valuestring); ># 293 "/usr/include/cjson/cJSON.h" 3 4 >void * cJSON_malloc(size_t size); >void cJSON_free(void *object); ># 56 "iperf.h" 2 > ># 1 "portable_endian.h" 1 ># 58 "iperf.h" 2 > > ># 1 "/usr/include/openssl/bio.h" 1 3 4 ># 16 "/usr/include/openssl/bio.h" 3 4 > > ># 1 "/usr/include/openssl/macros.h" 1 3 4 ># 12 "/usr/include/openssl/macros.h" 3 4 > > ># 1 "/usr/include/openssl/opensslconf.h" 1 3 4 ># 12 "/usr/include/openssl/opensslconf.h" 3 4 > > ># 1 "/usr/include/openssl/configuration.h" 1 3 4 ># 16 "/usr/include/openssl/configuration.h" 3 4 > ># 15 "/usr/include/openssl/opensslconf.h" 2 3 4 ># 15 "/usr/include/openssl/macros.h" 2 3 4 ># 1 "/usr/include/openssl/opensslv.h" 1 3 4 ># 15 "/usr/include/openssl/opensslv.h" 3 4 > ># 16 "/usr/include/openssl/macros.h" 2 3 4 ># 19 "/usr/include/openssl/bio.h" 2 3 4 > > > > ># 1 "/usr/include/openssl/e_os2.h" 1 3 4 ># 12 "/usr/include/openssl/e_os2.h" 3 4 > ># 261 "/usr/include/openssl/e_os2.h" 3 4 >typedef intmax_t ossl_intmax_t; >typedef uintmax_t ossl_uintmax_t; ># 24 "/usr/include/openssl/bio.h" 2 3 4 > > > > ># 1 "/usr/include/stdarg.h" 1 3 4 ># 10 "/usr/include/stdarg.h" 3 4 ># 1 "/usr/include/bits/alltypes.h" 1 3 4 ># 11 "/usr/include/stdarg.h" 2 3 4 ># 29 "/usr/include/openssl/bio.h" 2 3 4 > ># 1 "/usr/include/openssl/crypto.h" 1 3 4 ># 18 "/usr/include/openssl/crypto.h" 3 4 > ># 34 "/usr/include/openssl/crypto.h" 3 4 ># 1 "/usr/include/openssl/safestack.h" 1 3 4 ># 17 "/usr/include/openssl/safestack.h" 3 4 > > > > > > > ># 1 "/usr/include/openssl/stack.h" 1 3 4 ># 12 "/usr/include/openssl/stack.h" 3 4 > ># 23 "/usr/include/openssl/stack.h" 3 4 >typedef struct stack_st OPENSSL_STACK; > >typedef int (*OPENSSL_sk_compfunc)(const void *, const void *); >typedef void (*OPENSSL_sk_freefunc)(void *); >typedef void *(*OPENSSL_sk_copyfunc)(const void *); > >int OPENSSL_sk_num(const OPENSSL_STACK *); >void *OPENSSL_sk_value(const OPENSSL_STACK *, int); > >void *OPENSSL_sk_set(OPENSSL_STACK *st, int i, const void *data); > >OPENSSL_STACK *OPENSSL_sk_new(OPENSSL_sk_compfunc cmp); >OPENSSL_STACK *OPENSSL_sk_new_null(void); >OPENSSL_STACK *OPENSSL_sk_new_reserve(OPENSSL_sk_compfunc c, int n); >int OPENSSL_sk_reserve(OPENSSL_STACK *st, int n); >void OPENSSL_sk_free(OPENSSL_STACK *); >void OPENSSL_sk_pop_free(OPENSSL_STACK *st, void (*func) (void *)); >OPENSSL_STACK *OPENSSL_sk_deep_copy(const OPENSSL_STACK *, > OPENSSL_sk_copyfunc c, > OPENSSL_sk_freefunc f); >int OPENSSL_sk_insert(OPENSSL_STACK *sk, const void *data, int where); >void *OPENSSL_sk_delete(OPENSSL_STACK *st, int loc); >void *OPENSSL_sk_delete_ptr(OPENSSL_STACK *st, const void *p); >int OPENSSL_sk_find(OPENSSL_STACK *st, const void *data); >int OPENSSL_sk_find_ex(OPENSSL_STACK *st, const void *data); >int OPENSSL_sk_find_all(OPENSSL_STACK *st, const void *data, int *pnum); >int OPENSSL_sk_push(OPENSSL_STACK *st, const void *data); >int OPENSSL_sk_unshift(OPENSSL_STACK *st, const void *data); >void *OPENSSL_sk_shift(OPENSSL_STACK *st); >void *OPENSSL_sk_pop(OPENSSL_STACK *st); >void OPENSSL_sk_zero(OPENSSL_STACK *st); >OPENSSL_sk_compfunc OPENSSL_sk_set_cmp_func(OPENSSL_STACK *sk, > OPENSSL_sk_compfunc cmp); >OPENSSL_STACK *OPENSSL_sk_dup(const OPENSSL_STACK *st); >void OPENSSL_sk_sort(OPENSSL_STACK *st); >int OPENSSL_sk_is_sorted(const OPENSSL_STACK *st); ># 25 "/usr/include/openssl/safestack.h" 2 3 4 ># 195 "/usr/include/openssl/safestack.h" 3 4 >typedef char *OPENSSL_STRING; >typedef const char *OPENSSL_CSTRING; ># 205 "/usr/include/openssl/safestack.h" 3 4 >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; } ># 231 "/usr/include/openssl/safestack.h" 3 4 >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; } ># 264 "/usr/include/openssl/safestack.h" 3 4 >typedef void *OPENSSL_BLOCK; >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; } ># 35 "/usr/include/openssl/crypto.h" 2 3 4 > ># 1 "/usr/include/openssl/types.h" 1 3 4 ># 26 "/usr/include/openssl/types.h" 3 4 ># 1 "/usr/include/limits.h" 1 3 4 > > > > > ># 1 "/usr/include/bits/alltypes.h" 1 3 4 ># 7 "/usr/include/limits.h" 2 3 4 ># 40 "/usr/include/limits.h" 3 4 ># 1 "/usr/include/bits/limits.h" 1 3 4 ># 41 "/usr/include/limits.h" 2 3 4 ># 27 "/usr/include/openssl/types.h" 2 3 4 ># 36 "/usr/include/openssl/types.h" 3 4 >typedef struct ossl_provider_st OSSL_PROVIDER; ># 57 "/usr/include/openssl/types.h" 3 4 >typedef struct asn1_string_st ASN1_INTEGER; >typedef struct asn1_string_st ASN1_ENUMERATED; >typedef struct asn1_string_st ASN1_BIT_STRING; >typedef struct asn1_string_st ASN1_OCTET_STRING; >typedef struct asn1_string_st ASN1_PRINTABLESTRING; >typedef struct asn1_string_st ASN1_T61STRING; >typedef struct asn1_string_st ASN1_IA5STRING; >typedef struct asn1_string_st ASN1_GENERALSTRING; >typedef struct asn1_string_st ASN1_UNIVERSALSTRING; >typedef struct asn1_string_st ASN1_BMPSTRING; >typedef struct asn1_string_st ASN1_UTCTIME; >typedef struct asn1_string_st ASN1_TIME; >typedef struct asn1_string_st ASN1_GENERALIZEDTIME; >typedef struct asn1_string_st ASN1_VISIBLESTRING; >typedef struct asn1_string_st ASN1_UTF8STRING; >typedef struct asn1_string_st ASN1_STRING; >typedef int ASN1_BOOLEAN; >typedef int ASN1_NULL; > > >typedef struct asn1_type_st ASN1_TYPE; >typedef struct asn1_object_st ASN1_OBJECT; >typedef struct asn1_string_table_st ASN1_STRING_TABLE; > >typedef struct ASN1_ITEM_st ASN1_ITEM; >typedef struct asn1_pctx_st ASN1_PCTX; >typedef struct asn1_sctx_st ASN1_SCTX; > > > > > >typedef struct bio_st BIO; >typedef struct bignum_st BIGNUM; >typedef struct bignum_ctx BN_CTX; >typedef struct bn_blinding_st BN_BLINDING; >typedef struct bn_mont_ctx_st BN_MONT_CTX; >typedef struct bn_recp_ctx_st BN_RECP_CTX; >typedef struct bn_gencb_st BN_GENCB; > >typedef struct buf_mem_st BUF_MEM; > >struct stack_st_BIGNUM; >struct stack_st_BIGNUM_const; > >typedef struct err_state_st ERR_STATE; > >typedef struct evp_cipher_st EVP_CIPHER; >typedef struct evp_cipher_ctx_st EVP_CIPHER_CTX; >typedef struct evp_md_st EVP_MD; >typedef struct evp_md_ctx_st EVP_MD_CTX; >typedef struct evp_mac_st EVP_MAC; >typedef struct evp_mac_ctx_st EVP_MAC_CTX; >typedef struct evp_pkey_st EVP_PKEY; > >typedef struct evp_pkey_asn1_method_st EVP_PKEY_ASN1_METHOD; > >typedef struct evp_pkey_method_st EVP_PKEY_METHOD; >typedef struct evp_pkey_ctx_st EVP_PKEY_CTX; > >typedef struct evp_keymgmt_st EVP_KEYMGMT; > >typedef struct evp_kdf_st EVP_KDF; >typedef struct evp_kdf_ctx_st EVP_KDF_CTX; > >typedef struct evp_rand_st EVP_RAND; >typedef struct evp_rand_ctx_st EVP_RAND_CTX; > >typedef struct evp_keyexch_st EVP_KEYEXCH; > >typedef struct evp_signature_st EVP_SIGNATURE; > >typedef struct evp_asym_cipher_st EVP_ASYM_CIPHER; > >typedef struct evp_kem_st EVP_KEM; > >typedef struct evp_Encode_Ctx_st EVP_ENCODE_CTX; > >typedef struct hmac_ctx_st HMAC_CTX; > >typedef struct dh_st DH; >typedef struct dh_method DH_METHOD; > > >typedef struct dsa_st DSA; >typedef struct dsa_method DSA_METHOD; > > > >typedef struct rsa_st RSA; >typedef struct rsa_meth_st RSA_METHOD; > >typedef struct rsa_pss_params_st RSA_PSS_PARAMS; > > >typedef struct ec_key_st EC_KEY; >typedef struct ec_key_method_st EC_KEY_METHOD; > > >typedef struct rand_meth_st RAND_METHOD; >typedef struct rand_drbg_st RAND_DRBG; > >typedef struct ssl_dane_st SSL_DANE; >typedef struct x509_st X509; >typedef struct X509_algor_st X509_ALGOR; >typedef struct X509_crl_st X509_CRL; >typedef struct x509_crl_method_st X509_CRL_METHOD; >typedef struct x509_revoked_st X509_REVOKED; >typedef struct X509_name_st X509_NAME; >typedef struct X509_pubkey_st X509_PUBKEY; >typedef struct x509_store_st X509_STORE; >typedef struct x509_store_ctx_st X509_STORE_CTX; > >typedef struct x509_object_st X509_OBJECT; >typedef struct x509_lookup_st X509_LOOKUP; >typedef struct x509_lookup_method_st X509_LOOKUP_METHOD; >typedef struct X509_VERIFY_PARAM_st X509_VERIFY_PARAM; > >typedef struct x509_sig_info_st X509_SIG_INFO; > >typedef struct pkcs8_priv_key_info_st PKCS8_PRIV_KEY_INFO; > >typedef struct v3_ext_ctx X509V3_CTX; >typedef struct conf_st CONF; >typedef struct ossl_init_settings_st OPENSSL_INIT_SETTINGS; > >typedef struct ui_st UI; >typedef struct ui_method_st UI_METHOD; > >typedef struct engine_st ENGINE; >typedef struct ssl_st SSL; >typedef struct ssl_ctx_st SSL_CTX; > >typedef struct comp_ctx_st COMP_CTX; >typedef struct comp_method_st COMP_METHOD; > >typedef struct X509_POLICY_NODE_st X509_POLICY_NODE; >typedef struct X509_POLICY_LEVEL_st X509_POLICY_LEVEL; >typedef struct X509_POLICY_TREE_st X509_POLICY_TREE; >typedef struct X509_POLICY_CACHE_st X509_POLICY_CACHE; > >typedef struct AUTHORITY_KEYID_st AUTHORITY_KEYID; >typedef struct DIST_POINT_st DIST_POINT; >typedef struct ISSUING_DIST_POINT_st ISSUING_DIST_POINT; >typedef struct NAME_CONSTRAINTS_st NAME_CONSTRAINTS; > >typedef struct crypto_ex_data_st CRYPTO_EX_DATA; > >typedef struct ossl_http_req_ctx_st OSSL_HTTP_REQ_CTX; >typedef struct ocsp_response_st OCSP_RESPONSE; >typedef struct ocsp_responder_id_st OCSP_RESPID; > >typedef struct sct_st SCT; >typedef struct sct_ctx_st SCT_CTX; >typedef struct ctlog_st CTLOG; >typedef struct ctlog_store_st CTLOG_STORE; >typedef struct ct_policy_eval_ctx_st CT_POLICY_EVAL_CTX; > >typedef struct ossl_store_info_st OSSL_STORE_INFO; >typedef struct ossl_store_search_st OSSL_STORE_SEARCH; > >typedef struct ossl_lib_ctx_st OSSL_LIB_CTX; > >typedef struct ossl_dispatch_st OSSL_DISPATCH; >typedef struct ossl_item_st OSSL_ITEM; >typedef struct ossl_algorithm_st OSSL_ALGORITHM; >typedef struct ossl_param_st OSSL_PARAM; >typedef struct ossl_param_bld_st OSSL_PARAM_BLD; > >typedef int pem_password_cb (char *buf, int size, int rwflag, void *userdata); > >typedef struct ossl_encoder_st OSSL_ENCODER; >typedef struct ossl_encoder_ctx_st OSSL_ENCODER_CTX; >typedef struct ossl_decoder_st OSSL_DECODER; >typedef struct ossl_decoder_ctx_st OSSL_DECODER_CTX; > >typedef struct ossl_self_test_st OSSL_SELF_TEST; ># 37 "/usr/include/openssl/crypto.h" 2 3 4 > ># 1 "/usr/include/openssl/cryptoerr.h" 1 3 4 ># 13 "/usr/include/openssl/cryptoerr.h" 3 4 > > > ># 1 "/usr/include/openssl/symhacks.h" 1 3 4 ># 12 "/usr/include/openssl/symhacks.h" 3 4 > ># 17 "/usr/include/openssl/cryptoerr.h" 2 3 4 ># 1 "/usr/include/openssl/cryptoerr_legacy.h" 1 3 4 ># 19 "/usr/include/openssl/cryptoerr_legacy.h" 3 4 > ># 29 "/usr/include/openssl/cryptoerr_legacy.h" 3 4 >__attribute__((deprecated("Since OpenSSL " "3.0"))) int ERR_load_ASN1_strings(void); >__attribute__((deprecated("Since OpenSSL " "3.0"))) int ERR_load_ASYNC_strings(void); >__attribute__((deprecated("Since OpenSSL " "3.0"))) int ERR_load_BIO_strings(void); >__attribute__((deprecated("Since OpenSSL " "3.0"))) int ERR_load_BN_strings(void); >__attribute__((deprecated("Since OpenSSL " "3.0"))) int ERR_load_BUF_strings(void); > >__attribute__((deprecated("Since OpenSSL " "3.0"))) int ERR_load_CMS_strings(void); > > >__attribute__((deprecated("Since OpenSSL " "3.0"))) int ERR_load_COMP_strings(void); > >__attribute__((deprecated("Since OpenSSL " "3.0"))) int ERR_load_CONF_strings(void); >__attribute__((deprecated("Since OpenSSL " "3.0"))) int ERR_load_CRYPTO_strings(void); > >__attribute__((deprecated("Since OpenSSL " "3.0"))) int ERR_load_CT_strings(void); > > >__attribute__((deprecated("Since OpenSSL " "3.0"))) int ERR_load_DH_strings(void); > > >__attribute__((deprecated("Since OpenSSL " "3.0"))) int ERR_load_DSA_strings(void); > > >__attribute__((deprecated("Since OpenSSL " "3.0"))) int ERR_load_EC_strings(void); > > >__attribute__((deprecated("Since OpenSSL " "3.0"))) int ERR_load_ENGINE_strings(void); > >__attribute__((deprecated("Since OpenSSL " "3.0"))) int ERR_load_ERR_strings(void); >__attribute__((deprecated("Since OpenSSL " "3.0"))) int ERR_load_EVP_strings(void); >__attribute__((deprecated("Since OpenSSL " "3.0"))) int ERR_load_KDF_strings(void); >__attribute__((deprecated("Since OpenSSL " "3.0"))) int ERR_load_OBJ_strings(void); > >__attribute__((deprecated("Since OpenSSL " "3.0"))) int ERR_load_OCSP_strings(void); > >__attribute__((deprecated("Since OpenSSL " "3.0"))) int ERR_load_PEM_strings(void); >__attribute__((deprecated("Since OpenSSL " "3.0"))) int ERR_load_PKCS12_strings(void); >__attribute__((deprecated("Since OpenSSL " "3.0"))) int ERR_load_PKCS7_strings(void); >__attribute__((deprecated("Since OpenSSL " "3.0"))) int ERR_load_RAND_strings(void); >__attribute__((deprecated("Since OpenSSL " "3.0"))) int ERR_load_RSA_strings(void); >__attribute__((deprecated("Since OpenSSL " "3.0"))) int ERR_load_OSSL_STORE_strings(void); > >__attribute__((deprecated("Since OpenSSL " "3.0"))) int ERR_load_TS_strings(void); > >__attribute__((deprecated("Since OpenSSL " "3.0"))) int ERR_load_UI_strings(void); >__attribute__((deprecated("Since OpenSSL " "3.0"))) int ERR_load_X509_strings(void); >__attribute__((deprecated("Since OpenSSL " "3.0"))) int ERR_load_X509V3_strings(void); ># 18 "/usr/include/openssl/cryptoerr.h" 2 3 4 ># 39 "/usr/include/openssl/crypto.h" 2 3 4 ># 1 "/usr/include/openssl/core.h" 1 3 4 ># 12 "/usr/include/openssl/core.h" 3 4 > > > ># 1 "/usr/include/openssl/types.h" 1 3 4 ># 16 "/usr/include/openssl/core.h" 2 3 4 ># 30 "/usr/include/openssl/core.h" 3 4 >typedef struct ossl_core_handle_st OSSL_CORE_HANDLE; >typedef struct openssl_core_ctx_st OPENSSL_CORE_CTX; >typedef struct ossl_core_bio_st OSSL_CORE_BIO; > > > > > > > >struct ossl_dispatch_st { > int function_id; > void (*function)(void); >}; ># 61 "/usr/include/openssl/core.h" 3 4 >struct ossl_item_st { > unsigned int id; > void *ptr; >}; > > > > > > > >struct ossl_algorithm_st { > const char *algorithm_names; > const char *property_definition; > const OSSL_DISPATCH *implementation; > const char *algorithm_description; >}; > > > > > > > >struct ossl_param_st { > const char *key; > unsigned int data_type; > void *data; > size_t data_size; > size_t return_size; >}; ># 172 "/usr/include/openssl/core.h" 3 4 >typedef void (*OSSL_thread_stop_handler_fn)(void *arg); ># 193 "/usr/include/openssl/core.h" 3 4 >typedef int (OSSL_provider_init_fn)(const OSSL_CORE_HANDLE *handle, > const OSSL_DISPATCH *in, > const OSSL_DISPATCH **out, > void **provctx); > > > > >extern OSSL_provider_init_fn OSSL_provider_init; ># 219 "/usr/include/openssl/core.h" 3 4 >typedef int (OSSL_CALLBACK)(const OSSL_PARAM params[], void *arg); >typedef int (OSSL_INOUT_CALLBACK)(const OSSL_PARAM in_params[], > OSSL_PARAM out_params[], void *arg); > > > > > > >typedef int (OSSL_PASSPHRASE_CALLBACK)(char *pass, size_t pass_size, > size_t *pass_len, > const OSSL_PARAM params[], void *arg); ># 40 "/usr/include/openssl/crypto.h" 2 3 4 ># 73 "/usr/include/openssl/crypto.h" 3 4 >typedef struct { > int dummy; >} CRYPTO_dynlock; > > > >typedef void CRYPTO_RWLOCK; > >CRYPTO_RWLOCK *CRYPTO_THREAD_lock_new(void); > int CRYPTO_THREAD_read_lock(CRYPTO_RWLOCK *lock); > int CRYPTO_THREAD_write_lock(CRYPTO_RWLOCK *lock); >int CRYPTO_THREAD_unlock(CRYPTO_RWLOCK *lock); >void CRYPTO_THREAD_lock_free(CRYPTO_RWLOCK *lock); > >int CRYPTO_atomic_add(int *val, int amount, int *ret, CRYPTO_RWLOCK *lock); >int CRYPTO_atomic_or(uint64_t *val, uint64_t op, uint64_t *ret, > CRYPTO_RWLOCK *lock); >int CRYPTO_atomic_load(uint64_t *val, uint64_t *ret, CRYPTO_RWLOCK *lock); >int CRYPTO_atomic_load_int(int *val, int *ret, CRYPTO_RWLOCK *lock); ># 125 "/usr/include/openssl/crypto.h" 3 4 >size_t OPENSSL_strlcpy(char *dst, const char *src, size_t siz); >size_t OPENSSL_strlcat(char *dst, const char *src, size_t siz); >size_t OPENSSL_strnlen(const char *str, size_t maxlen); >int OPENSSL_buf2hexstr_ex(char *str, size_t str_n, size_t *strlength, > const unsigned char *buf, size_t buflen, > const char sep); >char *OPENSSL_buf2hexstr(const unsigned char *buf, long buflen); >int OPENSSL_hexstr2buf_ex(unsigned char *buf, size_t buf_n, size_t *buflen, > const char *str, const char sep); >unsigned char *OPENSSL_hexstr2buf(const char *str, long *buflen); >int OPENSSL_hexchar2int(unsigned char c); >int OPENSSL_strcasecmp(const char *s1, const char *s2); >int OPENSSL_strncasecmp(const char *s1, const char *s2, size_t n); ># 146 "/usr/include/openssl/crypto.h" 3 4 >unsigned int OPENSSL_version_major(void); >unsigned int OPENSSL_version_minor(void); >unsigned int OPENSSL_version_patch(void); >const char *OPENSSL_version_pre_release(void); >const char *OPENSSL_version_build_metadata(void); > >unsigned long OpenSSL_version_num(void); >const char *OpenSSL_version(int type); ># 165 "/usr/include/openssl/crypto.h" 3 4 >const char *OPENSSL_info(int type); ># 179 "/usr/include/openssl/crypto.h" 3 4 >int OPENSSL_issetugid(void); > >struct crypto_ex_data_st { > OSSL_LIB_CTX *ctx; > struct stack_st_void *sk; >}; > >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; } ># 239 "/usr/include/openssl/crypto.h" 3 4 >typedef void CRYPTO_EX_new (void *parent, void *ptr, CRYPTO_EX_DATA *ad, > int idx, long argl, void *argp); >typedef void CRYPTO_EX_free (void *parent, void *ptr, CRYPTO_EX_DATA *ad, > int idx, long argl, void *argp); >typedef int CRYPTO_EX_dup (CRYPTO_EX_DATA *to, const CRYPTO_EX_DATA *from, > void **from_d, int idx, long argl, void *argp); > int CRYPTO_get_ex_new_index(int class_index, long argl, void *argp, > CRYPTO_EX_new *new_func, > CRYPTO_EX_dup *dup_func, > CRYPTO_EX_free *free_func); > >int CRYPTO_free_ex_index(int class_index, int idx); > > > > > >int CRYPTO_new_ex_data(int class_index, void *obj, CRYPTO_EX_DATA *ad); >int CRYPTO_dup_ex_data(int class_index, CRYPTO_EX_DATA *to, > const CRYPTO_EX_DATA *from); > >void CRYPTO_free_ex_data(int class_index, void *obj, CRYPTO_EX_DATA *ad); > > >int CRYPTO_alloc_ex_data(int class_index, void *obj, CRYPTO_EX_DATA *ad, > int idx); > > > > > >int CRYPTO_set_ex_data(CRYPTO_EX_DATA *ad, int idx, void *val); >void *CRYPTO_get_ex_data(const CRYPTO_EX_DATA *ad, int idx); ># 307 "/usr/include/openssl/crypto.h" 3 4 >typedef struct crypto_threadid_st { > int dummy; >} CRYPTO_THREADID; ># 334 "/usr/include/openssl/crypto.h" 3 4 >typedef void *(*CRYPTO_malloc_fn)(size_t num, const char *file, int line); >typedef void *(*CRYPTO_realloc_fn)(void *addr, size_t num, const char *file, > int line); >typedef void (*CRYPTO_free_fn)(void *addr, const char *file, int line); >int CRYPTO_set_mem_functions(CRYPTO_malloc_fn malloc_fn, > CRYPTO_realloc_fn realloc_fn, > CRYPTO_free_fn free_fn); >void CRYPTO_get_mem_functions(CRYPTO_malloc_fn *malloc_fn, > CRYPTO_realloc_fn *realloc_fn, > CRYPTO_free_fn *free_fn); > >__attribute__((__malloc__)) void *CRYPTO_malloc(size_t num, const char *file, int line); >__attribute__((__malloc__)) void *CRYPTO_zalloc(size_t num, const char *file, int line); >__attribute__((__malloc__)) void *CRYPTO_memdup(const void *str, size_t siz, const char *file, int line); >__attribute__((__malloc__)) char *CRYPTO_strdup(const char *str, const char *file, int line); >__attribute__((__malloc__)) char *CRYPTO_strndup(const char *str, size_t s, const char *file, int line); >void CRYPTO_free(void *ptr, const char *file, int line); >void CRYPTO_clear_free(void *ptr, size_t num, const char *file, int line); >void *CRYPTO_realloc(void *addr, size_t num, const char *file, int line); >void *CRYPTO_clear_realloc(void *addr, size_t old_num, size_t num, > const char *file, int line); > >int CRYPTO_secure_malloc_init(size_t sz, size_t minsize); >int CRYPTO_secure_malloc_done(void); >__attribute__((__malloc__)) void *CRYPTO_secure_malloc(size_t num, const char *file, int line); >__attribute__((__malloc__)) void *CRYPTO_secure_zalloc(size_t num, const char *file, int line); >void CRYPTO_secure_free(void *ptr, const char *file, int line); >void CRYPTO_secure_clear_free(void *ptr, size_t num, > const char *file, int line); >int CRYPTO_secure_allocated(const void *ptr); >int CRYPTO_secure_malloc_initialized(void); >size_t CRYPTO_secure_actual_size(void *ptr); >size_t CRYPTO_secure_used(void); > >void OPENSSL_cleanse(void *ptr, size_t len); ># 416 "/usr/include/openssl/crypto.h" 3 4 >_Noreturn void OPENSSL_die(const char *assertion, const char *file, int line); > > > > > > >int OPENSSL_isservice(void); > >void OPENSSL_init(void); > > >__attribute__((deprecated("Since OpenSSL " "3.0"))) void OPENSSL_fork_prepare(void); >__attribute__((deprecated("Since OpenSSL " "3.0"))) void OPENSSL_fork_parent(void); >__attribute__((deprecated("Since OpenSSL " "3.0"))) void OPENSSL_fork_child(void); > > > >struct tm *OPENSSL_gmtime(const time_t *timer, struct tm *result); >int OPENSSL_gmtime_adj(struct tm *tm, int offset_day, long offset_sec); >int OPENSSL_gmtime_diff(int *pday, int *psec, > const struct tm *from, const struct tm *to); ># 446 "/usr/include/openssl/crypto.h" 3 4 >int CRYPTO_memcmp(const void * in_a, const void * in_b, size_t len); ># 485 "/usr/include/openssl/crypto.h" 3 4 >void OPENSSL_cleanup(void); >int OPENSSL_init_crypto(uint64_t opts, const OPENSSL_INIT_SETTINGS *settings); >int OPENSSL_atexit(void (*handler)(void)); >void OPENSSL_thread_stop(void); >void OPENSSL_thread_stop_ex(OSSL_LIB_CTX *ctx); > > >OPENSSL_INIT_SETTINGS *OPENSSL_INIT_new(void); > >int OPENSSL_INIT_set_config_filename(OPENSSL_INIT_SETTINGS *settings, > const char *config_filename); >void OPENSSL_INIT_set_config_file_flags(OPENSSL_INIT_SETTINGS *settings, > unsigned long flags); >int OPENSSL_INIT_set_config_appname(OPENSSL_INIT_SETTINGS *settings, > const char *config_appname); > >void OPENSSL_INIT_free(OPENSSL_INIT_SETTINGS *settings); ># 519 "/usr/include/openssl/crypto.h" 3 4 ># 1 "/usr/include/pthread.h" 1 3 4 ># 28 "/usr/include/pthread.h" 3 4 ># 1 "/usr/include/bits/alltypes.h" 1 3 4 ># 29 "/usr/include/pthread.h" 2 3 4 ># 80 "/usr/include/pthread.h" 3 4 >int pthread_create(pthread_t *restrict, const pthread_attr_t *restrict, void *(*)(void *), void *restrict); >int pthread_detach(pthread_t); >_Noreturn void pthread_exit(void *); >int pthread_join(pthread_t, void **); > > >__attribute__((const)) > >pthread_t pthread_self(void); > >int pthread_equal(pthread_t, pthread_t); > > > > >int pthread_setcancelstate(int, int *); >int pthread_setcanceltype(int, int *); >void pthread_testcancel(void); >int pthread_cancel(pthread_t); > >int pthread_getschedparam(pthread_t, int *restrict, struct sched_param *restrict); >int pthread_setschedparam(pthread_t, int, const struct sched_param *); >int pthread_setschedprio(pthread_t, int); > >int pthread_once(pthread_once_t *, void (*)(void)); > >int pthread_mutex_init(pthread_mutex_t *restrict, const pthread_mutexattr_t *restrict); >int pthread_mutex_lock(pthread_mutex_t *); >int pthread_mutex_unlock(pthread_mutex_t *); >int pthread_mutex_trylock(pthread_mutex_t *); >int pthread_mutex_timedlock(pthread_mutex_t *restrict, const struct timespec *restrict); >int pthread_mutex_destroy(pthread_mutex_t *); >int pthread_mutex_consistent(pthread_mutex_t *); > >int pthread_mutex_getprioceiling(const pthread_mutex_t *restrict, int *restrict); >int pthread_mutex_setprioceiling(pthread_mutex_t *restrict, int, int *restrict); > >int pthread_cond_init(pthread_cond_t *restrict, const pthread_condattr_t *restrict); >int pthread_cond_destroy(pthread_cond_t *); >int pthread_cond_wait(pthread_cond_t *restrict, pthread_mutex_t *restrict); >int pthread_cond_timedwait(pthread_cond_t *restrict, pthread_mutex_t *restrict, const struct timespec *restrict); >int pthread_cond_broadcast(pthread_cond_t *); >int pthread_cond_signal(pthread_cond_t *); > >int pthread_rwlock_init(pthread_rwlock_t *restrict, const pthread_rwlockattr_t *restrict); >int pthread_rwlock_destroy(pthread_rwlock_t *); >int pthread_rwlock_rdlock(pthread_rwlock_t *); >int pthread_rwlock_tryrdlock(pthread_rwlock_t *); >int pthread_rwlock_timedrdlock(pthread_rwlock_t *restrict, const struct timespec *restrict); >int pthread_rwlock_wrlock(pthread_rwlock_t *); >int pthread_rwlock_trywrlock(pthread_rwlock_t *); >int pthread_rwlock_timedwrlock(pthread_rwlock_t *restrict, const struct timespec *restrict); >int pthread_rwlock_unlock(pthread_rwlock_t *); > >int pthread_spin_init(pthread_spinlock_t *, int); >int pthread_spin_destroy(pthread_spinlock_t *); >int pthread_spin_lock(pthread_spinlock_t *); >int pthread_spin_trylock(pthread_spinlock_t *); >int pthread_spin_unlock(pthread_spinlock_t *); > >int pthread_barrier_init(pthread_barrier_t *restrict, const pthread_barrierattr_t *restrict, unsigned); >int pthread_barrier_destroy(pthread_barrier_t *); >int pthread_barrier_wait(pthread_barrier_t *); > >int pthread_key_create(pthread_key_t *, void (*)(void *)); >int pthread_key_delete(pthread_key_t); >void *pthread_getspecific(pthread_key_t); >int pthread_setspecific(pthread_key_t, const void *); > >int pthread_attr_init(pthread_attr_t *); >int pthread_attr_destroy(pthread_attr_t *); > >int pthread_attr_getguardsize(const pthread_attr_t *restrict, size_t *restrict); >int pthread_attr_setguardsize(pthread_attr_t *, size_t); >int pthread_attr_getstacksize(const pthread_attr_t *restrict, size_t *restrict); >int pthread_attr_setstacksize(pthread_attr_t *, size_t); >int pthread_attr_getdetachstate(const pthread_attr_t *, int *); >int pthread_attr_setdetachstate(pthread_attr_t *, int); >int pthread_attr_getstack(const pthread_attr_t *restrict, void **restrict, size_t *restrict); >int pthread_attr_setstack(pthread_attr_t *, void *, size_t); >int pthread_attr_getscope(const pthread_attr_t *restrict, int *restrict); >int pthread_attr_setscope(pthread_attr_t *, int); >int pthread_attr_getschedpolicy(const pthread_attr_t *restrict, int *restrict); >int pthread_attr_setschedpolicy(pthread_attr_t *, int); >int pthread_attr_getschedparam(const pthread_attr_t *restrict, struct sched_param *restrict); >int pthread_attr_setschedparam(pthread_attr_t *restrict, const struct sched_param *restrict); >int pthread_attr_getinheritsched(const pthread_attr_t *restrict, int *restrict); >int pthread_attr_setinheritsched(pthread_attr_t *, int); > >int pthread_mutexattr_destroy(pthread_mutexattr_t *); >int pthread_mutexattr_getprioceiling(const pthread_mutexattr_t *restrict, int *restrict); >int pthread_mutexattr_getprotocol(const pthread_mutexattr_t *restrict, int *restrict); >int pthread_mutexattr_getpshared(const pthread_mutexattr_t *restrict, int *restrict); >int pthread_mutexattr_getrobust(const pthread_mutexattr_t *restrict, int *restrict); >int pthread_mutexattr_gettype(const pthread_mutexattr_t *restrict, int *restrict); >int pthread_mutexattr_init(pthread_mutexattr_t *); >int pthread_mutexattr_setprioceiling(pthread_mutexattr_t *, int); >int pthread_mutexattr_setprotocol(pthread_mutexattr_t *, int); >int pthread_mutexattr_setpshared(pthread_mutexattr_t *, int); >int pthread_mutexattr_setrobust(pthread_mutexattr_t *, int); >int pthread_mutexattr_settype(pthread_mutexattr_t *, int); > >int pthread_condattr_init(pthread_condattr_t *); >int pthread_condattr_destroy(pthread_condattr_t *); >int pthread_condattr_setclock(pthread_condattr_t *, clockid_t); >int pthread_condattr_setpshared(pthread_condattr_t *, int); >int pthread_condattr_getclock(const pthread_condattr_t *restrict, clockid_t *restrict); >int pthread_condattr_getpshared(const pthread_condattr_t *restrict, int *restrict); > >int pthread_rwlockattr_init(pthread_rwlockattr_t *); >int pthread_rwlockattr_destroy(pthread_rwlockattr_t *); >int pthread_rwlockattr_setpshared(pthread_rwlockattr_t *, int); >int pthread_rwlockattr_getpshared(const pthread_rwlockattr_t *restrict, int *restrict); > >int pthread_barrierattr_destroy(pthread_barrierattr_t *); >int pthread_barrierattr_getpshared(const pthread_barrierattr_t *restrict, int *restrict); >int pthread_barrierattr_init(pthread_barrierattr_t *); >int pthread_barrierattr_setpshared(pthread_barrierattr_t *, int); > >int pthread_atfork(void (*)(void), void (*)(void), void (*)(void)); > >int pthread_getconcurrency(void); >int pthread_setconcurrency(int); > >int pthread_getcpuclockid(pthread_t, clockid_t *); > >struct __ptcb { > void (*__f)(void *); > void *__x; > struct __ptcb *__next; >}; > >void _pthread_cleanup_push(struct __ptcb *, void (*)(void *), void *); >void _pthread_cleanup_pop(struct __ptcb *, int); > > > > > >struct cpu_set_t; >int pthread_getaffinity_np(pthread_t, size_t, struct cpu_set_t *); >int pthread_setaffinity_np(pthread_t, size_t, const struct cpu_set_t *); >int pthread_getattr_np(pthread_t, pthread_attr_t *); >int pthread_setname_np(pthread_t, const char *); >int pthread_getname_np(pthread_t, char *, size_t); >int pthread_getattr_default_np(pthread_attr_t *); >int pthread_setattr_default_np(const pthread_attr_t *); >int pthread_tryjoin_np(pthread_t, void **); >int pthread_timedjoin_np(pthread_t, void **, const struct timespec *); > > > >__typeof__(pthread_mutex_timedlock) pthread_mutex_timedlock __asm__("__pthread_mutex_timedlock_time64"); >__typeof__(pthread_cond_timedwait) pthread_cond_timedwait __asm__("__pthread_cond_timedwait_time64"); >__typeof__(pthread_rwlock_timedrdlock) pthread_rwlock_timedrdlock __asm__("__pthread_rwlock_timedrdlock_time64"); >__typeof__(pthread_rwlock_timedwrlock) pthread_rwlock_timedwrlock __asm__("__pthread_rwlock_timedwrlock_time64"); > >__typeof__(pthread_timedjoin_np) pthread_timedjoin_np __asm__("__pthread_timedjoin_np_time64"); ># 520 "/usr/include/openssl/crypto.h" 2 3 4 > >typedef pthread_once_t CRYPTO_ONCE; >typedef pthread_key_t CRYPTO_THREAD_LOCAL; >typedef pthread_t CRYPTO_THREAD_ID; ># 536 "/usr/include/openssl/crypto.h" 3 4 >int CRYPTO_THREAD_run_once(CRYPTO_ONCE *once, void (*init)(void)); > >int CRYPTO_THREAD_init_local(CRYPTO_THREAD_LOCAL *key, void (*cleanup)(void *)); >void *CRYPTO_THREAD_get_local(CRYPTO_THREAD_LOCAL *key); >int CRYPTO_THREAD_set_local(CRYPTO_THREAD_LOCAL *key, void *val); >int CRYPTO_THREAD_cleanup_local(CRYPTO_THREAD_LOCAL *key); > >CRYPTO_THREAD_ID CRYPTO_THREAD_get_current_id(void); >int CRYPTO_THREAD_compare_id(CRYPTO_THREAD_ID a, CRYPTO_THREAD_ID b); > >OSSL_LIB_CTX *OSSL_LIB_CTX_new(void); >OSSL_LIB_CTX *OSSL_LIB_CTX_new_from_dispatch(const OSSL_CORE_HANDLE *handle, > const OSSL_DISPATCH *in); >OSSL_LIB_CTX *OSSL_LIB_CTX_new_child(const OSSL_CORE_HANDLE *handle, > const OSSL_DISPATCH *in); >int OSSL_LIB_CTX_load_config(OSSL_LIB_CTX *ctx, const char *config_file); >void OSSL_LIB_CTX_free(OSSL_LIB_CTX *); >OSSL_LIB_CTX *OSSL_LIB_CTX_get0_global_default(void); >OSSL_LIB_CTX *OSSL_LIB_CTX_set0_default(OSSL_LIB_CTX *libctx); > >void OSSL_sleep(uint64_t millis); ># 31 "/usr/include/openssl/bio.h" 2 3 4 ># 1 "/usr/include/openssl/bioerr.h" 1 3 4 ># 13 "/usr/include/openssl/bioerr.h" 3 4 > ># 32 "/usr/include/openssl/bio.h" 2 3 4 ># 242 "/usr/include/openssl/bio.h" 3 4 >typedef union bio_addr_st BIO_ADDR; >typedef struct bio_addrinfo_st BIO_ADDRINFO; > >int BIO_get_new_index(void); >void BIO_set_flags(BIO *b, int flags); >int BIO_test_flags(const BIO *b, int flags); >void BIO_clear_flags(BIO *b, int flags); ># 307 "/usr/include/openssl/bio.h" 3 4 >typedef long (*BIO_callback_fn)(BIO *b, int oper, const char *argp, int argi, > long argl, long ret); >__attribute__((deprecated("Since OpenSSL " "3.0"))) BIO_callback_fn BIO_get_callback(const BIO *b); >__attribute__((deprecated("Since OpenSSL " "3.0"))) void BIO_set_callback(BIO *b, BIO_callback_fn callback); >__attribute__((deprecated("Since OpenSSL " "3.0"))) long BIO_debug_callback(BIO *bio, int cmd, > const char *argp, int argi, > long argl, long ret); > > >typedef long (*BIO_callback_fn_ex)(BIO *b, int oper, const char *argp, > size_t len, int argi, > long argl, int ret, size_t *processed); >BIO_callback_fn_ex BIO_get_callback_ex(const BIO *b); >void BIO_set_callback_ex(BIO *b, BIO_callback_fn_ex callback); >long BIO_debug_callback_ex(BIO *bio, int oper, const char *argp, size_t len, > int argi, long argl, int ret, size_t *processed); > >char *BIO_get_callback_arg(const BIO *b); >void BIO_set_callback_arg(BIO *b, char *arg); > >typedef struct bio_method_st BIO_METHOD; > >const char *BIO_method_name(const BIO *b); >int BIO_method_type(const BIO *b); > >typedef int BIO_info_cb(BIO *, int, int); >typedef BIO_info_cb bio_info_cb; > >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; } ># 365 "/usr/include/openssl/bio.h" 3 4 >typedef int asn1_ps_func (BIO *b, unsigned char **pbuf, int *plen, > void *parg); > >typedef void (*BIO_dgram_sctp_notification_handler_fn) (BIO *b, > void *context, > void *buf); ># 397 "/usr/include/openssl/bio.h" 3 4 >typedef struct bio_msg_st { > void *data; > size_t data_len; > BIO_ADDR *peer, *local; > uint64_t flags; >} BIO_MSG; > >typedef struct bio_mmsg_cb_args_st { > BIO_MSG *msg; > size_t stride, num_msg; > uint64_t flags; > size_t *msgs_processed; >} BIO_MMSG_CB_ARGS; > > > > > > >typedef struct bio_poll_descriptor_st { > uint32_t type; > union { > int fd; > void *custom; > uintptr_t custom_ui; > SSL *ssl; > } value; >} BIO_POLL_DESCRIPTOR; ># 635 "/usr/include/openssl/bio.h" 3 4 >size_t BIO_ctrl_pending(BIO *b); >size_t BIO_ctrl_wpending(BIO *b); ># 655 "/usr/include/openssl/bio.h" 3 4 >size_t BIO_ctrl_get_write_guarantee(BIO *b); >size_t BIO_ctrl_get_read_request(BIO *b); >int BIO_ctrl_reset_read_request(BIO *b); ># 704 "/usr/include/openssl/bio.h" 3 4 >int BIO_set_ex_data(BIO *bio, int idx, void *data); >void *BIO_get_ex_data(const BIO *bio, int idx); >uint64_t BIO_number_read(BIO *bio); >uint64_t BIO_number_written(BIO *bio); > > >int BIO_asn1_set_prefix(BIO *b, asn1_ps_func *prefix, > asn1_ps_func *prefix_free); >int BIO_asn1_get_prefix(BIO *b, asn1_ps_func **pprefix, > asn1_ps_func **pprefix_free); >int BIO_asn1_set_suffix(BIO *b, asn1_ps_func *suffix, > asn1_ps_func *suffix_free); >int BIO_asn1_get_suffix(BIO *b, asn1_ps_func **psuffix, > asn1_ps_func **psuffix_free); > >const BIO_METHOD *BIO_s_file(void); >BIO *BIO_new_file(const char *filename, const char *mode); >BIO *BIO_new_from_core_bio(OSSL_LIB_CTX *libctx, OSSL_CORE_BIO *corebio); > >BIO *BIO_new_fp(FILE *stream, int close_flag); > >BIO *BIO_new_ex(OSSL_LIB_CTX *libctx, const BIO_METHOD *method); >BIO *BIO_new(const BIO_METHOD *type); >int BIO_free(BIO *a); >void BIO_set_data(BIO *a, void *ptr); >void *BIO_get_data(BIO *a); >void BIO_set_init(BIO *a, int init); >int BIO_get_init(BIO *a); >void BIO_set_shutdown(BIO *a, int shut); >int BIO_get_shutdown(BIO *a); >void BIO_vfree(BIO *a); >int BIO_up_ref(BIO *a); >int BIO_read(BIO *b, void *data, int dlen); >int BIO_read_ex(BIO *b, void *data, size_t dlen, size_t *readbytes); > int BIO_recvmmsg(BIO *b, BIO_MSG *msg, > size_t stride, size_t num_msg, uint64_t flags, > size_t *msgs_processed); >int BIO_gets(BIO *bp, char *buf, int size); >int BIO_get_line(BIO *bio, char *buf, int size); >int BIO_write(BIO *b, const void *data, int dlen); >int BIO_write_ex(BIO *b, const void *data, size_t dlen, size_t *written); > int BIO_sendmmsg(BIO *b, BIO_MSG *msg, > size_t stride, size_t num_msg, uint64_t flags, > size_t *msgs_processed); > int BIO_get_rpoll_descriptor(BIO *b, BIO_POLL_DESCRIPTOR *desc); > int BIO_get_wpoll_descriptor(BIO *b, BIO_POLL_DESCRIPTOR *desc); >int BIO_puts(BIO *bp, const char *buf); >int BIO_indent(BIO *b, int indent, int max); >long BIO_ctrl(BIO *bp, int cmd, long larg, void *parg); >long BIO_callback_ctrl(BIO *b, int cmd, BIO_info_cb *fp); >void *BIO_ptr_ctrl(BIO *bp, int cmd, long larg); >long BIO_int_ctrl(BIO *bp, int cmd, long larg, int iarg); >BIO *BIO_push(BIO *b, BIO *append); >BIO *BIO_pop(BIO *b); >void BIO_free_all(BIO *a); >BIO *BIO_find_type(BIO *b, int bio_type); >BIO *BIO_next(BIO *b); >void BIO_set_next(BIO *b, BIO *next); >BIO *BIO_get_retry_BIO(BIO *bio, int *reason); >int BIO_get_retry_reason(BIO *bio); >void BIO_set_retry_reason(BIO *bio, int reason); >BIO *BIO_dup_chain(BIO *in); > >int BIO_nread0(BIO *bio, char **buf); >int BIO_nread(BIO *bio, char **buf, int num); >int BIO_nwrite0(BIO *bio, char **buf); >int BIO_nwrite(BIO *bio, char **buf, int num); > >const BIO_METHOD *BIO_s_mem(void); > >const BIO_METHOD *BIO_s_dgram_mem(void); > >const BIO_METHOD *BIO_s_secmem(void); >BIO *BIO_new_mem_buf(const void *buf, int len); > >const BIO_METHOD *BIO_s_socket(void); >const BIO_METHOD *BIO_s_connect(void); >const BIO_METHOD *BIO_s_accept(void); > >const BIO_METHOD *BIO_s_fd(void); >const BIO_METHOD *BIO_s_log(void); >const BIO_METHOD *BIO_s_bio(void); >const BIO_METHOD *BIO_s_null(void); >const BIO_METHOD *BIO_f_null(void); >const BIO_METHOD *BIO_f_buffer(void); >const BIO_METHOD *BIO_f_readbuffer(void); >const BIO_METHOD *BIO_f_linebuffer(void); >const BIO_METHOD *BIO_f_nbio_test(void); >const BIO_METHOD *BIO_f_prefix(void); >const BIO_METHOD *BIO_s_core(void); > >const BIO_METHOD *BIO_s_dgram_pair(void); >const BIO_METHOD *BIO_s_datagram(void); >int BIO_dgram_non_fatal_error(int error); >BIO *BIO_new_dgram(int fd, int close_flag); ># 812 "/usr/include/openssl/bio.h" 3 4 >int BIO_sock_should_retry(int i); >int BIO_sock_non_fatal_error(int error); >int BIO_err_is_non_fatal(unsigned int errcode); >int BIO_socket_wait(int fd, int for_read, time_t max_time); > >int BIO_wait(BIO *bio, time_t max_time, unsigned int nap_milliseconds); >int BIO_do_connect_retry(BIO *bio, int timeout, int nap_milliseconds); > >int BIO_fd_should_retry(int i); >int BIO_fd_non_fatal_error(int error); >int BIO_dump_cb(int (*cb) (const void *data, size_t len, void *u), > void *u, const void *s, int len); >int BIO_dump_indent_cb(int (*cb) (const void *data, size_t len, void *u), > void *u, const void *s, int len, int indent); >int BIO_dump(BIO *b, const void *bytes, int len); >int BIO_dump_indent(BIO *b, const void *bytes, int len, int indent); > >int BIO_dump_fp(FILE *fp, const void *s, int len); >int BIO_dump_indent_fp(FILE *fp, const void *s, int len, int indent); > >int BIO_hex_string(BIO *out, int indent, int width, const void *data, > int datalen); > > >BIO_ADDR *BIO_ADDR_new(void); >int BIO_ADDR_copy(BIO_ADDR *dst, const BIO_ADDR *src); >BIO_ADDR *BIO_ADDR_dup(const BIO_ADDR *ap); >int BIO_ADDR_rawmake(BIO_ADDR *ap, int family, > const void *where, size_t wherelen, unsigned short port); >void BIO_ADDR_free(BIO_ADDR *); >void BIO_ADDR_clear(BIO_ADDR *ap); >int BIO_ADDR_family(const BIO_ADDR *ap); >int BIO_ADDR_rawaddress(const BIO_ADDR *ap, void *p, size_t *l); >unsigned short BIO_ADDR_rawport(const BIO_ADDR *ap); >char *BIO_ADDR_hostname_string(const BIO_ADDR *ap, int numeric); >char *BIO_ADDR_service_string(const BIO_ADDR *ap, int numeric); >char *BIO_ADDR_path_string(const BIO_ADDR *ap); > >const BIO_ADDRINFO *BIO_ADDRINFO_next(const BIO_ADDRINFO *bai); >int BIO_ADDRINFO_family(const BIO_ADDRINFO *bai); >int BIO_ADDRINFO_socktype(const BIO_ADDRINFO *bai); >int BIO_ADDRINFO_protocol(const BIO_ADDRINFO *bai); >const BIO_ADDR *BIO_ADDRINFO_address(const BIO_ADDRINFO *bai); >void BIO_ADDRINFO_free(BIO_ADDRINFO *bai); > >enum BIO_hostserv_priorities { > BIO_PARSE_PRIO_HOST, BIO_PARSE_PRIO_SERV >}; >int BIO_parse_hostserv(const char *hostserv, char **host, char **service, > enum BIO_hostserv_priorities hostserv_prio); >enum BIO_lookup_type { > BIO_LOOKUP_CLIENT, BIO_LOOKUP_SERVER >}; >int BIO_lookup(const char *host, const char *service, > enum BIO_lookup_type lookup_type, > int family, int socktype, BIO_ADDRINFO **res); >int BIO_lookup_ex(const char *host, const char *service, > int lookup_type, int family, int socktype, int protocol, > BIO_ADDRINFO **res); >int BIO_sock_error(int sock); >int BIO_socket_ioctl(int fd, long type, void *arg); >int BIO_socket_nbio(int fd, int mode); >int BIO_sock_init(void); > > > >int BIO_set_tcp_ndelay(int sock, int turn_on); > >__attribute__((deprecated("Since OpenSSL " "1.1.0"))) struct hostent *BIO_gethostbyname(const char *name); >__attribute__((deprecated("Since OpenSSL " "1.1.0"))) int BIO_get_port(const char *str, unsigned short *port_ptr); >__attribute__((deprecated("Since OpenSSL " "1.1.0"))) int BIO_get_host_ip(const char *str, unsigned char *ip); >__attribute__((deprecated("Since OpenSSL " "1.1.0"))) int BIO_get_accept_socket(char *host_port, int mode); >__attribute__((deprecated("Since OpenSSL " "1.1.0"))) int BIO_accept(int sock, char **ip_port); > > >union BIO_sock_info_u { > BIO_ADDR *addr; >}; >enum BIO_sock_info_type { > BIO_SOCK_INFO_ADDRESS >}; >int BIO_sock_info(int sock, > enum BIO_sock_info_type type, union BIO_sock_info_u *info); ># 903 "/usr/include/openssl/bio.h" 3 4 >int BIO_socket(int domain, int socktype, int protocol, int options); >int BIO_connect(int sock, const BIO_ADDR *addr, int options); >int BIO_bind(int sock, const BIO_ADDR *addr, int options); >int BIO_listen(int sock, const BIO_ADDR *addr, int options); >int BIO_accept_ex(int accept_sock, BIO_ADDR *addr, int options); >int BIO_closesocket(int sock); > >BIO *BIO_new_socket(int sock, int close_flag); >BIO *BIO_new_connect(const char *host_port); >BIO *BIO_new_accept(const char *host_port); > > >BIO *BIO_new_fd(int fd, int close_flag); > >int BIO_new_bio_pair(BIO **bio1, size_t writebuf1, > BIO **bio2, size_t writebuf2); > >int BIO_new_bio_dgram_pair(BIO **bio1, size_t writebuf1, > BIO **bio2, size_t writebuf2); ># 930 "/usr/include/openssl/bio.h" 3 4 >void BIO_copy_next_retry(BIO *b); ># 954 "/usr/include/openssl/bio.h" 3 4 >int BIO_printf(BIO *bio, const char *format, ...) >__attribute__((__format__(__gnu_printf__, 2, 3))); >int BIO_vprintf(BIO *bio, const char *format, va_list args) >__attribute__((__format__(__gnu_printf__, 2, 0))); >int BIO_snprintf(char *buf, size_t n, const char *format, ...) >__attribute__((__format__(__gnu_printf__, 3, 4))); >int BIO_vsnprintf(char *buf, size_t n, const char *format, va_list args) >__attribute__((__format__(__gnu_printf__, 3, 0))); > > > > >BIO_METHOD *BIO_meth_new(int type, const char *name); >void BIO_meth_free(BIO_METHOD *biom); >int (*BIO_meth_get_write(const BIO_METHOD *biom)) (BIO *, const char *, int); >int (*BIO_meth_get_write_ex(const BIO_METHOD *biom)) (BIO *, const char *, size_t, > size_t *); >int BIO_meth_set_write(BIO_METHOD *biom, > int (*write) (BIO *, const char *, int)); >int BIO_meth_set_write_ex(BIO_METHOD *biom, > int (*bwrite) (BIO *, const char *, size_t, size_t *)); >int BIO_meth_set_sendmmsg(BIO_METHOD *biom, > int (*f) (BIO *, BIO_MSG *, size_t, size_t, > uint64_t, size_t *)); >int (*BIO_meth_get_sendmmsg(const BIO_METHOD *biom))(BIO *, BIO_MSG *, > size_t, size_t, > uint64_t, size_t *); >int (*BIO_meth_get_read(const BIO_METHOD *biom)) (BIO *, char *, int); >int (*BIO_meth_get_read_ex(const BIO_METHOD *biom)) (BIO *, char *, size_t, size_t *); >int BIO_meth_set_read(BIO_METHOD *biom, > int (*read) (BIO *, char *, int)); >int BIO_meth_set_read_ex(BIO_METHOD *biom, > int (*bread) (BIO *, char *, size_t, size_t *)); >int BIO_meth_set_recvmmsg(BIO_METHOD *biom, > int (*f) (BIO *, BIO_MSG *, size_t, size_t, > uint64_t, size_t *)); >int (*BIO_meth_get_recvmmsg(const BIO_METHOD *biom))(BIO *, BIO_MSG *, > size_t, size_t, > uint64_t, size_t *); >int (*BIO_meth_get_puts(const BIO_METHOD *biom)) (BIO *, const char *); >int BIO_meth_set_puts(BIO_METHOD *biom, > int (*puts) (BIO *, const char *)); >int (*BIO_meth_get_gets(const BIO_METHOD *biom)) (BIO *, char *, int); >int BIO_meth_set_gets(BIO_METHOD *biom, > int (*ossl_gets) (BIO *, char *, int)); >long (*BIO_meth_get_ctrl(const BIO_METHOD *biom)) (BIO *, int, long, void *); >int BIO_meth_set_ctrl(BIO_METHOD *biom, > long (*ctrl) (BIO *, int, long, void *)); >int (*BIO_meth_get_create(const BIO_METHOD *bion)) (BIO *); >int BIO_meth_set_create(BIO_METHOD *biom, int (*create) (BIO *)); >int (*BIO_meth_get_destroy(const BIO_METHOD *biom)) (BIO *); >int BIO_meth_set_destroy(BIO_METHOD *biom, int (*destroy) (BIO *)); >long (*BIO_meth_get_callback_ctrl(const BIO_METHOD *biom)) > (BIO *, int, BIO_info_cb *); >int BIO_meth_set_callback_ctrl(BIO_METHOD *biom, > long (*callback_ctrl) (BIO *, int, > BIO_info_cb *)); ># 61 "iperf.h" 2 ># 1 "/usr/include/openssl/evp.h" 1 3 4 ># 12 "/usr/include/openssl/evp.h" 3 4 > ># 26 "/usr/include/openssl/evp.h" 3 4 ># 1 "/usr/include/openssl/types.h" 1 3 4 ># 27 "/usr/include/openssl/evp.h" 2 3 4 > ># 1 "/usr/include/openssl/core_dispatch.h" 1 3 4 ># 12 "/usr/include/openssl/core_dispatch.h" 3 4 > ># 64 "/usr/include/openssl/core_dispatch.h" 3 4 >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; } > > >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; } > > >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; } > > > >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; } > > >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; } > >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; } > > > >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; } > > > >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; } > >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; } > > >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; } > > > > > > > >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; } > > >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; } > > > > > >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; } > > >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; } > > >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; } > > >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; } > > >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; } > > >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; } > > > >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; } > > >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; } > > >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; } > > >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; } > > > >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; } > > >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; } ># 161 "/usr/include/openssl/core_dispatch.h" 3 4 >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; } > >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; } >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; } > >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; } > >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; } >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; } >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; } >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; } >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; } > >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; } > >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; } ># 186 "/usr/include/openssl/core_dispatch.h" 3 4 >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; } > > > > > > > >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; } > > >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; } > > >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; } > >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; } > >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; } > > > >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; } > > > >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; } > >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; } ># 226 "/usr/include/openssl/core_dispatch.h" 3 4 >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; } > > > > > >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; } > >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; } > >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; } > >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; } > >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; } > >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; } > > > > >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; } > >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; } > > >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; } > > >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; } > > >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; } > > >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; } > > >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; } > > >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; } ># 305 "/usr/include/openssl/core_dispatch.h" 3 4 >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; } >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; } >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; } > >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; } > > >typedef int (OSSL_FUNC_digest_squeeze_fn)(void *dctx, unsigned char *out, size_t *outl, size_t outsz); static __attribute__((unused)) inline OSSL_FUNC_digest_squeeze_fn *OSSL_FUNC_digest_squeeze(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_digest_squeeze_fn *)opf->function; } > > >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; } > > > >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; } >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; } > >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; } >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; } > >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; } > >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; } > >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; } > >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; } ># 351 "/usr/include/openssl/core_dispatch.h" 3 4 >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; } >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; } > > > > > >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; } > > > > > >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; } > > > >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; } > > >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; } > > > >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; } >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; } >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; } >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; } > >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; } > >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; } > >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; } > >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; } ># 404 "/usr/include/openssl/core_dispatch.h" 3 4 >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; } >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; } >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; } >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; } > >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; } > >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; } > > >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; } >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; } > >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; } > >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; } >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; } > >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; } ># 439 "/usr/include/openssl/core_dispatch.h" 3 4 >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; } >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; } >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; } >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; } >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; } > >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; } >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; } > >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; } > >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; } >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; } > >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; } ># 478 "/usr/include/openssl/core_dispatch.h" 3 4 >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; } > > >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; } >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; } > > > > >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; } >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; } > > > >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; } > > > >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; } > > >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; } >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; } >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; } >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; } >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; } > >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; } > >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; } >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; } > >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; } > >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; } > > > > >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; } > >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; } > > > > >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; } ># 582 "/usr/include/openssl/core_dispatch.h" 3 4 >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; } ># 591 "/usr/include/openssl/core_dispatch.h" 3 4 >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; } > >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; } > >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; } > >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; } > > >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; } > >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; } > > > >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; } > > > > >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; } > > > > >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; } > >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; } > > > > >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; } > >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; } > > > > >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; } > > > > >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; } > > > >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; } > > > > >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; } ># 653 "/usr/include/openssl/core_dispatch.h" 3 4 >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; } > >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; } > >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; } > > >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; } > > > > >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; } > > > > > >typedef const OSSL_PARAM * (OSSL_FUNC_keymgmt_import_types_ex_fn)(void *provctx, int selection); static __attribute__((unused)) inline OSSL_FUNC_keymgmt_import_types_ex_fn *OSSL_FUNC_keymgmt_import_types_ex(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_keymgmt_import_types_ex_fn *)opf->function; } > >typedef const OSSL_PARAM * (OSSL_FUNC_keymgmt_export_types_ex_fn)(void *provctx, int selection); static __attribute__((unused)) inline OSSL_FUNC_keymgmt_export_types_ex_fn *OSSL_FUNC_keymgmt_export_types_ex(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_keymgmt_export_types_ex_fn *)opf->function; } ># 689 "/usr/include/openssl/core_dispatch.h" 3 4 >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; } >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; } > >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; } > >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; } >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; } >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; } >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; } > >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; } > >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; } > >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; } ># 734 "/usr/include/openssl/core_dispatch.h" 3 4 >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; } > >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; } > >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; } > > > >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; } > >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; } > > > > >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; } > >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; } > > >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; } > > >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; } > >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; } > > >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; } > > >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; } > > >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; } > >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; } > >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; } > > >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; } >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; } >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; } > >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; } > >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; } > >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; } > >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; } > >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; } > >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; } > >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; } ># 809 "/usr/include/openssl/core_dispatch.h" 3 4 >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; } >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; } > >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; } > > > > >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; } > >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; } > > > > >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; } >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; } >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; } > >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; } > >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; } > >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; } ># 850 "/usr/include/openssl/core_dispatch.h" 3 4 >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; } >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; } > >typedef int (OSSL_FUNC_kem_auth_encapsulate_init_fn)(void *ctx, void *provkey, void *authprivkey, const OSSL_PARAM params[]); static __attribute__((unused)) inline OSSL_FUNC_kem_auth_encapsulate_init_fn *OSSL_FUNC_kem_auth_encapsulate_init(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_kem_auth_encapsulate_init_fn *)opf->function; } > > >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; } > > > >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; } > >typedef int (OSSL_FUNC_kem_auth_decapsulate_init_fn)(void *ctx, void *provkey, void *authpubkey, const OSSL_PARAM params[]); static __attribute__((unused)) inline OSSL_FUNC_kem_auth_decapsulate_init_fn *OSSL_FUNC_kem_auth_decapsulate_init(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_kem_auth_decapsulate_init_fn *)opf->function; } > > >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; } > > >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; } >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; } >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; } >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; } > >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; } > >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; } ># 889 "/usr/include/openssl/core_dispatch.h" 3 4 >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; } >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; } >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; } >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; } > >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; } > >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; } > > >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; } > >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; } > > > > > >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; } > >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; } ># 920 "/usr/include/openssl/core_dispatch.h" 3 4 >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; } >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; } >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; } >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; } > >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; } > >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; } > > >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; } > >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; } > > > >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; } ># 962 "/usr/include/openssl/core_dispatch.h" 3 4 >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; } >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; } >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; } > >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; } > >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; } > > > >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; } >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; } >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; } > > >typedef int (OSSL_FUNC_store_delete_fn)(void *provctx, const char *uri, const OSSL_PARAM params[], OSSL_PASSPHRASE_CALLBACK *pw_cb, void *pw_cbarg); static __attribute__((unused)) inline OSSL_FUNC_store_delete_fn *OSSL_FUNC_store_delete(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_store_delete_fn *)opf->function; } > > >typedef void * (OSSL_FUNC_store_open_ex_fn)(void *provctx, const char *uri, const OSSL_PARAM params[], OSSL_PASSPHRASE_CALLBACK *pw_cb, void *pw_cbarg); static __attribute__((unused)) inline OSSL_FUNC_store_open_ex_fn *OSSL_FUNC_store_open_ex(const OSSL_DISPATCH *opf) { return (OSSL_FUNC_store_open_ex_fn *)opf->function; } ># 29 "/usr/include/openssl/evp.h" 2 3 4 > > ># 1 "/usr/include/openssl/evperr.h" 1 3 4 ># 13 "/usr/include/openssl/evperr.h" 3 4 > ># 32 "/usr/include/openssl/evp.h" 2 3 4 ># 1 "/usr/include/openssl/params.h" 1 3 4 ># 13 "/usr/include/openssl/params.h" 3 4 > > > ># 1 "/usr/include/openssl/bn.h" 1 3 4 ># 13 "/usr/include/openssl/bn.h" 3 4 > ># 25 "/usr/include/openssl/bn.h" 3 4 ># 1 "/usr/include/openssl/types.h" 1 3 4 ># 26 "/usr/include/openssl/bn.h" 2 3 4 > ># 1 "/usr/include/openssl/bnerr.h" 1 3 4 ># 13 "/usr/include/openssl/bnerr.h" 3 4 > ># 28 "/usr/include/openssl/bn.h" 2 3 4 ># 76 "/usr/include/openssl/bn.h" 3 4 >void BN_set_flags(BIGNUM *b, int n); >int BN_get_flags(const BIGNUM *b, int n); ># 94 "/usr/include/openssl/bn.h" 3 4 >void BN_with_flags(BIGNUM *dest, const BIGNUM *b, int flags); > > >int BN_GENCB_call(BN_GENCB *cb, int a, int b); > >BN_GENCB *BN_GENCB_new(void); >void BN_GENCB_free(BN_GENCB *cb); > > >void BN_GENCB_set_old(BN_GENCB *gencb, void (*callback) (int, int, void *), > void *cb_arg); > > >void BN_GENCB_set(BN_GENCB *gencb, int (*callback) (int, int, BN_GENCB *), > void *cb_arg); > >void *BN_GENCB_get_arg(BN_GENCB *cb); ># 191 "/usr/include/openssl/bn.h" 3 4 >int BN_abs_is_word(const BIGNUM *a, const unsigned int w); >int BN_is_zero(const BIGNUM *a); >int BN_is_one(const BIGNUM *a); >int BN_is_word(const BIGNUM *a, const unsigned int w); >int BN_is_odd(const BIGNUM *a); > > > >void BN_zero_ex(BIGNUM *a); > > > > > > > >const BIGNUM *BN_value_one(void); >char *BN_options(void); >BN_CTX *BN_CTX_new_ex(OSSL_LIB_CTX *ctx); >BN_CTX *BN_CTX_new(void); >BN_CTX *BN_CTX_secure_new_ex(OSSL_LIB_CTX *ctx); >BN_CTX *BN_CTX_secure_new(void); >void BN_CTX_free(BN_CTX *c); >void BN_CTX_start(BN_CTX *ctx); >BIGNUM *BN_CTX_get(BN_CTX *ctx); >void BN_CTX_end(BN_CTX *ctx); >int BN_rand_ex(BIGNUM *rnd, int bits, int top, int bottom, > unsigned int strength, BN_CTX *ctx); >int BN_rand(BIGNUM *rnd, int bits, int top, int bottom); >int BN_priv_rand_ex(BIGNUM *rnd, int bits, int top, int bottom, > unsigned int strength, BN_CTX *ctx); >int BN_priv_rand(BIGNUM *rnd, int bits, int top, int bottom); >int BN_rand_range_ex(BIGNUM *r, const BIGNUM *range, unsigned int strength, > BN_CTX *ctx); >int BN_rand_range(BIGNUM *rnd, const BIGNUM *range); >int BN_priv_rand_range_ex(BIGNUM *r, const BIGNUM *range, > unsigned int strength, BN_CTX *ctx); >int BN_priv_rand_range(BIGNUM *rnd, const BIGNUM *range); > >__attribute__((deprecated("Since OpenSSL " "3.0"))) >int BN_pseudo_rand(BIGNUM *rnd, int bits, int top, int bottom); >__attribute__((deprecated("Since OpenSSL " "3.0"))) >int BN_pseudo_rand_range(BIGNUM *rnd, const BIGNUM *range); > >int BN_num_bits(const BIGNUM *a); >int BN_num_bits_word(unsigned int l); >int BN_security_bits(int L, int N); >BIGNUM *BN_new(void); >BIGNUM *BN_secure_new(void); >void BN_clear_free(BIGNUM *a); >BIGNUM *BN_copy(BIGNUM *a, const BIGNUM *b); >void BN_swap(BIGNUM *a, BIGNUM *b); >BIGNUM *BN_bin2bn(const unsigned char *s, int len, BIGNUM *ret); >BIGNUM *BN_signed_bin2bn(const unsigned char *s, int len, BIGNUM *ret); >int BN_bn2bin(const BIGNUM *a, unsigned char *to); >int BN_bn2binpad(const BIGNUM *a, unsigned char *to, int tolen); >int BN_signed_bn2bin(const BIGNUM *a, unsigned char *to, int tolen); >BIGNUM *BN_lebin2bn(const unsigned char *s, int len, BIGNUM *ret); >BIGNUM *BN_signed_lebin2bn(const unsigned char *s, int len, BIGNUM *ret); >int BN_bn2lebinpad(const BIGNUM *a, unsigned char *to, int tolen); >int BN_signed_bn2lebin(const BIGNUM *a, unsigned char *to, int tolen); >BIGNUM *BN_native2bn(const unsigned char *s, int len, BIGNUM *ret); >BIGNUM *BN_signed_native2bn(const unsigned char *s, int len, BIGNUM *ret); >int BN_bn2nativepad(const BIGNUM *a, unsigned char *to, int tolen); >int BN_signed_bn2native(const BIGNUM *a, unsigned char *to, int tolen); >BIGNUM *BN_mpi2bn(const unsigned char *s, int len, BIGNUM *ret); >int BN_bn2mpi(const BIGNUM *a, unsigned char *to); >int BN_sub(BIGNUM *r, const BIGNUM *a, const BIGNUM *b); >int BN_usub(BIGNUM *r, const BIGNUM *a, const BIGNUM *b); >int BN_uadd(BIGNUM *r, const BIGNUM *a, const BIGNUM *b); >int BN_add(BIGNUM *r, const BIGNUM *a, const BIGNUM *b); >int BN_mul(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx); >int BN_sqr(BIGNUM *r, const BIGNUM *a, BN_CTX *ctx); > > > > >void BN_set_negative(BIGNUM *b, int n); > > > > >int BN_is_negative(const BIGNUM *b); > >int BN_div(BIGNUM *dv, BIGNUM *rem, const BIGNUM *m, const BIGNUM *d, > BN_CTX *ctx); > >int BN_nnmod(BIGNUM *r, const BIGNUM *m, const BIGNUM *d, BN_CTX *ctx); >int BN_mod_add(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, const BIGNUM *m, > BN_CTX *ctx); >int BN_mod_add_quick(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, > const BIGNUM *m); >int BN_mod_sub(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, const BIGNUM *m, > BN_CTX *ctx); >int BN_mod_sub_quick(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, > const BIGNUM *m); >int BN_mod_mul(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, const BIGNUM *m, > BN_CTX *ctx); >int BN_mod_sqr(BIGNUM *r, const BIGNUM *a, const BIGNUM *m, BN_CTX *ctx); >int BN_mod_lshift1(BIGNUM *r, const BIGNUM *a, const BIGNUM *m, BN_CTX *ctx); >int BN_mod_lshift1_quick(BIGNUM *r, const BIGNUM *a, const BIGNUM *m); >int BN_mod_lshift(BIGNUM *r, const BIGNUM *a, int n, const BIGNUM *m, > BN_CTX *ctx); >int BN_mod_lshift_quick(BIGNUM *r, const BIGNUM *a, int n, const BIGNUM *m); > >unsigned int BN_mod_word(const BIGNUM *a, unsigned int w); >unsigned int BN_div_word(BIGNUM *a, unsigned int w); >int BN_mul_word(BIGNUM *a, unsigned int w); >int BN_add_word(BIGNUM *a, unsigned int w); >int BN_sub_word(BIGNUM *a, unsigned int w); >int BN_set_word(BIGNUM *a, unsigned int w); >unsigned int BN_get_word(const BIGNUM *a); > >int BN_cmp(const BIGNUM *a, const BIGNUM *b); >void BN_free(BIGNUM *a); >int BN_is_bit_set(const BIGNUM *a, int n); >int BN_lshift(BIGNUM *r, const BIGNUM *a, int n); >int BN_lshift1(BIGNUM *r, const BIGNUM *a); >int BN_exp(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, BN_CTX *ctx); > >int BN_mod_exp(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, > const BIGNUM *m, BN_CTX *ctx); >int BN_mod_exp_mont(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, > const BIGNUM *m, BN_CTX *ctx, BN_MONT_CTX *m_ctx); >int BN_mod_exp_mont_consttime(BIGNUM *rr, const BIGNUM *a, const BIGNUM *p, > const BIGNUM *m, BN_CTX *ctx, > BN_MONT_CTX *in_mont); >int BN_mod_exp_mont_word(BIGNUM *r, unsigned int a, const BIGNUM *p, > const BIGNUM *m, BN_CTX *ctx, BN_MONT_CTX *m_ctx); >int BN_mod_exp2_mont(BIGNUM *r, const BIGNUM *a1, const BIGNUM *p1, > const BIGNUM *a2, const BIGNUM *p2, const BIGNUM *m, > BN_CTX *ctx, BN_MONT_CTX *m_ctx); >int BN_mod_exp_simple(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, > const BIGNUM *m, BN_CTX *ctx); >int BN_mod_exp_mont_consttime_x2(BIGNUM *rr1, const BIGNUM *a1, const BIGNUM *p1, > const BIGNUM *m1, BN_MONT_CTX *in_mont1, > BIGNUM *rr2, const BIGNUM *a2, const BIGNUM *p2, > const BIGNUM *m2, BN_MONT_CTX *in_mont2, > BN_CTX *ctx); > >int BN_mask_bits(BIGNUM *a, int n); > >int BN_print_fp(FILE *fp, const BIGNUM *a); > >int BN_print(BIO *bio, const BIGNUM *a); >int BN_reciprocal(BIGNUM *r, const BIGNUM *m, int len, BN_CTX *ctx); >int BN_rshift(BIGNUM *r, const BIGNUM *a, int n); >int BN_rshift1(BIGNUM *r, const BIGNUM *a); >void BN_clear(BIGNUM *a); >BIGNUM *BN_dup(const BIGNUM *a); >int BN_ucmp(const BIGNUM *a, const BIGNUM *b); >int BN_set_bit(BIGNUM *a, int n); >int BN_clear_bit(BIGNUM *a, int n); >char *BN_bn2hex(const BIGNUM *a); >char *BN_bn2dec(const BIGNUM *a); >int BN_hex2bn(BIGNUM **a, const char *str); >int BN_dec2bn(BIGNUM **a, const char *str); >int BN_asc2bn(BIGNUM **a, const char *str); >int BN_gcd(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx); >int BN_kronecker(const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx); > > >int BN_are_coprime(BIGNUM *a, const BIGNUM *b, BN_CTX *ctx); >BIGNUM *BN_mod_inverse(BIGNUM *ret, > const BIGNUM *a, const BIGNUM *n, BN_CTX *ctx); >BIGNUM *BN_mod_sqrt(BIGNUM *ret, > const BIGNUM *a, const BIGNUM *n, BN_CTX *ctx); > >void BN_consttime_swap(unsigned int swap, BIGNUM *a, BIGNUM *b, int nwords); > > > >__attribute__((deprecated("Since OpenSSL " "0.9.8"))) >BIGNUM *BN_generate_prime(BIGNUM *ret, int bits, int safe, > const BIGNUM *add, const BIGNUM *rem, > void (*callback) (int, int, void *), > void *cb_arg); >__attribute__((deprecated("Since OpenSSL " "0.9.8"))) >int BN_is_prime(const BIGNUM *p, int nchecks, > void (*callback) (int, int, void *), > BN_CTX *ctx, void *cb_arg); >__attribute__((deprecated("Since OpenSSL " "0.9.8"))) >int BN_is_prime_fasttest(const BIGNUM *p, int nchecks, > void (*callback) (int, int, void *), > BN_CTX *ctx, void *cb_arg, > int do_trial_division); > > >__attribute__((deprecated("Since OpenSSL " "3.0"))) >int BN_is_prime_ex(const BIGNUM *p, int nchecks, BN_CTX *ctx, BN_GENCB *cb); >__attribute__((deprecated("Since OpenSSL " "3.0"))) >int BN_is_prime_fasttest_ex(const BIGNUM *p, int nchecks, BN_CTX *ctx, > int do_trial_division, BN_GENCB *cb); > > >int BN_generate_prime_ex2(BIGNUM *ret, int bits, int safe, > const BIGNUM *add, const BIGNUM *rem, BN_GENCB *cb, > BN_CTX *ctx); >int BN_generate_prime_ex(BIGNUM *ret, int bits, int safe, const BIGNUM *add, > const BIGNUM *rem, BN_GENCB *cb); >int BN_check_prime(const BIGNUM *p, BN_CTX *ctx, BN_GENCB *cb); > > >__attribute__((deprecated("Since OpenSSL " "3.0"))) >int BN_X931_generate_Xpq(BIGNUM *Xp, BIGNUM *Xq, int nbits, BN_CTX *ctx); > >__attribute__((deprecated("Since OpenSSL " "3.0"))) >int BN_X931_derive_prime_ex(BIGNUM *p, BIGNUM *p1, BIGNUM *p2, > const BIGNUM *Xp, const BIGNUM *Xp1, > const BIGNUM *Xp2, const BIGNUM *e, BN_CTX *ctx, > BN_GENCB *cb); >__attribute__((deprecated("Since OpenSSL " "3.0"))) >int BN_X931_generate_prime_ex(BIGNUM *p, BIGNUM *p1, BIGNUM *p2, BIGNUM *Xp1, > BIGNUM *Xp2, const BIGNUM *Xp, const BIGNUM *e, > BN_CTX *ctx, BN_GENCB *cb); > > >BN_MONT_CTX *BN_MONT_CTX_new(void); >int BN_mod_mul_montgomery(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, > BN_MONT_CTX *mont, BN_CTX *ctx); >int BN_to_montgomery(BIGNUM *r, const BIGNUM *a, BN_MONT_CTX *mont, > BN_CTX *ctx); >int BN_from_montgomery(BIGNUM *r, const BIGNUM *a, BN_MONT_CTX *mont, > BN_CTX *ctx); >void BN_MONT_CTX_free(BN_MONT_CTX *mont); >int BN_MONT_CTX_set(BN_MONT_CTX *mont, const BIGNUM *mod, BN_CTX *ctx); >BN_MONT_CTX *BN_MONT_CTX_copy(BN_MONT_CTX *to, BN_MONT_CTX *from); >BN_MONT_CTX *BN_MONT_CTX_set_locked(BN_MONT_CTX **pmont, CRYPTO_RWLOCK *lock, > const BIGNUM *mod, BN_CTX *ctx); > > > > > >BN_BLINDING *BN_BLINDING_new(const BIGNUM *A, const BIGNUM *Ai, BIGNUM *mod); >void BN_BLINDING_free(BN_BLINDING *b); >int BN_BLINDING_update(BN_BLINDING *b, BN_CTX *ctx); >int BN_BLINDING_convert(BIGNUM *n, BN_BLINDING *b, BN_CTX *ctx); >int BN_BLINDING_invert(BIGNUM *n, BN_BLINDING *b, BN_CTX *ctx); >int BN_BLINDING_convert_ex(BIGNUM *n, BIGNUM *r, BN_BLINDING *b, BN_CTX *); >int BN_BLINDING_invert_ex(BIGNUM *n, const BIGNUM *r, BN_BLINDING *b, > BN_CTX *); > >int BN_BLINDING_is_current_thread(BN_BLINDING *b); >void BN_BLINDING_set_current_thread(BN_BLINDING *b); >int BN_BLINDING_lock(BN_BLINDING *b); >int BN_BLINDING_unlock(BN_BLINDING *b); > >unsigned long BN_BLINDING_get_flags(const BN_BLINDING *); >void BN_BLINDING_set_flags(BN_BLINDING *, unsigned long); >BN_BLINDING *BN_BLINDING_create_param(BN_BLINDING *b, > const BIGNUM *e, BIGNUM *m, BN_CTX *ctx, > int (*bn_mod_exp) (BIGNUM *r, > const BIGNUM *a, > const BIGNUM *p, > const BIGNUM *m, > BN_CTX *ctx, > BN_MONT_CTX *m_ctx), > BN_MONT_CTX *m_ctx); > >__attribute__((deprecated("Since OpenSSL " "0.9.8"))) >void BN_set_params(int mul, int high, int low, int mont); >__attribute__((deprecated("Since OpenSSL " "0.9.8"))) >int BN_get_params(int which); > > >BN_RECP_CTX *BN_RECP_CTX_new(void); >void BN_RECP_CTX_free(BN_RECP_CTX *recp); >int BN_RECP_CTX_set(BN_RECP_CTX *recp, const BIGNUM *rdiv, BN_CTX *ctx); >int BN_mod_mul_reciprocal(BIGNUM *r, const BIGNUM *x, const BIGNUM *y, > BN_RECP_CTX *recp, BN_CTX *ctx); >int BN_mod_exp_recp(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, > const BIGNUM *m, BN_CTX *ctx); >int BN_div_recp(BIGNUM *dv, BIGNUM *rem, const BIGNUM *m, > BN_RECP_CTX *recp, BN_CTX *ctx); ># 479 "/usr/include/openssl/bn.h" 3 4 >int BN_GF2m_add(BIGNUM *r, const BIGNUM *a, const BIGNUM *b); > > > > >int BN_GF2m_mod(BIGNUM *r, const BIGNUM *a, const BIGNUM *p); > >int BN_GF2m_mod_mul(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, > const BIGNUM *p, BN_CTX *ctx); > >int BN_GF2m_mod_sqr(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, BN_CTX *ctx); > >int BN_GF2m_mod_inv(BIGNUM *r, const BIGNUM *b, const BIGNUM *p, BN_CTX *ctx); > >int BN_GF2m_mod_div(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, > const BIGNUM *p, BN_CTX *ctx); > >int BN_GF2m_mod_exp(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, > const BIGNUM *p, BN_CTX *ctx); > >int BN_GF2m_mod_sqrt(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, > BN_CTX *ctx); > >int BN_GF2m_mod_solve_quad(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, > BN_CTX *ctx); ># 512 "/usr/include/openssl/bn.h" 3 4 >int BN_GF2m_mod_arr(BIGNUM *r, const BIGNUM *a, const int p[]); > >int BN_GF2m_mod_mul_arr(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, > const int p[], BN_CTX *ctx); > >int BN_GF2m_mod_sqr_arr(BIGNUM *r, const BIGNUM *a, const int p[], > BN_CTX *ctx); > >int BN_GF2m_mod_inv_arr(BIGNUM *r, const BIGNUM *b, const int p[], > BN_CTX *ctx); > >int BN_GF2m_mod_div_arr(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, > const int p[], BN_CTX *ctx); > >int BN_GF2m_mod_exp_arr(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, > const int p[], BN_CTX *ctx); > >int BN_GF2m_mod_sqrt_arr(BIGNUM *r, const BIGNUM *a, > const int p[], BN_CTX *ctx); > >int BN_GF2m_mod_solve_quad_arr(BIGNUM *r, const BIGNUM *a, > const int p[], BN_CTX *ctx); >int BN_GF2m_poly2arr(const BIGNUM *a, int p[], int max); >int BN_GF2m_arr2poly(const int p[], BIGNUM *a); > > > > > > >int BN_nist_mod_192(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, BN_CTX *ctx); >int BN_nist_mod_224(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, BN_CTX *ctx); >int BN_nist_mod_256(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, BN_CTX *ctx); >int BN_nist_mod_384(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, BN_CTX *ctx); >int BN_nist_mod_521(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, BN_CTX *ctx); > >const BIGNUM *BN_get0_nist_prime_192(void); >const BIGNUM *BN_get0_nist_prime_224(void); >const BIGNUM *BN_get0_nist_prime_256(void); >const BIGNUM *BN_get0_nist_prime_384(void); >const BIGNUM *BN_get0_nist_prime_521(void); > >int (*BN_nist_mod_func(const BIGNUM *p)) (BIGNUM *r, const BIGNUM *a, > const BIGNUM *field, BN_CTX *ctx); > >int BN_generate_dsa_nonce(BIGNUM *out, const BIGNUM *range, > const BIGNUM *priv, const unsigned char *message, > size_t message_len, BN_CTX *ctx); > > >BIGNUM *BN_get_rfc2409_prime_768(BIGNUM *bn); >BIGNUM *BN_get_rfc2409_prime_1024(BIGNUM *bn); > > >BIGNUM *BN_get_rfc3526_prime_1536(BIGNUM *bn); >BIGNUM *BN_get_rfc3526_prime_2048(BIGNUM *bn); >BIGNUM *BN_get_rfc3526_prime_3072(BIGNUM *bn); >BIGNUM *BN_get_rfc3526_prime_4096(BIGNUM *bn); >BIGNUM *BN_get_rfc3526_prime_6144(BIGNUM *bn); >BIGNUM *BN_get_rfc3526_prime_8192(BIGNUM *bn); ># 584 "/usr/include/openssl/bn.h" 3 4 >int BN_bntest_rand(BIGNUM *rnd, int bits, int top, int bottom); ># 17 "/usr/include/openssl/params.h" 2 3 4 ># 71 "/usr/include/openssl/params.h" 3 4 >OSSL_PARAM *OSSL_PARAM_locate(OSSL_PARAM *p, const char *key); >const OSSL_PARAM *OSSL_PARAM_locate_const(const OSSL_PARAM *p, const char *key); > > >OSSL_PARAM OSSL_PARAM_construct_int(const char *key, int *buf); >OSSL_PARAM OSSL_PARAM_construct_uint(const char *key, unsigned int *buf); >OSSL_PARAM OSSL_PARAM_construct_long(const char *key, long int *buf); >OSSL_PARAM OSSL_PARAM_construct_ulong(const char *key, unsigned long int *buf); >OSSL_PARAM OSSL_PARAM_construct_int32(const char *key, int32_t *buf); >OSSL_PARAM OSSL_PARAM_construct_uint32(const char *key, uint32_t *buf); >OSSL_PARAM OSSL_PARAM_construct_int64(const char *key, int64_t *buf); >OSSL_PARAM OSSL_PARAM_construct_uint64(const char *key, uint64_t *buf); >OSSL_PARAM OSSL_PARAM_construct_size_t(const char *key, size_t *buf); >OSSL_PARAM OSSL_PARAM_construct_time_t(const char *key, time_t *buf); >OSSL_PARAM OSSL_PARAM_construct_BN(const char *key, unsigned char *buf, > size_t bsize); >OSSL_PARAM OSSL_PARAM_construct_double(const char *key, double *buf); >OSSL_PARAM OSSL_PARAM_construct_utf8_string(const char *key, char *buf, > size_t bsize); >OSSL_PARAM OSSL_PARAM_construct_utf8_ptr(const char *key, char **buf, > size_t bsize); >OSSL_PARAM OSSL_PARAM_construct_octet_string(const char *key, void *buf, > size_t bsize); >OSSL_PARAM OSSL_PARAM_construct_octet_ptr(const char *key, void **buf, > size_t bsize); >OSSL_PARAM OSSL_PARAM_construct_end(void); > >int OSSL_PARAM_allocate_from_text(OSSL_PARAM *to, > const OSSL_PARAM *paramdefs, > const char *key, const char *value, > size_t value_n, int *found); > >int OSSL_PARAM_get_int(const OSSL_PARAM *p, int *val); >int OSSL_PARAM_get_uint(const OSSL_PARAM *p, unsigned int *val); >int OSSL_PARAM_get_long(const OSSL_PARAM *p, long int *val); >int OSSL_PARAM_get_ulong(const OSSL_PARAM *p, unsigned long int *val); >int OSSL_PARAM_get_int32(const OSSL_PARAM *p, int32_t *val); >int OSSL_PARAM_get_uint32(const OSSL_PARAM *p, uint32_t *val); >int OSSL_PARAM_get_int64(const OSSL_PARAM *p, int64_t *val); >int OSSL_PARAM_get_uint64(const OSSL_PARAM *p, uint64_t *val); >int OSSL_PARAM_get_size_t(const OSSL_PARAM *p, size_t *val); >int OSSL_PARAM_get_time_t(const OSSL_PARAM *p, time_t *val); > >int OSSL_PARAM_set_int(OSSL_PARAM *p, int val); >int OSSL_PARAM_set_uint(OSSL_PARAM *p, unsigned int val); >int OSSL_PARAM_set_long(OSSL_PARAM *p, long int val); >int OSSL_PARAM_set_ulong(OSSL_PARAM *p, unsigned long int val); >int OSSL_PARAM_set_int32(OSSL_PARAM *p, int32_t val); >int OSSL_PARAM_set_uint32(OSSL_PARAM *p, uint32_t val); >int OSSL_PARAM_set_int64(OSSL_PARAM *p, int64_t val); >int OSSL_PARAM_set_uint64(OSSL_PARAM *p, uint64_t val); >int OSSL_PARAM_set_size_t(OSSL_PARAM *p, size_t val); >int OSSL_PARAM_set_time_t(OSSL_PARAM *p, time_t val); > >int OSSL_PARAM_get_double(const OSSL_PARAM *p, double *val); >int OSSL_PARAM_set_double(OSSL_PARAM *p, double val); > >int OSSL_PARAM_get_BN(const OSSL_PARAM *p, BIGNUM **val); >int OSSL_PARAM_set_BN(OSSL_PARAM *p, const BIGNUM *val); > >int OSSL_PARAM_get_utf8_string(const OSSL_PARAM *p, char **val, size_t max_len); >int OSSL_PARAM_set_utf8_string(OSSL_PARAM *p, const char *val); > >int OSSL_PARAM_get_octet_string(const OSSL_PARAM *p, void **val, size_t max_len, > size_t *used_len); >int OSSL_PARAM_set_octet_string(OSSL_PARAM *p, const void *val, size_t len); > >int OSSL_PARAM_get_utf8_ptr(const OSSL_PARAM *p, const char **val); >int OSSL_PARAM_set_utf8_ptr(OSSL_PARAM *p, const char *val); > >int OSSL_PARAM_get_octet_ptr(const OSSL_PARAM *p, const void **val, > size_t *used_len); >int OSSL_PARAM_set_octet_ptr(OSSL_PARAM *p, const void *val, > size_t used_len); > >int OSSL_PARAM_get_utf8_string_ptr(const OSSL_PARAM *p, const char **val); >int OSSL_PARAM_get_octet_string_ptr(const OSSL_PARAM *p, const void **val, > size_t *used_len); > >int OSSL_PARAM_modified(const OSSL_PARAM *p); >void OSSL_PARAM_set_all_unmodified(OSSL_PARAM *p); > >OSSL_PARAM *OSSL_PARAM_dup(const OSSL_PARAM *p); >OSSL_PARAM *OSSL_PARAM_merge(const OSSL_PARAM *p1, const OSSL_PARAM *p2); >void OSSL_PARAM_free(OSSL_PARAM *p); ># 33 "/usr/include/openssl/evp.h" 2 3 4 ># 44 "/usr/include/openssl/evp.h" 3 4 ># 1 "/usr/include/openssl/objects.h" 1 3 4 ># 12 "/usr/include/openssl/objects.h" 3 4 > > > > > > > ># 1 "/usr/include/openssl/obj_mac.h" 1 3 4 ># 14 "/usr/include/openssl/obj_mac.h" 3 4 > ># 20 "/usr/include/openssl/objects.h" 2 3 4 > ># 1 "/usr/include/openssl/asn1.h" 1 3 4 ># 17 "/usr/include/openssl/asn1.h" 3 4 > ># 32 "/usr/include/openssl/asn1.h" 3 4 ># 1 "/usr/include/openssl/asn1err.h" 1 3 4 ># 13 "/usr/include/openssl/asn1err.h" 3 4 > ># 33 "/usr/include/openssl/asn1.h" 2 3 4 > > ># 1 "/usr/include/openssl/types.h" 1 3 4 ># 36 "/usr/include/openssl/asn1.h" 2 3 4 ># 132 "/usr/include/openssl/asn1.h" 3 4 >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; } ># 186 "/usr/include/openssl/asn1.h" 3 4 >struct asn1_string_st { > int length; > int type; > unsigned char *data; > > > > > > long flags; >}; > > > > > > > >typedef struct ASN1_ENCODING_st { > unsigned char *enc; > long len; > int modified; >} ASN1_ENCODING; ># 226 "/usr/include/openssl/asn1.h" 3 4 >struct asn1_string_table_st { > int nid; > long minsize; > long maxsize; > unsigned long mask; > unsigned long flags; >}; > >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; } ># 276 "/usr/include/openssl/asn1.h" 3 4 >typedef struct ASN1_TEMPLATE_st ASN1_TEMPLATE; >typedef struct ASN1_TLC_st ASN1_TLC; > >typedef struct ASN1_VALUE_st ASN1_VALUE; ># 372 "/usr/include/openssl/asn1.h" 3 4 >typedef void *d2i_of_void(void **, const unsigned char **, long); >typedef int i2d_of_void(const void *, unsigned char **); ># 418 "/usr/include/openssl/asn1.h" 3 4 >typedef const ASN1_ITEM *ASN1_ITEM_EXP (void); ># 523 "/usr/include/openssl/asn1.h" 3 4 >struct asn1_type_st { > int type; > union { > char *ptr; > ASN1_BOOLEAN boolean; > ASN1_STRING *asn1_string; > ASN1_OBJECT *object; > ASN1_INTEGER *integer; > ASN1_ENUMERATED *enumerated; > ASN1_BIT_STRING *bit_string; > ASN1_OCTET_STRING *octet_string; > ASN1_PRINTABLESTRING *printablestring; > ASN1_T61STRING *t61string; > ASN1_IA5STRING *ia5string; > ASN1_GENERALSTRING *generalstring; > ASN1_BMPSTRING *bmpstring; > ASN1_UNIVERSALSTRING *universalstring; > ASN1_UTCTIME *utctime; > ASN1_GENERALIZEDTIME *generalizedtime; > ASN1_VISIBLESTRING *visiblestring; > ASN1_UTF8STRING *utf8string; > > > > > ASN1_STRING *set; > ASN1_STRING *sequence; > ASN1_VALUE *asn1_value; > } value; >}; > >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; } ># 582 "/usr/include/openssl/asn1.h" 3 4 >typedef struct stack_st_ASN1_TYPE ASN1_SEQUENCE_ANY; > >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); >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); > > >typedef struct BIT_STRING_BITNAME_st { > int bitnum; > const char *lname; > const char *sname; >} BIT_STRING_BITNAME; ># 623 "/usr/include/openssl/asn1.h" 3 4 >extern ASN1_TYPE *ASN1_TYPE_new(void); extern void ASN1_TYPE_free(ASN1_TYPE *a); >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); > >int ASN1_TYPE_get(const ASN1_TYPE *a); >void ASN1_TYPE_set(ASN1_TYPE *a, int type, void *value); >int ASN1_TYPE_set1(ASN1_TYPE *a, int type, const void *value); >int ASN1_TYPE_cmp(const ASN1_TYPE *a, const ASN1_TYPE *b); > >ASN1_TYPE *ASN1_TYPE_pack_sequence(const ASN1_ITEM *it, void *s, ASN1_TYPE **t); >void *ASN1_TYPE_unpack_sequence(const ASN1_ITEM *it, const ASN1_TYPE *t); > >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; } ># 662 "/usr/include/openssl/asn1.h" 3 4 >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); > >ASN1_STRING *ASN1_STRING_new(void); >void ASN1_STRING_free(ASN1_STRING *a); >void ASN1_STRING_clear_free(ASN1_STRING *a); >int ASN1_STRING_copy(ASN1_STRING *dst, const ASN1_STRING *str); >extern ASN1_STRING *ASN1_STRING_dup(const ASN1_STRING *a); >ASN1_STRING *ASN1_STRING_type_new(int type); >int ASN1_STRING_cmp(const ASN1_STRING *a, const ASN1_STRING *b); > > > > >int ASN1_STRING_set(ASN1_STRING *str, const void *data, int len); >void ASN1_STRING_set0(ASN1_STRING *str, void *data, int len); >int ASN1_STRING_length(const ASN1_STRING *x); > >__attribute__((deprecated("Since OpenSSL " "3.0"))) void ASN1_STRING_length_set(ASN1_STRING *x, int n); > >int ASN1_STRING_type(const ASN1_STRING *x); > >__attribute__((deprecated("Since OpenSSL " "1.1.0"))) unsigned char *ASN1_STRING_data(ASN1_STRING *x); > >const unsigned char *ASN1_STRING_get0_data(const ASN1_STRING *x); > >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); >int ASN1_BIT_STRING_set(ASN1_BIT_STRING *a, unsigned char *d, int length); >int ASN1_BIT_STRING_set_bit(ASN1_BIT_STRING *a, int n, int value); >int ASN1_BIT_STRING_get_bit(const ASN1_BIT_STRING *a, int n); >int ASN1_BIT_STRING_check(const ASN1_BIT_STRING *a, > const unsigned char *flags, int flags_len); > >int ASN1_BIT_STRING_name_print(BIO *out, ASN1_BIT_STRING *bs, > BIT_STRING_BITNAME *tbl, int indent); >int ASN1_BIT_STRING_num_asc(const char *name, BIT_STRING_BITNAME *tbl); >int ASN1_BIT_STRING_set_asc(ASN1_BIT_STRING *bs, const char *name, int value, > BIT_STRING_BITNAME *tbl); > >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; } ># 729 "/usr/include/openssl/asn1.h" 3 4 >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); >ASN1_INTEGER *d2i_ASN1_UINTEGER(ASN1_INTEGER **a, const unsigned char **pp, > long length); >extern ASN1_INTEGER *ASN1_INTEGER_dup(const ASN1_INTEGER *a); >int ASN1_INTEGER_cmp(const ASN1_INTEGER *x, const ASN1_INTEGER *y); > >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); > >int ASN1_UTCTIME_check(const ASN1_UTCTIME *a); >ASN1_UTCTIME *ASN1_UTCTIME_set(ASN1_UTCTIME *s, time_t t); >ASN1_UTCTIME *ASN1_UTCTIME_adj(ASN1_UTCTIME *s, time_t t, > int offset_day, long offset_sec); >int ASN1_UTCTIME_set_string(ASN1_UTCTIME *s, const char *str); >int ASN1_UTCTIME_cmp_time_t(const ASN1_UTCTIME *s, time_t t); > >int ASN1_GENERALIZEDTIME_check(const ASN1_GENERALIZEDTIME *a); >ASN1_GENERALIZEDTIME *ASN1_GENERALIZEDTIME_set(ASN1_GENERALIZEDTIME *s, > time_t t); >ASN1_GENERALIZEDTIME *ASN1_GENERALIZEDTIME_adj(ASN1_GENERALIZEDTIME *s, > time_t t, int offset_day, > long offset_sec); >int ASN1_GENERALIZEDTIME_set_string(ASN1_GENERALIZEDTIME *s, const char *str); > >int ASN1_TIME_diff(int *pday, int *psec, > const ASN1_TIME *from, const ASN1_TIME *to); > >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); >extern ASN1_OCTET_STRING *ASN1_OCTET_STRING_dup(const ASN1_OCTET_STRING *a); >int ASN1_OCTET_STRING_cmp(const ASN1_OCTET_STRING *a, > const ASN1_OCTET_STRING *b); >int ASN1_OCTET_STRING_set(ASN1_OCTET_STRING *str, const unsigned char *data, > int len); > >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; } ># 790 "/usr/include/openssl/asn1.h" 3 4 >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); >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); >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); >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); >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); > >int UTF8_getc(const unsigned char *str, int len, unsigned long *val); >int UTF8_putc(unsigned char *str, int len, unsigned long value); > >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; } ># 827 "/usr/include/openssl/asn1.h" 3 4 >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); > >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); >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); >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); >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); >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); >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); >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); >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); >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); > >extern ASN1_TIME *ASN1_TIME_dup(const ASN1_TIME *a); >extern ASN1_UTCTIME *ASN1_UTCTIME_dup(const ASN1_UTCTIME *a); >extern ASN1_GENERALIZEDTIME *ASN1_GENERALIZEDTIME_dup(const ASN1_GENERALIZEDTIME *a); > >extern const ASN1_ITEM * ASN1_OCTET_STRING_NDEF_it(void); > >ASN1_TIME *ASN1_TIME_set(ASN1_TIME *s, time_t t); >ASN1_TIME *ASN1_TIME_adj(ASN1_TIME *s, time_t t, > int offset_day, long offset_sec); >int ASN1_TIME_check(const ASN1_TIME *t); >ASN1_GENERALIZEDTIME *ASN1_TIME_to_generalizedtime(const ASN1_TIME *t, > ASN1_GENERALIZEDTIME **out); >int ASN1_TIME_set_string(ASN1_TIME *s, const char *str); >int ASN1_TIME_set_string_X509(ASN1_TIME *s, const char *str); >int ASN1_TIME_to_tm(const ASN1_TIME *s, struct tm *tm); >int ASN1_TIME_normalize(ASN1_TIME *s); >int ASN1_TIME_cmp_time_t(const ASN1_TIME *s, time_t t); >int ASN1_TIME_compare(const ASN1_TIME *a, const ASN1_TIME *b); > >int i2a_ASN1_INTEGER(BIO *bp, const ASN1_INTEGER *a); >int a2i_ASN1_INTEGER(BIO *bp, ASN1_INTEGER *bs, char *buf, int size); >int i2a_ASN1_ENUMERATED(BIO *bp, const ASN1_ENUMERATED *a); >int a2i_ASN1_ENUMERATED(BIO *bp, ASN1_ENUMERATED *bs, char *buf, int size); >int i2a_ASN1_OBJECT(BIO *bp, const ASN1_OBJECT *a); >int a2i_ASN1_STRING(BIO *bp, ASN1_STRING *bs, char *buf, int size); >int i2a_ASN1_STRING(BIO *bp, const ASN1_STRING *a, int type); >int i2t_ASN1_OBJECT(char *buf, int buf_len, const ASN1_OBJECT *a); > >int a2d_ASN1_OBJECT(unsigned char *out, int olen, const char *buf, int num); >ASN1_OBJECT *ASN1_OBJECT_create(int nid, unsigned char *data, int len, > const char *sn, const char *ln); > >int ASN1_INTEGER_get_int64(int64_t *pr, const ASN1_INTEGER *a); >int ASN1_INTEGER_set_int64(ASN1_INTEGER *a, int64_t r); >int ASN1_INTEGER_get_uint64(uint64_t *pr, const ASN1_INTEGER *a); >int ASN1_INTEGER_set_uint64(ASN1_INTEGER *a, uint64_t r); > >int ASN1_INTEGER_set(ASN1_INTEGER *a, long v); >long ASN1_INTEGER_get(const ASN1_INTEGER *a); >ASN1_INTEGER *BN_to_ASN1_INTEGER(const BIGNUM *bn, ASN1_INTEGER *ai); >BIGNUM *ASN1_INTEGER_to_BN(const ASN1_INTEGER *ai, BIGNUM *bn); > >int ASN1_ENUMERATED_get_int64(int64_t *pr, const ASN1_ENUMERATED *a); >int ASN1_ENUMERATED_set_int64(ASN1_ENUMERATED *a, int64_t r); > > >int ASN1_ENUMERATED_set(ASN1_ENUMERATED *a, long v); >long ASN1_ENUMERATED_get(const ASN1_ENUMERATED *a); >ASN1_ENUMERATED *BN_to_ASN1_ENUMERATED(const BIGNUM *bn, ASN1_ENUMERATED *ai); >BIGNUM *ASN1_ENUMERATED_to_BN(const ASN1_ENUMERATED *ai, BIGNUM *bn); > > > >int ASN1_PRINTABLE_type(const unsigned char *s, int max); > >unsigned long ASN1_tag2bit(int tag); > > >int ASN1_get_object(const unsigned char **pp, long *plength, int *ptag, > int *pclass, long omax); >int ASN1_check_infinite_end(unsigned char **p, long len); >int ASN1_const_check_infinite_end(const unsigned char **p, long len); >void ASN1_put_object(unsigned char **pp, int constructed, int length, > int tag, int xclass); >int ASN1_put_eoc(unsigned char **pp); >int ASN1_object_size(int constructed, int length, int tag); > > >void *ASN1_dup(i2d_of_void *i2d, d2i_of_void *d2i, const void *x); > > > > > > >void *ASN1_item_dup(const ASN1_ITEM *it, const void *x); >int ASN1_item_sign_ex(const ASN1_ITEM *it, X509_ALGOR *algor1, > X509_ALGOR *algor2, ASN1_BIT_STRING *signature, > const void *data, const ASN1_OCTET_STRING *id, > EVP_PKEY *pkey, const EVP_MD *md, OSSL_LIB_CTX *libctx, > const char *propq); >int ASN1_item_verify_ex(const ASN1_ITEM *it, const X509_ALGOR *alg, > const ASN1_BIT_STRING *signature, const void *data, > const ASN1_OCTET_STRING *id, EVP_PKEY *pkey, > OSSL_LIB_CTX *libctx, const char *propq); ># 932 "/usr/include/openssl/asn1.h" 3 4 >void *ASN1_d2i_fp(void *(*xnew) (void), d2i_of_void *d2i, FILE *in, void **x); > > > > > > > >void *ASN1_item_d2i_fp_ex(const ASN1_ITEM *it, FILE *in, void *x, > OSSL_LIB_CTX *libctx, const char *propq); >void *ASN1_item_d2i_fp(const ASN1_ITEM *it, FILE *in, void *x); >int ASN1_i2d_fp(i2d_of_void *i2d, FILE *out, const void *x); > > > > > > >int ASN1_item_i2d_fp(const ASN1_ITEM *it, FILE *out, const void *x); >int ASN1_STRING_print_ex_fp(FILE *fp, const ASN1_STRING *str, unsigned long flags); > > >int ASN1_STRING_to_UTF8(unsigned char **out, const ASN1_STRING *in); > >void *ASN1_d2i_bio(void *(*xnew) (void), d2i_of_void *d2i, BIO *in, void **x); > > > > > > > >void *ASN1_item_d2i_bio_ex(const ASN1_ITEM *it, BIO *in, void *pval, > OSSL_LIB_CTX *libctx, const char *propq); >void *ASN1_item_d2i_bio(const ASN1_ITEM *it, BIO *in, void *pval); >int ASN1_i2d_bio(i2d_of_void *i2d, BIO *out, const void *x); > > > > > > >int ASN1_item_i2d_bio(const ASN1_ITEM *it, BIO *out, const void *x); >BIO *ASN1_item_i2d_mem_bio(const ASN1_ITEM *it, const ASN1_VALUE *val); >int ASN1_UTCTIME_print(BIO *fp, const ASN1_UTCTIME *a); >int ASN1_GENERALIZEDTIME_print(BIO *fp, const ASN1_GENERALIZEDTIME *a); >int ASN1_TIME_print(BIO *bp, const ASN1_TIME *tm); >int ASN1_TIME_print_ex(BIO *bp, const ASN1_TIME *tm, unsigned long flags); >int ASN1_STRING_print(BIO *bp, const ASN1_STRING *v); >int ASN1_STRING_print_ex(BIO *out, const ASN1_STRING *str, unsigned long flags); >int ASN1_buf_print(BIO *bp, const unsigned char *buf, size_t buflen, int off); >int ASN1_bn_print(BIO *bp, const char *number, const BIGNUM *num, > unsigned char *buf, int off); >int ASN1_parse(BIO *bp, const unsigned char *pp, long len, int indent); >int ASN1_parse_dump(BIO *bp, const unsigned char *pp, long len, int indent, > int dump); >const char *ASN1_tag2str(int tag); > > > >int ASN1_UNIVERSALSTRING_to_string(ASN1_UNIVERSALSTRING *s); > >int ASN1_TYPE_set_octetstring(ASN1_TYPE *a, unsigned char *data, int len); >int ASN1_TYPE_get_octetstring(const ASN1_TYPE *a, unsigned char *data, int max_len); >int ASN1_TYPE_set_int_octetstring(ASN1_TYPE *a, long num, > unsigned char *data, int len); >int ASN1_TYPE_get_int_octetstring(const ASN1_TYPE *a, long *num, > unsigned char *data, int max_len); > >void *ASN1_item_unpack(const ASN1_STRING *oct, const ASN1_ITEM *it); >void *ASN1_item_unpack_ex(const ASN1_STRING *oct, const ASN1_ITEM *it, > OSSL_LIB_CTX *libctx, const char *propq); > >ASN1_STRING *ASN1_item_pack(void *obj, const ASN1_ITEM *it, > ASN1_OCTET_STRING **oct); > >void ASN1_STRING_set_default_mask(unsigned long mask); >int ASN1_STRING_set_default_mask_asc(const char *p); >unsigned long ASN1_STRING_get_default_mask(void); >int ASN1_mbstring_copy(ASN1_STRING **out, const unsigned char *in, int len, > int inform, unsigned long mask); >int ASN1_mbstring_ncopy(ASN1_STRING **out, const unsigned char *in, int len, > int inform, unsigned long mask, > long minsize, long maxsize); > >ASN1_STRING *ASN1_STRING_set_by_NID(ASN1_STRING **out, > const unsigned char *in, int inlen, > int inform, int nid); >ASN1_STRING_TABLE *ASN1_STRING_TABLE_get(int nid); >int ASN1_STRING_TABLE_add(int, long, long, unsigned long, unsigned long); >void ASN1_STRING_TABLE_cleanup(void); > > > > >ASN1_VALUE *ASN1_item_new(const ASN1_ITEM *it); >ASN1_VALUE *ASN1_item_new_ex(const ASN1_ITEM *it, OSSL_LIB_CTX *libctx, > const char *propq); >void ASN1_item_free(ASN1_VALUE *val, const ASN1_ITEM *it); >ASN1_VALUE *ASN1_item_d2i_ex(ASN1_VALUE **val, const unsigned char **in, > long len, const ASN1_ITEM *it, > OSSL_LIB_CTX *libctx, const char *propq); >ASN1_VALUE *ASN1_item_d2i(ASN1_VALUE **val, const unsigned char **in, > long len, const ASN1_ITEM *it); >int ASN1_item_i2d(const ASN1_VALUE *val, unsigned char **out, const ASN1_ITEM *it); >int ASN1_item_ndef_i2d(const ASN1_VALUE *val, unsigned char **out, > const ASN1_ITEM *it); > >void ASN1_add_oid_module(void); >void ASN1_add_stable_module(void); > >ASN1_TYPE *ASN1_generate_nconf(const char *str, CONF *nconf); >ASN1_TYPE *ASN1_generate_v3(const char *str, X509V3_CTX *cnf); >int ASN1_str2mask(const char *str, unsigned long *pmask); ># 1068 "/usr/include/openssl/asn1.h" 3 4 >int ASN1_item_print(BIO *out, const ASN1_VALUE *ifld, int indent, > const ASN1_ITEM *it, const ASN1_PCTX *pctx); >ASN1_PCTX *ASN1_PCTX_new(void); >void ASN1_PCTX_free(ASN1_PCTX *p); >unsigned long ASN1_PCTX_get_flags(const ASN1_PCTX *p); >void ASN1_PCTX_set_flags(ASN1_PCTX *p, unsigned long flags); >unsigned long ASN1_PCTX_get_nm_flags(const ASN1_PCTX *p); >void ASN1_PCTX_set_nm_flags(ASN1_PCTX *p, unsigned long flags); >unsigned long ASN1_PCTX_get_cert_flags(const ASN1_PCTX *p); >void ASN1_PCTX_set_cert_flags(ASN1_PCTX *p, unsigned long flags); >unsigned long ASN1_PCTX_get_oid_flags(const ASN1_PCTX *p); >void ASN1_PCTX_set_oid_flags(ASN1_PCTX *p, unsigned long flags); >unsigned long ASN1_PCTX_get_str_flags(const ASN1_PCTX *p); >void ASN1_PCTX_set_str_flags(ASN1_PCTX *p, unsigned long flags); > >ASN1_SCTX *ASN1_SCTX_new(int (*scan_cb) (ASN1_SCTX *ctx)); >void ASN1_SCTX_free(ASN1_SCTX *p); >const ASN1_ITEM *ASN1_SCTX_get_item(ASN1_SCTX *p); >const ASN1_TEMPLATE *ASN1_SCTX_get_template(ASN1_SCTX *p); >unsigned long ASN1_SCTX_get_flags(ASN1_SCTX *p); >void ASN1_SCTX_set_app_data(ASN1_SCTX *p, void *data); >void *ASN1_SCTX_get_app_data(ASN1_SCTX *p); > >const BIO_METHOD *BIO_f_asn1(void); > > >BIO *BIO_new_NDEF(BIO *out, ASN1_VALUE *val, const ASN1_ITEM *it); > >int i2d_ASN1_bio_stream(BIO *out, ASN1_VALUE *val, BIO *in, int flags, > const ASN1_ITEM *it); >int PEM_write_bio_ASN1_stream(BIO *out, ASN1_VALUE *val, BIO *in, int flags, > const char *hdr, const ASN1_ITEM *it); > >int SMIME_write_ASN1(BIO *bio, ASN1_VALUE *val, BIO *data, int flags, > int ctype_nid, int econt_nid, > struct stack_st_X509_ALGOR *mdalgs, const ASN1_ITEM *it); >int SMIME_write_ASN1_ex(BIO *bio, ASN1_VALUE *val, BIO *data, int flags, > int ctype_nid, int econt_nid, > struct stack_st_X509_ALGOR *mdalgs, const ASN1_ITEM *it, > OSSL_LIB_CTX *libctx, const char *propq); >ASN1_VALUE *SMIME_read_ASN1(BIO *bio, BIO **bcont, const ASN1_ITEM *it); >ASN1_VALUE *SMIME_read_ASN1_ex(BIO *bio, int flags, BIO **bcont, > const ASN1_ITEM *it, ASN1_VALUE **x, > OSSL_LIB_CTX *libctx, const char *propq); >int SMIME_crlf_copy(BIO *in, BIO *out, int flags); >int SMIME_text(BIO *in, BIO *out); > >const ASN1_ITEM *ASN1_ITEM_lookup(const char *name); >const ASN1_ITEM *ASN1_ITEM_get(size_t i); ># 22 "/usr/include/openssl/objects.h" 2 3 4 ># 1 "/usr/include/openssl/objectserr.h" 1 3 4 ># 13 "/usr/include/openssl/objectserr.h" 3 4 > ># 23 "/usr/include/openssl/objects.h" 2 3 4 ># 43 "/usr/include/openssl/objects.h" 3 4 >typedef struct obj_name_st { > int type; > int alias; > const char *name; > const char *data; >} OBJ_NAME; > > > >int OBJ_NAME_init(void); >int OBJ_NAME_new_index(unsigned long (*hash_func) (const char *), > int (*cmp_func) (const char *, const char *), > void (*free_func) (const char *, int, const char *)); >const char *OBJ_NAME_get(const char *name, int type); >int OBJ_NAME_add(const char *name, int type, const char *data); >int OBJ_NAME_remove(const char *name, int type); >void OBJ_NAME_cleanup(int type); >void OBJ_NAME_do_all(int type, void (*fn) (const OBJ_NAME *, void *arg), > void *arg); >void OBJ_NAME_do_all_sorted(int type, > void (*fn) (const OBJ_NAME *, void *arg), > void *arg); > >extern ASN1_OBJECT *OBJ_dup(const ASN1_OBJECT *a); >ASN1_OBJECT *OBJ_nid2obj(int n); >const char *OBJ_nid2ln(int n); >const char *OBJ_nid2sn(int n); >int OBJ_obj2nid(const ASN1_OBJECT *o); >ASN1_OBJECT *OBJ_txt2obj(const char *s, int no_name); >int OBJ_obj2txt(char *buf, int buf_len, const ASN1_OBJECT *a, int no_name); >int OBJ_txt2nid(const char *s); >int OBJ_ln2nid(const char *s); >int OBJ_sn2nid(const char *s); >int OBJ_cmp(const ASN1_OBJECT *a, const ASN1_OBJECT *b); >const void *OBJ_bsearch_(const void *key, const void *base, int num, int size, > int (*cmp) (const void *, const void *)); >const void *OBJ_bsearch_ex_(const void *key, const void *base, int num, > int size, > int (*cmp) (const void *, const void *), > int flags); ># 163 "/usr/include/openssl/objects.h" 3 4 >int OBJ_new_nid(int num); >int OBJ_add_object(const ASN1_OBJECT *obj); >int OBJ_create(const char *oid, const char *sn, const char *ln); > > > >int OBJ_create_objects(BIO *in); > >size_t OBJ_length(const ASN1_OBJECT *obj); >const unsigned char *OBJ_get0_data(const ASN1_OBJECT *obj); > >int OBJ_find_sigid_algs(int signid, int *pdig_nid, int *ppkey_nid); >int OBJ_find_sigid_by_algs(int *psignid, int dig_nid, int pkey_nid); >int OBJ_add_sigid(int signid, int dig_id, int pkey_id); >void OBJ_sigid_free(void); ># 45 "/usr/include/openssl/evp.h" 2 3 4 ># 100 "/usr/include/openssl/evp.h" 3 4 >int EVP_set_default_properties(OSSL_LIB_CTX *libctx, const char *propq); >int EVP_default_properties_is_fips_enabled(OSSL_LIB_CTX *libctx); >int EVP_default_properties_enable_fips(OSSL_LIB_CTX *libctx, int enable); ># 111 "/usr/include/openssl/evp.h" 3 4 >__attribute__((deprecated("Since OpenSSL " "3.0"))) EVP_MD *EVP_MD_meth_new(int md_type, int pkey_type); >__attribute__((deprecated("Since OpenSSL " "3.0"))) EVP_MD *EVP_MD_meth_dup(const EVP_MD *md); >__attribute__((deprecated("Since OpenSSL " "3.0"))) void EVP_MD_meth_free(EVP_MD *md); >__attribute__((deprecated("Since OpenSSL " "3.0"))) >int EVP_MD_meth_set_input_blocksize(EVP_MD *md, int blocksize); >__attribute__((deprecated("Since OpenSSL " "3.0"))) >int EVP_MD_meth_set_result_size(EVP_MD *md, int resultsize); >__attribute__((deprecated("Since OpenSSL " "3.0"))) >int EVP_MD_meth_set_app_datasize(EVP_MD *md, int datasize); >__attribute__((deprecated("Since OpenSSL " "3.0"))) >int EVP_MD_meth_set_flags(EVP_MD *md, unsigned long flags); >__attribute__((deprecated("Since OpenSSL " "3.0"))) >int EVP_MD_meth_set_init(EVP_MD *md, int (*init)(EVP_MD_CTX *ctx)); >__attribute__((deprecated("Since OpenSSL " "3.0"))) >int EVP_MD_meth_set_update(EVP_MD *md, int (*update)(EVP_MD_CTX *ctx, > const void *data, > size_t count)); >__attribute__((deprecated("Since OpenSSL " "3.0"))) >int EVP_MD_meth_set_final(EVP_MD *md, int (*final)(EVP_MD_CTX *ctx, > unsigned char *md)); >__attribute__((deprecated("Since OpenSSL " "3.0"))) >int EVP_MD_meth_set_copy(EVP_MD *md, int (*copy)(EVP_MD_CTX *to, > const EVP_MD_CTX *from)); >__attribute__((deprecated("Since OpenSSL " "3.0"))) >int EVP_MD_meth_set_cleanup(EVP_MD *md, int (*cleanup)(EVP_MD_CTX *ctx)); >__attribute__((deprecated("Since OpenSSL " "3.0"))) >int EVP_MD_meth_set_ctrl(EVP_MD *md, int (*ctrl)(EVP_MD_CTX *ctx, int cmd, > int p1, void *p2)); >__attribute__((deprecated("Since OpenSSL " "3.0"))) int EVP_MD_meth_get_input_blocksize(const EVP_MD *md); >__attribute__((deprecated("Since OpenSSL " "3.0"))) int EVP_MD_meth_get_result_size(const EVP_MD *md); >__attribute__((deprecated("Since OpenSSL " "3.0"))) int EVP_MD_meth_get_app_datasize(const EVP_MD *md); >__attribute__((deprecated("Since OpenSSL " "3.0"))) unsigned long EVP_MD_meth_get_flags(const EVP_MD *md); >__attribute__((deprecated("Since OpenSSL " "3.0"))) >int (*EVP_MD_meth_get_init(const EVP_MD *md))(EVP_MD_CTX *ctx); >__attribute__((deprecated("Since OpenSSL " "3.0"))) >int (*EVP_MD_meth_get_update(const EVP_MD *md))(EVP_MD_CTX *ctx, > const void *data, size_t count); >__attribute__((deprecated("Since OpenSSL " "3.0"))) >int (*EVP_MD_meth_get_final(const EVP_MD *md))(EVP_MD_CTX *ctx, > unsigned char *md); >__attribute__((deprecated("Since OpenSSL " "3.0"))) >int (*EVP_MD_meth_get_copy(const EVP_MD *md))(EVP_MD_CTX *to, > const EVP_MD_CTX *from); >__attribute__((deprecated("Since OpenSSL " "3.0"))) >int (*EVP_MD_meth_get_cleanup(const EVP_MD *md))(EVP_MD_CTX *ctx); >__attribute__((deprecated("Since OpenSSL " "3.0"))) >int (*EVP_MD_meth_get_ctrl(const EVP_MD *md))(EVP_MD_CTX *ctx, int cmd, > int p1, void *p2); ># 235 "/usr/include/openssl/evp.h" 3 4 >__attribute__((deprecated("Since OpenSSL " "3.0"))) >EVP_CIPHER *EVP_CIPHER_meth_new(int cipher_type, int block_size, int key_len); >__attribute__((deprecated("Since OpenSSL " "3.0"))) >EVP_CIPHER *EVP_CIPHER_meth_dup(const EVP_CIPHER *cipher); >__attribute__((deprecated("Since OpenSSL " "3.0"))) >void EVP_CIPHER_meth_free(EVP_CIPHER *cipher); >__attribute__((deprecated("Since OpenSSL " "3.0"))) >int EVP_CIPHER_meth_set_iv_length(EVP_CIPHER *cipher, int iv_len); >__attribute__((deprecated("Since OpenSSL " "3.0"))) >int EVP_CIPHER_meth_set_flags(EVP_CIPHER *cipher, unsigned long flags); >__attribute__((deprecated("Since OpenSSL " "3.0"))) >int EVP_CIPHER_meth_set_impl_ctx_size(EVP_CIPHER *cipher, int ctx_size); >__attribute__((deprecated("Since OpenSSL " "3.0"))) >int EVP_CIPHER_meth_set_init(EVP_CIPHER *cipher, > int (*init) (EVP_CIPHER_CTX *ctx, > const unsigned char *key, > const unsigned char *iv, > int enc)); >__attribute__((deprecated("Since OpenSSL " "3.0"))) >int EVP_CIPHER_meth_set_do_cipher(EVP_CIPHER *cipher, > int (*do_cipher) (EVP_CIPHER_CTX *ctx, > unsigned char *out, > const unsigned char *in, > size_t inl)); >__attribute__((deprecated("Since OpenSSL " "3.0"))) >int EVP_CIPHER_meth_set_cleanup(EVP_CIPHER *cipher, > int (*cleanup) (EVP_CIPHER_CTX *)); >__attribute__((deprecated("Since OpenSSL " "3.0"))) >int EVP_CIPHER_meth_set_set_asn1_params(EVP_CIPHER *cipher, > int (*set_asn1_parameters) (EVP_CIPHER_CTX *, > ASN1_TYPE *)); >__attribute__((deprecated("Since OpenSSL " "3.0"))) >int EVP_CIPHER_meth_set_get_asn1_params(EVP_CIPHER *cipher, > int (*get_asn1_parameters) (EVP_CIPHER_CTX *, > ASN1_TYPE *)); >__attribute__((deprecated("Since OpenSSL " "3.0"))) >int EVP_CIPHER_meth_set_ctrl(EVP_CIPHER *cipher, > int (*ctrl) (EVP_CIPHER_CTX *, int type, > int arg, void *ptr)); >__attribute__((deprecated("Since OpenSSL " "3.0"))) int >(*EVP_CIPHER_meth_get_init(const EVP_CIPHER *cipher))(EVP_CIPHER_CTX *ctx, > const unsigned char *key, > const unsigned char *iv, > int enc); >__attribute__((deprecated("Since OpenSSL " "3.0"))) int >(*EVP_CIPHER_meth_get_do_cipher(const EVP_CIPHER *cipher))(EVP_CIPHER_CTX *ctx, > unsigned char *out, > const unsigned char *in, > size_t inl); >__attribute__((deprecated("Since OpenSSL " "3.0"))) int >(*EVP_CIPHER_meth_get_cleanup(const EVP_CIPHER *cipher))(EVP_CIPHER_CTX *); >__attribute__((deprecated("Since OpenSSL " "3.0"))) int >(*EVP_CIPHER_meth_get_set_asn1_params(const EVP_CIPHER *cipher))(EVP_CIPHER_CTX *, > ASN1_TYPE *); >__attribute__((deprecated("Since OpenSSL " "3.0"))) int >(*EVP_CIPHER_meth_get_get_asn1_params(const EVP_CIPHER *cipher))(EVP_CIPHER_CTX *, > ASN1_TYPE *); >__attribute__((deprecated("Since OpenSSL " "3.0"))) int >(*EVP_CIPHER_meth_get_ctrl(const EVP_CIPHER *cipher))(EVP_CIPHER_CTX *, int type, > int arg, void *ptr); ># 453 "/usr/include/openssl/evp.h" 3 4 >typedef struct { > unsigned char *out; > const unsigned char *inp; > size_t len; > unsigned int interleave; >} EVP_CTRL_TLS1_1_MULTIBLOCK_PARAM; ># 483 "/usr/include/openssl/evp.h" 3 4 >typedef struct evp_cipher_info_st { > const EVP_CIPHER *cipher; > unsigned char iv[16]; >} EVP_CIPHER_INFO; > > > >typedef int (EVP_PBE_KEYGEN) (EVP_CIPHER_CTX *ctx, const char *pass, > int passlen, ASN1_TYPE *param, > const EVP_CIPHER *cipher, const EVP_MD *md, > int en_de); > >typedef int (EVP_PBE_KEYGEN_EX) (EVP_CIPHER_CTX *ctx, const char *pass, > int passlen, ASN1_TYPE *param, > const EVP_CIPHER *cipher, const EVP_MD *md, > int en_de, OSSL_LIB_CTX *libctx, const char *propq); ># 536 "/usr/include/openssl/evp.h" 3 4 >int EVP_MD_get_type(const EVP_MD *md); > > >const char *EVP_MD_get0_name(const EVP_MD *md); > >const char *EVP_MD_get0_description(const EVP_MD *md); >int EVP_MD_is_a(const EVP_MD *md, const char *name); >int EVP_MD_names_do_all(const EVP_MD *md, > void (*fn)(const char *name, void *data), > void *data); >const OSSL_PROVIDER *EVP_MD_get0_provider(const EVP_MD *md); >int EVP_MD_get_pkey_type(const EVP_MD *md); > >int EVP_MD_get_size(const EVP_MD *md); > >int EVP_MD_get_block_size(const EVP_MD *md); > >unsigned long EVP_MD_get_flags(const EVP_MD *md); > > >const EVP_MD *EVP_MD_CTX_get0_md(const EVP_MD_CTX *ctx); >EVP_MD *EVP_MD_CTX_get1_md(EVP_MD_CTX *ctx); > >__attribute__((deprecated("Since OpenSSL " "3.0"))) >const EVP_MD *EVP_MD_CTX_md(const EVP_MD_CTX *ctx); >__attribute__((deprecated("Since OpenSSL " "3.0"))) >int (*EVP_MD_CTX_update_fn(EVP_MD_CTX *ctx))(EVP_MD_CTX *ctx, > const void *data, size_t count); >__attribute__((deprecated("Since OpenSSL " "3.0"))) >void EVP_MD_CTX_set_update_fn(EVP_MD_CTX *ctx, > int (*update) (EVP_MD_CTX *ctx, > const void *data, size_t count)); ># 576 "/usr/include/openssl/evp.h" 3 4 >EVP_PKEY_CTX *EVP_MD_CTX_get_pkey_ctx(const EVP_MD_CTX *ctx); > >void EVP_MD_CTX_set_pkey_ctx(EVP_MD_CTX *ctx, EVP_PKEY_CTX *pctx); >void *EVP_MD_CTX_get0_md_data(const EVP_MD_CTX *ctx); > > >int EVP_CIPHER_get_nid(const EVP_CIPHER *cipher); > >const char *EVP_CIPHER_get0_name(const EVP_CIPHER *cipher); > >const char *EVP_CIPHER_get0_description(const EVP_CIPHER *cipher); >int EVP_CIPHER_is_a(const EVP_CIPHER *cipher, const char *name); >int EVP_CIPHER_names_do_all(const EVP_CIPHER *cipher, > void (*fn)(const char *name, void *data), > void *data); >const OSSL_PROVIDER *EVP_CIPHER_get0_provider(const EVP_CIPHER *cipher); >int EVP_CIPHER_get_block_size(const EVP_CIPHER *cipher); > > >__attribute__((deprecated("Since OpenSSL " "3.0"))) >int EVP_CIPHER_impl_ctx_size(const EVP_CIPHER *cipher); > >int EVP_CIPHER_get_key_length(const EVP_CIPHER *cipher); > >int EVP_CIPHER_get_iv_length(const EVP_CIPHER *cipher); > >unsigned long EVP_CIPHER_get_flags(const EVP_CIPHER *cipher); > >int EVP_CIPHER_get_mode(const EVP_CIPHER *cipher); > >int EVP_CIPHER_get_type(const EVP_CIPHER *cipher); > >EVP_CIPHER *EVP_CIPHER_fetch(OSSL_LIB_CTX *ctx, const char *algorithm, > const char *properties); >int EVP_CIPHER_up_ref(EVP_CIPHER *cipher); >void EVP_CIPHER_free(EVP_CIPHER *cipher); > >const EVP_CIPHER *EVP_CIPHER_CTX_get0_cipher(const EVP_CIPHER_CTX *ctx); >EVP_CIPHER *EVP_CIPHER_CTX_get1_cipher(EVP_CIPHER_CTX *ctx); >int EVP_CIPHER_CTX_is_encrypting(const EVP_CIPHER_CTX *ctx); > >int EVP_CIPHER_CTX_get_nid(const EVP_CIPHER_CTX *ctx); > >int EVP_CIPHER_CTX_get_block_size(const EVP_CIPHER_CTX *ctx); > >int EVP_CIPHER_CTX_get_key_length(const EVP_CIPHER_CTX *ctx); > >int EVP_CIPHER_CTX_get_iv_length(const EVP_CIPHER_CTX *ctx); > >int EVP_CIPHER_CTX_get_tag_length(const EVP_CIPHER_CTX *ctx); > > >const EVP_CIPHER *EVP_CIPHER_CTX_cipher(const EVP_CIPHER_CTX *ctx); >__attribute__((deprecated("Since OpenSSL " "3.0"))) const unsigned char *EVP_CIPHER_CTX_iv(const EVP_CIPHER_CTX *ctx); >__attribute__((deprecated("Since OpenSSL " "3.0"))) const unsigned char *EVP_CIPHER_CTX_original_iv(const EVP_CIPHER_CTX *ctx); >__attribute__((deprecated("Since OpenSSL " "3.0"))) unsigned char *EVP_CIPHER_CTX_iv_noconst(EVP_CIPHER_CTX *ctx); > >int EVP_CIPHER_CTX_get_updated_iv(EVP_CIPHER_CTX *ctx, void *buf, size_t len); >int EVP_CIPHER_CTX_get_original_iv(EVP_CIPHER_CTX *ctx, void *buf, size_t len); > >__attribute__((deprecated("Since OpenSSL " "3.0"))) >unsigned char *EVP_CIPHER_CTX_buf_noconst(EVP_CIPHER_CTX *ctx); > >int EVP_CIPHER_CTX_get_num(const EVP_CIPHER_CTX *ctx); > >int EVP_CIPHER_CTX_set_num(EVP_CIPHER_CTX *ctx, int num); >EVP_CIPHER_CTX *EVP_CIPHER_CTX_dup(const EVP_CIPHER_CTX *in); >int EVP_CIPHER_CTX_copy(EVP_CIPHER_CTX *out, const EVP_CIPHER_CTX *in); >void *EVP_CIPHER_CTX_get_app_data(const EVP_CIPHER_CTX *ctx); >void EVP_CIPHER_CTX_set_app_data(EVP_CIPHER_CTX *ctx, void *data); >void *EVP_CIPHER_CTX_get_cipher_data(const EVP_CIPHER_CTX *ctx); >void *EVP_CIPHER_CTX_set_cipher_data(EVP_CIPHER_CTX *ctx, void *cipher_data); ># 680 "/usr/include/openssl/evp.h" 3 4 > int EVP_Cipher(EVP_CIPHER_CTX *c, > unsigned char *out, > const unsigned char *in, unsigned int inl); ># 693 "/usr/include/openssl/evp.h" 3 4 >int EVP_MD_get_params(const EVP_MD *digest, OSSL_PARAM params[]); >int EVP_MD_CTX_set_params(EVP_MD_CTX *ctx, const OSSL_PARAM params[]); >int EVP_MD_CTX_get_params(EVP_MD_CTX *ctx, OSSL_PARAM params[]); >const OSSL_PARAM *EVP_MD_gettable_params(const EVP_MD *digest); >const OSSL_PARAM *EVP_MD_settable_ctx_params(const EVP_MD *md); >const OSSL_PARAM *EVP_MD_gettable_ctx_params(const EVP_MD *md); >const OSSL_PARAM *EVP_MD_CTX_settable_params(EVP_MD_CTX *ctx); >const OSSL_PARAM *EVP_MD_CTX_gettable_params(EVP_MD_CTX *ctx); >int EVP_MD_CTX_ctrl(EVP_MD_CTX *ctx, int cmd, int p1, void *p2); >EVP_MD_CTX *EVP_MD_CTX_new(void); >int EVP_MD_CTX_reset(EVP_MD_CTX *ctx); >void EVP_MD_CTX_free(EVP_MD_CTX *ctx); > > > > EVP_MD_CTX *EVP_MD_CTX_dup(const EVP_MD_CTX *in); > int EVP_MD_CTX_copy_ex(EVP_MD_CTX *out, const EVP_MD_CTX *in); >void EVP_MD_CTX_set_flags(EVP_MD_CTX *ctx, int flags); >void EVP_MD_CTX_clear_flags(EVP_MD_CTX *ctx, int flags); >int EVP_MD_CTX_test_flags(const EVP_MD_CTX *ctx, int flags); > int EVP_DigestInit_ex2(EVP_MD_CTX *ctx, const EVP_MD *type, > const OSSL_PARAM params[]); > int EVP_DigestInit_ex(EVP_MD_CTX *ctx, const EVP_MD *type, > ENGINE *impl); > int EVP_DigestUpdate(EVP_MD_CTX *ctx, const void *d, > size_t cnt); > int EVP_DigestFinal_ex(EVP_MD_CTX *ctx, unsigned char *md, > unsigned int *s); > int EVP_Digest(const void *data, size_t count, > unsigned char *md, unsigned int *size, > const EVP_MD *type, ENGINE *impl); > int EVP_Q_digest(OSSL_LIB_CTX *libctx, const char *name, > const char *propq, const void *data, size_t datalen, > unsigned char *md, size_t *mdlen); > > int EVP_MD_CTX_copy(EVP_MD_CTX *out, const EVP_MD_CTX *in); > int EVP_DigestInit(EVP_MD_CTX *ctx, const EVP_MD *type); > int EVP_DigestFinal(EVP_MD_CTX *ctx, unsigned char *md, > unsigned int *s); > int EVP_DigestFinalXOF(EVP_MD_CTX *ctx, unsigned char *out, > size_t outlen); > int EVP_DigestSqueeze(EVP_MD_CTX *ctx, unsigned char *out, > size_t outlen); > > EVP_MD *EVP_MD_fetch(OSSL_LIB_CTX *ctx, const char *algorithm, > const char *properties); > >int EVP_MD_up_ref(EVP_MD *md); >void EVP_MD_free(EVP_MD *md); > >int EVP_read_pw_string(char *buf, int length, const char *prompt, int verify); >int EVP_read_pw_string_min(char *buf, int minlen, int maxlen, > const char *prompt, int verify); >void EVP_set_pw_prompt(const char *prompt); >char *EVP_get_pw_prompt(void); > > int EVP_BytesToKey(const EVP_CIPHER *type, const EVP_MD *md, > const unsigned char *salt, > const unsigned char *data, int datal, int count, > unsigned char *key, unsigned char *iv); > >void EVP_CIPHER_CTX_set_flags(EVP_CIPHER_CTX *ctx, int flags); >void EVP_CIPHER_CTX_clear_flags(EVP_CIPHER_CTX *ctx, int flags); >int EVP_CIPHER_CTX_test_flags(const EVP_CIPHER_CTX *ctx, int flags); > > int EVP_EncryptInit(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher, > const unsigned char *key, const unsigned char *iv); > int EVP_EncryptInit_ex(EVP_CIPHER_CTX *ctx, > const EVP_CIPHER *cipher, ENGINE *impl, > const unsigned char *key, > const unsigned char *iv); > int EVP_EncryptInit_ex2(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher, > const unsigned char *key, > const unsigned char *iv, > const OSSL_PARAM params[]); > int EVP_EncryptUpdate(EVP_CIPHER_CTX *ctx, unsigned char *out, > int *outl, const unsigned char *in, int inl); > int EVP_EncryptFinal_ex(EVP_CIPHER_CTX *ctx, unsigned char *out, > int *outl); > int EVP_EncryptFinal(EVP_CIPHER_CTX *ctx, unsigned char *out, > int *outl); > > int EVP_DecryptInit(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher, > const unsigned char *key, const unsigned char *iv); > int EVP_DecryptInit_ex(EVP_CIPHER_CTX *ctx, > const EVP_CIPHER *cipher, ENGINE *impl, > const unsigned char *key, > const unsigned char *iv); > int EVP_DecryptInit_ex2(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher, > const unsigned char *key, > const unsigned char *iv, > const OSSL_PARAM params[]); > int EVP_DecryptUpdate(EVP_CIPHER_CTX *ctx, unsigned char *out, > int *outl, const unsigned char *in, int inl); > int EVP_DecryptFinal(EVP_CIPHER_CTX *ctx, unsigned char *outm, > int *outl); > int EVP_DecryptFinal_ex(EVP_CIPHER_CTX *ctx, unsigned char *outm, > int *outl); > > int EVP_CipherInit(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher, > const unsigned char *key, const unsigned char *iv, > int enc); > int EVP_CipherInit_ex(EVP_CIPHER_CTX *ctx, > const EVP_CIPHER *cipher, ENGINE *impl, > const unsigned char *key, > const unsigned char *iv, int enc); > int EVP_CipherInit_ex2(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher, > const unsigned char *key, const unsigned char *iv, > int enc, const OSSL_PARAM params[]); > int EVP_CipherUpdate(EVP_CIPHER_CTX *ctx, unsigned char *out, > int *outl, const unsigned char *in, int inl); > int EVP_CipherFinal(EVP_CIPHER_CTX *ctx, unsigned char *outm, > int *outl); > int EVP_CipherFinal_ex(EVP_CIPHER_CTX *ctx, unsigned char *outm, > int *outl); > > int EVP_SignFinal(EVP_MD_CTX *ctx, unsigned char *md, unsigned int *s, > EVP_PKEY *pkey); > int EVP_SignFinal_ex(EVP_MD_CTX *ctx, unsigned char *md, unsigned int *s, > EVP_PKEY *pkey, OSSL_LIB_CTX *libctx, > const char *propq); > > int EVP_DigestSign(EVP_MD_CTX *ctx, unsigned char *sigret, > size_t *siglen, const unsigned char *tbs, > size_t tbslen); > > int EVP_VerifyFinal(EVP_MD_CTX *ctx, const unsigned char *sigbuf, > unsigned int siglen, EVP_PKEY *pkey); > int EVP_VerifyFinal_ex(EVP_MD_CTX *ctx, const unsigned char *sigbuf, > unsigned int siglen, EVP_PKEY *pkey, > OSSL_LIB_CTX *libctx, const char *propq); > > int EVP_DigestVerify(EVP_MD_CTX *ctx, const unsigned char *sigret, > size_t siglen, const unsigned char *tbs, > size_t tbslen); > > int EVP_DigestSignInit_ex(EVP_MD_CTX *ctx, EVP_PKEY_CTX **pctx, > const char *mdname, OSSL_LIB_CTX *libctx, > const char *props, EVP_PKEY *pkey, > const OSSL_PARAM params[]); > int EVP_DigestSignInit(EVP_MD_CTX *ctx, EVP_PKEY_CTX **pctx, > const EVP_MD *type, ENGINE *e, > EVP_PKEY *pkey); > int EVP_DigestSignUpdate(EVP_MD_CTX *ctx, const void *data, size_t dsize); > int EVP_DigestSignFinal(EVP_MD_CTX *ctx, unsigned char *sigret, > size_t *siglen); > > int EVP_DigestVerifyInit_ex(EVP_MD_CTX *ctx, EVP_PKEY_CTX **pctx, > const char *mdname, OSSL_LIB_CTX *libctx, > const char *props, EVP_PKEY *pkey, > const OSSL_PARAM params[]); > int EVP_DigestVerifyInit(EVP_MD_CTX *ctx, EVP_PKEY_CTX **pctx, > const EVP_MD *type, ENGINE *e, > EVP_PKEY *pkey); >int EVP_DigestVerifyUpdate(EVP_MD_CTX *ctx, const void *data, size_t dsize); > int EVP_DigestVerifyFinal(EVP_MD_CTX *ctx, const unsigned char *sig, > size_t siglen); > > int EVP_OpenInit(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *type, > const unsigned char *ek, int ekl, > const unsigned char *iv, EVP_PKEY *priv); > int EVP_OpenFinal(EVP_CIPHER_CTX *ctx, unsigned char *out, int *outl); > > int EVP_SealInit(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *type, > unsigned char **ek, int *ekl, unsigned char *iv, > EVP_PKEY **pubk, int npubk); > int EVP_SealFinal(EVP_CIPHER_CTX *ctx, unsigned char *out, int *outl); > >EVP_ENCODE_CTX *EVP_ENCODE_CTX_new(void); >void EVP_ENCODE_CTX_free(EVP_ENCODE_CTX *ctx); >int EVP_ENCODE_CTX_copy(EVP_ENCODE_CTX *dctx, const EVP_ENCODE_CTX *sctx); >int EVP_ENCODE_CTX_num(EVP_ENCODE_CTX *ctx); >void EVP_EncodeInit(EVP_ENCODE_CTX *ctx); >int EVP_EncodeUpdate(EVP_ENCODE_CTX *ctx, unsigned char *out, int *outl, > const unsigned char *in, int inl); >void EVP_EncodeFinal(EVP_ENCODE_CTX *ctx, unsigned char *out, int *outl); >int EVP_EncodeBlock(unsigned char *t, const unsigned char *f, int n); > >void EVP_DecodeInit(EVP_ENCODE_CTX *ctx); >int EVP_DecodeUpdate(EVP_ENCODE_CTX *ctx, unsigned char *out, int *outl, > const unsigned char *in, int inl); >int EVP_DecodeFinal(EVP_ENCODE_CTX *ctx, unsigned > char *out, int *outl); >int EVP_DecodeBlock(unsigned char *t, const unsigned char *f, int n); > > > > > >EVP_CIPHER_CTX *EVP_CIPHER_CTX_new(void); >int EVP_CIPHER_CTX_reset(EVP_CIPHER_CTX *c); >void EVP_CIPHER_CTX_free(EVP_CIPHER_CTX *c); >int EVP_CIPHER_CTX_set_key_length(EVP_CIPHER_CTX *x, int keylen); >int EVP_CIPHER_CTX_set_padding(EVP_CIPHER_CTX *c, int pad); >int EVP_CIPHER_CTX_ctrl(EVP_CIPHER_CTX *ctx, int type, int arg, void *ptr); >int EVP_CIPHER_CTX_rand_key(EVP_CIPHER_CTX *ctx, unsigned char *key); >int EVP_CIPHER_get_params(EVP_CIPHER *cipher, OSSL_PARAM params[]); >int EVP_CIPHER_CTX_set_params(EVP_CIPHER_CTX *ctx, const OSSL_PARAM params[]); >int EVP_CIPHER_CTX_get_params(EVP_CIPHER_CTX *ctx, OSSL_PARAM params[]); >const OSSL_PARAM *EVP_CIPHER_gettable_params(const EVP_CIPHER *cipher); >const OSSL_PARAM *EVP_CIPHER_settable_ctx_params(const EVP_CIPHER *cipher); >const OSSL_PARAM *EVP_CIPHER_gettable_ctx_params(const EVP_CIPHER *cipher); >const OSSL_PARAM *EVP_CIPHER_CTX_settable_params(EVP_CIPHER_CTX *ctx); >const OSSL_PARAM *EVP_CIPHER_CTX_gettable_params(EVP_CIPHER_CTX *ctx); > >const BIO_METHOD *BIO_f_md(void); >const BIO_METHOD *BIO_f_base64(void); >const BIO_METHOD *BIO_f_cipher(void); >const BIO_METHOD *BIO_f_reliable(void); > int BIO_set_cipher(BIO *b, const EVP_CIPHER *c, const unsigned char *k, > const unsigned char *i, int enc); > >const EVP_MD *EVP_md_null(void); > > > > >const EVP_MD *EVP_md4(void); > > >const EVP_MD *EVP_md5(void); >const EVP_MD *EVP_md5_sha1(void); > > >const EVP_MD *EVP_blake2b512(void); >const EVP_MD *EVP_blake2s256(void); > >const EVP_MD *EVP_sha1(void); >const EVP_MD *EVP_sha224(void); >const EVP_MD *EVP_sha256(void); >const EVP_MD *EVP_sha384(void); >const EVP_MD *EVP_sha512(void); >const EVP_MD *EVP_sha512_224(void); >const EVP_MD *EVP_sha512_256(void); >const EVP_MD *EVP_sha3_224(void); >const EVP_MD *EVP_sha3_256(void); >const EVP_MD *EVP_sha3_384(void); >const EVP_MD *EVP_sha3_512(void); >const EVP_MD *EVP_shake128(void); >const EVP_MD *EVP_shake256(void); > > >const EVP_MD *EVP_mdc2(void); > > >const EVP_MD *EVP_ripemd160(void); > > >const EVP_MD *EVP_whirlpool(void); > > >const EVP_MD *EVP_sm3(void); > >const EVP_CIPHER *EVP_enc_null(void); > >const EVP_CIPHER *EVP_des_ecb(void); >const EVP_CIPHER *EVP_des_ede(void); >const EVP_CIPHER *EVP_des_ede3(void); >const EVP_CIPHER *EVP_des_ede_ecb(void); >const EVP_CIPHER *EVP_des_ede3_ecb(void); >const EVP_CIPHER *EVP_des_cfb64(void); > >const EVP_CIPHER *EVP_des_cfb1(void); >const EVP_CIPHER *EVP_des_cfb8(void); >const EVP_CIPHER *EVP_des_ede_cfb64(void); > >const EVP_CIPHER *EVP_des_ede3_cfb64(void); > >const EVP_CIPHER *EVP_des_ede3_cfb1(void); >const EVP_CIPHER *EVP_des_ede3_cfb8(void); >const EVP_CIPHER *EVP_des_ofb(void); >const EVP_CIPHER *EVP_des_ede_ofb(void); >const EVP_CIPHER *EVP_des_ede3_ofb(void); >const EVP_CIPHER *EVP_des_cbc(void); >const EVP_CIPHER *EVP_des_ede_cbc(void); >const EVP_CIPHER *EVP_des_ede3_cbc(void); >const EVP_CIPHER *EVP_desx_cbc(void); >const EVP_CIPHER *EVP_des_ede3_wrap(void); > > > > > > > >const EVP_CIPHER *EVP_rc4(void); >const EVP_CIPHER *EVP_rc4_40(void); > >const EVP_CIPHER *EVP_rc4_hmac_md5(void); > > > >const EVP_CIPHER *EVP_idea_ecb(void); >const EVP_CIPHER *EVP_idea_cfb64(void); > >const EVP_CIPHER *EVP_idea_ofb(void); >const EVP_CIPHER *EVP_idea_cbc(void); > > >const EVP_CIPHER *EVP_rc2_ecb(void); >const EVP_CIPHER *EVP_rc2_cbc(void); >const EVP_CIPHER *EVP_rc2_40_cbc(void); >const EVP_CIPHER *EVP_rc2_64_cbc(void); >const EVP_CIPHER *EVP_rc2_cfb64(void); > >const EVP_CIPHER *EVP_rc2_ofb(void); > > >const EVP_CIPHER *EVP_bf_ecb(void); >const EVP_CIPHER *EVP_bf_cbc(void); >const EVP_CIPHER *EVP_bf_cfb64(void); > >const EVP_CIPHER *EVP_bf_ofb(void); > > >const EVP_CIPHER *EVP_cast5_ecb(void); >const EVP_CIPHER *EVP_cast5_cbc(void); >const EVP_CIPHER *EVP_cast5_cfb64(void); > >const EVP_CIPHER *EVP_cast5_ofb(void); > > >const EVP_CIPHER *EVP_rc5_32_12_16_cbc(void); >const EVP_CIPHER *EVP_rc5_32_12_16_ecb(void); >const EVP_CIPHER *EVP_rc5_32_12_16_cfb64(void); > >const EVP_CIPHER *EVP_rc5_32_12_16_ofb(void); > >const EVP_CIPHER *EVP_aes_128_ecb(void); >const EVP_CIPHER *EVP_aes_128_cbc(void); >const EVP_CIPHER *EVP_aes_128_cfb1(void); >const EVP_CIPHER *EVP_aes_128_cfb8(void); >const EVP_CIPHER *EVP_aes_128_cfb128(void); > >const EVP_CIPHER *EVP_aes_128_ofb(void); >const EVP_CIPHER *EVP_aes_128_ctr(void); >const EVP_CIPHER *EVP_aes_128_ccm(void); >const EVP_CIPHER *EVP_aes_128_gcm(void); >const EVP_CIPHER *EVP_aes_128_xts(void); >const EVP_CIPHER *EVP_aes_128_wrap(void); >const EVP_CIPHER *EVP_aes_128_wrap_pad(void); > >const EVP_CIPHER *EVP_aes_128_ocb(void); > >const EVP_CIPHER *EVP_aes_192_ecb(void); >const EVP_CIPHER *EVP_aes_192_cbc(void); >const EVP_CIPHER *EVP_aes_192_cfb1(void); >const EVP_CIPHER *EVP_aes_192_cfb8(void); >const EVP_CIPHER *EVP_aes_192_cfb128(void); > >const EVP_CIPHER *EVP_aes_192_ofb(void); >const EVP_CIPHER *EVP_aes_192_ctr(void); >const EVP_CIPHER *EVP_aes_192_ccm(void); >const EVP_CIPHER *EVP_aes_192_gcm(void); >const EVP_CIPHER *EVP_aes_192_wrap(void); >const EVP_CIPHER *EVP_aes_192_wrap_pad(void); > >const EVP_CIPHER *EVP_aes_192_ocb(void); > >const EVP_CIPHER *EVP_aes_256_ecb(void); >const EVP_CIPHER *EVP_aes_256_cbc(void); >const EVP_CIPHER *EVP_aes_256_cfb1(void); >const EVP_CIPHER *EVP_aes_256_cfb8(void); >const EVP_CIPHER *EVP_aes_256_cfb128(void); > >const EVP_CIPHER *EVP_aes_256_ofb(void); >const EVP_CIPHER *EVP_aes_256_ctr(void); >const EVP_CIPHER *EVP_aes_256_ccm(void); >const EVP_CIPHER *EVP_aes_256_gcm(void); >const EVP_CIPHER *EVP_aes_256_xts(void); >const EVP_CIPHER *EVP_aes_256_wrap(void); >const EVP_CIPHER *EVP_aes_256_wrap_pad(void); > >const EVP_CIPHER *EVP_aes_256_ocb(void); > >const EVP_CIPHER *EVP_aes_128_cbc_hmac_sha1(void); >const EVP_CIPHER *EVP_aes_256_cbc_hmac_sha1(void); >const EVP_CIPHER *EVP_aes_128_cbc_hmac_sha256(void); >const EVP_CIPHER *EVP_aes_256_cbc_hmac_sha256(void); > >const EVP_CIPHER *EVP_aria_128_ecb(void); >const EVP_CIPHER *EVP_aria_128_cbc(void); >const EVP_CIPHER *EVP_aria_128_cfb1(void); >const EVP_CIPHER *EVP_aria_128_cfb8(void); >const EVP_CIPHER *EVP_aria_128_cfb128(void); > >const EVP_CIPHER *EVP_aria_128_ctr(void); >const EVP_CIPHER *EVP_aria_128_ofb(void); >const EVP_CIPHER *EVP_aria_128_gcm(void); >const EVP_CIPHER *EVP_aria_128_ccm(void); >const EVP_CIPHER *EVP_aria_192_ecb(void); >const EVP_CIPHER *EVP_aria_192_cbc(void); >const EVP_CIPHER *EVP_aria_192_cfb1(void); >const EVP_CIPHER *EVP_aria_192_cfb8(void); >const EVP_CIPHER *EVP_aria_192_cfb128(void); > >const EVP_CIPHER *EVP_aria_192_ctr(void); >const EVP_CIPHER *EVP_aria_192_ofb(void); >const EVP_CIPHER *EVP_aria_192_gcm(void); >const EVP_CIPHER *EVP_aria_192_ccm(void); >const EVP_CIPHER *EVP_aria_256_ecb(void); >const EVP_CIPHER *EVP_aria_256_cbc(void); >const EVP_CIPHER *EVP_aria_256_cfb1(void); >const EVP_CIPHER *EVP_aria_256_cfb8(void); >const EVP_CIPHER *EVP_aria_256_cfb128(void); > >const EVP_CIPHER *EVP_aria_256_ctr(void); >const EVP_CIPHER *EVP_aria_256_ofb(void); >const EVP_CIPHER *EVP_aria_256_gcm(void); >const EVP_CIPHER *EVP_aria_256_ccm(void); > > >const EVP_CIPHER *EVP_camellia_128_ecb(void); >const EVP_CIPHER *EVP_camellia_128_cbc(void); >const EVP_CIPHER *EVP_camellia_128_cfb1(void); >const EVP_CIPHER *EVP_camellia_128_cfb8(void); >const EVP_CIPHER *EVP_camellia_128_cfb128(void); > >const EVP_CIPHER *EVP_camellia_128_ofb(void); >const EVP_CIPHER *EVP_camellia_128_ctr(void); >const EVP_CIPHER *EVP_camellia_192_ecb(void); >const EVP_CIPHER *EVP_camellia_192_cbc(void); >const EVP_CIPHER *EVP_camellia_192_cfb1(void); >const EVP_CIPHER *EVP_camellia_192_cfb8(void); >const EVP_CIPHER *EVP_camellia_192_cfb128(void); > >const EVP_CIPHER *EVP_camellia_192_ofb(void); >const EVP_CIPHER *EVP_camellia_192_ctr(void); >const EVP_CIPHER *EVP_camellia_256_ecb(void); >const EVP_CIPHER *EVP_camellia_256_cbc(void); >const EVP_CIPHER *EVP_camellia_256_cfb1(void); >const EVP_CIPHER *EVP_camellia_256_cfb8(void); >const EVP_CIPHER *EVP_camellia_256_cfb128(void); > >const EVP_CIPHER *EVP_camellia_256_ofb(void); >const EVP_CIPHER *EVP_camellia_256_ctr(void); > > >const EVP_CIPHER *EVP_chacha20(void); > >const EVP_CIPHER *EVP_chacha20_poly1305(void); > > > > >const EVP_CIPHER *EVP_seed_ecb(void); >const EVP_CIPHER *EVP_seed_cbc(void); >const EVP_CIPHER *EVP_seed_cfb128(void); > >const EVP_CIPHER *EVP_seed_ofb(void); > > > >const EVP_CIPHER *EVP_sm4_ecb(void); >const EVP_CIPHER *EVP_sm4_cbc(void); >const EVP_CIPHER *EVP_sm4_cfb128(void); > >const EVP_CIPHER *EVP_sm4_ofb(void); >const EVP_CIPHER *EVP_sm4_ctr(void); ># 1177 "/usr/include/openssl/evp.h" 3 4 >int EVP_add_cipher(const EVP_CIPHER *cipher); >int EVP_add_digest(const EVP_MD *digest); > >const EVP_CIPHER *EVP_get_cipherbyname(const char *name); >const EVP_MD *EVP_get_digestbyname(const char *name); > >void EVP_CIPHER_do_all(void (*fn) (const EVP_CIPHER *ciph, > const char *from, const char *to, void *x), > void *arg); >void EVP_CIPHER_do_all_sorted(void (*fn) > (const EVP_CIPHER *ciph, const char *from, > const char *to, void *x), void *arg); >void EVP_CIPHER_do_all_provided(OSSL_LIB_CTX *libctx, > void (*fn)(EVP_CIPHER *cipher, void *arg), > void *arg); > >void EVP_MD_do_all(void (*fn) (const EVP_MD *ciph, > const char *from, const char *to, void *x), > void *arg); >void EVP_MD_do_all_sorted(void (*fn) > (const EVP_MD *ciph, const char *from, > const char *to, void *x), void *arg); >void EVP_MD_do_all_provided(OSSL_LIB_CTX *libctx, > void (*fn)(EVP_MD *md, void *arg), > void *arg); > > > >EVP_MAC *EVP_MAC_fetch(OSSL_LIB_CTX *libctx, const char *algorithm, > const char *properties); >int EVP_MAC_up_ref(EVP_MAC *mac); >void EVP_MAC_free(EVP_MAC *mac); >const char *EVP_MAC_get0_name(const EVP_MAC *mac); >const char *EVP_MAC_get0_description(const EVP_MAC *mac); >int EVP_MAC_is_a(const EVP_MAC *mac, const char *name); >const OSSL_PROVIDER *EVP_MAC_get0_provider(const EVP_MAC *mac); >int EVP_MAC_get_params(EVP_MAC *mac, OSSL_PARAM params[]); > >EVP_MAC_CTX *EVP_MAC_CTX_new(EVP_MAC *mac); >void EVP_MAC_CTX_free(EVP_MAC_CTX *ctx); >EVP_MAC_CTX *EVP_MAC_CTX_dup(const EVP_MAC_CTX *src); >EVP_MAC *EVP_MAC_CTX_get0_mac(EVP_MAC_CTX *ctx); >int EVP_MAC_CTX_get_params(EVP_MAC_CTX *ctx, OSSL_PARAM params[]); >int EVP_MAC_CTX_set_params(EVP_MAC_CTX *ctx, const OSSL_PARAM params[]); > >size_t EVP_MAC_CTX_get_mac_size(EVP_MAC_CTX *ctx); >size_t EVP_MAC_CTX_get_block_size(EVP_MAC_CTX *ctx); >unsigned char *EVP_Q_mac(OSSL_LIB_CTX *libctx, const char *name, const char *propq, > const char *subalg, const OSSL_PARAM *params, > const void *key, size_t keylen, > const unsigned char *data, size_t datalen, > unsigned char *out, size_t outsize, size_t *outlen); >int EVP_MAC_init(EVP_MAC_CTX *ctx, const unsigned char *key, size_t keylen, > const OSSL_PARAM params[]); >int EVP_MAC_update(EVP_MAC_CTX *ctx, const unsigned char *data, size_t datalen); >int EVP_MAC_final(EVP_MAC_CTX *ctx, > unsigned char *out, size_t *outl, size_t outsize); >int EVP_MAC_finalXOF(EVP_MAC_CTX *ctx, unsigned char *out, size_t outsize); >const OSSL_PARAM *EVP_MAC_gettable_params(const EVP_MAC *mac); >const OSSL_PARAM *EVP_MAC_gettable_ctx_params(const EVP_MAC *mac); >const OSSL_PARAM *EVP_MAC_settable_ctx_params(const EVP_MAC *mac); >const OSSL_PARAM *EVP_MAC_CTX_gettable_params(EVP_MAC_CTX *ctx); >const OSSL_PARAM *EVP_MAC_CTX_settable_params(EVP_MAC_CTX *ctx); > >void EVP_MAC_do_all_provided(OSSL_LIB_CTX *libctx, > void (*fn)(EVP_MAC *mac, void *arg), > void *arg); >int EVP_MAC_names_do_all(const EVP_MAC *mac, > void (*fn)(const char *name, void *data), > void *data); > > >EVP_RAND *EVP_RAND_fetch(OSSL_LIB_CTX *libctx, const char *algorithm, > const char *properties); >int EVP_RAND_up_ref(EVP_RAND *rand); >void EVP_RAND_free(EVP_RAND *rand); >const char *EVP_RAND_get0_name(const EVP_RAND *rand); >const char *EVP_RAND_get0_description(const EVP_RAND *md); >int EVP_RAND_is_a(const EVP_RAND *rand, const char *name); >const OSSL_PROVIDER *EVP_RAND_get0_provider(const EVP_RAND *rand); >int EVP_RAND_get_params(EVP_RAND *rand, OSSL_PARAM params[]); > >EVP_RAND_CTX *EVP_RAND_CTX_new(EVP_RAND *rand, EVP_RAND_CTX *parent); >int EVP_RAND_CTX_up_ref(EVP_RAND_CTX *ctx); >void EVP_RAND_CTX_free(EVP_RAND_CTX *ctx); >EVP_RAND *EVP_RAND_CTX_get0_rand(EVP_RAND_CTX *ctx); >int EVP_RAND_CTX_get_params(EVP_RAND_CTX *ctx, OSSL_PARAM params[]); >int EVP_RAND_CTX_set_params(EVP_RAND_CTX *ctx, const OSSL_PARAM params[]); >const OSSL_PARAM *EVP_RAND_gettable_params(const EVP_RAND *rand); >const OSSL_PARAM *EVP_RAND_gettable_ctx_params(const EVP_RAND *rand); >const OSSL_PARAM *EVP_RAND_settable_ctx_params(const EVP_RAND *rand); >const OSSL_PARAM *EVP_RAND_CTX_gettable_params(EVP_RAND_CTX *ctx); >const OSSL_PARAM *EVP_RAND_CTX_settable_params(EVP_RAND_CTX *ctx); > >void EVP_RAND_do_all_provided(OSSL_LIB_CTX *libctx, > void (*fn)(EVP_RAND *rand, void *arg), > void *arg); >int EVP_RAND_names_do_all(const EVP_RAND *rand, > void (*fn)(const char *name, void *data), > void *data); > > int EVP_RAND_instantiate(EVP_RAND_CTX *ctx, unsigned int strength, > int prediction_resistance, > const unsigned char *pstr, size_t pstr_len, > const OSSL_PARAM params[]); >int EVP_RAND_uninstantiate(EVP_RAND_CTX *ctx); > int EVP_RAND_generate(EVP_RAND_CTX *ctx, unsigned char *out, > size_t outlen, unsigned int strength, > int prediction_resistance, > const unsigned char *addin, size_t addin_len); >int EVP_RAND_reseed(EVP_RAND_CTX *ctx, int prediction_resistance, > const unsigned char *ent, size_t ent_len, > const unsigned char *addin, size_t addin_len); > int EVP_RAND_nonce(EVP_RAND_CTX *ctx, unsigned char *out, size_t outlen); > int EVP_RAND_enable_locking(EVP_RAND_CTX *ctx); > >int EVP_RAND_verify_zeroization(EVP_RAND_CTX *ctx); >unsigned int EVP_RAND_get_strength(EVP_RAND_CTX *ctx); >int EVP_RAND_get_state(EVP_RAND_CTX *ctx); > > > > > > > >__attribute__((deprecated("Since OpenSSL " "3.0"))) int EVP_PKEY_decrypt_old(unsigned char *dec_key, > const unsigned char *enc_key, > int enc_key_len, > EVP_PKEY *private_key); >__attribute__((deprecated("Since OpenSSL " "3.0"))) int EVP_PKEY_encrypt_old(unsigned char *enc_key, > const unsigned char *key, > int key_len, EVP_PKEY *pub_key); > >int EVP_PKEY_is_a(const EVP_PKEY *pkey, const char *name); >int EVP_PKEY_type_names_do_all(const EVP_PKEY *pkey, > void (*fn)(const char *name, void *data), > void *data); >int EVP_PKEY_type(int type); >int EVP_PKEY_get_id(const EVP_PKEY *pkey); > >int EVP_PKEY_get_base_id(const EVP_PKEY *pkey); > >int EVP_PKEY_get_bits(const EVP_PKEY *pkey); > >int EVP_PKEY_get_security_bits(const EVP_PKEY *pkey); > >int EVP_PKEY_get_size(const EVP_PKEY *pkey); > >int EVP_PKEY_can_sign(const EVP_PKEY *pkey); >int EVP_PKEY_set_type(EVP_PKEY *pkey, int type); >int EVP_PKEY_set_type_str(EVP_PKEY *pkey, const char *str, int len); >int EVP_PKEY_set_type_by_keymgmt(EVP_PKEY *pkey, EVP_KEYMGMT *keymgmt); > > >__attribute__((deprecated("Since OpenSSL " "3.0"))) >int EVP_PKEY_set1_engine(EVP_PKEY *pkey, ENGINE *e); >__attribute__((deprecated("Since OpenSSL " "3.0"))) >ENGINE *EVP_PKEY_get0_engine(const EVP_PKEY *pkey); > >__attribute__((deprecated("Since OpenSSL " "3.0"))) >int EVP_PKEY_assign(EVP_PKEY *pkey, int type, void *key); >__attribute__((deprecated("Since OpenSSL " "3.0"))) >void *EVP_PKEY_get0(const EVP_PKEY *pkey); >__attribute__((deprecated("Since OpenSSL " "3.0"))) >const unsigned char *EVP_PKEY_get0_hmac(const EVP_PKEY *pkey, size_t *len); > >__attribute__((deprecated("Since OpenSSL " "3.0"))) >const unsigned char *EVP_PKEY_get0_poly1305(const EVP_PKEY *pkey, size_t *len); > > >__attribute__((deprecated("Since OpenSSL " "3.0"))) >const unsigned char *EVP_PKEY_get0_siphash(const EVP_PKEY *pkey, size_t *len); > > >struct rsa_st; >__attribute__((deprecated("Since OpenSSL " "3.0"))) >int EVP_PKEY_set1_RSA(EVP_PKEY *pkey, struct rsa_st *key); >__attribute__((deprecated("Since OpenSSL " "3.0"))) >const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); >__attribute__((deprecated("Since OpenSSL " "3.0"))) >struct rsa_st *EVP_PKEY_get1_RSA(EVP_PKEY *pkey); > > >struct dsa_st; >__attribute__((deprecated("Since OpenSSL " "3.0"))) >int EVP_PKEY_set1_DSA(EVP_PKEY *pkey, struct dsa_st *key); >__attribute__((deprecated("Since OpenSSL " "3.0"))) >const struct dsa_st *EVP_PKEY_get0_DSA(const EVP_PKEY *pkey); >__attribute__((deprecated("Since OpenSSL " "3.0"))) >struct dsa_st *EVP_PKEY_get1_DSA(EVP_PKEY *pkey); > > > >struct dh_st; >__attribute__((deprecated("Since OpenSSL " "3.0"))) int EVP_PKEY_set1_DH(EVP_PKEY *pkey, struct dh_st *key); >__attribute__((deprecated("Since OpenSSL " "3.0"))) const struct dh_st *EVP_PKEY_get0_DH(const EVP_PKEY *pkey); >__attribute__((deprecated("Since OpenSSL " "3.0"))) struct dh_st *EVP_PKEY_get1_DH(EVP_PKEY *pkey); > > > >struct ec_key_st; >__attribute__((deprecated("Since OpenSSL " "3.0"))) >int EVP_PKEY_set1_EC_KEY(EVP_PKEY *pkey, struct ec_key_st *key); >__attribute__((deprecated("Since OpenSSL " "3.0"))) >const struct ec_key_st *EVP_PKEY_get0_EC_KEY(const EVP_PKEY *pkey); >__attribute__((deprecated("Since OpenSSL " "3.0"))) >struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); > > > >EVP_PKEY *EVP_PKEY_new(void); >int EVP_PKEY_up_ref(EVP_PKEY *pkey); >EVP_PKEY *EVP_PKEY_dup(EVP_PKEY *pkey); >void EVP_PKEY_free(EVP_PKEY *pkey); >const char *EVP_PKEY_get0_description(const EVP_PKEY *pkey); >const OSSL_PROVIDER *EVP_PKEY_get0_provider(const EVP_PKEY *key); > >EVP_PKEY *d2i_PublicKey(int type, EVP_PKEY **a, const unsigned char **pp, > long length); >int i2d_PublicKey(const EVP_PKEY *a, unsigned char **pp); > > >EVP_PKEY *d2i_PrivateKey_ex(int type, EVP_PKEY **a, const unsigned char **pp, > long length, OSSL_LIB_CTX *libctx, > const char *propq); >EVP_PKEY *d2i_PrivateKey(int type, EVP_PKEY **a, const unsigned char **pp, > long length); >EVP_PKEY *d2i_AutoPrivateKey_ex(EVP_PKEY **a, const unsigned char **pp, > long length, OSSL_LIB_CTX *libctx, > const char *propq); >EVP_PKEY *d2i_AutoPrivateKey(EVP_PKEY **a, const unsigned char **pp, > long length); >int i2d_PrivateKey(const EVP_PKEY *a, unsigned char **pp); > >int i2d_KeyParams(const EVP_PKEY *a, unsigned char **pp); >EVP_PKEY *d2i_KeyParams(int type, EVP_PKEY **a, const unsigned char **pp, > long length); >int i2d_KeyParams_bio(BIO *bp, const EVP_PKEY *pkey); >EVP_PKEY *d2i_KeyParams_bio(int type, EVP_PKEY **a, BIO *in); > >int EVP_PKEY_copy_parameters(EVP_PKEY *to, const EVP_PKEY *from); >int EVP_PKEY_missing_parameters(const EVP_PKEY *pkey); >int EVP_PKEY_save_parameters(EVP_PKEY *pkey, int mode); >int EVP_PKEY_parameters_eq(const EVP_PKEY *a, const EVP_PKEY *b); >int EVP_PKEY_eq(const EVP_PKEY *a, const EVP_PKEY *b); > > >__attribute__((deprecated("Since OpenSSL " "3.0"))) >int EVP_PKEY_cmp_parameters(const EVP_PKEY *a, const EVP_PKEY *b); >__attribute__((deprecated("Since OpenSSL " "3.0"))) >int EVP_PKEY_cmp(const EVP_PKEY *a, const EVP_PKEY *b); > > >int EVP_PKEY_print_public(BIO *out, const EVP_PKEY *pkey, > int indent, ASN1_PCTX *pctx); >int EVP_PKEY_print_private(BIO *out, const EVP_PKEY *pkey, > int indent, ASN1_PCTX *pctx); >int EVP_PKEY_print_params(BIO *out, const EVP_PKEY *pkey, > int indent, ASN1_PCTX *pctx); > >int EVP_PKEY_print_public_fp(FILE *fp, const EVP_PKEY *pkey, > int indent, ASN1_PCTX *pctx); >int EVP_PKEY_print_private_fp(FILE *fp, const EVP_PKEY *pkey, > int indent, ASN1_PCTX *pctx); >int EVP_PKEY_print_params_fp(FILE *fp, const EVP_PKEY *pkey, > int indent, ASN1_PCTX *pctx); > > >int EVP_PKEY_get_default_digest_nid(EVP_PKEY *pkey, int *pnid); >int EVP_PKEY_get_default_digest_name(EVP_PKEY *pkey, > char *mdname, size_t mdname_sz); >int EVP_PKEY_digestsign_supports_digest(EVP_PKEY *pkey, OSSL_LIB_CTX *libctx, > const char *name, const char *propq); ># 1461 "/usr/include/openssl/evp.h" 3 4 >int EVP_PKEY_set1_encoded_public_key(EVP_PKEY *pkey, > const unsigned char *pub, size_t publen); ># 1473 "/usr/include/openssl/evp.h" 3 4 >size_t EVP_PKEY_get1_encoded_public_key(EVP_PKEY *pkey, unsigned char **ppub); > > >int EVP_CIPHER_param_to_asn1(EVP_CIPHER_CTX *c, ASN1_TYPE *type); >int EVP_CIPHER_asn1_to_param(EVP_CIPHER_CTX *c, ASN1_TYPE *type); > > >int EVP_CIPHER_set_asn1_iv(EVP_CIPHER_CTX *c, ASN1_TYPE *type); >int EVP_CIPHER_get_asn1_iv(EVP_CIPHER_CTX *c, ASN1_TYPE *type); > > >int PKCS5_PBE_keyivgen(EVP_CIPHER_CTX *ctx, const char *pass, int passlen, > ASN1_TYPE *param, const EVP_CIPHER *cipher, > const EVP_MD *md, int en_de); >int PKCS5_PBE_keyivgen_ex(EVP_CIPHER_CTX *cctx, const char *pass, int passlen, > ASN1_TYPE *param, const EVP_CIPHER *cipher, > const EVP_MD *md, int en_de, OSSL_LIB_CTX *libctx, > const char *propq); >int PKCS5_PBKDF2_HMAC_SHA1(const char *pass, int passlen, > const unsigned char *salt, int saltlen, int iter, > int keylen, unsigned char *out); >int PKCS5_PBKDF2_HMAC(const char *pass, int passlen, > const unsigned char *salt, int saltlen, int iter, > const EVP_MD *digest, int keylen, unsigned char *out); >int PKCS5_v2_PBE_keyivgen(EVP_CIPHER_CTX *ctx, const char *pass, int passlen, > ASN1_TYPE *param, const EVP_CIPHER *cipher, > const EVP_MD *md, int en_de); >int PKCS5_v2_PBE_keyivgen_ex(EVP_CIPHER_CTX *ctx, const char *pass, int passlen, > ASN1_TYPE *param, const EVP_CIPHER *cipher, > const EVP_MD *md, int en_de, > OSSL_LIB_CTX *libctx, const char *propq); > > >int EVP_PBE_scrypt(const char *pass, size_t passlen, > const unsigned char *salt, size_t saltlen, > uint64_t N, uint64_t r, uint64_t p, uint64_t maxmem, > unsigned char *key, size_t keylen); >int EVP_PBE_scrypt_ex(const char *pass, size_t passlen, > const unsigned char *salt, size_t saltlen, > uint64_t N, uint64_t r, uint64_t p, uint64_t maxmem, > unsigned char *key, size_t keylen, > OSSL_LIB_CTX *ctx, const char *propq); > >int PKCS5_v2_scrypt_keyivgen(EVP_CIPHER_CTX *ctx, const char *pass, > int passlen, ASN1_TYPE *param, > const EVP_CIPHER *c, const EVP_MD *md, int en_de); >int PKCS5_v2_scrypt_keyivgen_ex(EVP_CIPHER_CTX *ctx, const char *pass, > int passlen, ASN1_TYPE *param, > const EVP_CIPHER *c, const EVP_MD *md, int en_de, > OSSL_LIB_CTX *libctx, const char *propq); > > >void PKCS5_PBE_add(void); > >int EVP_PBE_CipherInit(ASN1_OBJECT *pbe_obj, const char *pass, int passlen, > ASN1_TYPE *param, EVP_CIPHER_CTX *ctx, int en_de); > >int EVP_PBE_CipherInit_ex(ASN1_OBJECT *pbe_obj, const char *pass, int passlen, > ASN1_TYPE *param, EVP_CIPHER_CTX *ctx, int en_de, > OSSL_LIB_CTX *libctx, const char *propq); ># 1543 "/usr/include/openssl/evp.h" 3 4 >int EVP_PBE_alg_add_type(int pbe_type, int pbe_nid, int cipher_nid, > int md_nid, EVP_PBE_KEYGEN *keygen); >int EVP_PBE_alg_add(int nid, const EVP_CIPHER *cipher, const EVP_MD *md, > EVP_PBE_KEYGEN *keygen); >int EVP_PBE_find(int type, int pbe_nid, int *pcnid, int *pmnid, > EVP_PBE_KEYGEN **pkeygen); >int EVP_PBE_find_ex(int type, int pbe_nid, int *pcnid, int *pmnid, > EVP_PBE_KEYGEN **pkeygen, EVP_PBE_KEYGEN_EX **pkeygen_ex); >void EVP_PBE_cleanup(void); >int EVP_PBE_get(int *ptype, int *ppbe_nid, size_t num); ># 1569 "/usr/include/openssl/evp.h" 3 4 >int EVP_PKEY_asn1_get_count(void); >const EVP_PKEY_ASN1_METHOD *EVP_PKEY_asn1_get0(int idx); >const EVP_PKEY_ASN1_METHOD *EVP_PKEY_asn1_find(ENGINE **pe, int type); >const EVP_PKEY_ASN1_METHOD *EVP_PKEY_asn1_find_str(ENGINE **pe, > const char *str, int len); >int EVP_PKEY_asn1_add0(const EVP_PKEY_ASN1_METHOD *ameth); >int EVP_PKEY_asn1_add_alias(int to, int from); >int EVP_PKEY_asn1_get0_info(int *ppkey_id, int *pkey_base_id, > int *ppkey_flags, const char **pinfo, > const char **ppem_str, > const EVP_PKEY_ASN1_METHOD *ameth); > >const EVP_PKEY_ASN1_METHOD *EVP_PKEY_get0_asn1(const EVP_PKEY *pkey); >EVP_PKEY_ASN1_METHOD *EVP_PKEY_asn1_new(int id, int flags, > const char *pem_str, > const char *info); >void EVP_PKEY_asn1_copy(EVP_PKEY_ASN1_METHOD *dst, > const EVP_PKEY_ASN1_METHOD *src); >void EVP_PKEY_asn1_free(EVP_PKEY_ASN1_METHOD *ameth); >void EVP_PKEY_asn1_set_public(EVP_PKEY_ASN1_METHOD *ameth, > int (*pub_decode) (EVP_PKEY *pk, > const X509_PUBKEY *pub), > int (*pub_encode) (X509_PUBKEY *pub, > const EVP_PKEY *pk), > int (*pub_cmp) (const EVP_PKEY *a, > const EVP_PKEY *b), > int (*pub_print) (BIO *out, > const EVP_PKEY *pkey, > int indent, ASN1_PCTX *pctx), > int (*pkey_size) (const EVP_PKEY *pk), > int (*pkey_bits) (const EVP_PKEY *pk)); >void EVP_PKEY_asn1_set_private(EVP_PKEY_ASN1_METHOD *ameth, > int (*priv_decode) (EVP_PKEY *pk, > const PKCS8_PRIV_KEY_INFO > *p8inf), > int (*priv_encode) (PKCS8_PRIV_KEY_INFO *p8, > const EVP_PKEY *pk), > int (*priv_print) (BIO *out, > const EVP_PKEY *pkey, > int indent, > ASN1_PCTX *pctx)); >void EVP_PKEY_asn1_set_param(EVP_PKEY_ASN1_METHOD *ameth, > int (*param_decode) (EVP_PKEY *pkey, > const unsigned char **pder, > int derlen), > int (*param_encode) (const EVP_PKEY *pkey, > unsigned char **pder), > int (*param_missing) (const EVP_PKEY *pk), > int (*param_copy) (EVP_PKEY *to, > const EVP_PKEY *from), > int (*param_cmp) (const EVP_PKEY *a, > const EVP_PKEY *b), > int (*param_print) (BIO *out, > const EVP_PKEY *pkey, > int indent, > ASN1_PCTX *pctx)); > >void EVP_PKEY_asn1_set_free(EVP_PKEY_ASN1_METHOD *ameth, > void (*pkey_free) (EVP_PKEY *pkey)); >void EVP_PKEY_asn1_set_ctrl(EVP_PKEY_ASN1_METHOD *ameth, > int (*pkey_ctrl) (EVP_PKEY *pkey, int op, > long arg1, void *arg2)); >void EVP_PKEY_asn1_set_item(EVP_PKEY_ASN1_METHOD *ameth, > int (*item_verify) (EVP_MD_CTX *ctx, > const ASN1_ITEM *it, > const void *data, > const X509_ALGOR *a, > const ASN1_BIT_STRING *sig, > EVP_PKEY *pkey), > int (*item_sign) (EVP_MD_CTX *ctx, > const ASN1_ITEM *it, > const void *data, > X509_ALGOR *alg1, > X509_ALGOR *alg2, > ASN1_BIT_STRING *sig)); > >void EVP_PKEY_asn1_set_siginf(EVP_PKEY_ASN1_METHOD *ameth, > int (*siginf_set) (X509_SIG_INFO *siginf, > const X509_ALGOR *alg, > const ASN1_STRING *sig)); > >void EVP_PKEY_asn1_set_check(EVP_PKEY_ASN1_METHOD *ameth, > int (*pkey_check) (const EVP_PKEY *pk)); > >void EVP_PKEY_asn1_set_public_check(EVP_PKEY_ASN1_METHOD *ameth, > int (*pkey_pub_check) (const EVP_PKEY *pk)); > >void EVP_PKEY_asn1_set_param_check(EVP_PKEY_ASN1_METHOD *ameth, > int (*pkey_param_check) (const EVP_PKEY *pk)); > >void EVP_PKEY_asn1_set_set_priv_key(EVP_PKEY_ASN1_METHOD *ameth, > int (*set_priv_key) (EVP_PKEY *pk, > const unsigned char > *priv, > size_t len)); >void EVP_PKEY_asn1_set_set_pub_key(EVP_PKEY_ASN1_METHOD *ameth, > int (*set_pub_key) (EVP_PKEY *pk, > const unsigned char *pub, > size_t len)); >void EVP_PKEY_asn1_set_get_priv_key(EVP_PKEY_ASN1_METHOD *ameth, > int (*get_priv_key) (const EVP_PKEY *pk, > unsigned char *priv, > size_t *len)); >void EVP_PKEY_asn1_set_get_pub_key(EVP_PKEY_ASN1_METHOD *ameth, > int (*get_pub_key) (const EVP_PKEY *pk, > unsigned char *pub, > size_t *len)); > >void EVP_PKEY_asn1_set_security_bits(EVP_PKEY_ASN1_METHOD *ameth, > int (*pkey_security_bits) (const EVP_PKEY > *pk)); > >int EVP_PKEY_CTX_get_signature_md(EVP_PKEY_CTX *ctx, const EVP_MD **md); >int EVP_PKEY_CTX_set_signature_md(EVP_PKEY_CTX *ctx, const EVP_MD *md); > >int EVP_PKEY_CTX_set1_id(EVP_PKEY_CTX *ctx, const void *id, int len); >int EVP_PKEY_CTX_get1_id(EVP_PKEY_CTX *ctx, void *id); >int EVP_PKEY_CTX_get1_id_len(EVP_PKEY_CTX *ctx, size_t *id_len); > >int EVP_PKEY_CTX_set_kem_op(EVP_PKEY_CTX *ctx, const char *op); > >const char *EVP_PKEY_get0_type_name(const EVP_PKEY *key); ># 1721 "/usr/include/openssl/evp.h" 3 4 >int EVP_PKEY_CTX_set_mac_key(EVP_PKEY_CTX *ctx, const unsigned char *key, > int keylen); ># 1753 "/usr/include/openssl/evp.h" 3 4 >__attribute__((deprecated("Since OpenSSL " "3.0"))) const EVP_PKEY_METHOD *EVP_PKEY_meth_find(int type); >__attribute__((deprecated("Since OpenSSL " "3.0"))) EVP_PKEY_METHOD *EVP_PKEY_meth_new(int id, int flags); >__attribute__((deprecated("Since OpenSSL " "3.0"))) void EVP_PKEY_meth_get0_info(int *ppkey_id, int *pflags, > const EVP_PKEY_METHOD *meth); >__attribute__((deprecated("Since OpenSSL " "3.0"))) void EVP_PKEY_meth_copy(EVP_PKEY_METHOD *dst, > const EVP_PKEY_METHOD *src); >__attribute__((deprecated("Since OpenSSL " "3.0"))) void EVP_PKEY_meth_free(EVP_PKEY_METHOD *pmeth); >__attribute__((deprecated("Since OpenSSL " "3.0"))) int EVP_PKEY_meth_add0(const EVP_PKEY_METHOD *pmeth); >__attribute__((deprecated("Since OpenSSL " "3.0"))) int EVP_PKEY_meth_remove(const EVP_PKEY_METHOD *pmeth); >__attribute__((deprecated("Since OpenSSL " "3.0"))) size_t EVP_PKEY_meth_get_count(void); >__attribute__((deprecated("Since OpenSSL " "3.0"))) const EVP_PKEY_METHOD *EVP_PKEY_meth_get0(size_t idx); > > >EVP_KEYMGMT *EVP_KEYMGMT_fetch(OSSL_LIB_CTX *ctx, const char *algorithm, > const char *properties); >int EVP_KEYMGMT_up_ref(EVP_KEYMGMT *keymgmt); >void EVP_KEYMGMT_free(EVP_KEYMGMT *keymgmt); >const OSSL_PROVIDER *EVP_KEYMGMT_get0_provider(const EVP_KEYMGMT *keymgmt); >const char *EVP_KEYMGMT_get0_name(const EVP_KEYMGMT *keymgmt); >const char *EVP_KEYMGMT_get0_description(const EVP_KEYMGMT *keymgmt); >int EVP_KEYMGMT_is_a(const EVP_KEYMGMT *keymgmt, const char *name); >void EVP_KEYMGMT_do_all_provided(OSSL_LIB_CTX *libctx, > void (*fn)(EVP_KEYMGMT *keymgmt, void *arg), > void *arg); >int EVP_KEYMGMT_names_do_all(const EVP_KEYMGMT *keymgmt, > void (*fn)(const char *name, void *data), > void *data); >const OSSL_PARAM *EVP_KEYMGMT_gettable_params(const EVP_KEYMGMT *keymgmt); >const OSSL_PARAM *EVP_KEYMGMT_settable_params(const EVP_KEYMGMT *keymgmt); >const OSSL_PARAM *EVP_KEYMGMT_gen_settable_params(const EVP_KEYMGMT *keymgmt); > >EVP_PKEY_CTX *EVP_PKEY_CTX_new(EVP_PKEY *pkey, ENGINE *e); >EVP_PKEY_CTX *EVP_PKEY_CTX_new_id(int id, ENGINE *e); >EVP_PKEY_CTX *EVP_PKEY_CTX_new_from_name(OSSL_LIB_CTX *libctx, > const char *name, > const char *propquery); >EVP_PKEY_CTX *EVP_PKEY_CTX_new_from_pkey(OSSL_LIB_CTX *libctx, > EVP_PKEY *pkey, const char *propquery); >EVP_PKEY_CTX *EVP_PKEY_CTX_dup(const EVP_PKEY_CTX *ctx); >void EVP_PKEY_CTX_free(EVP_PKEY_CTX *ctx); >int EVP_PKEY_CTX_is_a(EVP_PKEY_CTX *ctx, const char *keytype); > >int EVP_PKEY_CTX_get_params(EVP_PKEY_CTX *ctx, OSSL_PARAM *params); >const OSSL_PARAM *EVP_PKEY_CTX_gettable_params(const EVP_PKEY_CTX *ctx); >int EVP_PKEY_CTX_set_params(EVP_PKEY_CTX *ctx, const OSSL_PARAM *params); >const OSSL_PARAM *EVP_PKEY_CTX_settable_params(const EVP_PKEY_CTX *ctx); >int EVP_PKEY_CTX_ctrl(EVP_PKEY_CTX *ctx, int keytype, int optype, > int cmd, int p1, void *p2); >int EVP_PKEY_CTX_ctrl_str(EVP_PKEY_CTX *ctx, const char *type, > const char *value); >int EVP_PKEY_CTX_ctrl_uint64(EVP_PKEY_CTX *ctx, int keytype, int optype, > int cmd, uint64_t value); > >int EVP_PKEY_CTX_str2ctrl(EVP_PKEY_CTX *ctx, int cmd, const char *str); >int EVP_PKEY_CTX_hex2ctrl(EVP_PKEY_CTX *ctx, int cmd, const char *hex); > >int EVP_PKEY_CTX_md(EVP_PKEY_CTX *ctx, int optype, int cmd, const char *md); > >int EVP_PKEY_CTX_get_operation(EVP_PKEY_CTX *ctx); >void EVP_PKEY_CTX_set0_keygen_info(EVP_PKEY_CTX *ctx, int *dat, int datlen); > >EVP_PKEY *EVP_PKEY_new_mac_key(int type, ENGINE *e, > const unsigned char *key, int keylen); >EVP_PKEY *EVP_PKEY_new_raw_private_key_ex(OSSL_LIB_CTX *libctx, > const char *keytype, > const char *propq, > const unsigned char *priv, size_t len); >EVP_PKEY *EVP_PKEY_new_raw_private_key(int type, ENGINE *e, > const unsigned char *priv, > size_t len); >EVP_PKEY *EVP_PKEY_new_raw_public_key_ex(OSSL_LIB_CTX *libctx, > const char *keytype, const char *propq, > const unsigned char *pub, size_t len); >EVP_PKEY *EVP_PKEY_new_raw_public_key(int type, ENGINE *e, > const unsigned char *pub, > size_t len); >int EVP_PKEY_get_raw_private_key(const EVP_PKEY *pkey, unsigned char *priv, > size_t *len); >int EVP_PKEY_get_raw_public_key(const EVP_PKEY *pkey, unsigned char *pub, > size_t *len); > > >__attribute__((deprecated("Since OpenSSL " "3.0"))) >EVP_PKEY *EVP_PKEY_new_CMAC_key(ENGINE *e, const unsigned char *priv, > size_t len, const EVP_CIPHER *cipher); > > >void EVP_PKEY_CTX_set_data(EVP_PKEY_CTX *ctx, void *data); >void *EVP_PKEY_CTX_get_data(const EVP_PKEY_CTX *ctx); >EVP_PKEY *EVP_PKEY_CTX_get0_pkey(EVP_PKEY_CTX *ctx); > >EVP_PKEY *EVP_PKEY_CTX_get0_peerkey(EVP_PKEY_CTX *ctx); > >void EVP_PKEY_CTX_set_app_data(EVP_PKEY_CTX *ctx, void *data); >void *EVP_PKEY_CTX_get_app_data(EVP_PKEY_CTX *ctx); > >void EVP_SIGNATURE_free(EVP_SIGNATURE *signature); >int EVP_SIGNATURE_up_ref(EVP_SIGNATURE *signature); >OSSL_PROVIDER *EVP_SIGNATURE_get0_provider(const EVP_SIGNATURE *signature); >EVP_SIGNATURE *EVP_SIGNATURE_fetch(OSSL_LIB_CTX *ctx, const char *algorithm, > const char *properties); >int EVP_SIGNATURE_is_a(const EVP_SIGNATURE *signature, const char *name); >const char *EVP_SIGNATURE_get0_name(const EVP_SIGNATURE *signature); >const char *EVP_SIGNATURE_get0_description(const EVP_SIGNATURE *signature); >void EVP_SIGNATURE_do_all_provided(OSSL_LIB_CTX *libctx, > void (*fn)(EVP_SIGNATURE *signature, > void *data), > void *data); >int EVP_SIGNATURE_names_do_all(const EVP_SIGNATURE *signature, > void (*fn)(const char *name, void *data), > void *data); >const OSSL_PARAM *EVP_SIGNATURE_gettable_ctx_params(const EVP_SIGNATURE *sig); >const OSSL_PARAM *EVP_SIGNATURE_settable_ctx_params(const EVP_SIGNATURE *sig); > >void EVP_ASYM_CIPHER_free(EVP_ASYM_CIPHER *cipher); >int EVP_ASYM_CIPHER_up_ref(EVP_ASYM_CIPHER *cipher); >OSSL_PROVIDER *EVP_ASYM_CIPHER_get0_provider(const EVP_ASYM_CIPHER *cipher); >EVP_ASYM_CIPHER *EVP_ASYM_CIPHER_fetch(OSSL_LIB_CTX *ctx, const char *algorithm, > const char *properties); >int EVP_ASYM_CIPHER_is_a(const EVP_ASYM_CIPHER *cipher, const char *name); >const char *EVP_ASYM_CIPHER_get0_name(const EVP_ASYM_CIPHER *cipher); >const char *EVP_ASYM_CIPHER_get0_description(const EVP_ASYM_CIPHER *cipher); >void EVP_ASYM_CIPHER_do_all_provided(OSSL_LIB_CTX *libctx, > void (*fn)(EVP_ASYM_CIPHER *cipher, > void *arg), > void *arg); >int EVP_ASYM_CIPHER_names_do_all(const EVP_ASYM_CIPHER *cipher, > void (*fn)(const char *name, void *data), > void *data); >const OSSL_PARAM *EVP_ASYM_CIPHER_gettable_ctx_params(const EVP_ASYM_CIPHER *ciph); >const OSSL_PARAM *EVP_ASYM_CIPHER_settable_ctx_params(const EVP_ASYM_CIPHER *ciph); > >void EVP_KEM_free(EVP_KEM *wrap); >int EVP_KEM_up_ref(EVP_KEM *wrap); >OSSL_PROVIDER *EVP_KEM_get0_provider(const EVP_KEM *wrap); >EVP_KEM *EVP_KEM_fetch(OSSL_LIB_CTX *ctx, const char *algorithm, > const char *properties); >int EVP_KEM_is_a(const EVP_KEM *wrap, const char *name); >const char *EVP_KEM_get0_name(const EVP_KEM *wrap); >const char *EVP_KEM_get0_description(const EVP_KEM *wrap); >void EVP_KEM_do_all_provided(OSSL_LIB_CTX *libctx, > void (*fn)(EVP_KEM *wrap, void *arg), void *arg); >int EVP_KEM_names_do_all(const EVP_KEM *wrap, > void (*fn)(const char *name, void *data), void *data); >const OSSL_PARAM *EVP_KEM_gettable_ctx_params(const EVP_KEM *kem); >const OSSL_PARAM *EVP_KEM_settable_ctx_params(const EVP_KEM *kem); > >int EVP_PKEY_sign_init(EVP_PKEY_CTX *ctx); >int EVP_PKEY_sign_init_ex(EVP_PKEY_CTX *ctx, const OSSL_PARAM params[]); >int EVP_PKEY_sign(EVP_PKEY_CTX *ctx, > unsigned char *sig, size_t *siglen, > const unsigned char *tbs, size_t tbslen); >int EVP_PKEY_verify_init(EVP_PKEY_CTX *ctx); >int EVP_PKEY_verify_init_ex(EVP_PKEY_CTX *ctx, const OSSL_PARAM params[]); >int EVP_PKEY_verify(EVP_PKEY_CTX *ctx, > const unsigned char *sig, size_t siglen, > const unsigned char *tbs, size_t tbslen); >int EVP_PKEY_verify_recover_init(EVP_PKEY_CTX *ctx); >int EVP_PKEY_verify_recover_init_ex(EVP_PKEY_CTX *ctx, > const OSSL_PARAM params[]); >int EVP_PKEY_verify_recover(EVP_PKEY_CTX *ctx, > unsigned char *rout, size_t *routlen, > const unsigned char *sig, size_t siglen); >int EVP_PKEY_encrypt_init(EVP_PKEY_CTX *ctx); >int EVP_PKEY_encrypt_init_ex(EVP_PKEY_CTX *ctx, const OSSL_PARAM params[]); >int EVP_PKEY_encrypt(EVP_PKEY_CTX *ctx, > unsigned char *out, size_t *outlen, > const unsigned char *in, size_t inlen); >int EVP_PKEY_decrypt_init(EVP_PKEY_CTX *ctx); >int EVP_PKEY_decrypt_init_ex(EVP_PKEY_CTX *ctx, const OSSL_PARAM params[]); >int EVP_PKEY_decrypt(EVP_PKEY_CTX *ctx, > unsigned char *out, size_t *outlen, > const unsigned char *in, size_t inlen); > >int EVP_PKEY_derive_init(EVP_PKEY_CTX *ctx); >int EVP_PKEY_derive_init_ex(EVP_PKEY_CTX *ctx, const OSSL_PARAM params[]); >int EVP_PKEY_derive_set_peer_ex(EVP_PKEY_CTX *ctx, EVP_PKEY *peer, > int validate_peer); >int EVP_PKEY_derive_set_peer(EVP_PKEY_CTX *ctx, EVP_PKEY *peer); >int EVP_PKEY_derive(EVP_PKEY_CTX *ctx, unsigned char *key, size_t *keylen); > >int EVP_PKEY_encapsulate_init(EVP_PKEY_CTX *ctx, const OSSL_PARAM params[]); >int EVP_PKEY_auth_encapsulate_init(EVP_PKEY_CTX *ctx, EVP_PKEY *authpriv, > const OSSL_PARAM params[]); >int EVP_PKEY_encapsulate(EVP_PKEY_CTX *ctx, > unsigned char *wrappedkey, size_t *wrappedkeylen, > unsigned char *genkey, size_t *genkeylen); >int EVP_PKEY_decapsulate_init(EVP_PKEY_CTX *ctx, const OSSL_PARAM params[]); >int EVP_PKEY_auth_decapsulate_init(EVP_PKEY_CTX *ctx, EVP_PKEY *authpub, > const OSSL_PARAM params[]); >int EVP_PKEY_decapsulate(EVP_PKEY_CTX *ctx, > unsigned char *unwrapped, size_t *unwrappedlen, > const unsigned char *wrapped, size_t wrappedlen); >typedef int EVP_PKEY_gen_cb(EVP_PKEY_CTX *ctx); > >int EVP_PKEY_fromdata_init(EVP_PKEY_CTX *ctx); >int EVP_PKEY_fromdata(EVP_PKEY_CTX *ctx, EVP_PKEY **ppkey, int selection, > OSSL_PARAM param[]); >const OSSL_PARAM *EVP_PKEY_fromdata_settable(EVP_PKEY_CTX *ctx, int selection); > >int EVP_PKEY_todata(const EVP_PKEY *pkey, int selection, OSSL_PARAM **params); >int EVP_PKEY_export(const EVP_PKEY *pkey, int selection, > OSSL_CALLBACK *export_cb, void *export_cbarg); > >const OSSL_PARAM *EVP_PKEY_gettable_params(const EVP_PKEY *pkey); >int EVP_PKEY_get_params(const EVP_PKEY *pkey, OSSL_PARAM params[]); >int EVP_PKEY_get_int_param(const EVP_PKEY *pkey, const char *key_name, > int *out); >int EVP_PKEY_get_size_t_param(const EVP_PKEY *pkey, const char *key_name, > size_t *out); >int EVP_PKEY_get_bn_param(const EVP_PKEY *pkey, const char *key_name, > BIGNUM **bn); >int EVP_PKEY_get_utf8_string_param(const EVP_PKEY *pkey, const char *key_name, > char *str, size_t max_buf_sz, size_t *out_sz); >int EVP_PKEY_get_octet_string_param(const EVP_PKEY *pkey, const char *key_name, > unsigned char *buf, size_t max_buf_sz, > size_t *out_sz); > >const OSSL_PARAM *EVP_PKEY_settable_params(const EVP_PKEY *pkey); >int EVP_PKEY_set_params(EVP_PKEY *pkey, OSSL_PARAM params[]); >int EVP_PKEY_set_int_param(EVP_PKEY *pkey, const char *key_name, int in); >int EVP_PKEY_set_size_t_param(EVP_PKEY *pkey, const char *key_name, size_t in); >int EVP_PKEY_set_bn_param(EVP_PKEY *pkey, const char *key_name, > const BIGNUM *bn); >int EVP_PKEY_set_utf8_string_param(EVP_PKEY *pkey, const char *key_name, > const char *str); >int EVP_PKEY_set_octet_string_param(EVP_PKEY *pkey, const char *key_name, > const unsigned char *buf, size_t bsize); > >int EVP_PKEY_get_ec_point_conv_form(const EVP_PKEY *pkey); >int EVP_PKEY_get_field_type(const EVP_PKEY *pkey); > >EVP_PKEY *EVP_PKEY_Q_keygen(OSSL_LIB_CTX *libctx, const char *propq, > const char *type, ...); >int EVP_PKEY_paramgen_init(EVP_PKEY_CTX *ctx); >int EVP_PKEY_paramgen(EVP_PKEY_CTX *ctx, EVP_PKEY **ppkey); >int EVP_PKEY_keygen_init(EVP_PKEY_CTX *ctx); >int EVP_PKEY_keygen(EVP_PKEY_CTX *ctx, EVP_PKEY **ppkey); >int EVP_PKEY_generate(EVP_PKEY_CTX *ctx, EVP_PKEY **ppkey); >int EVP_PKEY_check(EVP_PKEY_CTX *ctx); >int EVP_PKEY_public_check(EVP_PKEY_CTX *ctx); >int EVP_PKEY_public_check_quick(EVP_PKEY_CTX *ctx); >int EVP_PKEY_param_check(EVP_PKEY_CTX *ctx); >int EVP_PKEY_param_check_quick(EVP_PKEY_CTX *ctx); >int EVP_PKEY_private_check(EVP_PKEY_CTX *ctx); >int EVP_PKEY_pairwise_check(EVP_PKEY_CTX *ctx); > > > >int EVP_PKEY_set_ex_data(EVP_PKEY *key, int idx, void *arg); >void *EVP_PKEY_get_ex_data(const EVP_PKEY *key, int idx); > >void EVP_PKEY_CTX_set_cb(EVP_PKEY_CTX *ctx, EVP_PKEY_gen_cb *cb); >EVP_PKEY_gen_cb *EVP_PKEY_CTX_get_cb(EVP_PKEY_CTX *ctx); > >int EVP_PKEY_CTX_get_keygen_info(EVP_PKEY_CTX *ctx, int idx); > >__attribute__((deprecated("Since OpenSSL " "3.0"))) void EVP_PKEY_meth_set_init(EVP_PKEY_METHOD *pmeth, > int (*init) (EVP_PKEY_CTX *ctx)); >__attribute__((deprecated("Since OpenSSL " "3.0"))) void EVP_PKEY_meth_set_copy > (EVP_PKEY_METHOD *pmeth, int (*copy) (EVP_PKEY_CTX *dst, > const EVP_PKEY_CTX *src)); >__attribute__((deprecated("Since OpenSSL " "3.0"))) void EVP_PKEY_meth_set_cleanup > (EVP_PKEY_METHOD *pmeth, void (*cleanup) (EVP_PKEY_CTX *ctx)); >__attribute__((deprecated("Since OpenSSL " "3.0"))) void EVP_PKEY_meth_set_paramgen > (EVP_PKEY_METHOD *pmeth, int (*paramgen_init) (EVP_PKEY_CTX *ctx), > int (*paramgen) (EVP_PKEY_CTX *ctx, EVP_PKEY *pkey)); >__attribute__((deprecated("Since OpenSSL " "3.0"))) void EVP_PKEY_meth_set_keygen > (EVP_PKEY_METHOD *pmeth, int (*keygen_init) (EVP_PKEY_CTX *ctx), > int (*keygen) (EVP_PKEY_CTX *ctx, EVP_PKEY *pkey)); >__attribute__((deprecated("Since OpenSSL " "3.0"))) void EVP_PKEY_meth_set_sign > (EVP_PKEY_METHOD *pmeth, int (*sign_init) (EVP_PKEY_CTX *ctx), > int (*sign) (EVP_PKEY_CTX *ctx, unsigned char *sig, size_t *siglen, > const unsigned char *tbs, size_t tbslen)); >__attribute__((deprecated("Since OpenSSL " "3.0"))) void EVP_PKEY_meth_set_verify > (EVP_PKEY_METHOD *pmeth, int (*verify_init) (EVP_PKEY_CTX *ctx), > int (*verify) (EVP_PKEY_CTX *ctx, const unsigned char *sig, size_t siglen, > const unsigned char *tbs, size_t tbslen)); >__attribute__((deprecated("Since OpenSSL " "3.0"))) void EVP_PKEY_meth_set_verify_recover > (EVP_PKEY_METHOD *pmeth, int (*verify_recover_init) (EVP_PKEY_CTX *ctx), > int (*verify_recover) (EVP_PKEY_CTX *ctx, unsigned char *sig, > size_t *siglen, const unsigned char *tbs, > size_t tbslen)); >__attribute__((deprecated("Since OpenSSL " "3.0"))) void EVP_PKEY_meth_set_signctx > (EVP_PKEY_METHOD *pmeth, int (*signctx_init) (EVP_PKEY_CTX *ctx, > EVP_MD_CTX *mctx), > int (*signctx) (EVP_PKEY_CTX *ctx, unsigned char *sig, size_t *siglen, > EVP_MD_CTX *mctx)); >__attribute__((deprecated("Since OpenSSL " "3.0"))) void EVP_PKEY_meth_set_verifyctx > (EVP_PKEY_METHOD *pmeth, int (*verifyctx_init) (EVP_PKEY_CTX *ctx, > EVP_MD_CTX *mctx), > int (*verifyctx) (EVP_PKEY_CTX *ctx, const unsigned char *sig, int siglen, > EVP_MD_CTX *mctx)); >__attribute__((deprecated("Since OpenSSL " "3.0"))) void EVP_PKEY_meth_set_encrypt > (EVP_PKEY_METHOD *pmeth, int (*encrypt_init) (EVP_PKEY_CTX *ctx), > int (*encryptfn) (EVP_PKEY_CTX *ctx, unsigned char *out, size_t *outlen, > const unsigned char *in, size_t inlen)); >__attribute__((deprecated("Since OpenSSL " "3.0"))) void EVP_PKEY_meth_set_decrypt > (EVP_PKEY_METHOD *pmeth, int (*decrypt_init) (EVP_PKEY_CTX *ctx), > int (*decrypt) (EVP_PKEY_CTX *ctx, unsigned char *out, size_t *outlen, > const unsigned char *in, size_t inlen)); >__attribute__((deprecated("Since OpenSSL " "3.0"))) void EVP_PKEY_meth_set_derive > (EVP_PKEY_METHOD *pmeth, int (*derive_init) (EVP_PKEY_CTX *ctx), > int (*derive) (EVP_PKEY_CTX *ctx, unsigned char *key, size_t *keylen)); >__attribute__((deprecated("Since OpenSSL " "3.0"))) void EVP_PKEY_meth_set_ctrl > (EVP_PKEY_METHOD *pmeth, int (*ctrl) (EVP_PKEY_CTX *ctx, int type, int p1, > void *p2), > int (*ctrl_str) (EVP_PKEY_CTX *ctx, const char *type, const char *value)); >__attribute__((deprecated("Since OpenSSL " "3.0"))) void EVP_PKEY_meth_set_digestsign > (EVP_PKEY_METHOD *pmeth, > int (*digestsign) (EVP_MD_CTX *ctx, unsigned char *sig, size_t *siglen, > const unsigned char *tbs, size_t tbslen)); >__attribute__((deprecated("Since OpenSSL " "3.0"))) void EVP_PKEY_meth_set_digestverify > (EVP_PKEY_METHOD *pmeth, > int (*digestverify) (EVP_MD_CTX *ctx, const unsigned char *sig, > size_t siglen, const unsigned char *tbs, > size_t tbslen)); >__attribute__((deprecated("Since OpenSSL " "3.0"))) void EVP_PKEY_meth_set_check > (EVP_PKEY_METHOD *pmeth, int (*check) (EVP_PKEY *pkey)); >__attribute__((deprecated("Since OpenSSL " "3.0"))) void EVP_PKEY_meth_set_public_check > (EVP_PKEY_METHOD *pmeth, int (*check) (EVP_PKEY *pkey)); >__attribute__((deprecated("Since OpenSSL " "3.0"))) void EVP_PKEY_meth_set_param_check > (EVP_PKEY_METHOD *pmeth, int (*check) (EVP_PKEY *pkey)); >__attribute__((deprecated("Since OpenSSL " "3.0"))) void EVP_PKEY_meth_set_digest_custom > (EVP_PKEY_METHOD *pmeth, int (*digest_custom) (EVP_PKEY_CTX *ctx, > EVP_MD_CTX *mctx)); >__attribute__((deprecated("Since OpenSSL " "3.0"))) void EVP_PKEY_meth_get_init > (const EVP_PKEY_METHOD *pmeth, int (**pinit) (EVP_PKEY_CTX *ctx)); >__attribute__((deprecated("Since OpenSSL " "3.0"))) void EVP_PKEY_meth_get_copy > (const EVP_PKEY_METHOD *pmeth, int (**pcopy) (EVP_PKEY_CTX *dst, > const EVP_PKEY_CTX *src)); >__attribute__((deprecated("Since OpenSSL " "3.0"))) void EVP_PKEY_meth_get_cleanup > (const EVP_PKEY_METHOD *pmeth, void (**pcleanup) (EVP_PKEY_CTX *ctx)); >__attribute__((deprecated("Since OpenSSL " "3.0"))) void EVP_PKEY_meth_get_paramgen > (const EVP_PKEY_METHOD *pmeth, int (**pparamgen_init) (EVP_PKEY_CTX *ctx), > int (**pparamgen) (EVP_PKEY_CTX *ctx, EVP_PKEY *pkey)); >__attribute__((deprecated("Since OpenSSL " "3.0"))) void EVP_PKEY_meth_get_keygen > (const EVP_PKEY_METHOD *pmeth, int (**pkeygen_init) (EVP_PKEY_CTX *ctx), > int (**pkeygen) (EVP_PKEY_CTX *ctx, EVP_PKEY *pkey)); >__attribute__((deprecated("Since OpenSSL " "3.0"))) void EVP_PKEY_meth_get_sign > (const EVP_PKEY_METHOD *pmeth, int (**psign_init) (EVP_PKEY_CTX *ctx), > int (**psign) (EVP_PKEY_CTX *ctx, unsigned char *sig, size_t *siglen, > const unsigned char *tbs, size_t tbslen)); >__attribute__((deprecated("Since OpenSSL " "3.0"))) void EVP_PKEY_meth_get_verify > (const EVP_PKEY_METHOD *pmeth, int (**pverify_init) (EVP_PKEY_CTX *ctx), > int (**pverify) (EVP_PKEY_CTX *ctx, const unsigned char *sig, > size_t siglen, const unsigned char *tbs, size_t tbslen)); >__attribute__((deprecated("Since OpenSSL " "3.0"))) void EVP_PKEY_meth_get_verify_recover > (const EVP_PKEY_METHOD *pmeth, > int (**pverify_recover_init) (EVP_PKEY_CTX *ctx), > int (**pverify_recover) (EVP_PKEY_CTX *ctx, unsigned char *sig, > size_t *siglen, const unsigned char *tbs, > size_t tbslen)); >__attribute__((deprecated("Since OpenSSL " "3.0"))) void EVP_PKEY_meth_get_signctx > (const EVP_PKEY_METHOD *pmeth, > int (**psignctx_init) (EVP_PKEY_CTX *ctx, EVP_MD_CTX *mctx), > int (**psignctx) (EVP_PKEY_CTX *ctx, unsigned char *sig, size_t *siglen, > EVP_MD_CTX *mctx)); >__attribute__((deprecated("Since OpenSSL " "3.0"))) void EVP_PKEY_meth_get_verifyctx > (const EVP_PKEY_METHOD *pmeth, > int (**pverifyctx_init) (EVP_PKEY_CTX *ctx, EVP_MD_CTX *mctx), > int (**pverifyctx) (EVP_PKEY_CTX *ctx, const unsigned char *sig, > int siglen, EVP_MD_CTX *mctx)); >__attribute__((deprecated("Since OpenSSL " "3.0"))) void EVP_PKEY_meth_get_encrypt > (const EVP_PKEY_METHOD *pmeth, int (**pencrypt_init) (EVP_PKEY_CTX *ctx), > int (**pencryptfn) (EVP_PKEY_CTX *ctx, unsigned char *out, size_t *outlen, > const unsigned char *in, size_t inlen)); >__attribute__((deprecated("Since OpenSSL " "3.0"))) void EVP_PKEY_meth_get_decrypt > (const EVP_PKEY_METHOD *pmeth, int (**pdecrypt_init) (EVP_PKEY_CTX *ctx), > int (**pdecrypt) (EVP_PKEY_CTX *ctx, unsigned char *out, size_t *outlen, > const unsigned char *in, size_t inlen)); >__attribute__((deprecated("Since OpenSSL " "3.0"))) void EVP_PKEY_meth_get_derive > (const EVP_PKEY_METHOD *pmeth, int (**pderive_init) (EVP_PKEY_CTX *ctx), > int (**pderive) (EVP_PKEY_CTX *ctx, unsigned char *key, size_t *keylen)); >__attribute__((deprecated("Since OpenSSL " "3.0"))) void EVP_PKEY_meth_get_ctrl > (const EVP_PKEY_METHOD *pmeth, > int (**pctrl) (EVP_PKEY_CTX *ctx, int type, int p1, void *p2), > int (**pctrl_str) (EVP_PKEY_CTX *ctx, const char *type, > const char *value)); >__attribute__((deprecated("Since OpenSSL " "3.0"))) void EVP_PKEY_meth_get_digestsign > (const EVP_PKEY_METHOD *pmeth, > int (**digestsign) (EVP_MD_CTX *ctx, unsigned char *sig, size_t *siglen, > const unsigned char *tbs, size_t tbslen)); >__attribute__((deprecated("Since OpenSSL " "3.0"))) void EVP_PKEY_meth_get_digestverify > (const EVP_PKEY_METHOD *pmeth, > int (**digestverify) (EVP_MD_CTX *ctx, const unsigned char *sig, > size_t siglen, const unsigned char *tbs, > size_t tbslen)); >__attribute__((deprecated("Since OpenSSL " "3.0"))) void EVP_PKEY_meth_get_check > (const EVP_PKEY_METHOD *pmeth, int (**pcheck) (EVP_PKEY *pkey)); >__attribute__((deprecated("Since OpenSSL " "3.0"))) void EVP_PKEY_meth_get_public_check > (const EVP_PKEY_METHOD *pmeth, int (**pcheck) (EVP_PKEY *pkey)); >__attribute__((deprecated("Since OpenSSL " "3.0"))) void EVP_PKEY_meth_get_param_check > (const EVP_PKEY_METHOD *pmeth, int (**pcheck) (EVP_PKEY *pkey)); >__attribute__((deprecated("Since OpenSSL " "3.0"))) void EVP_PKEY_meth_get_digest_custom > (const EVP_PKEY_METHOD *pmeth, > int (**pdigest_custom) (EVP_PKEY_CTX *ctx, EVP_MD_CTX *mctx)); > > >void EVP_KEYEXCH_free(EVP_KEYEXCH *exchange); >int EVP_KEYEXCH_up_ref(EVP_KEYEXCH *exchange); >EVP_KEYEXCH *EVP_KEYEXCH_fetch(OSSL_LIB_CTX *ctx, const char *algorithm, > const char *properties); >OSSL_PROVIDER *EVP_KEYEXCH_get0_provider(const EVP_KEYEXCH *exchange); >int EVP_KEYEXCH_is_a(const EVP_KEYEXCH *keyexch, const char *name); >const char *EVP_KEYEXCH_get0_name(const EVP_KEYEXCH *keyexch); >const char *EVP_KEYEXCH_get0_description(const EVP_KEYEXCH *keyexch); >void EVP_KEYEXCH_do_all_provided(OSSL_LIB_CTX *libctx, > void (*fn)(EVP_KEYEXCH *keyexch, void *data), > void *data); >int EVP_KEYEXCH_names_do_all(const EVP_KEYEXCH *keyexch, > void (*fn)(const char *name, void *data), > void *data); >const OSSL_PARAM *EVP_KEYEXCH_gettable_ctx_params(const EVP_KEYEXCH *keyexch); >const OSSL_PARAM *EVP_KEYEXCH_settable_ctx_params(const EVP_KEYEXCH *keyexch); > >void EVP_add_alg_module(void); > >int EVP_PKEY_CTX_set_group_name(EVP_PKEY_CTX *ctx, const char *name); >int EVP_PKEY_CTX_get_group_name(EVP_PKEY_CTX *ctx, char *name, size_t namelen); >int EVP_PKEY_get_group_name(const EVP_PKEY *pkey, char *name, size_t name_sz, > size_t *gname_len); > >OSSL_LIB_CTX *EVP_PKEY_CTX_get0_libctx(EVP_PKEY_CTX *ctx); >const char *EVP_PKEY_CTX_get0_propq(const EVP_PKEY_CTX *ctx); >const OSSL_PROVIDER *EVP_PKEY_CTX_get0_provider(const EVP_PKEY_CTX *ctx); ># 62 "iperf.h" 2 > > ># 1 "iperf_pthread.h" 1 ># 1 "iperf_config.h" 1 ># 2 "iperf_pthread.h" 2 ># 65 "iperf.h" 2 > > > > > > ># 1 "/usr/lib/gcc/armv7a-unknown-linux-musleabihf/14/include/stdatomic.h" 1 3 ># 29 "/usr/lib/gcc/armv7a-unknown-linux-musleabihf/14/include/stdatomic.h" 3 >typedef enum > { > memory_order_relaxed = 0, > memory_order_consume = 1, > memory_order_acquire = 2, > memory_order_release = 3, > memory_order_acq_rel = 4, > memory_order_seq_cst = 5 > } memory_order; > > >typedef _Atomic _Bool atomic_bool; >typedef _Atomic char atomic_char; >typedef _Atomic signed char atomic_schar; >typedef _Atomic unsigned char atomic_uchar; >typedef _Atomic short atomic_short; >typedef _Atomic unsigned short atomic_ushort; >typedef _Atomic int atomic_int; >typedef _Atomic unsigned int atomic_uint; >typedef _Atomic long atomic_long; >typedef _Atomic unsigned long atomic_ulong; >typedef _Atomic long long atomic_llong; >typedef _Atomic unsigned long long atomic_ullong; > > > >typedef _Atomic short unsigned int atomic_char16_t; >typedef _Atomic unsigned int atomic_char32_t; >typedef _Atomic unsigned int atomic_wchar_t; >typedef _Atomic signed char atomic_int_least8_t; >typedef _Atomic unsigned char atomic_uint_least8_t; >typedef _Atomic short int atomic_int_least16_t; >typedef _Atomic short unsigned int atomic_uint_least16_t; >typedef _Atomic int atomic_int_least32_t; >typedef _Atomic unsigned int atomic_uint_least32_t; >typedef _Atomic long long int atomic_int_least64_t; >typedef _Atomic long long unsigned int atomic_uint_least64_t; >typedef _Atomic signed char atomic_int_fast8_t; >typedef _Atomic unsigned char atomic_uint_fast8_t; >typedef _Atomic int atomic_int_fast16_t; >typedef _Atomic unsigned int atomic_uint_fast16_t; >typedef _Atomic int atomic_int_fast32_t; >typedef _Atomic unsigned int atomic_uint_fast32_t; >typedef _Atomic long long int atomic_int_fast64_t; >typedef _Atomic long long unsigned int atomic_uint_fast64_t; >typedef _Atomic int atomic_intptr_t; >typedef _Atomic unsigned long atomic_uintptr_t; >typedef _Atomic unsigned int atomic_size_t; >typedef _Atomic int atomic_ptrdiff_t; >typedef _Atomic long long int atomic_intmax_t; >typedef _Atomic long long unsigned int atomic_uintmax_t; ># 97 "/usr/lib/gcc/armv7a-unknown-linux-musleabihf/14/include/stdatomic.h" 3 >extern void atomic_thread_fence (memory_order); > >extern void atomic_signal_fence (memory_order); ># 226 "/usr/lib/gcc/armv7a-unknown-linux-musleabihf/14/include/stdatomic.h" 3 >typedef _Atomic struct >{ > > _Bool __val; > > > >} atomic_flag; > > > > >extern _Bool atomic_flag_test_and_set (volatile atomic_flag *); > > >extern _Bool atomic_flag_test_and_set_explicit (volatile atomic_flag *, > memory_order); > > > >extern void atomic_flag_clear (volatile atomic_flag *); > >extern void atomic_flag_clear_explicit (volatile atomic_flag *, memory_order); ># 72 "iperf.h" 2 > > > > > > > ># 78 "iperf.h" >typedef uint_fast64_t iperf_size_t; >typedef atomic_uint_fast64_t atomic_iperf_size_t; > > > > > > >struct iperf_interval_results >{ > atomic_iperf_size_t bytes_transferred; > struct iperf_time interval_start_time; > struct iperf_time interval_end_time; > float interval_duration; > > > int64_t interval_packet_count; > int64_t interval_outoforder_packets; > int64_t interval_cnt_error; > int64_t packet_count; > double jitter; > int64_t outoforder_packets; > int64_t cnt_error; > > int omitted; > > > struct tcp_info tcpInfo; > > > > > long interval_retrans; > long snd_cwnd; > long snd_wnd; > struct { struct iperf_interval_results *tqe_next; struct iperf_interval_results **tqe_prev; } irlistentries; > void *custom_data; > long rtt; > long rttvar; > long pmtu; >}; > >struct iperf_stream_result >{ > atomic_iperf_size_t bytes_received; > atomic_iperf_size_t bytes_sent; > atomic_iperf_size_t bytes_received_this_interval; > atomic_iperf_size_t bytes_sent_this_interval; > atomic_iperf_size_t bytes_sent_omit; > long stream_prev_total_retrans; > long stream_retrans; > long stream_max_rtt; > long stream_min_rtt; > long stream_sum_rtt; > int stream_count_rtt; > long stream_max_snd_cwnd; > long stream_max_snd_wnd; > struct iperf_time start_time; > struct iperf_time end_time; > struct iperf_time start_time_fixed; > double sender_time; > double receiver_time; > struct irlisthead { struct iperf_interval_results *tqh_first; struct iperf_interval_results **tqh_last; } interval_results; > void *data; >}; > > >struct iperf_settings >{ > int domain; > int socket_bufsize; > int blksize; > iperf_size_t rate; > iperf_size_t bitrate_limit; > double bitrate_limit_interval; > int bitrate_limit_stats_per_interval; > uint64_t fqrate; > int pacing_timer; > int burst; > int mss; > int ttl; > int tos; > int flowlabel; > iperf_size_t bytes; > iperf_size_t blocks; > char unit_format; > int num_ostreams; > int dont_fragment; > > char *authtoken; > char *client_username; > char *client_password; > EVP_PKEY *client_rsa_pubkey; > > int connect_timeout; > int idle_timeout; > unsigned int snd_timeout; > struct iperf_time rcv_timeout; >}; > >struct iperf_test; > >struct iperf_stream >{ > struct iperf_test* test; > > pthread_t thr; > int done; > > > int local_port; > int remote_port; > int socket; > int id; > int sender; > > > struct iperf_settings *settings; > > > struct iperf_stream_result *result; > Timer *send_timer; > int green_light; > int buffer_fd; > char *buffer; > int pending_size; > int diskfile_fd; > int diskfile_left; > > > > > > int64_t packet_count; > int64_t peer_packet_count; > int64_t peer_omitted_packet_count; > int64_t omitted_packet_count; > double jitter; > double prev_transit; > int64_t outoforder_packets; > int64_t omitted_outoforder_packets; > int64_t cnt_error; > int64_t omitted_cnt_error; > uint64_t target; > > struct sockaddr_storage local_addr; > struct sockaddr_storage remote_addr; > > int (*rcv) (struct iperf_stream * stream); > int (*snd) (struct iperf_stream * stream); > > > int (*rcv2) (struct iperf_stream * stream); > int (*snd2) (struct iperf_stream * stream); > > > struct { struct iperf_stream *sle_next; } streams; > > void *data; >}; > >struct protocol { > int id; > char *name; > int (*accept)(struct iperf_test *); > int (*listen)(struct iperf_test *); > int (*connect)(struct iperf_test *); > int (*send)(struct iperf_stream *); > int (*recv)(struct iperf_stream *); > int (*init)(struct iperf_test *); > struct { struct protocol *sle_next; } protocols; >}; > >struct iperf_textline { > char *line; > struct { struct iperf_textline *tqe_next; struct iperf_textline **tqe_prev; } textlineentries; >}; > >struct xbind_entry { > char *name; > struct addrinfo *ai; > struct { struct xbind_entry *tqe_next; struct xbind_entry **tqe_prev; } link; >}; > >enum iperf_mode { > SENDER = 1, > RECEIVER = 0, > BIDIRECTIONAL = -1 >}; > >enum debug_level { > DEBUG_LEVEL_ERROR = 1, > DEBUG_LEVEL_WARN = 2, > DEBUG_LEVEL_INFO = 3, > DEBUG_LEVEL_DEBUG = 4, > DEBUG_LEVEL_MAX = 4 >}; > > >struct iperf_test >{ > pthread_mutex_t print_mutex; > > char role; > enum iperf_mode mode; > int sender_has_retransmits; > int other_side_has_retransmits; > struct protocol *protocol; > signed char state; > char *server_hostname; > char *tmp_template; > char *bind_address; > char *bind_dev; > struct xbind_addrhead { struct xbind_entry *tqh_first; struct xbind_entry **tqh_last; } xbind_addrs; > int bind_port; > int server_port; > int omit; > int duration; > char *diskfile_name; > int affinity, server_affinity; > > > > char *title; > char *extra_data; > char *congestion; > char *congestion_used; > char *remote_congestion_used; > char *pidfile; > > char *logfile; > FILE *outfile; > > int ctrl_sck; > int mapped_v4; > int listener; > int prot_listener; > > int ctrl_sck_mss; > > > char *server_authorized_users; > EVP_PKEY *server_rsa_private_key; > int server_skew_threshold; > int use_pkcs1_padding; > > > > int daemon; > int one_off; > int no_delay; > int reverse; > int bidirectional; > int verbose; > int json_output; > int json_stream; > int zerocopy; > int debug; > enum debug_level debug_level; > int get_server_output; > int udp_counters_64bit; > int forceflush; > int multisend; > int repeating_payload; > int timestamps; > char *timestamp_format; > > char *json_output_string; > > int max_fd; > fd_set read_set; > fd_set write_set; > > > int omitting; > double stats_interval; > double reporter_interval; > void (*stats_callback) (struct iperf_test *); > void (*reporter_callback) (struct iperf_test *); > Timer *omit_timer; > Timer *timer; > int done; > Timer *stats_timer; > Timer *reporter_timer; > > double cpu_util[3]; > double remote_cpu_util[3]; > > int num_streams; > > atomic_iperf_size_t bytes_sent; > atomic_iperf_size_t blocks_sent; > > atomic_iperf_size_t bytes_received; > atomic_iperf_size_t blocks_received; > > iperf_size_t bitrate_limit_stats_count; > iperf_size_t *bitrate_limit_intervals_traffic_bytes; > iperf_size_t bitrate_limit_last_interval_index; > int bitrate_limit_exceeded; > > int server_last_run_rc; > uint server_forced_idle_restarts_count; > uint server_forced_no_msg_restarts_count; > uint server_test_number; > > char cookie[37]; > > struct slisthead { struct iperf_stream *slh_first; } streams; > struct iperf_settings *settings; > > struct plisthead { struct protocol *slh_first; } protocols; > > > void (*on_new_stream)(struct iperf_stream *); > void (*on_test_start)(struct iperf_test *); > void (*on_connect)(struct iperf_test *); > void (*on_test_finish)(struct iperf_test *); > > > cJSON *json_top; > cJSON *json_start; > cJSON *json_connected; > cJSON *json_intervals; > cJSON *json_end; > > > char *server_output_text; > cJSON *json_server_output; > > > struct iperf_textlisthead { struct iperf_textline *tqh_first; struct iperf_textline **tqh_last; } server_output_list; > >}; ># 445 "iperf.h" >extern int gerror; ># 50 "iperf_server_api.c" 2 ># 1 "iperf_api.h" 1 ># 50 "iperf_api.h" >struct iperf_test; >struct iperf_stream_result; >struct iperf_interval_results; >struct iperf_stream; >struct iperf_time; ># 126 "iperf_api.h" >int iperf_get_verbose( struct iperf_test* ipt ); >int iperf_get_control_socket( struct iperf_test* ipt ); >int iperf_get_test_omit( struct iperf_test* ipt ); >int iperf_get_test_duration( struct iperf_test* ipt ); >char iperf_get_test_role( struct iperf_test* ipt ); >int iperf_get_test_reverse( struct iperf_test* ipt ); >int iperf_get_test_bidirectional( struct iperf_test* ipt ); >int iperf_get_test_blksize( struct iperf_test* ipt ); >FILE* iperf_get_test_outfile( struct iperf_test* ipt ); >uint64_t iperf_get_test_rate( struct iperf_test* ipt ); >int iperf_get_test_pacing_timer( struct iperf_test* ipt ); >uint64_t iperf_get_test_bytes( struct iperf_test* ipt ); >uint64_t iperf_get_test_blocks( struct iperf_test* ipt ); >int iperf_get_test_burst( struct iperf_test* ipt ); >int iperf_get_test_socket_bufsize( struct iperf_test* ipt ); >double iperf_get_test_reporter_interval( struct iperf_test* ipt ); >double iperf_get_test_stats_interval( struct iperf_test* ipt ); >int iperf_get_test_num_streams( struct iperf_test* ipt ); >int iperf_get_test_repeating_payload( struct iperf_test* ipt ); >int iperf_get_test_timestamps( struct iperf_test* ipt ); >const char* iperf_get_test_timestamp_format( struct iperf_test* ipt ); >int iperf_get_test_bind_port( struct iperf_test* ipt ); >int iperf_get_test_server_port( struct iperf_test* ipt ); >char* iperf_get_test_server_hostname( struct iperf_test* ipt ); >char* iperf_get_test_template( struct iperf_test* ipt ); >int iperf_get_test_protocol_id( struct iperf_test* ipt ); >int iperf_get_test_json_output( struct iperf_test* ipt ); >char* iperf_get_test_json_output_string ( struct iperf_test* ipt ); >int iperf_get_test_json_stream( struct iperf_test* ipt ); >int iperf_get_test_zerocopy( struct iperf_test* ipt ); >int iperf_get_test_get_server_output( struct iperf_test* ipt ); >char iperf_get_test_unit_format(struct iperf_test *ipt); >char* iperf_get_test_bind_address ( struct iperf_test* ipt ); >char* iperf_get_test_bind_dev(struct iperf_test *ipt); >int iperf_get_test_udp_counters_64bit( struct iperf_test* ipt ); >int iperf_get_test_one_off( struct iperf_test* ipt ); >int iperf_get_test_tos( struct iperf_test* ipt ); >char* iperf_get_extra_data( struct iperf_test* ipt ); >char* iperf_get_iperf_version(void); >int iperf_get_test_no_delay( struct iperf_test* ipt ); >int iperf_get_test_connect_timeout( struct iperf_test* ipt ); >int iperf_get_dont_fragment( struct iperf_test* ipt ); >char* iperf_get_test_congestion_control(struct iperf_test* ipt); >int iperf_get_test_mss(struct iperf_test* ipt); >int iperf_get_mapped_v4(struct iperf_test* ipt); > > >void iperf_set_verbose( struct iperf_test* ipt, int verbose ); >void iperf_set_control_socket( struct iperf_test* ipt, int ctrl_sck ); >void iperf_set_test_omit( struct iperf_test* ipt, int omit ); >void iperf_set_test_duration( struct iperf_test* ipt, int duration ); >void iperf_set_test_reporter_interval( struct iperf_test* ipt, double reporter_interval ); >void iperf_set_test_stats_interval( struct iperf_test* ipt, double stats_interval ); >void iperf_set_test_state( struct iperf_test* ipt, signed char state ); >void iperf_set_test_blksize( struct iperf_test* ipt, int blksize ); >void iperf_set_test_logfile( struct iperf_test* ipt, const char *logfile ); >void iperf_set_test_rate( struct iperf_test* ipt, uint64_t rate ); >void iperf_set_test_pacing_timer( struct iperf_test* ipt, int pacing_timer ); >void iperf_set_test_bytes( struct iperf_test* ipt, uint64_t bytes ); >void iperf_set_test_blocks( struct iperf_test* ipt, uint64_t blocks ); >void iperf_set_test_burst( struct iperf_test* ipt, int burst ); >void iperf_set_test_bind_port( struct iperf_test* ipt, int bind_port ); >void iperf_set_test_server_port( struct iperf_test* ipt, int server_port ); >void iperf_set_test_socket_bufsize( struct iperf_test* ipt, int socket_bufsize ); >void iperf_set_test_num_streams( struct iperf_test* ipt, int num_streams ); >void iperf_set_test_repeating_payload( struct iperf_test* ipt, int repeating_payload ); >void iperf_set_test_timestamps( struct iperf_test* ipt, int timestamps ); >void iperf_set_test_timestamp_format( struct iperf_test*, const char *tf ); >void iperf_set_test_role( struct iperf_test* ipt, char role ); >void iperf_set_test_server_hostname( struct iperf_test* ipt, const char* server_hostname ); >void iperf_set_test_template( struct iperf_test *ipt, const char *tmp_template ); >void iperf_set_test_reverse( struct iperf_test* ipt, int reverse ); >void iperf_set_test_json_output( struct iperf_test* ipt, int json_output ); >void iperf_set_test_json_stream( struct iperf_test* ipt, int json_stream ); >int iperf_has_zerocopy( void ); >void iperf_set_test_zerocopy( struct iperf_test* ipt, int zerocopy ); >void iperf_set_test_get_server_output( struct iperf_test* ipt, int get_server_output ); >void iperf_set_test_unit_format(struct iperf_test *ipt, char unit_format); >void iperf_set_test_bind_address( struct iperf_test* ipt, const char *bind_address ); >void iperf_set_test_bind_dev(struct iperf_test *ipt, const char *bnd_dev); >void iperf_set_test_udp_counters_64bit( struct iperf_test* ipt, int udp_counters_64bit ); >void iperf_set_test_one_off( struct iperf_test* ipt, int one_off ); >void iperf_set_test_tos( struct iperf_test* ipt, int tos ); >void iperf_set_test_extra_data( struct iperf_test* ipt, const char *dat ); >void iperf_set_test_bidirectional( struct iperf_test* ipt, int bidirectional); >void iperf_set_test_no_delay( struct iperf_test* ipt, int no_delay); >void iperf_set_dont_fragment( struct iperf_test* ipt, int dont_fragment ); >void iperf_set_test_congestion_control(struct iperf_test* ipt, char* cc); >void iperf_set_test_mss(struct iperf_test* ipt, int mss); >void iperf_set_mapped_v4(struct iperf_test* ipt, const int val); >void iperf_set_on_new_stream_callback(struct iperf_test* ipt, void (*callback)()); >void iperf_set_on_test_start_callback(struct iperf_test* ipt, void (*callback)()); >void iperf_set_on_test_connect_callback(struct iperf_test* ipt, void (*callback)()); >void iperf_set_on_test_finish_callback(struct iperf_test* ipt, void (*callback)()); > > >void iperf_set_test_client_username(struct iperf_test *ipt, const char *client_username); >void iperf_set_test_client_password(struct iperf_test *ipt, const char *client_password); >void iperf_set_test_client_rsa_pubkey(struct iperf_test *ipt, const char *client_rsa_pubkey_base64); >void iperf_set_test_server_authorized_users(struct iperf_test *ipt, const char *server_authorized_users); >void iperf_set_test_server_skew_threshold(struct iperf_test *ipt, int server_skew_threshold); >void iperf_set_test_server_rsa_privkey(struct iperf_test *ipt, const char *server_rsa_privkey_base64); > > >void iperf_set_test_connect_timeout(struct iperf_test *ipt, int ct); > > > > > >int iperf_exchange_parameters(struct iperf_test * test); > > > > > >void add_to_interval_list(struct iperf_stream_result * rp, struct iperf_interval_results *temp); > > > > > > >void connect_msg(struct iperf_stream * sp); > > > > > >void iperf_stats_callback(struct iperf_test * test); > > > > > >void iperf_reporter_callback(struct iperf_test * test); > > > > > > > >struct iperf_test *iperf_new_test(void); > >int iperf_defaults(struct iperf_test * testp); > > > > > > >void iperf_free_test(struct iperf_test * testp); > > > > > > > >struct iperf_stream *iperf_new_stream(struct iperf_test *, int, int); > > > > > >void iperf_add_stream(struct iperf_test * test, struct iperf_stream * stream); > > > > > >int iperf_init_stream(struct iperf_stream *, struct iperf_test *); > > > > > >void iperf_free_stream(struct iperf_stream * sp); > > > > > >int iperf_common_sockopts(struct iperf_test *, int s); > >int has_tcpinfo(void); >int has_tcpinfo_retransmits(void); >void save_tcpinfo(struct iperf_stream *sp, struct iperf_interval_results *irp); >long get_total_retransmits(struct iperf_interval_results *irp); >long get_snd_cwnd(struct iperf_interval_results *irp); >long get_snd_wnd(struct iperf_interval_results *irp); >long get_rtt(struct iperf_interval_results *irp); >long get_rttvar(struct iperf_interval_results *irp); >long get_pmtu(struct iperf_interval_results *irp); >void print_tcpinfo(struct iperf_test *test); >void build_tcpinfo_message(struct iperf_interval_results *r, char *message); > >int iperf_set_send_state(struct iperf_test *test, signed char state); >void iperf_check_throttle(struct iperf_stream *sp, struct iperf_time *nowP); >int iperf_send_mt(struct iperf_stream *) ; >int iperf_recv_mt(struct iperf_stream *); >void iperf_catch_sigend(void (*handler)(int)); >void iperf_got_sigend(struct iperf_test *test) __attribute__ ((noreturn)); >void usage(void); >void usage_long(FILE * f); >void warning(const char *); >int iperf_exchange_results(struct iperf_test *); >int iperf_init_test(struct iperf_test *); >int iperf_create_send_timers(struct iperf_test *); >int iperf_parse_arguments(struct iperf_test *, int, char **); >int iperf_open_logfile(struct iperf_test *); >void iperf_close_logfile(struct iperf_test *); >void iperf_reset_test(struct iperf_test *); >void iperf_reset_stats(struct iperf_test * test); > >struct protocol *get_protocol(struct iperf_test *, int); >int set_protocol(struct iperf_test *, int); > >void iperf_on_new_stream(struct iperf_stream *); >void iperf_on_test_start(struct iperf_test *); >void iperf_on_connect(struct iperf_test *); >void iperf_on_test_finish(struct iperf_test *); > >extern jmp_buf env; > > >int iperf_run_client(struct iperf_test *); >int iperf_connect(struct iperf_test *); >int iperf_create_streams(struct iperf_test *, int sender); >int iperf_handle_message_client(struct iperf_test *); >int iperf_client_end(struct iperf_test *); > > >int iperf_run_server(struct iperf_test *); >int iperf_server_listen(struct iperf_test *); >int iperf_accept(struct iperf_test *); >int iperf_handle_message_server(struct iperf_test *); >int iperf_create_pidfile(struct iperf_test *); >int iperf_delete_pidfile(struct iperf_test *); >void iperf_check_total_rate(struct iperf_test *, iperf_size_t); > > >int iperf_json_start(struct iperf_test *); >int iperf_json_finish(struct iperf_test *); > > >int iperf_setaffinity(struct iperf_test *, int affinity); >int iperf_clearaffinity(struct iperf_test *); > > >int iperf_printf(struct iperf_test *test, const char *format, ...) __attribute__ ((format(printf,2,3))); >int iflush(struct iperf_test *test); > > >void iperf_err(struct iperf_test *test, const char *format, ...) __attribute__ ((format(printf,2,3))); >void iperf_errexit(struct iperf_test *test, const char *format, ...) __attribute__ ((format(printf,2,3),noreturn)); >char *iperf_strerror(int); >extern int i_errno; >enum { > IENONE = 0, > > IESERVCLIENT = 1, > IENOROLE = 2, > IESERVERONLY = 3, > IECLIENTONLY = 4, > IEDURATION = 5, > IENUMSTREAMS = 6, > IEBLOCKSIZE = 7, > IEBUFSIZE = 8, > IEINTERVAL = 9, > IEMSS = 10, > IENOSENDFILE = 11, > IEOMIT = 12, > IEUNIMP = 13, > IEFILE = 14, > IEBURST = 15, > IEENDCONDITIONS = 16, > IELOGFILE = 17, > IENOSCTP = 18, > IEBIND = 19, > IEUDPBLOCKSIZE = 20, > IEBADTOS = 21, > IESETCLIENTAUTH = 22, > IESETSERVERAUTH = 23, > IEBADFORMAT = 24, > IEREVERSEBIDIR = 25, > IEBADPORT = 26, > IETOTALRATE = 27, > IETOTALINTERVAL = 28, > IESKEWTHRESHOLD = 29, > IEIDLETIMEOUT = 30, > IERCVTIMEOUT = 31, > IERVRSONLYRCVTIMEOUT = 32, > IESNDTIMEOUT = 33, > IEUDPFILETRANSFER = 34, > IESERVERAUTHUSERS = 35, > > IENEWTEST = 100, > IEINITTEST = 101, > IELISTEN = 102, > IECONNECT = 103, > IEACCEPT = 104, > IESENDCOOKIE = 105, > IERECVCOOKIE = 106, > IECTRLWRITE = 107, > IECTRLREAD = 108, > IECTRLCLOSE = 109, > IEMESSAGE = 110, > IESENDMESSAGE = 111, > IERECVMESSAGE = 112, > IESENDPARAMS = 113, > IERECVPARAMS = 114, > IEPACKAGERESULTS = 115, > IESENDRESULTS = 116, > IERECVRESULTS = 117, > IESELECT = 118, > IECLIENTTERM = 119, > IESERVERTERM = 120, > IEACCESSDENIED = 121, > IESETNODELAY = 122, > IESETMSS = 123, > IESETBUF = 124, > IESETTOS = 125, > IESETCOS = 126, > IESETFLOW = 127, > IEREUSEADDR = 128, > IENONBLOCKING = 129, > IESETWINDOWSIZE = 130, > IEPROTOCOL = 131, > IEAFFINITY = 132, > IEDAEMON = 133, > IESETCONGESTION = 134, > IEPIDFILE = 135, > IEV6ONLY = 136, > IESETSCTPDISABLEFRAG = 137, > IESETSCTPNSTREAM= 138, > IESETSCTPBINDX= 139, > IESETPACING= 140, > IESETBUF2= 141, > IEAUTHTEST = 142, > IEBINDDEV = 143, > IENOMSG = 144, > IESETDONTFRAGMENT = 145, > IEBINDDEVNOSUPPORT = 146, > IEHOSTDEV = 147, > IESETUSERTIMEOUT = 148, > IEPTHREADCREATE=150, > IEPTHREADCANCEL=151, > IEPTHREADJOIN=152, > IEPTHREADATTRINIT=153, > IEPTHREADATTRDESTROY=154, > > IECREATESTREAM = 200, > IEINITSTREAM = 201, > IESTREAMLISTEN = 202, > IESTREAMCONNECT = 203, > IESTREAMACCEPT = 204, > IESTREAMWRITE = 205, > IESTREAMREAD = 206, > IESTREAMCLOSE = 207, > IESTREAMID = 208, > > IENEWTIMER = 300, > IEUPDATETIMER = 301, >}; ># 51 "iperf_server_api.c" 2 ># 1 "iperf_udp.h" 1 ># 37 "iperf_udp.h" >int iperf_udp_recv(struct iperf_stream *); > > > > > > > >int iperf_udp_send(struct iperf_stream *) ; ># 54 "iperf_udp.h" >int iperf_udp_accept(struct iperf_test *); > > >int iperf_udp_listen(struct iperf_test *); > >int iperf_udp_connect(struct iperf_test *); > >int iperf_udp_init(struct iperf_test *); ># 52 "iperf_server_api.c" 2 ># 1 "iperf_tcp.h" 1 ># 38 "iperf_tcp.h" >int iperf_tcp_accept(struct iperf_test *); > > > > > > > >int iperf_tcp_recv(struct iperf_stream *); ># 55 "iperf_tcp.h" >int iperf_tcp_send(struct iperf_stream *) ; > > >int iperf_tcp_listen(struct iperf_test *); > >int iperf_tcp_connect(struct iperf_test *); ># 53 "iperf_server_api.c" 2 ># 1 "iperf_util.h" 1 ># 30 "iperf_util.h" ># 1 "iperf_config.h" 1 ># 31 "iperf_util.h" 2 > > > > >int readentropy(void *out, size_t outsize); > >void fill_with_repeating_pattern(void *out, size_t outsize); > >void make_cookie(char *); > >int is_closed(int); > >double timeval_to_double(struct timeval *tv); > >int timeval_equals(struct timeval *tv0, struct timeval *tv1); > >double timeval_diff(struct timeval *tv0, struct timeval *tv1); > >void cpu_util(double pcpu[3]); > >const char* get_system_info(void); > >const char* get_optional_features(void); > >cJSON* iperf_json_printf(const char *format, ...); > >void iperf_dump_fdset(FILE *fp, const char *str, int nfds, fd_set *fds); ># 54 "iperf_server_api.c" 2 > > ># 1 "net.h" 1 ># 30 "net.h" >int timeout_connect(int s, const struct sockaddr *name, socklen_t namelen, int timeout); >int create_socket(int domain, int proto, const char *local, const char *bind_dev, int local_port, const char *server, int port, struct addrinfo **server_res_out); >int netdial(int domain, int proto, const char *local, const char *bind_dev, int local_port, const char *server, int port, int timeout); >int netannounce(int domain, int proto, const char *local, const char *bind_dev, int port); >int Nread(int fd, char *buf, size_t count, int prot); >int Nwrite(int fd, const char *buf, size_t count, int prot) ; >int has_sendfile(void); >int Nsendfile(int fromfd, int tofd, const char *buf, size_t count) ; >int setnonblocking(int fd, int nonblocking); >int getsockdomain(int sock); >int parse_qos(const char *tos); ># 57 "iperf_server_api.c" 2 ># 1 "units.h" 1 ># 27 "units.h" >enum { > UNIT_LEN = 32 >}; > >double unit_atof( const char *s ); >double unit_atof_rate( const char *s ); >iperf_size_t unit_atoi( const char *s ); >void unit_snprintf( char *s, int inLen, double inNum, char inFormat ); ># 58 "iperf_server_api.c" 2 > ># 1 "iperf_locale.h" 1 ># 30 "iperf_locale.h" >extern const char usage_shortstr[]; >extern const char usage_longstr[]; >extern const char version[]; > >extern const char seperator_line[]; > >extern const char server_port[] ; >extern const char client_port[] ; >extern const char bind_address[] ; >extern const char bind_dev[] ; >extern const char multicast_ttl[] ; >extern const char join_multicast[] ; >extern const char client_datagram_size[] ; >extern const char server_datagram_size[] ; >extern const char tcp_window_size[] ; >extern const char udp_buffer_size[] ; >extern const char window_default[] ; >extern const char wait_server_threads[] ; >extern const char test_start_time[]; >extern const char test_start_bytes[]; >extern const char test_start_blocks[]; > >extern const char report_time[] ; >extern const char report_connecting[] ; >extern const char report_reverse[] ; >extern const char report_accepted[] ; >extern const char report_cookie[] ; >extern const char report_connected[] ; >extern const char report_authentication_succeeded[] ; >extern const char report_authentication_failed[] ; >extern const char report_window[] ; >extern const char report_autotune[] ; >extern const char report_omit_done[] ; >extern const char report_diskfile[] ; >extern const char report_done[] ; >extern const char report_read_lengths[] ; >extern const char report_read_length_times[] ; >extern const char report_bw_header[] ; >extern const char report_bw_header_bidir[] ; >extern const char report_bw_retrans_header[] ; >extern const char report_bw_retrans_header_bidir[] ; >extern const char report_bw_retrans_cwnd_header[] ; >extern const char report_bw_retrans_cwnd_header_bidir[] ; >extern const char report_bw_udp_header[] ; >extern const char report_bw_udp_header_bidir[] ; >extern const char report_bw_udp_sender_header[] ; >extern const char report_bw_udp_sender_header_bidir[] ; >extern const char report_bw_format[] ; >extern const char report_bw_retrans_format[] ; >extern const char report_bw_retrans_cwnd_format[] ; >extern const char report_bw_udp_format[] ; >extern const char report_bw_udp_format_no_omitted_error[] ; >extern const char report_bw_udp_sender_format[] ; >extern const char report_summary[] ; >extern const char report_sum_bw_format[] ; >extern const char report_sum_bw_retrans_format[] ; >extern const char report_sum_bw_udp_format[] ; >extern const char report_sum_bw_udp_sender_format[] ; >extern const char report_omitted[] ; >extern const char report_bw_separator[] ; >extern const char report_outoforder[] ; >extern const char report_sum_outoforder[] ; >extern const char report_peer[] ; >extern const char report_mss_unsupported[] ; >extern const char report_mss[] ; >extern const char report_datagrams[] ; >extern const char report_sum_datagrams[] ; >extern const char server_reporting[] ; >extern const char reportCSV_peer[] ; > >extern const char report_cpu[] ; >extern const char report_local[] ; >extern const char report_remote[] ; >extern const char report_sender[] ; >extern const char report_receiver[] ; >extern const char report_sender_not_available_format[]; >extern const char report_sender_not_available_summary_format[]; >extern const char report_receiver_not_available_format[]; >extern const char report_receiver_not_available_summary_format[]; > >extern const char report_tcpInfo[] ; >extern const char report_tcpInfo[] ; > > >extern const char warn_window_requested[] ; >extern const char warn_window_small[] ; >extern const char warn_delay_large[] ; >extern const char warn_no_pathmtu[] ; >extern const char warn_no_ack[]; >extern const char warn_ack_failed[]; >extern const char warn_fileopen_failed[]; >extern const char unable_to_change_win[]; >extern const char opt_estimate[]; >extern const char report_interval_small[] ; >extern const char warn_invalid_server_option[] ; >extern const char warn_invalid_client_option[] ; >extern const char warn_invalid_compatibility_option[] ; >extern const char warn_implied_udp[] ; >extern const char warn_implied_compatibility[] ; >extern const char warn_buffer_too_small[] ; >extern const char warn_invalid_single_threaded[] ; >extern const char warn_invalid_report_style[] ; >extern const char warn_invalid_report[] ; ># 60 "iperf_server_api.c" 2 > > > > > > > >void * >iperf_server_worker_run(void *s) { > struct iperf_stream *sp = (struct iperf_stream *) s; > struct iperf_test *test = sp->test; > > > pthread_setcanceltype( ># 73 "iperf_server_api.c" 3 4 > 1 ># 73 "iperf_server_api.c" > , ># 73 "iperf_server_api.c" 3 4 > ((void*)0) ># 73 "iperf_server_api.c" > ); > pthread_setcancelstate( ># 74 "iperf_server_api.c" 3 4 > 0 ># 74 "iperf_server_api.c" > , ># 74 "iperf_server_api.c" 3 4 > ((void*)0) ># 74 "iperf_server_api.c" > ); > > while (! (test->done) && ! (sp->done)) { > if (sp->sender) { > if (iperf_send_mt(sp) < 0) { > goto cleanup_and_fail; > } > } > else { > if (iperf_recv_mt(sp) < 0) { > goto cleanup_and_fail; > } > } > } > return ># 88 "iperf_server_api.c" 3 4 > ((void*)0) ># 88 "iperf_server_api.c" > ; > > cleanup_and_fail: > return ># 91 "iperf_server_api.c" 3 4 > ((void*)0) ># 91 "iperf_server_api.c" > ; >} > >int >iperf_server_listen(struct iperf_test *test) >{ > retry: > if((test->listener = netannounce(test->settings->domain, ># 98 "iperf_server_api.c" 3 4 > 1 ># 98 "iperf_server_api.c" > , test->bind_address, test->bind_dev, test->server_port)) < 0) { > if ( ># 99 "iperf_server_api.c" 3 4 > (*__errno_location()) ># 99 "iperf_server_api.c" > == ># 99 "iperf_server_api.c" 3 4 > 97 ># 99 "iperf_server_api.c" > && (test->settings->domain == ># 99 "iperf_server_api.c" 3 4 > 10 ># 99 "iperf_server_api.c" > || test->settings->domain == ># 99 "iperf_server_api.c" 3 4 > 0 ># 99 "iperf_server_api.c" > )) { > > > > > > warning("this system does not seem to support IPv6 - trying IPv4"); > test->settings->domain = ># 106 "iperf_server_api.c" 3 4 > 2 ># 106 "iperf_server_api.c" > ; > goto retry; > } else { > i_errno = IELISTEN; > return -1; > } > } > > if (!test->json_output) { > if (test->server_last_run_rc != 2) > test->server_test_number +=1; > if (test->debug || test->server_last_run_rc != 2) { > iperf_printf(test, "-----------------------------------------------------------\n"); > iperf_printf(test, "Server listening on %d (test #%d)\n", test->server_port, test->server_test_number); > iperf_printf(test, "-----------------------------------------------------------\n"); > if (test->forceflush) > iflush(test); > } > } > > ># 126 "iperf_server_api.c" 3 4 > do { int __i; unsigned long *__b=( ># 126 "iperf_server_api.c" > &test->read_set ># 126 "iperf_server_api.c" 3 4 > )->fds_bits; for(__i=sizeof (fd_set)/sizeof (long); __i; __i--) *__b++=0; } while(0) ># 126 "iperf_server_api.c" > ; > ># 127 "iperf_server_api.c" 3 4 > do { int __i; unsigned long *__b=( ># 127 "iperf_server_api.c" > &test->write_set ># 127 "iperf_server_api.c" 3 4 > )->fds_bits; for(__i=sizeof (fd_set)/sizeof (long); __i; __i--) *__b++=0; } while(0) ># 127 "iperf_server_api.c" > ; > ># 128 "iperf_server_api.c" 3 4 > (( ># 128 "iperf_server_api.c" > &test->read_set ># 128 "iperf_server_api.c" 3 4 > )->fds_bits[( ># 128 "iperf_server_api.c" > test->listener ># 128 "iperf_server_api.c" 3 4 > )/(8*sizeof(long))] |= (1UL<<(( ># 128 "iperf_server_api.c" > test->listener ># 128 "iperf_server_api.c" 3 4 > )%(8*sizeof(long))))) ># 128 "iperf_server_api.c" > ; > if (test->listener > test->max_fd) test->max_fd = test->listener; > > return 0; >} > >int >iperf_accept(struct iperf_test *test) >{ > int s; > signed char rbuf = (-1); > socklen_t len; > struct sockaddr_storage addr; > > len = sizeof(addr); > if ((s = accept(test->listener, (struct sockaddr *) &addr, &len)) < 0) { > i_errno = IEACCEPT; > return -1; > } > > if (test->ctrl_sck == -1) { > > test->ctrl_sck = s; > > int flag = 1; > if (setsockopt(test->ctrl_sck, ># 153 "iperf_server_api.c" 3 4 > 6 ># 153 "iperf_server_api.c" > , ># 153 "iperf_server_api.c" 3 4 > 1 ># 153 "iperf_server_api.c" > , (char *) &flag, sizeof(int))) { > i_errno = IESETNODELAY; > return -1; > } > > > int opt; > if ((opt = test->settings->snd_timeout)) { > if (setsockopt(s, ># 161 "iperf_server_api.c" 3 4 > 6 ># 161 "iperf_server_api.c" > , ># 161 "iperf_server_api.c" 3 4 > 18 ># 161 "iperf_server_api.c" > , &opt, sizeof(opt)) < 0) { > i_errno = IESETUSERTIMEOUT; > return -1; > } > } > > > if (Nread(test->ctrl_sck, test->cookie, 37, ># 168 "iperf_server_api.c" 3 4 > 1 ># 168 "iperf_server_api.c" > ) != 37) { > > > > > > i_errno = IERECVCOOKIE; > return -1; > } > ># 177 "iperf_server_api.c" 3 4 >(( ># 177 "iperf_server_api.c" >&test->read_set ># 177 "iperf_server_api.c" 3 4 >)->fds_bits[( ># 177 "iperf_server_api.c" >test->ctrl_sck ># 177 "iperf_server_api.c" 3 4 >)/(8*sizeof(long))] |= (1UL<<(( ># 177 "iperf_server_api.c" >test->ctrl_sck ># 177 "iperf_server_api.c" 3 4 >)%(8*sizeof(long))))) ># 177 "iperf_server_api.c" > ; > if (test->ctrl_sck > test->max_fd) test->max_fd = test->ctrl_sck; > > if (iperf_set_send_state(test, 9) != 0) > return -1; > if (iperf_exchange_parameters(test) < 0) > return -1; > if (test->server_affinity != -1) > if (iperf_setaffinity(test, test->server_affinity) != 0) > return -1; > if (test->on_connect) > test->on_connect(test); > } else { > > > > > > > if (Nwrite(s, (char*) &rbuf, sizeof(rbuf), ># 196 "iperf_server_api.c" 3 4 > 1 ># 196 "iperf_server_api.c" > ) < 0) { > if (test->debug) > printf("failed to send ACCESS_DENIED to an unsolicited connection request during active test\n"); > } else { > if (test->debug) > printf("successfully sent ACCESS_DENIED to an unsolicited connection request during active test\n"); > } > close(s); > } > > return 0; >} > > > >int >iperf_handle_message_server(struct iperf_test *test) >{ > int rval; > struct iperf_stream *sp; > > > if ((rval = Nread(test->ctrl_sck, (char*) &test->state, sizeof(signed char), ># 218 "iperf_server_api.c" 3 4 > 1 ># 218 "iperf_server_api.c" > )) <= 0) { > if (rval == 0) { > iperf_err(test, "the client has unexpectedly closed the connection"); > i_errno = IECTRLCLOSE; > test->state = 16; > return 0; > } else { > i_errno = IERECVMESSAGE; > return -1; > } > } > > switch(test->state) { > case 1: > break; > case 4: > test->done = 1; > cpu_util(test->cpu_util); > test->stats_callback(test); > for((sp) = ((&test->streams)->slh_first); (sp) != ># 237 "iperf_server_api.c" 3 4 > ((void*)0) ># 237 "iperf_server_api.c" > ; (sp) = ((sp)->streams.sle_next)) { > ># 238 "iperf_server_api.c" 3 4 > (( ># 238 "iperf_server_api.c" > &test->read_set ># 238 "iperf_server_api.c" 3 4 > )->fds_bits[( ># 238 "iperf_server_api.c" > sp->socket ># 238 "iperf_server_api.c" 3 4 > )/(8*sizeof(long))] &= ~(1UL<<(( ># 238 "iperf_server_api.c" > sp->socket ># 238 "iperf_server_api.c" 3 4 > )%(8*sizeof(long))))) ># 238 "iperf_server_api.c" > ; > ># 239 "iperf_server_api.c" 3 4 > (( ># 239 "iperf_server_api.c" > &test->write_set ># 239 "iperf_server_api.c" 3 4 > )->fds_bits[( ># 239 "iperf_server_api.c" > sp->socket ># 239 "iperf_server_api.c" 3 4 > )/(8*sizeof(long))] &= ~(1UL<<(( ># 239 "iperf_server_api.c" > sp->socket ># 239 "iperf_server_api.c" 3 4 > )%(8*sizeof(long))))) ># 239 "iperf_server_api.c" > ; > close(sp->socket); > } > test->reporter_callback(test); > if (iperf_set_send_state(test, 13) != 0) > return -1; > if (iperf_exchange_results(test) < 0) > return -1; > if (iperf_set_send_state(test, 14) != 0) > return -1; > if (test->on_test_finish) > test->on_test_finish(test); > break; > case 16: > break; > case 12: > i_errno = IECLIENTTERM; > > > > signed char oldstate = test->state; > cpu_util(test->cpu_util); > test->state = 14; > test->reporter_callback(test); > test->state = oldstate; > > > iperf_err(test, "the client has terminated"); > for((sp) = ((&test->streams)->slh_first); (sp) != ># 267 "iperf_server_api.c" 3 4 > ((void*)0) ># 267 "iperf_server_api.c" > ; (sp) = ((sp)->streams.sle_next)) { > ># 268 "iperf_server_api.c" 3 4 > (( ># 268 "iperf_server_api.c" > &test->read_set ># 268 "iperf_server_api.c" 3 4 > )->fds_bits[( ># 268 "iperf_server_api.c" > sp->socket ># 268 "iperf_server_api.c" 3 4 > )/(8*sizeof(long))] &= ~(1UL<<(( ># 268 "iperf_server_api.c" > sp->socket ># 268 "iperf_server_api.c" 3 4 > )%(8*sizeof(long))))) ># 268 "iperf_server_api.c" > ; > ># 269 "iperf_server_api.c" 3 4 > (( ># 269 "iperf_server_api.c" > &test->write_set ># 269 "iperf_server_api.c" 3 4 > )->fds_bits[( ># 269 "iperf_server_api.c" > sp->socket ># 269 "iperf_server_api.c" 3 4 > )/(8*sizeof(long))] &= ~(1UL<<(( ># 269 "iperf_server_api.c" > sp->socket ># 269 "iperf_server_api.c" 3 4 > )%(8*sizeof(long))))) ># 269 "iperf_server_api.c" > ; > close(sp->socket); > } > test->state = 16; > break; > default: > i_errno = IEMESSAGE; > return -1; > } > > return 0; >} > >static void >server_timer_proc(TimerClientData client_data, struct iperf_time *nowP) >{ > struct iperf_test *test = client_data.p; > struct iperf_stream *sp; > > test->timer = ># 288 "iperf_server_api.c" 3 4 > ((void*)0) ># 288 "iperf_server_api.c" > ; > if (test->done) > return; > test->done = 1; > > while (!(((&test->streams)->slh_first) == ># 293 "iperf_server_api.c" 3 4 > ((void*)0) ># 293 "iperf_server_api.c" > )) { > sp = ((&test->streams)->slh_first); > do { (&test->streams)->slh_first = (&test->streams)->slh_first->streams.sle_next; } while (0); > close(sp->socket); > iperf_free_stream(sp); > } > close(test->ctrl_sck); > test->ctrl_sck = -1; >} > >static void >server_stats_timer_proc(TimerClientData client_data, struct iperf_time *nowP) >{ > struct iperf_test *test = client_data.p; > > if (test->done) > return; > if (test->stats_callback) > test->stats_callback(test); >} > >static void >server_reporter_timer_proc(TimerClientData client_data, struct iperf_time *nowP) >{ > struct iperf_test *test = client_data.p; > > if (test->done) > return; > if (test->reporter_callback) > test->reporter_callback(test); >} > >static int >create_server_timers(struct iperf_test * test) >{ > struct iperf_time now; > TimerClientData cd; > int max_rtt = 4; > int state_transitions = 10; > int grace_period = max_rtt * state_transitions; > > if (iperf_time_now(&now) < 0) { > i_errno = IEINITTEST; > return -1; > } > cd.p = test; > test->timer = test->stats_timer = test->reporter_timer = ># 339 "iperf_server_api.c" 3 4 > ((void*)0) ># 339 "iperf_server_api.c" > ; > if (test->duration != 0 ) { > test->done = 0; > test->timer = tmr_create(&now, server_timer_proc, cd, (test->duration + test->omit + grace_period) * 1000000LL, 0); > if (test->timer == ># 343 "iperf_server_api.c" 3 4 > ((void*)0) ># 343 "iperf_server_api.c" > ) { > i_errno = IEINITTEST; > return -1; > } > } > > test->stats_timer = test->reporter_timer = ># 349 "iperf_server_api.c" 3 4 > ((void*)0) ># 349 "iperf_server_api.c" > ; > if (test->stats_interval != 0) { > test->stats_timer = tmr_create(&now, server_stats_timer_proc, cd, test->stats_interval * 1000000LL, 1); > if (test->stats_timer == ># 352 "iperf_server_api.c" 3 4 > ((void*)0) ># 352 "iperf_server_api.c" > ) { > i_errno = IEINITTEST; > return -1; > } > } > if (test->reporter_interval != 0) { > test->reporter_timer = tmr_create(&now, server_reporter_timer_proc, cd, test->reporter_interval * 1000000LL, 1); > if (test->reporter_timer == ># 359 "iperf_server_api.c" 3 4 > ((void*)0) ># 359 "iperf_server_api.c" > ) { > i_errno = IEINITTEST; > return -1; > } > } > return 0; >} > >static void >server_omit_timer_proc(TimerClientData client_data, struct iperf_time *nowP) >{ > struct iperf_test *test = client_data.p; > > test->omit_timer = ># 372 "iperf_server_api.c" 3 4 > ((void*)0) ># 372 "iperf_server_api.c" > ; > test->omitting = 0; > iperf_reset_stats(test); > if (test->verbose && !test->json_output && test->reporter_interval == 0) > iperf_printf(test, "%s", report_omit_done); > > > if (test->stats_timer != ># 379 "iperf_server_api.c" 3 4 > ((void*)0) ># 379 "iperf_server_api.c" > ) > tmr_reset(nowP, test->stats_timer); > if (test->reporter_timer != ># 381 "iperf_server_api.c" 3 4 > ((void*)0) ># 381 "iperf_server_api.c" > ) > tmr_reset(nowP, test->reporter_timer); >} > >static int >create_server_omit_timer(struct iperf_test * test) >{ > struct iperf_time now; > TimerClientData cd; > > if (test->omit == 0) { > test->omit_timer = ># 392 "iperf_server_api.c" 3 4 > ((void*)0) ># 392 "iperf_server_api.c" > ; > test->omitting = 0; > } else { > if (iperf_time_now(&now) < 0) { > i_errno = IEINITTEST; > return -1; > } > test->omitting = 1; > cd.p = test; > test->omit_timer = tmr_create(&now, server_omit_timer_proc, cd, test->omit * 1000000LL, 0); > if (test->omit_timer == ># 402 "iperf_server_api.c" 3 4 > ((void*)0) ># 402 "iperf_server_api.c" > ) { > i_errno = IEINITTEST; > return -1; > } > } > > return 0; >} > >static void >cleanup_server(struct iperf_test *test) >{ > struct iperf_stream *sp; > > > int i_errno_save = i_errno; > for((sp) = ((&test->streams)->slh_first); (sp) != ># 418 "iperf_server_api.c" 3 4 > ((void*)0) ># 418 "iperf_server_api.c" > ; (sp) = ((sp)->streams.sle_next)) { > int rc; > sp->done = 1; > rc = pthread_cancel(sp->thr); > if (rc != 0 && rc != ># 422 "iperf_server_api.c" 3 4 > 3 ># 422 "iperf_server_api.c" > ) { > i_errno = IEPTHREADCANCEL; > ># 424 "iperf_server_api.c" 3 4 > (*__errno_location()) ># 424 "iperf_server_api.c" > = rc; > iperf_err(test, "cleanup_server in pthread_cancel - %s", iperf_strerror(i_errno)); > } > rc = pthread_join(sp->thr, ># 427 "iperf_server_api.c" 3 4 > ((void*)0) ># 427 "iperf_server_api.c" > ); > if (rc != 0 && rc != ># 428 "iperf_server_api.c" 3 4 > 3 ># 428 "iperf_server_api.c" > ) { > i_errno = IEPTHREADJOIN; > ># 430 "iperf_server_api.c" 3 4 > (*__errno_location()) ># 430 "iperf_server_api.c" > = rc; > iperf_err(test, "cleanup_server in pthread_join - %s", iperf_strerror(i_errno)); > } > if (test->debug_level >= DEBUG_LEVEL_INFO) { > iperf_printf(test, "Thread FD %d stopped\n", sp->socket); > } > } > i_errno = i_errno_save; > > if (test->debug_level >= DEBUG_LEVEL_INFO) { > iperf_printf(test, "All threads stopped\n"); > } > > > for((sp) = ((&test->streams)->slh_first); (sp) != ># 444 "iperf_server_api.c" 3 4 > ((void*)0) ># 444 "iperf_server_api.c" > ; (sp) = ((sp)->streams.sle_next)) { > if (sp->socket > -1) { > ># 446 "iperf_server_api.c" 3 4 > (( ># 446 "iperf_server_api.c" > &test->read_set ># 446 "iperf_server_api.c" 3 4 > )->fds_bits[( ># 446 "iperf_server_api.c" > sp->socket ># 446 "iperf_server_api.c" 3 4 > )/(8*sizeof(long))] &= ~(1UL<<(( ># 446 "iperf_server_api.c" > sp->socket ># 446 "iperf_server_api.c" 3 4 > )%(8*sizeof(long))))) ># 446 "iperf_server_api.c" > ; > ># 447 "iperf_server_api.c" 3 4 > (( ># 447 "iperf_server_api.c" > &test->write_set ># 447 "iperf_server_api.c" 3 4 > )->fds_bits[( ># 447 "iperf_server_api.c" > sp->socket ># 447 "iperf_server_api.c" 3 4 > )/(8*sizeof(long))] &= ~(1UL<<(( ># 447 "iperf_server_api.c" > sp->socket ># 447 "iperf_server_api.c" 3 4 > )%(8*sizeof(long))))) ># 447 "iperf_server_api.c" > ; > close(sp->socket); > sp->socket = -1; > } > } > > > if (test->ctrl_sck > -1) { > close(test->ctrl_sck); > test->ctrl_sck = -1; > } > if (test->listener > -1) { > close(test->listener); > test->listener = -1; > } > if (test->prot_listener > -1) { > close(test->prot_listener); > test->prot_listener = -1; > } > > > if (test->stats_timer != ># 468 "iperf_server_api.c" 3 4 > ((void*)0) ># 468 "iperf_server_api.c" > ) { > tmr_cancel(test->stats_timer); > test->stats_timer = ># 470 "iperf_server_api.c" 3 4 > ((void*)0) ># 470 "iperf_server_api.c" > ; > } > if (test->reporter_timer != ># 472 "iperf_server_api.c" 3 4 > ((void*)0) ># 472 "iperf_server_api.c" > ) { > tmr_cancel(test->reporter_timer); > test->reporter_timer = ># 474 "iperf_server_api.c" 3 4 > ((void*)0) ># 474 "iperf_server_api.c" > ; > } > if (test->omit_timer != ># 476 "iperf_server_api.c" 3 4 > ((void*)0) ># 476 "iperf_server_api.c" > ) { > tmr_cancel(test->omit_timer); > test->omit_timer = ># 478 "iperf_server_api.c" 3 4 > ((void*)0) ># 478 "iperf_server_api.c" > ; > } > if (test->congestion_used != ># 480 "iperf_server_api.c" 3 4 > ((void*)0) ># 480 "iperf_server_api.c" > ) { > free(test->congestion_used); > test->congestion_used = ># 482 "iperf_server_api.c" 3 4 > ((void*)0) ># 482 "iperf_server_api.c" > ; > } > if (test->timer != ># 484 "iperf_server_api.c" 3 4 > ((void*)0) ># 484 "iperf_server_api.c" > ) { > tmr_cancel(test->timer); > test->timer = ># 486 "iperf_server_api.c" 3 4 > ((void*)0) ># 486 "iperf_server_api.c" > ; > } >} > > >int >iperf_run_server(struct iperf_test *test) >{ > int result, s; > int send_streams_accepted, rec_streams_accepted; > int streams_to_send = 0, streams_to_rec = 0; > > int saved_errno; > > fd_set read_set, write_set; > struct iperf_stream *sp; > struct iperf_time now; > struct iperf_time last_receive_time; > struct iperf_time diff_time; > struct timeval* timeout; > struct timeval used_timeout; > iperf_size_t last_receive_blocks; > int flag; > int64_t t_usecs; > int64_t timeout_us; > int64_t rcv_timeout_us; > > if (test->logfile) > if (iperf_open_logfile(test) < 0) > return -2; > > if (test->affinity != -1) > if (iperf_setaffinity(test, test->affinity) != 0) { > cleanup_server(test); > return -2; > } > > if (test->json_output) > if (iperf_json_start(test) < 0) { > cleanup_server(test); > return -2; > } > > if (test->json_output) { > cJSON_AddItemToObject(test->json_start, "version", cJSON_CreateString(version)); > cJSON_AddItemToObject(test->json_start, "system_info", cJSON_CreateString(get_system_info())); > } else if (test->verbose) { > iperf_printf(test, "%s\n", version); > iperf_printf(test, "%s", ""); > iperf_printf(test, "%s\n", get_system_info()); > iflush(test); > } > > > if (iperf_server_listen(test) < 0) { > cleanup_server(test); > return -2; > } > > iperf_time_now(&last_receive_time); > last_receive_blocks = 0; > > test->state = 15; > send_streams_accepted = 0; > rec_streams_accepted = 0; > rcv_timeout_us = (test->settings->rcv_timeout.secs * 1000000LL) + test->settings->rcv_timeout.usecs; > > while (test->state != 16) { > > > if (test->bitrate_limit_exceeded) { > cleanup_server(test); > i_errno = IETOTALRATE; > return -1; > } > > memcpy(&read_set, &test->read_set, sizeof(fd_set)); > memcpy(&write_set, &test->write_set, sizeof(fd_set)); > > iperf_time_now(&now); > timeout = tmr_timeout(&now); > > > if (test->state == 15) { > if (timeout == ># 570 "iperf_server_api.c" 3 4 > ((void*)0) ># 570 "iperf_server_api.c" > && test->settings->idle_timeout > 0) { > used_timeout.tv_sec = test->settings->idle_timeout; > used_timeout.tv_usec = 0; > timeout = &used_timeout; > } > } else if (test->mode != SENDER) { > timeout_us = -1; > if (timeout != ># 577 "iperf_server_api.c" 3 4 > ((void*)0) ># 577 "iperf_server_api.c" > ) { > used_timeout.tv_sec = timeout->tv_sec; > used_timeout.tv_usec = timeout->tv_usec; > timeout_us = (timeout->tv_sec * 1000000LL) + timeout->tv_usec; > } > > if (timeout_us > 1000000LL) { > timeout_us = 1000000LL; > } > if (timeout_us < 0 || timeout_us > rcv_timeout_us) { > used_timeout.tv_sec = test->settings->rcv_timeout.secs; > used_timeout.tv_usec = test->settings->rcv_timeout.usecs; > } > timeout = &used_timeout; > } > > result = select(test->max_fd + 1, &read_set, &write_set, ># 593 "iperf_server_api.c" 3 4 > ((void*)0) ># 593 "iperf_server_api.c" > , timeout); > if (result < 0 && ># 594 "iperf_server_api.c" 3 4 > (*__errno_location()) ># 594 "iperf_server_api.c" > != ># 594 "iperf_server_api.c" 3 4 > 4 ># 594 "iperf_server_api.c" > ) { > cleanup_server(test); > i_errno = IESELECT; > return -1; > } else if (result == 0) { > > > > > > > iperf_time_now(&now); > t_usecs = 0; > if (iperf_time_diff(&now, &last_receive_time, &diff_time) == 0) { > t_usecs = iperf_time_in_usecs(&diff_time); > > > if (test->state == 15) { > if (test->settings->idle_timeout > 0 && t_usecs >= test->settings->idle_timeout * 1000000LL) { > test->server_forced_idle_restarts_count += 1; > if (test->debug) > printf("Server restart (#%d) in idle state as no connection request was received for %d sec\n", > test->server_forced_idle_restarts_count, test->settings->idle_timeout); > cleanup_server(test); > if ( iperf_get_test_one_off(test) ) { > if (test->debug) > printf("No connection request was received for %d sec in one-off mode; exiting.\n", > test->settings->idle_timeout); > exit(0); > } > > return 2; > } > } > > > > > > else if (test->mode != SENDER && t_usecs > rcv_timeout_us) { > > if (test->blocks_received == last_receive_blocks) { > test->server_forced_no_msg_restarts_count += 1; > i_errno = IENOMSG; > if (iperf_get_verbose(test)) > iperf_err(test, "Server restart (#%d) during active test due to idle timeout for receiving data", > test->server_forced_no_msg_restarts_count); > cleanup_server(test); > return -1; > } > } > } > } > > > if (test->blocks_received > last_receive_blocks) { > last_receive_blocks = test->blocks_received; > last_receive_time = now; > } > > if (result > 0) { > if ( ># 655 "iperf_server_api.c" 3 4 > !!(( ># 655 "iperf_server_api.c" > &read_set ># 655 "iperf_server_api.c" 3 4 > )->fds_bits[( ># 655 "iperf_server_api.c" > test->listener ># 655 "iperf_server_api.c" 3 4 > )/(8*sizeof(long))] & (1UL<<(( ># 655 "iperf_server_api.c" > test->listener ># 655 "iperf_server_api.c" 3 4 > )%(8*sizeof(long))))) ># 655 "iperf_server_api.c" > ) { > if (test->state != 10) { > if (iperf_accept(test) < 0) { > cleanup_server(test); > return -1; > } > ># 661 "iperf_server_api.c" 3 4 > (( ># 661 "iperf_server_api.c" > &read_set ># 661 "iperf_server_api.c" 3 4 > )->fds_bits[( ># 661 "iperf_server_api.c" > test->listener ># 661 "iperf_server_api.c" 3 4 > )/(8*sizeof(long))] &= ~(1UL<<(( ># 661 "iperf_server_api.c" > test->listener ># 661 "iperf_server_api.c" 3 4 > )%(8*sizeof(long))))) ># 661 "iperf_server_api.c" > ; > > > if (test->mode == BIDIRECTIONAL) { > streams_to_send = test->num_streams; > streams_to_rec = test->num_streams; > } else if (test->mode == RECEIVER) { > streams_to_rec = test->num_streams; > streams_to_send = 0; > } else { > streams_to_send = test->num_streams; > streams_to_rec = 0; > } > } > } > if ( ># 676 "iperf_server_api.c" 3 4 > !!(( ># 676 "iperf_server_api.c" > &read_set ># 676 "iperf_server_api.c" 3 4 > )->fds_bits[( ># 676 "iperf_server_api.c" > test->ctrl_sck ># 676 "iperf_server_api.c" 3 4 > )/(8*sizeof(long))] & (1UL<<(( ># 676 "iperf_server_api.c" > test->ctrl_sck ># 676 "iperf_server_api.c" 3 4 > )%(8*sizeof(long))))) ># 676 "iperf_server_api.c" > ) { > if (iperf_handle_message_server(test) < 0) { > cleanup_server(test); > return -1; > } > ># 681 "iperf_server_api.c" 3 4 > (( ># 681 "iperf_server_api.c" > &read_set ># 681 "iperf_server_api.c" 3 4 > )->fds_bits[( ># 681 "iperf_server_api.c" > test->ctrl_sck ># 681 "iperf_server_api.c" 3 4 > )/(8*sizeof(long))] &= ~(1UL<<(( ># 681 "iperf_server_api.c" > test->ctrl_sck ># 681 "iperf_server_api.c" 3 4 > )%(8*sizeof(long))))) ># 681 "iperf_server_api.c" > ; > } > > if (test->state == 10) { > if ( ># 685 "iperf_server_api.c" 3 4 > !!(( ># 685 "iperf_server_api.c" > &read_set ># 685 "iperf_server_api.c" 3 4 > )->fds_bits[( ># 685 "iperf_server_api.c" > test->prot_listener ># 685 "iperf_server_api.c" 3 4 > )/(8*sizeof(long))] & (1UL<<(( ># 685 "iperf_server_api.c" > test->prot_listener ># 685 "iperf_server_api.c" 3 4 > )%(8*sizeof(long))))) ># 685 "iperf_server_api.c" > ) { > > if ((s = test->protocol->accept(test)) < 0) { > cleanup_server(test); > return -1; > } > > > if (iperf_common_sockopts(test, s) < 0) > { > cleanup_server(test); > return -1; > } > > if (!is_closed(s)) { > > > if (test->protocol->id == ># 702 "iperf_server_api.c" 3 4 > 1 ># 702 "iperf_server_api.c" > ) { > int opt; > if ((opt = test->settings->snd_timeout)) { > if (setsockopt(s, ># 705 "iperf_server_api.c" 3 4 > 6 ># 705 "iperf_server_api.c" > , ># 705 "iperf_server_api.c" 3 4 > 18 ># 705 "iperf_server_api.c" > , &opt, sizeof(opt)) < 0) { > saved_errno = ># 706 "iperf_server_api.c" 3 4 > (*__errno_location()) ># 706 "iperf_server_api.c" > ; > close(s); > cleanup_server(test); > ># 709 "iperf_server_api.c" 3 4 > (*__errno_location()) ># 709 "iperf_server_api.c" > = saved_errno; > i_errno = IESETUSERTIMEOUT; > return -1; > } > } > } > > > > if (test->protocol->id == ># 718 "iperf_server_api.c" 3 4 > 1 ># 718 "iperf_server_api.c" > ) { > if (test->congestion) { > if (setsockopt(s, ># 720 "iperf_server_api.c" 3 4 > 6 ># 720 "iperf_server_api.c" > , ># 720 "iperf_server_api.c" 3 4 > 13 ># 720 "iperf_server_api.c" > , test->congestion, strlen(test->congestion)) < 0) { ># 730 "iperf_server_api.c" > if ( ># 730 "iperf_server_api.c" 3 4 > (*__errno_location()) ># 730 "iperf_server_api.c" > == ># 730 "iperf_server_api.c" 3 4 > 2 ># 730 "iperf_server_api.c" > ) { > warning("TCP congestion control algorithm not supported"); > } > else { > saved_errno = ># 734 "iperf_server_api.c" 3 4 > (*__errno_location()) ># 734 "iperf_server_api.c" > ; > close(s); > cleanup_server(test); > ># 737 "iperf_server_api.c" 3 4 > (*__errno_location()) ># 737 "iperf_server_api.c" > = saved_errno; > i_errno = IESETCONGESTION; > return -1; > } > } > } > { > socklen_t len = 16; > char ca[16 + 1]; > int rc; > rc = getsockopt(s, ># 747 "iperf_server_api.c" 3 4 > 6 ># 747 "iperf_server_api.c" > , ># 747 "iperf_server_api.c" 3 4 > 13 ># 747 "iperf_server_api.c" > , ca, &len); > if (rc < 0 && test->congestion) { > saved_errno = ># 749 "iperf_server_api.c" 3 4 > (*__errno_location()) ># 749 "iperf_server_api.c" > ; > close(s); > cleanup_server(test); > ># 752 "iperf_server_api.c" 3 4 > (*__errno_location()) ># 752 "iperf_server_api.c" > = saved_errno; > i_errno = IESETCONGESTION; > return -1; > } > > > > > > > if (test->congestion_used != ># 762 "iperf_server_api.c" 3 4 > ((void*)0) ># 762 "iperf_server_api.c" > ) { > free(test->congestion_used); > } > > if (rc < 0) > test->congestion_used = strdup("unknown"); > else > test->congestion_used = strdup(ca); > if (test->debug) { > printf("Congestion algorithm is %s\n", test->congestion_used); > } > } > } > > > if (rec_streams_accepted != streams_to_rec) { > flag = 0; > ++rec_streams_accepted; > } else if (send_streams_accepted != streams_to_send) { > flag = 1; > ++send_streams_accepted; > } > > if (flag != -1) { > sp = iperf_new_stream(test, s, flag); > if (!sp) { > cleanup_server(test); > return -1; > } > > if (s > test->max_fd) test->max_fd = s; > > if (test->on_new_stream) > test->on_new_stream(sp); > > flag = -1; > } > } > ># 800 "iperf_server_api.c" 3 4 > (( ># 800 "iperf_server_api.c" > &read_set ># 800 "iperf_server_api.c" 3 4 > )->fds_bits[( ># 800 "iperf_server_api.c" > test->prot_listener ># 800 "iperf_server_api.c" 3 4 > )/(8*sizeof(long))] &= ~(1UL<<(( ># 800 "iperf_server_api.c" > test->prot_listener ># 800 "iperf_server_api.c" 3 4 > )%(8*sizeof(long))))) ># 800 "iperf_server_api.c" > ; > } > > > if (rec_streams_accepted == streams_to_rec && send_streams_accepted == streams_to_send) { > if (test->protocol->id != ># 805 "iperf_server_api.c" 3 4 > 1 ># 805 "iperf_server_api.c" > ) { > ># 806 "iperf_server_api.c" 3 4 > (( ># 806 "iperf_server_api.c" > &test->read_set ># 806 "iperf_server_api.c" 3 4 > )->fds_bits[( ># 806 "iperf_server_api.c" > test->prot_listener ># 806 "iperf_server_api.c" 3 4 > )/(8*sizeof(long))] &= ~(1UL<<(( ># 806 "iperf_server_api.c" > test->prot_listener ># 806 "iperf_server_api.c" 3 4 > )%(8*sizeof(long))))) ># 806 "iperf_server_api.c" > ; > close(test->prot_listener); > test->prot_listener = -1; > } else { > if (test->no_delay || test->settings->mss || test->settings->socket_bufsize) { > ># 811 "iperf_server_api.c" 3 4 > (( ># 811 "iperf_server_api.c" > &test->read_set ># 811 "iperf_server_api.c" 3 4 > )->fds_bits[( ># 811 "iperf_server_api.c" > test->listener ># 811 "iperf_server_api.c" 3 4 > )/(8*sizeof(long))] &= ~(1UL<<(( ># 811 "iperf_server_api.c" > test->listener ># 811 "iperf_server_api.c" 3 4 > )%(8*sizeof(long))))) ># 811 "iperf_server_api.c" > ; > close(test->listener); > test->listener = -1; > if ((s = netannounce(test->settings->domain, ># 814 "iperf_server_api.c" 3 4 > 1 ># 814 "iperf_server_api.c" > , test->bind_address, test->bind_dev, test->server_port)) < 0) { > cleanup_server(test); > i_errno = IELISTEN; > return -1; > } > test->listener = s; > ># 820 "iperf_server_api.c" 3 4 > (( ># 820 "iperf_server_api.c" > &test->read_set ># 820 "iperf_server_api.c" 3 4 > )->fds_bits[( ># 820 "iperf_server_api.c" > test->listener ># 820 "iperf_server_api.c" 3 4 > )/(8*sizeof(long))] |= (1UL<<(( ># 820 "iperf_server_api.c" > test->listener ># 820 "iperf_server_api.c" 3 4 > )%(8*sizeof(long))))) ># 820 "iperf_server_api.c" > ; > if (test->listener > test->max_fd) test->max_fd = test->listener; > } > } > test->prot_listener = -1; > > > iperf_size_t total_requested_rate = test->num_streams * test->settings->rate * (test->mode == BIDIRECTIONAL? 2 : 1); > if (test->settings->bitrate_limit > 0 && total_requested_rate > test->settings->bitrate_limit) { > if (iperf_get_verbose(test)) > iperf_err(test, "Client total requested throughput rate of %" ># 830 "iperf_server_api.c" 3 4 > "ll" "u" ># 830 "iperf_server_api.c" > " bps exceeded %" ># 830 "iperf_server_api.c" 3 4 > "ll" "u" ># 830 "iperf_server_api.c" > " bps limit", > total_requested_rate, test->settings->bitrate_limit); > cleanup_server(test); > i_errno = IETOTALRATE; > return -1; > } > > > cpu_util( ># 838 "iperf_server_api.c" 3 4 > ((void*)0) ># 838 "iperf_server_api.c" > ); > > if (iperf_set_send_state(test, 1) != 0) { > cleanup_server(test); > return -1; > } > if (iperf_init_test(test) < 0) { > cleanup_server(test); > return -1; > } > if (create_server_timers(test) < 0) { > cleanup_server(test); > return -1; > } > if (create_server_omit_timer(test) < 0) { > cleanup_server(test); > return -1; > } > if (test->mode != RECEIVER) > if (iperf_create_send_timers(test) < 0) { > cleanup_server(test); > return -1; > } > if (iperf_set_send_state(test, 2) != 0) { > cleanup_server(test); > return -1; > } > > > pthread_attr_t attr; > if (pthread_attr_init(&attr) != 0) { > i_errno = IEPTHREADATTRINIT; > cleanup_server(test); > }; > > for((sp) = ((&test->streams)->slh_first); (sp) != ># 873 "iperf_server_api.c" 3 4 > ((void*)0) ># 873 "iperf_server_api.c" > ; (sp) = ((sp)->streams.sle_next)) { > if (pthread_create(&(sp->thr), &attr, &iperf_server_worker_run, sp) != 0) { > i_errno = IEPTHREADCREATE; > cleanup_server(test); > return -1; > } > if (test->debug_level >= DEBUG_LEVEL_INFO) { > iperf_printf(test, "Thread FD %d created\n", sp->socket); > } > } > if (test->debug_level >= DEBUG_LEVEL_INFO) { > iperf_printf(test, "All threads created\n"); > } > if (pthread_attr_destroy(&attr) != 0) { > i_errno = IEPTHREADATTRDESTROY; > cleanup_server(test); > }; > } > } > } > > if (result == 0 || > (timeout != ># 895 "iperf_server_api.c" 3 4 > ((void*)0) ># 895 "iperf_server_api.c" > && timeout->tv_sec == 0 && timeout->tv_usec == 0)) { > > iperf_time_now(&now); > tmr_run(&now); > } > } > > > if (test->json_output) { > if (iperf_json_finish(test) < 0) > return -1; > } > > iflush(test); > cleanup_server(test); > > if (test->server_affinity != -1) > if (iperf_clearaffinity(test) != 0) > return -1; > > return 0; >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 937331
:
899033
|
899034
|
899270
|
899271
| 899272 |
899273