Created
March 11, 2021 11:30
-
-
Save pwt/35786f0ace477e24c6700570ab760b0b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pwt@raspberrypi-4:~/tmp/AirConnect-Build-Problem $ cpp -I /usr/include/valgrind sslsym.c | |
# 1 "sslsym.c" | |
# 1 "<built-in>" | |
# 1 "<command-line>" | |
# 31 "<command-line>" | |
# 1 "/usr/include/stdc-predef.h" 1 3 4 | |
# 32 "<command-line>" 2 | |
# 1 "sslsym.c" | |
# 21 "sslsym.c" | |
# 1 "platform.h" 1 | |
# 54 "platform.h" | |
# 1 "/usr/lib/gcc/arm-linux-gnueabihf/8/include/stdbool.h" 1 3 4 | |
# 55 "platform.h" 2 | |
# 1 "/usr/include/signal.h" 1 3 4 | |
# 25 "/usr/include/signal.h" 3 4 | |
# 1 "/usr/include/features.h" 1 3 4 | |
# 424 "/usr/include/features.h" 3 4 | |
# 1 "/usr/include/arm-linux-gnueabihf/sys/cdefs.h" 1 3 4 | |
# 442 "/usr/include/arm-linux-gnueabihf/sys/cdefs.h" 3 4 | |
# 1 "/usr/include/arm-linux-gnueabihf/bits/wordsize.h" 1 3 4 | |
# 443 "/usr/include/arm-linux-gnueabihf/sys/cdefs.h" 2 3 4 | |
# 1 "/usr/include/arm-linux-gnueabihf/bits/long-double.h" 1 3 4 | |
# 444 "/usr/include/arm-linux-gnueabihf/sys/cdefs.h" 2 3 4 | |
# 425 "/usr/include/features.h" 2 3 4 | |
# 448 "/usr/include/features.h" 3 4 | |
# 1 "/usr/include/arm-linux-gnueabihf/gnu/stubs.h" 1 3 4 | |
# 10 "/usr/include/arm-linux-gnueabihf/gnu/stubs.h" 3 4 | |
# 1 "/usr/include/arm-linux-gnueabihf/gnu/stubs-hard.h" 1 3 4 | |
# 11 "/usr/include/arm-linux-gnueabihf/gnu/stubs.h" 2 3 4 | |
# 449 "/usr/include/features.h" 2 3 4 | |
# 26 "/usr/include/signal.h" 2 3 4 | |
# 1 "/usr/include/arm-linux-gnueabihf/bits/types.h" 1 3 4 | |
# 27 "/usr/include/arm-linux-gnueabihf/bits/types.h" 3 4 | |
# 1 "/usr/include/arm-linux-gnueabihf/bits/wordsize.h" 1 3 4 | |
# 28 "/usr/include/arm-linux-gnueabihf/bits/types.h" 2 3 4 | |
# 30 "/usr/include/arm-linux-gnueabihf/bits/types.h" 3 4 | |
typedef unsigned char __u_char; | |
typedef unsigned short int __u_short; | |
typedef unsigned int __u_int; | |
typedef unsigned long int __u_long; | |
typedef signed char __int8_t; | |
typedef unsigned char __uint8_t; | |
typedef signed short int __int16_t; | |
typedef unsigned short int __uint16_t; | |
typedef signed int __int32_t; | |
typedef unsigned int __uint32_t; | |
__extension__ typedef signed long long int __int64_t; | |
__extension__ typedef unsigned long long int __uint64_t; | |
typedef __int8_t __int_least8_t; | |
typedef __uint8_t __uint_least8_t; | |
typedef __int16_t __int_least16_t; | |
typedef __uint16_t __uint_least16_t; | |
typedef __int32_t __int_least32_t; | |
typedef __uint32_t __uint_least32_t; | |
typedef __int64_t __int_least64_t; | |
typedef __uint64_t __uint_least64_t; | |
__extension__ typedef long long int __quad_t; | |
__extension__ typedef unsigned long long int __u_quad_t; | |
__extension__ typedef long long int __intmax_t; | |
__extension__ typedef unsigned long long int __uintmax_t; | |
# 140 "/usr/include/arm-linux-gnueabihf/bits/types.h" 3 4 | |
# 1 "/usr/include/arm-linux-gnueabihf/bits/typesizes.h" 1 3 4 | |
# 141 "/usr/include/arm-linux-gnueabihf/bits/types.h" 2 3 4 | |
__extension__ typedef __u_quad_t __dev_t; | |
__extension__ typedef unsigned int __uid_t; | |
__extension__ typedef unsigned int __gid_t; | |
__extension__ typedef unsigned long int __ino_t; | |
__extension__ typedef __u_quad_t __ino64_t; | |
__extension__ typedef unsigned int __mode_t; | |
__extension__ typedef unsigned int __nlink_t; | |
__extension__ typedef long int __off_t; | |
__extension__ typedef __quad_t __off64_t; | |
__extension__ typedef int __pid_t; | |
__extension__ typedef struct { int __val[2]; } __fsid_t; | |
__extension__ typedef long int __clock_t; | |
__extension__ typedef unsigned long int __rlim_t; | |
__extension__ typedef __u_quad_t __rlim64_t; | |
__extension__ typedef unsigned int __id_t; | |
__extension__ typedef long int __time_t; | |
__extension__ typedef unsigned int __useconds_t; | |
__extension__ typedef long int __suseconds_t; | |
__extension__ typedef int __daddr_t; | |
__extension__ typedef int __key_t; | |
__extension__ typedef int __clockid_t; | |
__extension__ typedef void * __timer_t; | |
__extension__ typedef long int __blksize_t; | |
__extension__ typedef long int __blkcnt_t; | |
__extension__ typedef __quad_t __blkcnt64_t; | |
__extension__ typedef unsigned long int __fsblkcnt_t; | |
__extension__ typedef __u_quad_t __fsblkcnt64_t; | |
__extension__ typedef unsigned long int __fsfilcnt_t; | |
__extension__ typedef __u_quad_t __fsfilcnt64_t; | |
__extension__ typedef int __fsword_t; | |
__extension__ typedef int __ssize_t; | |
__extension__ typedef long int __syscall_slong_t; | |
__extension__ typedef unsigned long int __syscall_ulong_t; | |
typedef __off64_t __loff_t; | |
typedef char *__caddr_t; | |
__extension__ typedef int __intptr_t; | |
__extension__ typedef unsigned int __socklen_t; | |
typedef int __sig_atomic_t; | |
# 30 "/usr/include/signal.h" 2 3 4 | |
# 1 "/usr/include/arm-linux-gnueabihf/bits/signum.h" 1 3 4 | |
# 26 "/usr/include/arm-linux-gnueabihf/bits/signum.h" 3 4 | |
# 1 "/usr/include/arm-linux-gnueabihf/bits/signum-generic.h" 1 3 4 | |
# 27 "/usr/include/arm-linux-gnueabihf/bits/signum.h" 2 3 4 | |
# 31 "/usr/include/signal.h" 2 3 4 | |
# 1 "/usr/include/arm-linux-gnueabihf/bits/types/sig_atomic_t.h" 1 3 4 | |
typedef __sig_atomic_t sig_atomic_t; | |
# 33 "/usr/include/signal.h" 2 3 4 | |
# 1 "/usr/include/arm-linux-gnueabihf/bits/types/sigset_t.h" 1 3 4 | |
# 1 "/usr/include/arm-linux-gnueabihf/bits/types/__sigset_t.h" 1 3 4 | |
typedef struct | |
{ | |
unsigned long int __val[(1024 / (8 * sizeof (unsigned long int)))]; | |
} __sigset_t; | |
# 5 "/usr/include/arm-linux-gnueabihf/bits/types/sigset_t.h" 2 3 4 | |
typedef __sigset_t sigset_t; | |
# 36 "/usr/include/signal.h" 2 3 4 | |
typedef __pid_t pid_t; | |
typedef __uid_t uid_t; | |
# 1 "/usr/include/arm-linux-gnueabihf/bits/types/struct_timespec.h" 1 3 4 | |
# 9 "/usr/include/arm-linux-gnueabihf/bits/types/struct_timespec.h" 3 4 | |
struct timespec | |
{ | |
__time_t tv_sec; | |
__syscall_slong_t tv_nsec; | |
}; | |
# 54 "/usr/include/signal.h" 2 3 4 | |
# 1 "/usr/include/arm-linux-gnueabihf/bits/types/siginfo_t.h" 1 3 4 | |
# 1 "/usr/include/arm-linux-gnueabihf/bits/wordsize.h" 1 3 4 | |
# 5 "/usr/include/arm-linux-gnueabihf/bits/types/siginfo_t.h" 2 3 4 | |
# 1 "/usr/include/arm-linux-gnueabihf/bits/types/__sigval_t.h" 1 3 4 | |
# 24 "/usr/include/arm-linux-gnueabihf/bits/types/__sigval_t.h" 3 4 | |
union sigval | |
{ | |
int sival_int; | |
void *sival_ptr; | |
}; | |
typedef union sigval __sigval_t; | |
# 7 "/usr/include/arm-linux-gnueabihf/bits/types/siginfo_t.h" 2 3 4 | |
# 16 "/usr/include/arm-linux-gnueabihf/bits/types/siginfo_t.h" 3 4 | |
# 1 "/usr/include/arm-linux-gnueabihf/bits/siginfo-arch.h" 1 3 4 | |
# 17 "/usr/include/arm-linux-gnueabihf/bits/types/siginfo_t.h" 2 3 4 | |
# 36 "/usr/include/arm-linux-gnueabihf/bits/types/siginfo_t.h" 3 4 | |
typedef struct | |
{ | |
int si_signo; | |
int si_errno; | |
int si_code; | |
# 51 "/usr/include/arm-linux-gnueabihf/bits/types/siginfo_t.h" 3 4 | |
union | |
{ | |
int _pad[((128 / sizeof (int)) - 3)]; | |
struct | |
{ | |
__pid_t si_pid; | |
__uid_t si_uid; | |
} _kill; | |
struct | |
{ | |
int si_tid; | |
int si_overrun; | |
__sigval_t si_sigval; | |
} _timer; | |
struct | |
{ | |
__pid_t si_pid; | |
__uid_t si_uid; | |
__sigval_t si_sigval; | |
} _rt; | |
struct | |
{ | |
__pid_t si_pid; | |
__uid_t si_uid; | |
int si_status; | |
__clock_t si_utime; | |
__clock_t si_stime; | |
} _sigchld; | |
struct | |
{ | |
void *si_addr; | |
short int si_addr_lsb; | |
union | |
{ | |
struct | |
{ | |
void *_lower; | |
void *_upper; | |
} _addr_bnd; | |
__uint32_t _pkey; | |
} _bounds; | |
} _sigfault; | |
struct | |
{ | |
long int si_band; | |
int si_fd; | |
} _sigpoll; | |
struct | |
{ | |
void *_call_addr; | |
int _syscall; | |
unsigned int _arch; | |
} _sigsys; | |
} _sifields; | |
} siginfo_t ; | |
# 58 "/usr/include/signal.h" 2 3 4 | |
# 1 "/usr/include/arm-linux-gnueabihf/bits/siginfo-consts.h" 1 3 4 | |
# 35 "/usr/include/arm-linux-gnueabihf/bits/siginfo-consts.h" 3 4 | |
enum | |
{ | |
SI_ASYNCNL = -60, | |
SI_TKILL = -6, | |
SI_SIGIO, | |
SI_ASYNCIO, | |
SI_MESGQ, | |
SI_TIMER, | |
SI_QUEUE, | |
SI_USER, | |
SI_KERNEL = 0x80 | |
# 63 "/usr/include/arm-linux-gnueabihf/bits/siginfo-consts.h" 3 4 | |
}; | |
enum | |
{ | |
ILL_ILLOPC = 1, | |
ILL_ILLOPN, | |
ILL_ILLADR, | |
ILL_ILLTRP, | |
ILL_PRVOPC, | |
ILL_PRVREG, | |
ILL_COPROC, | |
ILL_BADSTK | |
}; | |
enum | |
{ | |
FPE_INTDIV = 1, | |
FPE_INTOVF, | |
FPE_FLTDIV, | |
FPE_FLTOVF, | |
FPE_FLTUND, | |
FPE_FLTRES, | |
FPE_FLTINV, | |
FPE_FLTSUB | |
}; | |
enum | |
{ | |
SEGV_MAPERR = 1, | |
SEGV_ACCERR, | |
SEGV_BNDERR, | |
SEGV_PKUERR | |
}; | |
enum | |
{ | |
BUS_ADRALN = 1, | |
BUS_ADRERR, | |
BUS_OBJERR, | |
BUS_MCEERR_AR, | |
BUS_MCEERR_AO | |
}; | |
# 151 "/usr/include/arm-linux-gnueabihf/bits/siginfo-consts.h" 3 4 | |
enum | |
{ | |
CLD_EXITED = 1, | |
CLD_KILLED, | |
CLD_DUMPED, | |
CLD_TRAPPED, | |
CLD_STOPPED, | |
CLD_CONTINUED | |
}; | |
enum | |
{ | |
POLL_IN = 1, | |
POLL_OUT, | |
POLL_MSG, | |
POLL_ERR, | |
POLL_PRI, | |
POLL_HUP | |
}; | |
# 59 "/usr/include/signal.h" 2 3 4 | |
# 1 "/usr/include/arm-linux-gnueabihf/bits/types/sigval_t.h" 1 3 4 | |
# 16 "/usr/include/arm-linux-gnueabihf/bits/types/sigval_t.h" 3 4 | |
typedef __sigval_t sigval_t; | |
# 63 "/usr/include/signal.h" 2 3 4 | |
# 1 "/usr/include/arm-linux-gnueabihf/bits/types/sigevent_t.h" 1 3 4 | |
# 1 "/usr/include/arm-linux-gnueabihf/bits/wordsize.h" 1 3 4 | |
# 5 "/usr/include/arm-linux-gnueabihf/bits/types/sigevent_t.h" 2 3 4 | |
# 17 "/usr/include/arm-linux-gnueabihf/bits/types/sigevent_t.h" 3 4 | |
typedef union pthread_attr_t pthread_attr_t; | |
typedef struct sigevent | |
{ | |
__sigval_t sigev_value; | |
int sigev_signo; | |
int sigev_notify; | |
union | |
{ | |
int _pad[((64 / sizeof (int)) - 3)]; | |
__pid_t _tid; | |
struct | |
{ | |
void (*_function) (__sigval_t); | |
pthread_attr_t *_attribute; | |
} _sigev_thread; | |
} _sigev_un; | |
} sigevent_t; | |
# 67 "/usr/include/signal.h" 2 3 4 | |
# 1 "/usr/include/arm-linux-gnueabihf/bits/sigevent-consts.h" 1 3 4 | |
# 27 "/usr/include/arm-linux-gnueabihf/bits/sigevent-consts.h" 3 4 | |
enum | |
{ | |
SIGEV_SIGNAL = 0, | |
SIGEV_NONE, | |
SIGEV_THREAD, | |
SIGEV_THREAD_ID = 4 | |
}; | |
# 68 "/usr/include/signal.h" 2 3 4 | |
typedef void (*__sighandler_t) (int); | |
extern __sighandler_t __sysv_signal (int __sig, __sighandler_t __handler) | |
__attribute__ ((__nothrow__ , __leaf__)); | |
# 88 "/usr/include/signal.h" 3 4 | |
extern __sighandler_t signal (int __sig, __sighandler_t __handler) | |
__attribute__ ((__nothrow__ , __leaf__)); | |
# 112 "/usr/include/signal.h" 3 4 | |
extern int kill (__pid_t __pid, int __sig) __attribute__ ((__nothrow__ , __leaf__)); | |
extern int killpg (__pid_t __pgrp, int __sig) __attribute__ ((__nothrow__ , __leaf__)); | |
extern int raise (int __sig) __attribute__ ((__nothrow__ , __leaf__)); | |
extern __sighandler_t ssignal (int __sig, __sighandler_t __handler) | |
__attribute__ ((__nothrow__ , __leaf__)); | |
extern int gsignal (int __sig) __attribute__ ((__nothrow__ , __leaf__)); | |
extern void psignal (int __sig, const char *__s); | |
extern void psiginfo (const siginfo_t *__pinfo, const char *__s); | |
# 170 "/usr/include/signal.h" 3 4 | |
extern int sigblock (int __mask) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__deprecated__)); | |
extern int sigsetmask (int __mask) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__deprecated__)); | |
extern int siggetmask (void) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__deprecated__)); | |
# 190 "/usr/include/signal.h" 3 4 | |
typedef __sighandler_t sig_t; | |
extern int sigemptyset (sigset_t *__set) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); | |
extern int sigfillset (sigset_t *__set) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); | |
extern int sigaddset (sigset_t *__set, int __signo) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); | |
extern int sigdelset (sigset_t *__set, int __signo) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); | |
extern int sigismember (const sigset_t *__set, int __signo) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); | |
# 226 "/usr/include/signal.h" 3 4 | |
# 1 "/usr/include/arm-linux-gnueabihf/bits/sigaction.h" 1 3 4 | |
# 27 "/usr/include/arm-linux-gnueabihf/bits/sigaction.h" 3 4 | |
struct sigaction | |
{ | |
union | |
{ | |
__sighandler_t sa_handler; | |
void (*sa_sigaction) (int, siginfo_t *, void *); | |
} | |
__sigaction_handler; | |
__sigset_t sa_mask; | |
int sa_flags; | |
void (*sa_restorer) (void); | |
}; | |
# 227 "/usr/include/signal.h" 2 3 4 | |
extern int sigprocmask (int __how, const sigset_t *__restrict __set, | |
sigset_t *__restrict __oset) __attribute__ ((__nothrow__ , __leaf__)); | |
extern int sigsuspend (const sigset_t *__set) __attribute__ ((__nonnull__ (1))); | |
extern int sigaction (int __sig, const struct sigaction *__restrict __act, | |
struct sigaction *__restrict __oact) __attribute__ ((__nothrow__ , __leaf__)); | |
extern int sigpending (sigset_t *__set) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); | |
extern int sigwait (const sigset_t *__restrict __set, int *__restrict __sig) | |
__attribute__ ((__nonnull__ (1, 2))); | |
extern int sigwaitinfo (const sigset_t *__restrict __set, | |
siginfo_t *__restrict __info) __attribute__ ((__nonnull__ (1))); | |
extern int sigtimedwait (const sigset_t *__restrict __set, | |
siginfo_t *__restrict __info, | |
const struct timespec *__restrict __timeout) | |
__attribute__ ((__nonnull__ (1))); | |
extern int sigqueue (__pid_t __pid, int __sig, const union sigval __val) | |
__attribute__ ((__nothrow__ , __leaf__)); | |
# 286 "/usr/include/signal.h" 3 4 | |
extern const char *const _sys_siglist[(64 + 1)]; | |
extern const char *const sys_siglist[(64 + 1)]; | |
# 1 "/usr/include/arm-linux-gnueabihf/bits/sigcontext.h" 1 3 4 | |
# 30 "/usr/include/arm-linux-gnueabihf/bits/sigcontext.h" 3 4 | |
# 1 "/usr/include/arm-linux-gnueabihf/asm/sigcontext.h" 1 3 4 | |
# 10 "/usr/include/arm-linux-gnueabihf/asm/sigcontext.h" 3 4 | |
struct sigcontext { | |
unsigned long trap_no; | |
unsigned long error_code; | |
unsigned long oldmask; | |
unsigned long arm_r0; | |
unsigned long arm_r1; | |
unsigned long arm_r2; | |
unsigned long arm_r3; | |
unsigned long arm_r4; | |
unsigned long arm_r5; | |
unsigned long arm_r6; | |
unsigned long arm_r7; | |
unsigned long arm_r8; | |
unsigned long arm_r9; | |
unsigned long arm_r10; | |
unsigned long arm_fp; | |
unsigned long arm_ip; | |
unsigned long arm_sp; | |
unsigned long arm_lr; | |
unsigned long arm_pc; | |
unsigned long arm_cpsr; | |
unsigned long fault_address; | |
}; | |
# 31 "/usr/include/arm-linux-gnueabihf/bits/sigcontext.h" 2 3 4 | |
# 1 "/usr/lib/gcc/arm-linux-gnueabihf/8/include/stddef.h" 1 3 4 | |
# 35 "/usr/include/arm-linux-gnueabihf/bits/sigcontext.h" 2 3 4 | |
# 292 "/usr/include/signal.h" 2 3 4 | |
extern int sigreturn (struct sigcontext *__scp) __attribute__ ((__nothrow__ , __leaf__)); | |
# 1 "/usr/lib/gcc/arm-linux-gnueabihf/8/include/stddef.h" 1 3 4 | |
# 216 "/usr/lib/gcc/arm-linux-gnueabihf/8/include/stddef.h" 3 4 | |
typedef unsigned int size_t; | |
# 302 "/usr/include/signal.h" 2 3 4 | |
# 1 "/usr/include/arm-linux-gnueabihf/bits/types/stack_t.h" 1 3 4 | |
# 23 "/usr/include/arm-linux-gnueabihf/bits/types/stack_t.h" 3 4 | |
# 1 "/usr/lib/gcc/arm-linux-gnueabihf/8/include/stddef.h" 1 3 4 | |
# 24 "/usr/include/arm-linux-gnueabihf/bits/types/stack_t.h" 2 3 4 | |
typedef struct | |
{ | |
void *ss_sp; | |
int ss_flags; | |
size_t ss_size; | |
} stack_t; | |
# 304 "/usr/include/signal.h" 2 3 4 | |
# 1 "/usr/include/arm-linux-gnueabihf/sys/ucontext.h" 1 3 4 | |
# 36 "/usr/include/arm-linux-gnueabihf/sys/ucontext.h" 3 4 | |
typedef int greg_t; | |
typedef greg_t gregset_t[18]; | |
enum | |
{ | |
REG_R0 = 0, | |
REG_R1 = 1, | |
REG_R2 = 2, | |
REG_R3 = 3, | |
REG_R4 = 4, | |
REG_R5 = 5, | |
REG_R6 = 6, | |
REG_R7 = 7, | |
REG_R8 = 8, | |
REG_R9 = 9, | |
REG_R10 = 10, | |
REG_R11 = 11, | |
REG_R12 = 12, | |
REG_R13 = 13, | |
REG_R14 = 14, | |
REG_R15 = 15 | |
}; | |
struct _libc_fpstate | |
{ | |
struct | |
{ | |
unsigned int sign1:1; | |
unsigned int unused:15; | |
unsigned int sign2:1; | |
unsigned int exponent:14; | |
unsigned int j:1; | |
unsigned int mantissa1:31; | |
unsigned int mantissa0:32; | |
} fpregs[8]; | |
unsigned int fpsr:32; | |
unsigned int fpcr:32; | |
unsigned char ftype[8]; | |
unsigned int init_flag; | |
}; | |
typedef struct _libc_fpstate fpregset_t; | |
typedef struct | |
{ | |
unsigned long int trap_no; | |
unsigned long int error_code; | |
unsigned long int oldmask; | |
unsigned long int arm_r0; | |
unsigned long int arm_r1; | |
unsigned long int arm_r2; | |
unsigned long int arm_r3; | |
unsigned long int arm_r4; | |
unsigned long int arm_r5; | |
unsigned long int arm_r6; | |
unsigned long int arm_r7; | |
unsigned long int arm_r8; | |
unsigned long int arm_r9; | |
unsigned long int arm_r10; | |
unsigned long int arm_fp; | |
unsigned long int arm_ip; | |
unsigned long int arm_sp; | |
unsigned long int arm_lr; | |
unsigned long int arm_pc; | |
unsigned long int arm_cpsr; | |
unsigned long int fault_address; | |
} mcontext_t; | |
typedef struct ucontext_t | |
{ | |
unsigned long uc_flags; | |
struct ucontext_t *uc_link; | |
stack_t uc_stack; | |
mcontext_t uc_mcontext; | |
sigset_t uc_sigmask; | |
unsigned long uc_regspace[128] __attribute__((__aligned__(8))); | |
} ucontext_t; | |
# 307 "/usr/include/signal.h" 2 3 4 | |
extern int siginterrupt (int __sig, int __interrupt) __attribute__ ((__nothrow__ , __leaf__)); | |
# 1 "/usr/include/arm-linux-gnueabihf/bits/sigstack.h" 1 3 4 | |
# 317 "/usr/include/signal.h" 2 3 4 | |
# 1 "/usr/include/arm-linux-gnueabihf/bits/ss_flags.h" 1 3 4 | |
# 27 "/usr/include/arm-linux-gnueabihf/bits/ss_flags.h" 3 4 | |
enum | |
{ | |
SS_ONSTACK = 1, | |
SS_DISABLE | |
}; | |
# 318 "/usr/include/signal.h" 2 3 4 | |
extern int sigaltstack (const stack_t *__restrict __ss, | |
stack_t *__restrict __oss) __attribute__ ((__nothrow__ , __leaf__)); | |
# 1 "/usr/include/arm-linux-gnueabihf/bits/types/struct_sigstack.h" 1 3 4 | |
# 23 "/usr/include/arm-linux-gnueabihf/bits/types/struct_sigstack.h" 3 4 | |
struct sigstack | |
{ | |
void *ss_sp; | |
int ss_onstack; | |
}; | |
# 328 "/usr/include/signal.h" 2 3 4 | |
extern int sigstack (struct sigstack *__ss, struct sigstack *__oss) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__deprecated__)); | |
# 358 "/usr/include/signal.h" 3 4 | |
# 1 "/usr/include/arm-linux-gnueabihf/bits/pthreadtypes.h" 1 3 4 | |
# 23 "/usr/include/arm-linux-gnueabihf/bits/pthreadtypes.h" 3 4 | |
# 1 "/usr/include/arm-linux-gnueabihf/bits/thread-shared-types.h" 1 3 4 | |
# 77 "/usr/include/arm-linux-gnueabihf/bits/thread-shared-types.h" 3 4 | |
# 1 "/usr/include/arm-linux-gnueabihf/bits/pthreadtypes-arch.h" 1 3 4 | |
# 21 "/usr/include/arm-linux-gnueabihf/bits/pthreadtypes-arch.h" 3 4 | |
# 1 "/usr/include/endian.h" 1 3 4 | |
# 36 "/usr/include/endian.h" 3 4 | |
# 1 "/usr/include/arm-linux-gnueabihf/bits/endian.h" 1 3 4 | |
# 37 "/usr/include/endian.h" 2 3 4 | |
# 60 "/usr/include/endian.h" 3 4 | |
# 1 "/usr/include/arm-linux-gnueabihf/bits/byteswap.h" 1 3 4 | |
# 33 "/usr/include/arm-linux-gnueabihf/bits/byteswap.h" 3 4 | |
static __inline __uint16_t | |
__bswap_16 (__uint16_t __bsx) | |
{ | |
return __builtin_bswap16 (__bsx); | |
} | |
static __inline __uint32_t | |
__bswap_32 (__uint32_t __bsx) | |
{ | |
return __builtin_bswap32 (__bsx); | |
} | |
# 69 "/usr/include/arm-linux-gnueabihf/bits/byteswap.h" 3 4 | |
__extension__ static __inline __uint64_t | |
__bswap_64 (__uint64_t __bsx) | |
{ | |
return __builtin_bswap64 (__bsx); | |
} | |
# 61 "/usr/include/endian.h" 2 3 4 | |
# 1 "/usr/include/arm-linux-gnueabihf/bits/uintn-identity.h" 1 3 4 | |
# 32 "/usr/include/arm-linux-gnueabihf/bits/uintn-identity.h" 3 4 | |
static __inline __uint16_t | |
__uint16_identity (__uint16_t __x) | |
{ | |
return __x; | |
} | |
static __inline __uint32_t | |
__uint32_identity (__uint32_t __x) | |
{ | |
return __x; | |
} | |
static __inline __uint64_t | |
__uint64_identity (__uint64_t __x) | |
{ | |
return __x; | |
} | |
# 62 "/usr/include/endian.h" 2 3 4 | |
# 22 "/usr/include/arm-linux-gnueabihf/bits/pthreadtypes-arch.h" 2 3 4 | |
# 43 "/usr/include/arm-linux-gnueabihf/bits/pthreadtypes-arch.h" 3 4 | |
struct __pthread_rwlock_arch_t | |
{ | |
unsigned int __readers; | |
unsigned int __writers; | |
unsigned int __wrphase_futex; | |
unsigned int __writers_futex; | |
unsigned int __pad3; | |
unsigned int __pad4; | |
# 61 "/usr/include/arm-linux-gnueabihf/bits/pthreadtypes-arch.h" 3 4 | |
unsigned char __flags; | |
unsigned char __shared; | |
unsigned char __pad1; | |
unsigned char __pad2; | |
int __cur_writer; | |
}; | |
# 78 "/usr/include/arm-linux-gnueabihf/bits/thread-shared-types.h" 2 3 4 | |
# 88 "/usr/include/arm-linux-gnueabihf/bits/thread-shared-types.h" 3 4 | |
typedef struct __pthread_internal_slist | |
{ | |
struct __pthread_internal_slist *__next; | |
} __pthread_slist_t; | |
# 118 "/usr/include/arm-linux-gnueabihf/bits/thread-shared-types.h" 3 4 | |
struct __pthread_mutex_s | |
{ | |
int __lock ; | |
unsigned int __count; | |
int __owner; | |
# 148 "/usr/include/arm-linux-gnueabihf/bits/thread-shared-types.h" 3 4 | |
int __kind; | |
unsigned int __nusers; | |
__extension__ union | |
{ | |
int __spins; | |
__pthread_slist_t __list; | |
}; | |
}; | |
struct __pthread_cond_s | |
{ | |
__extension__ union | |
{ | |
__extension__ unsigned long long int __wseq; | |
struct | |
{ | |
unsigned int __low; | |
unsigned int __high; | |
} __wseq32; | |
}; | |
__extension__ union | |
{ | |
__extension__ unsigned long long int __g1_start; | |
struct | |
{ | |
unsigned int __low; | |
unsigned int __high; | |
} __g1_start32; | |
}; | |
unsigned int __g_refs[2] ; | |
unsigned int __g_size[2]; | |
unsigned int __g1_orig_size; | |
unsigned int __wrefs; | |
unsigned int __g_signals[2]; | |
}; | |
# 24 "/usr/include/arm-linux-gnueabihf/bits/pthreadtypes.h" 2 3 4 | |
typedef unsigned long int pthread_t; | |
typedef union | |
{ | |
char __size[4]; | |
int __align; | |
} pthread_mutexattr_t; | |
typedef union | |
{ | |
char __size[4]; | |
int __align; | |
} pthread_condattr_t; | |
typedef unsigned int pthread_key_t; | |
typedef int pthread_once_t; | |
union pthread_attr_t | |
{ | |
char __size[36]; | |
long int __align; | |
}; | |
typedef union | |
{ | |
struct __pthread_mutex_s __data; | |
char __size[24]; | |
long int __align; | |
} pthread_mutex_t; | |
typedef union | |
{ | |
struct __pthread_cond_s __data; | |
char __size[48]; | |
__extension__ long long int __align; | |
} pthread_cond_t; | |
typedef union | |
{ | |
struct __pthread_rwlock_arch_t __data; | |
char __size[32]; | |
long int __align; | |
} pthread_rwlock_t; | |
typedef union | |
{ | |
char __size[8]; | |
long int __align; | |
} pthread_rwlockattr_t; | |
typedef volatile int pthread_spinlock_t; | |
typedef union | |
{ | |
char __size[20]; | |
long int __align; | |
} pthread_barrier_t; | |
typedef union | |
{ | |
char __size[4]; | |
int __align; | |
} pthread_barrierattr_t; | |
# 359 "/usr/include/signal.h" 2 3 4 | |
# 1 "/usr/include/arm-linux-gnueabihf/bits/sigthread.h" 1 3 4 | |
# 31 "/usr/include/arm-linux-gnueabihf/bits/sigthread.h" 3 4 | |
extern int pthread_sigmask (int __how, | |
const __sigset_t *__restrict __newmask, | |
__sigset_t *__restrict __oldmask)__attribute__ ((__nothrow__ , __leaf__)); | |
extern int pthread_kill (pthread_t __threadid, int __signo) __attribute__ ((__nothrow__ , __leaf__)); | |
# 360 "/usr/include/signal.h" 2 3 4 | |
extern int __libc_current_sigrtmin (void) __attribute__ ((__nothrow__ , __leaf__)); | |
extern int __libc_current_sigrtmax (void) __attribute__ ((__nothrow__ , __leaf__)); | |
# 56 "platform.h" 2 | |
# 1 "/usr/include/arm-linux-gnueabihf/sys/stat.h" 1 3 4 | |
# 37 "/usr/include/arm-linux-gnueabihf/sys/stat.h" 3 4 | |
# 1 "/usr/include/arm-linux-gnueabihf/bits/types/time_t.h" 1 3 4 | |
typedef __time_t time_t; | |
# 38 "/usr/include/arm-linux-gnueabihf/sys/stat.h" 2 3 4 | |
typedef __dev_t dev_t; | |
typedef __gid_t gid_t; | |
typedef __ino_t ino_t; | |
typedef __mode_t mode_t; | |
typedef __nlink_t nlink_t; | |
typedef __off_t off_t; | |
# 99 "/usr/include/arm-linux-gnueabihf/sys/stat.h" 3 4 | |
# 1 "/usr/include/arm-linux-gnueabihf/bits/stat.h" 1 3 4 | |
# 38 "/usr/include/arm-linux-gnueabihf/bits/stat.h" 3 4 | |
struct stat | |
{ | |
__dev_t st_dev; | |
unsigned short int __pad1; | |
__ino_t st_ino; | |
__mode_t st_mode; | |
__nlink_t st_nlink; | |
__uid_t st_uid; | |
__gid_t st_gid; | |
__dev_t st_rdev; | |
unsigned short int __pad2; | |
__off_t st_size; | |
__blksize_t st_blksize; | |
__blkcnt_t st_blocks; | |
# 72 "/usr/include/arm-linux-gnueabihf/bits/stat.h" 3 4 | |
struct timespec st_atim; | |
struct timespec st_mtim; | |
struct timespec st_ctim; | |
# 87 "/usr/include/arm-linux-gnueabihf/bits/stat.h" 3 4 | |
unsigned long int __glibc_reserved4; | |
unsigned long int __glibc_reserved5; | |
}; | |
# 102 "/usr/include/arm-linux-gnueabihf/sys/stat.h" 2 3 4 | |
# 205 "/usr/include/arm-linux-gnueabihf/sys/stat.h" 3 4 | |
extern int stat (const char *__restrict __file, | |
struct stat *__restrict __buf) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); | |
extern int fstat (int __fd, struct stat *__buf) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); | |
# 234 "/usr/include/arm-linux-gnueabihf/sys/stat.h" 3 4 | |
extern int fstatat (int __fd, const char *__restrict __file, | |
struct stat *__restrict __buf, int __flag) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2, 3))); | |
# 259 "/usr/include/arm-linux-gnueabihf/sys/stat.h" 3 4 | |
extern int lstat (const char *__restrict __file, | |
struct stat *__restrict __buf) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); | |
# 280 "/usr/include/arm-linux-gnueabihf/sys/stat.h" 3 4 | |
extern int chmod (const char *__file, __mode_t __mode) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); | |
extern int lchmod (const char *__file, __mode_t __mode) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); | |
extern int fchmod (int __fd, __mode_t __mode) __attribute__ ((__nothrow__ , __leaf__)); | |
extern int fchmodat (int __fd, const char *__file, __mode_t __mode, | |
int __flag) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))) ; | |
extern __mode_t umask (__mode_t __mask) __attribute__ ((__nothrow__ , __leaf__)); | |
# 317 "/usr/include/arm-linux-gnueabihf/sys/stat.h" 3 4 | |
extern int mkdir (const char *__path, __mode_t __mode) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); | |
extern int mkdirat (int __fd, const char *__path, __mode_t __mode) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); | |
extern int mknod (const char *__path, __mode_t __mode, __dev_t __dev) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); | |
extern int mknodat (int __fd, const char *__path, __mode_t __mode, | |
__dev_t __dev) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); | |
extern int mkfifo (const char *__path, __mode_t __mode) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); | |
extern int mkfifoat (int __fd, const char *__path, __mode_t __mode) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); | |
extern int utimensat (int __fd, const char *__path, | |
const struct timespec __times[2], | |
int __flags) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); | |
extern int futimens (int __fd, const struct timespec __times[2]) __attribute__ ((__nothrow__ , __leaf__)); | |
# 395 "/usr/include/arm-linux-gnueabihf/sys/stat.h" 3 4 | |
extern int __fxstat (int __ver, int __fildes, struct stat *__stat_buf) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3))); | |
extern int __xstat (int __ver, const char *__filename, | |
struct stat *__stat_buf) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2, 3))); | |
extern int __lxstat (int __ver, const char *__filename, | |
struct stat *__stat_buf) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2, 3))); | |
extern int __fxstatat (int __ver, int __fildes, const char *__filename, | |
struct stat *__stat_buf, int __flag) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3, 4))); | |
# 438 "/usr/include/arm-linux-gnueabihf/sys/stat.h" 3 4 | |
extern int __xmknod (int __ver, const char *__path, __mode_t __mode, | |
__dev_t *__dev) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2, 4))); | |
extern int __xmknodat (int __ver, int __fd, const char *__path, | |
__mode_t __mode, __dev_t *__dev) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3, 5))); | |
# 534 "/usr/include/arm-linux-gnueabihf/sys/stat.h" 3 4 | |
# 57 "platform.h" 2 | |
# 1 "/usr/include/strings.h" 1 3 4 | |
# 23 "/usr/include/strings.h" 3 4 | |
# 1 "/usr/lib/gcc/arm-linux-gnueabihf/8/include/stddef.h" 1 3 4 | |
# 24 "/usr/include/strings.h" 2 3 4 | |
extern int bcmp (const void *__s1, const void *__s2, size_t __n) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); | |
extern void bcopy (const void *__src, void *__dest, size_t __n) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); | |
extern void bzero (void *__s, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); | |
# 68 "/usr/include/strings.h" 3 4 | |
extern char *index (const char *__s, int __c) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); | |
# 96 "/usr/include/strings.h" 3 4 | |
extern char *rindex (const char *__s, int __c) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); | |
extern int ffs (int __i) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); | |
extern int ffsl (long int __l) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); | |
__extension__ extern int ffsll (long long int __ll) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); | |
extern int strcasecmp (const char *__s1, const char *__s2) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); | |
extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); | |
# 1 "/usr/include/arm-linux-gnueabihf/bits/types/locale_t.h" 1 3 4 | |
# 22 "/usr/include/arm-linux-gnueabihf/bits/types/locale_t.h" 3 4 | |
# 1 "/usr/include/arm-linux-gnueabihf/bits/types/__locale_t.h" 1 3 4 | |
# 28 "/usr/include/arm-linux-gnueabihf/bits/types/__locale_t.h" 3 4 | |
struct __locale_struct | |
{ | |
struct __locale_data *__locales[13]; | |
const unsigned short int *__ctype_b; | |
const int *__ctype_tolower; | |
const int *__ctype_toupper; | |
const char *__names[13]; | |
}; | |
typedef struct __locale_struct *__locale_t; | |
# 23 "/usr/include/arm-linux-gnueabihf/bits/types/locale_t.h" 2 3 4 | |
typedef __locale_t locale_t; | |
# 126 "/usr/include/strings.h" 2 3 4 | |
extern int strcasecmp_l (const char *__s1, const char *__s2, locale_t __loc) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2, 3))); | |
extern int strncasecmp_l (const char *__s1, const char *__s2, | |
size_t __n, locale_t __loc) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2, 4))); | |
# 60 "platform.h" 2 | |
# 1 "/usr/include/arm-linux-gnueabihf/sys/types.h" 1 3 4 | |
# 27 "/usr/include/arm-linux-gnueabihf/sys/types.h" 3 4 | |
typedef __u_char u_char; | |
typedef __u_short u_short; | |
typedef __u_int u_int; | |
typedef __u_long u_long; | |
typedef __quad_t quad_t; | |
typedef __u_quad_t u_quad_t; | |
typedef __fsid_t fsid_t; | |
typedef __loff_t loff_t; | |
# 103 "/usr/include/arm-linux-gnueabihf/sys/types.h" 3 4 | |
typedef __id_t id_t; | |
typedef __ssize_t ssize_t; | |
typedef __daddr_t daddr_t; | |
typedef __caddr_t caddr_t; | |
typedef __key_t key_t; | |
# 1 "/usr/include/arm-linux-gnueabihf/bits/types/clock_t.h" 1 3 4 | |
typedef __clock_t clock_t; | |
# 127 "/usr/include/arm-linux-gnueabihf/sys/types.h" 2 3 4 | |
# 1 "/usr/include/arm-linux-gnueabihf/bits/types/clockid_t.h" 1 3 4 | |
typedef __clockid_t clockid_t; | |
# 129 "/usr/include/arm-linux-gnueabihf/sys/types.h" 2 3 4 | |
# 1 "/usr/include/arm-linux-gnueabihf/bits/types/timer_t.h" 1 3 4 | |
typedef __timer_t timer_t; | |
# 131 "/usr/include/arm-linux-gnueabihf/sys/types.h" 2 3 4 | |
# 144 "/usr/include/arm-linux-gnueabihf/sys/types.h" 3 4 | |
# 1 "/usr/lib/gcc/arm-linux-gnueabihf/8/include/stddef.h" 1 3 4 | |
# 145 "/usr/include/arm-linux-gnueabihf/sys/types.h" 2 3 4 | |
typedef unsigned long int ulong; | |
typedef unsigned short int ushort; | |
typedef unsigned int uint; | |
# 1 "/usr/include/arm-linux-gnueabihf/bits/stdint-intn.h" 1 3 4 | |
# 24 "/usr/include/arm-linux-gnueabihf/bits/stdint-intn.h" 3 4 | |
typedef __int8_t int8_t; | |
typedef __int16_t int16_t; | |
typedef __int32_t int32_t; | |
typedef __int64_t int64_t; | |
# 156 "/usr/include/arm-linux-gnueabihf/sys/types.h" 2 3 4 | |
# 177 "/usr/include/arm-linux-gnueabihf/sys/types.h" 3 4 | |
typedef unsigned int u_int8_t __attribute__ ((__mode__ (__QI__))); | |
typedef unsigned int u_int16_t __attribute__ ((__mode__ (__HI__))); | |
typedef unsigned int u_int32_t __attribute__ ((__mode__ (__SI__))); | |
typedef unsigned int u_int64_t __attribute__ ((__mode__ (__DI__))); | |
typedef int register_t __attribute__ ((__mode__ (__word__))); | |
# 196 "/usr/include/arm-linux-gnueabihf/sys/types.h" 3 4 | |
# 1 "/usr/include/arm-linux-gnueabihf/sys/select.h" 1 3 4 | |
# 30 "/usr/include/arm-linux-gnueabihf/sys/select.h" 3 4 | |
# 1 "/usr/include/arm-linux-gnueabihf/bits/select.h" 1 3 4 | |
# 31 "/usr/include/arm-linux-gnueabihf/sys/select.h" 2 3 4 | |
# 1 "/usr/include/arm-linux-gnueabihf/bits/types/struct_timeval.h" 1 3 4 | |
struct timeval | |
{ | |
__time_t tv_sec; | |
__suseconds_t tv_usec; | |
}; | |
# 38 "/usr/include/arm-linux-gnueabihf/sys/select.h" 2 3 4 | |
typedef __suseconds_t suseconds_t; | |
typedef long int __fd_mask; | |
# 59 "/usr/include/arm-linux-gnueabihf/sys/select.h" 3 4 | |
typedef struct | |
{ | |
__fd_mask __fds_bits[1024 / (8 * (int) sizeof (__fd_mask))]; | |
} fd_set; | |
typedef __fd_mask fd_mask; | |
# 91 "/usr/include/arm-linux-gnueabihf/sys/select.h" 3 4 | |
# 101 "/usr/include/arm-linux-gnueabihf/sys/select.h" 3 4 | |
extern int select (int __nfds, fd_set *__restrict __readfds, | |
fd_set *__restrict __writefds, | |
fd_set *__restrict __exceptfds, | |
struct timeval *__restrict __timeout); | |
# 113 "/usr/include/arm-linux-gnueabihf/sys/select.h" 3 4 | |
extern int pselect (int __nfds, fd_set *__restrict __readfds, | |
fd_set *__restrict __writefds, | |
fd_set *__restrict __exceptfds, | |
const struct timespec *__restrict __timeout, | |
const __sigset_t *__restrict __sigmask); | |
# 126 "/usr/include/arm-linux-gnueabihf/sys/select.h" 3 4 | |
# 197 "/usr/include/arm-linux-gnueabihf/sys/types.h" 2 3 4 | |
typedef __blksize_t blksize_t; | |
typedef __blkcnt_t blkcnt_t; | |
typedef __fsblkcnt_t fsblkcnt_t; | |
typedef __fsfilcnt_t fsfilcnt_t; | |
# 247 "/usr/include/arm-linux-gnueabihf/sys/types.h" 3 4 | |
# 61 "platform.h" 2 | |
# 1 "/usr/include/unistd.h" 1 3 4 | |
# 27 "/usr/include/unistd.h" 3 4 | |
# 202 "/usr/include/unistd.h" 3 4 | |
# 1 "/usr/include/arm-linux-gnueabihf/bits/posix_opt.h" 1 3 4 | |
# 203 "/usr/include/unistd.h" 2 3 4 | |
# 1 "/usr/include/arm-linux-gnueabihf/bits/environments.h" 1 3 4 | |
# 22 "/usr/include/arm-linux-gnueabihf/bits/environments.h" 3 4 | |
# 1 "/usr/include/arm-linux-gnueabihf/bits/wordsize.h" 1 3 4 | |
# 23 "/usr/include/arm-linux-gnueabihf/bits/environments.h" 2 3 4 | |
# 207 "/usr/include/unistd.h" 2 3 4 | |
# 226 "/usr/include/unistd.h" 3 4 | |
# 1 "/usr/lib/gcc/arm-linux-gnueabihf/8/include/stddef.h" 1 3 4 | |
# 227 "/usr/include/unistd.h" 2 3 4 | |
# 255 "/usr/include/unistd.h" 3 4 | |
typedef __useconds_t useconds_t; | |
# 267 "/usr/include/unistd.h" 3 4 | |
typedef __intptr_t intptr_t; | |
typedef __socklen_t socklen_t; | |
# 287 "/usr/include/unistd.h" 3 4 | |
extern int access (const char *__name, int __type) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); | |
# 304 "/usr/include/unistd.h" 3 4 | |
extern int faccessat (int __fd, const char *__file, int __type, int __flag) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))) ; | |
# 334 "/usr/include/unistd.h" 3 4 | |
extern __off_t lseek (int __fd, __off_t __offset, int __whence) __attribute__ ((__nothrow__ , __leaf__)); | |
# 353 "/usr/include/unistd.h" 3 4 | |
extern int close (int __fd); | |
extern ssize_t read (int __fd, void *__buf, size_t __nbytes) ; | |
extern ssize_t write (int __fd, const void *__buf, size_t __n) ; | |
# 376 "/usr/include/unistd.h" 3 4 | |
extern ssize_t pread (int __fd, void *__buf, size_t __nbytes, | |
__off_t __offset) ; | |
extern ssize_t pwrite (int __fd, const void *__buf, size_t __n, | |
__off_t __offset) ; | |
# 417 "/usr/include/unistd.h" 3 4 | |
extern int pipe (int __pipedes[2]) __attribute__ ((__nothrow__ , __leaf__)) ; | |
# 432 "/usr/include/unistd.h" 3 4 | |
extern unsigned int alarm (unsigned int __seconds) __attribute__ ((__nothrow__ , __leaf__)); | |
# 444 "/usr/include/unistd.h" 3 4 | |
extern unsigned int sleep (unsigned int __seconds); | |
extern __useconds_t ualarm (__useconds_t __value, __useconds_t __interval) | |
__attribute__ ((__nothrow__ , __leaf__)); | |
extern int usleep (__useconds_t __useconds); | |
# 469 "/usr/include/unistd.h" 3 4 | |
extern int pause (void); | |
extern int chown (const char *__file, __uid_t __owner, __gid_t __group) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) ; | |
extern int fchown (int __fd, __uid_t __owner, __gid_t __group) __attribute__ ((__nothrow__ , __leaf__)) ; | |
extern int lchown (const char *__file, __uid_t __owner, __gid_t __group) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) ; | |
extern int fchownat (int __fd, const char *__file, __uid_t __owner, | |
__gid_t __group, int __flag) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))) ; | |
extern int chdir (const char *__path) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) ; | |
extern int fchdir (int __fd) __attribute__ ((__nothrow__ , __leaf__)) ; | |
# 511 "/usr/include/unistd.h" 3 4 | |
extern char *getcwd (char *__buf, size_t __size) __attribute__ ((__nothrow__ , __leaf__)) ; | |
# 525 "/usr/include/unistd.h" 3 4 | |
extern char *getwd (char *__buf) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__deprecated__)) ; | |
extern int dup (int __fd) __attribute__ ((__nothrow__ , __leaf__)) ; | |
extern int dup2 (int __fd, int __fd2) __attribute__ ((__nothrow__ , __leaf__)); | |
# 543 "/usr/include/unistd.h" 3 4 | |
extern char **__environ; | |
extern int execve (const char *__path, char *const __argv[], | |
char *const __envp[]) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); | |
extern int fexecve (int __fd, char *const __argv[], char *const __envp[]) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); | |
extern int execv (const char *__path, char *const __argv[]) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); | |
extern int execle (const char *__path, const char *__arg, ...) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); | |
extern int execl (const char *__path, const char *__arg, ...) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); | |
extern int execvp (const char *__file, char *const __argv[]) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); | |
extern int execlp (const char *__file, const char *__arg, ...) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); | |
# 598 "/usr/include/unistd.h" 3 4 | |
extern int nice (int __inc) __attribute__ ((__nothrow__ , __leaf__)) ; | |
extern void _exit (int __status) __attribute__ ((__noreturn__)); | |
# 1 "/usr/include/arm-linux-gnueabihf/bits/confname.h" 1 3 4 | |
# 24 "/usr/include/arm-linux-gnueabihf/bits/confname.h" 3 4 | |
enum | |
{ | |
_PC_LINK_MAX, | |
_PC_MAX_CANON, | |
_PC_MAX_INPUT, | |
_PC_NAME_MAX, | |
_PC_PATH_MAX, | |
_PC_PIPE_BUF, | |
_PC_CHOWN_RESTRICTED, | |
_PC_NO_TRUNC, | |
_PC_VDISABLE, | |
_PC_SYNC_IO, | |
_PC_ASYNC_IO, | |
_PC_PRIO_IO, | |
_PC_SOCK_MAXBUF, | |
_PC_FILESIZEBITS, | |
_PC_REC_INCR_XFER_SIZE, | |
_PC_REC_MAX_XFER_SIZE, | |
_PC_REC_MIN_XFER_SIZE, | |
_PC_REC_XFER_ALIGN, | |
_PC_ALLOC_SIZE_MIN, | |
_PC_SYMLINK_MAX, | |
_PC_2_SYMLINKS | |
}; | |
enum | |
{ | |
_SC_ARG_MAX, | |
_SC_CHILD_MAX, | |
_SC_CLK_TCK, | |
_SC_NGROUPS_MAX, | |
_SC_OPEN_MAX, | |
_SC_STREAM_MAX, | |
_SC_TZNAME_MAX, | |
_SC_JOB_CONTROL, | |
_SC_SAVED_IDS, | |
_SC_REALTIME_SIGNALS, | |
_SC_PRIORITY_SCHEDULING, | |
_SC_TIMERS, | |
_SC_ASYNCHRONOUS_IO, | |
_SC_PRIORITIZED_IO, | |
_SC_SYNCHRONIZED_IO, | |
_SC_FSYNC, | |
_SC_MAPPED_FILES, | |
_SC_MEMLOCK, | |
_SC_MEMLOCK_RANGE, | |
_SC_MEMORY_PROTECTION, | |
_SC_MESSAGE_PASSING, | |
_SC_SEMAPHORES, | |
_SC_SHARED_MEMORY_OBJECTS, | |
_SC_AIO_LISTIO_MAX, | |
_SC_AIO_MAX, | |
_SC_AIO_PRIO_DELTA_MAX, | |
_SC_DELAYTIMER_MAX, | |
_SC_MQ_OPEN_MAX, | |
_SC_MQ_PRIO_MAX, | |
_SC_VERSION, | |
_SC_PAGESIZE, | |
_SC_RTSIG_MAX, | |
_SC_SEM_NSEMS_MAX, | |
_SC_SEM_VALUE_MAX, | |
_SC_SIGQUEUE_MAX, | |
_SC_TIMER_MAX, | |
_SC_BC_BASE_MAX, | |
_SC_BC_DIM_MAX, | |
_SC_BC_SCALE_MAX, | |
_SC_BC_STRING_MAX, | |
_SC_COLL_WEIGHTS_MAX, | |
_SC_EQUIV_CLASS_MAX, | |
_SC_EXPR_NEST_MAX, | |
_SC_LINE_MAX, | |
_SC_RE_DUP_MAX, | |
_SC_CHARCLASS_NAME_MAX, | |
_SC_2_VERSION, | |
_SC_2_C_BIND, | |
_SC_2_C_DEV, | |
_SC_2_FORT_DEV, | |
_SC_2_FORT_RUN, | |
_SC_2_SW_DEV, | |
_SC_2_LOCALEDEF, | |
_SC_PII, | |
_SC_PII_XTI, | |
_SC_PII_SOCKET, | |
_SC_PII_INTERNET, | |
_SC_PII_OSI, | |
_SC_POLL, | |
_SC_SELECT, | |
_SC_UIO_MAXIOV, | |
_SC_IOV_MAX = _SC_UIO_MAXIOV, | |
_SC_PII_INTERNET_STREAM, | |
_SC_PII_INTERNET_DGRAM, | |
_SC_PII_OSI_COTS, | |
_SC_PII_OSI_CLTS, | |
_SC_PII_OSI_M, | |
_SC_T_IOV_MAX, | |
_SC_THREADS, | |
_SC_THREAD_SAFE_FUNCTIONS, | |
_SC_GETGR_R_SIZE_MAX, | |
_SC_GETPW_R_SIZE_MAX, | |
_SC_LOGIN_NAME_MAX, | |
_SC_TTY_NAME_MAX, | |
_SC_THREAD_DESTRUCTOR_ITERATIONS, | |
_SC_THREAD_KEYS_MAX, | |
_SC_THREAD_STACK_MIN, | |
_SC_THREAD_THREADS_MAX, | |
_SC_THREAD_ATTR_STACKADDR, | |
_SC_THREAD_ATTR_STACKSIZE, | |
_SC_THREAD_PRIORITY_SCHEDULING, | |
_SC_THREAD_PRIO_INHERIT, | |
_SC_THREAD_PRIO_PROTECT, | |
_SC_THREAD_PROCESS_SHARED, | |
_SC_NPROCESSORS_CONF, | |
_SC_NPROCESSORS_ONLN, | |
_SC_PHYS_PAGES, | |
_SC_AVPHYS_PAGES, | |
_SC_ATEXIT_MAX, | |
_SC_PASS_MAX, | |
_SC_XOPEN_VERSION, | |
_SC_XOPEN_XCU_VERSION, | |
_SC_XOPEN_UNIX, | |
_SC_XOPEN_CRYPT, | |
_SC_XOPEN_ENH_I18N, | |
_SC_XOPEN_SHM, | |
_SC_2_CHAR_TERM, | |
_SC_2_C_VERSION, | |
_SC_2_UPE, | |
_SC_XOPEN_XPG2, | |
_SC_XOPEN_XPG3, | |
_SC_XOPEN_XPG4, | |
_SC_CHAR_BIT, | |
_SC_CHAR_MAX, | |
_SC_CHAR_MIN, | |
_SC_INT_MAX, | |
_SC_INT_MIN, | |
_SC_LONG_BIT, | |
_SC_WORD_BIT, | |
_SC_MB_LEN_MAX, | |
_SC_NZERO, | |
_SC_SSIZE_MAX, | |
_SC_SCHAR_MAX, | |
_SC_SCHAR_MIN, | |
_SC_SHRT_MAX, | |
_SC_SHRT_MIN, | |
_SC_UCHAR_MAX, | |
_SC_UINT_MAX, | |
_SC_ULONG_MAX, | |
_SC_USHRT_MAX, | |
_SC_NL_ARGMAX, | |
_SC_NL_LANGMAX, | |
_SC_NL_MSGMAX, | |
_SC_NL_NMAX, | |
_SC_NL_SETMAX, | |
_SC_NL_TEXTMAX, | |
_SC_XBS5_ILP32_OFF32, | |
_SC_XBS5_ILP32_OFFBIG, | |
_SC_XBS5_LP64_OFF64, | |
_SC_XBS5_LPBIG_OFFBIG, | |
_SC_XOPEN_LEGACY, | |
_SC_XOPEN_REALTIME, | |
_SC_XOPEN_REALTIME_THREADS, | |
_SC_ADVISORY_INFO, | |
_SC_BARRIERS, | |
_SC_BASE, | |
_SC_C_LANG_SUPPORT, | |
_SC_C_LANG_SUPPORT_R, | |
_SC_CLOCK_SELECTION, | |
_SC_CPUTIME, | |
_SC_THREAD_CPUTIME, | |
_SC_DEVICE_IO, | |
_SC_DEVICE_SPECIFIC, | |
_SC_DEVICE_SPECIFIC_R, | |
_SC_FD_MGMT, | |
_SC_FIFO, | |
_SC_PIPE, | |
_SC_FILE_ATTRIBUTES, | |
_SC_FILE_LOCKING, | |
_SC_FILE_SYSTEM, | |
_SC_MONOTONIC_CLOCK, | |
_SC_MULTI_PROCESS, | |
_SC_SINGLE_PROCESS, | |
_SC_NETWORKING, | |
_SC_READER_WRITER_LOCKS, | |
_SC_SPIN_LOCKS, | |
_SC_REGEXP, | |
_SC_REGEX_VERSION, | |
_SC_SHELL, | |
_SC_SIGNALS, | |
_SC_SPAWN, | |
_SC_SPORADIC_SERVER, | |
_SC_THREAD_SPORADIC_SERVER, | |
_SC_SYSTEM_DATABASE, | |
_SC_SYSTEM_DATABASE_R, | |
_SC_TIMEOUTS, | |
_SC_TYPED_MEMORY_OBJECTS, | |
_SC_USER_GROUPS, | |
_SC_USER_GROUPS_R, | |
_SC_2_PBS, | |
_SC_2_PBS_ACCOUNTING, | |
_SC_2_PBS_LOCATE, | |
_SC_2_PBS_MESSAGE, | |
_SC_2_PBS_TRACK, | |
_SC_SYMLOOP_MAX, | |
_SC_STREAMS, | |
_SC_2_PBS_CHECKPOINT, | |
_SC_V6_ILP32_OFF32, | |
_SC_V6_ILP32_OFFBIG, | |
_SC_V6_LP64_OFF64, | |
_SC_V6_LPBIG_OFFBIG, | |
_SC_HOST_NAME_MAX, | |
_SC_TRACE, | |
_SC_TRACE_EVENT_FILTER, | |
_SC_TRACE_INHERIT, | |
_SC_TRACE_LOG, | |
_SC_LEVEL1_ICACHE_SIZE, | |
_SC_LEVEL1_ICACHE_ASSOC, | |
_SC_LEVEL1_ICACHE_LINESIZE, | |
_SC_LEVEL1_DCACHE_SIZE, | |
_SC_LEVEL1_DCACHE_ASSOC, | |
_SC_LEVEL1_DCACHE_LINESIZE, | |
_SC_LEVEL2_CACHE_SIZE, | |
_SC_LEVEL2_CACHE_ASSOC, | |
_SC_LEVEL2_CACHE_LINESIZE, | |
_SC_LEVEL3_CACHE_SIZE, | |
_SC_LEVEL3_CACHE_ASSOC, | |
_SC_LEVEL3_CACHE_LINESIZE, | |
_SC_LEVEL4_CACHE_SIZE, | |
_SC_LEVEL4_CACHE_ASSOC, | |
_SC_LEVEL4_CACHE_LINESIZE, | |
_SC_IPV6 = _SC_LEVEL1_ICACHE_SIZE + 50, | |
_SC_RAW_SOCKETS, | |
_SC_V7_ILP32_OFF32, | |
_SC_V7_ILP32_OFFBIG, | |
_SC_V7_LP64_OFF64, | |
_SC_V7_LPBIG_OFFBIG, | |
_SC_SS_REPL_MAX, | |
_SC_TRACE_EVENT_NAME_MAX, | |
_SC_TRACE_NAME_MAX, | |
_SC_TRACE_SYS_MAX, | |
_SC_TRACE_USER_EVENT_MAX, | |
_SC_XOPEN_STREAMS, | |
_SC_THREAD_ROBUST_PRIO_INHERIT, | |
_SC_THREAD_ROBUST_PRIO_PROTECT | |
}; | |
enum | |
{ | |
_CS_PATH, | |
_CS_V6_WIDTH_RESTRICTED_ENVS, | |
_CS_GNU_LIBC_VERSION, | |
_CS_GNU_LIBPTHREAD_VERSION, | |
_CS_V5_WIDTH_RESTRICTED_ENVS, | |
_CS_V7_WIDTH_RESTRICTED_ENVS, | |
_CS_LFS_CFLAGS = 1000, | |
_CS_LFS_LDFLAGS, | |
_CS_LFS_LIBS, | |
_CS_LFS_LINTFLAGS, | |
_CS_LFS64_CFLAGS, | |
_CS_LFS64_LDFLAGS, | |
_CS_LFS64_LIBS, | |
_CS_LFS64_LINTFLAGS, | |
_CS_XBS5_ILP32_OFF32_CFLAGS = 1100, | |
_CS_XBS5_ILP32_OFF32_LDFLAGS, | |
_CS_XBS5_ILP32_OFF32_LIBS, | |
_CS_XBS5_ILP32_OFF32_LINTFLAGS, | |
_CS_XBS5_ILP32_OFFBIG_CFLAGS, | |
_CS_XBS5_ILP32_OFFBIG_LDFLAGS, | |
_CS_XBS5_ILP32_OFFBIG_LIBS, | |
_CS_XBS5_ILP32_OFFBIG_LINTFLAGS, | |
_CS_XBS5_LP64_OFF64_CFLAGS, | |
_CS_XBS5_LP64_OFF64_LDFLAGS, | |
_CS_XBS5_LP64_OFF64_LIBS, | |
_CS_XBS5_LP64_OFF64_LINTFLAGS, | |
_CS_XBS5_LPBIG_OFFBIG_CFLAGS, | |
_CS_XBS5_LPBIG_OFFBIG_LDFLAGS, | |
_CS_XBS5_LPBIG_OFFBIG_LIBS, | |
_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS, | |
_CS_POSIX_V6_ILP32_OFF32_CFLAGS, | |
_CS_POSIX_V6_ILP32_OFF32_LDFLAGS, | |
_CS_POSIX_V6_ILP32_OFF32_LIBS, | |
_CS_POSIX_V6_ILP32_OFF32_LINTFLAGS, | |
_CS_POSIX_V6_ILP32_OFFBIG_CFLAGS, | |
_CS_POSIX_V6_ILP32_OFFBIG_LDFLAGS, | |
_CS_POSIX_V6_ILP32_OFFBIG_LIBS, | |
_CS_POSIX_V6_ILP32_OFFBIG_LINTFLAGS, | |
_CS_POSIX_V6_LP64_OFF64_CFLAGS, | |
_CS_POSIX_V6_LP64_OFF64_LDFLAGS, | |
_CS_POSIX_V6_LP64_OFF64_LIBS, | |
_CS_POSIX_V6_LP64_OFF64_LINTFLAGS, | |
_CS_POSIX_V6_LPBIG_OFFBIG_CFLAGS, | |
_CS_POSIX_V6_LPBIG_OFFBIG_LDFLAGS, | |
_CS_POSIX_V6_LPBIG_OFFBIG_LIBS, | |
_CS_POSIX_V6_LPBIG_OFFBIG_LINTFLAGS, | |
_CS_POSIX_V7_ILP32_OFF32_CFLAGS, | |
_CS_POSIX_V7_ILP32_OFF32_LDFLAGS, | |
_CS_POSIX_V7_ILP32_OFF32_LIBS, | |
_CS_POSIX_V7_ILP32_OFF32_LINTFLAGS, | |
_CS_POSIX_V7_ILP32_OFFBIG_CFLAGS, | |
_CS_POSIX_V7_ILP32_OFFBIG_LDFLAGS, | |
_CS_POSIX_V7_ILP32_OFFBIG_LIBS, | |
_CS_POSIX_V7_ILP32_OFFBIG_LINTFLAGS, | |
_CS_POSIX_V7_LP64_OFF64_CFLAGS, | |
_CS_POSIX_V7_LP64_OFF64_LDFLAGS, | |
_CS_POSIX_V7_LP64_OFF64_LIBS, | |
_CS_POSIX_V7_LP64_OFF64_LINTFLAGS, | |
_CS_POSIX_V7_LPBIG_OFFBIG_CFLAGS, | |
_CS_POSIX_V7_LPBIG_OFFBIG_LDFLAGS, | |
_CS_POSIX_V7_LPBIG_OFFBIG_LIBS, | |
_CS_POSIX_V7_LPBIG_OFFBIG_LINTFLAGS, | |
_CS_V6_ENV, | |
_CS_V7_ENV | |
}; | |
# 610 "/usr/include/unistd.h" 2 3 4 | |
extern long int pathconf (const char *__path, int __name) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); | |
extern long int fpathconf (int __fd, int __name) __attribute__ ((__nothrow__ , __leaf__)); | |
extern long int sysconf (int __name) __attribute__ ((__nothrow__ , __leaf__)); | |
extern size_t confstr (int __name, char *__buf, size_t __len) __attribute__ ((__nothrow__ , __leaf__)); | |
extern __pid_t getpid (void) __attribute__ ((__nothrow__ , __leaf__)); | |
extern __pid_t getppid (void) __attribute__ ((__nothrow__ , __leaf__)); | |
extern __pid_t getpgrp (void) __attribute__ ((__nothrow__ , __leaf__)); | |
extern __pid_t __getpgid (__pid_t __pid) __attribute__ ((__nothrow__ , __leaf__)); | |
extern __pid_t getpgid (__pid_t __pid) __attribute__ ((__nothrow__ , __leaf__)); | |
extern int setpgid (__pid_t __pid, __pid_t __pgid) __attribute__ ((__nothrow__ , __leaf__)); | |
# 660 "/usr/include/unistd.h" 3 4 | |
extern int setpgrp (void) __attribute__ ((__nothrow__ , __leaf__)); | |
extern __pid_t setsid (void) __attribute__ ((__nothrow__ , __leaf__)); | |
extern __pid_t getsid (__pid_t __pid) __attribute__ ((__nothrow__ , __leaf__)); | |
extern __uid_t getuid (void) __attribute__ ((__nothrow__ , __leaf__)); | |
extern __uid_t geteuid (void) __attribute__ ((__nothrow__ , __leaf__)); | |
extern __gid_t getgid (void) __attribute__ ((__nothrow__ , __leaf__)); | |
extern __gid_t getegid (void) __attribute__ ((__nothrow__ , __leaf__)); | |
extern int getgroups (int __size, __gid_t __list[]) __attribute__ ((__nothrow__ , __leaf__)) ; | |
# 700 "/usr/include/unistd.h" 3 4 | |
extern int setuid (__uid_t __uid) __attribute__ ((__nothrow__ , __leaf__)) ; | |
extern int setreuid (__uid_t __ruid, __uid_t __euid) __attribute__ ((__nothrow__ , __leaf__)) ; | |
extern int seteuid (__uid_t __uid) __attribute__ ((__nothrow__ , __leaf__)) ; | |
extern int setgid (__gid_t __gid) __attribute__ ((__nothrow__ , __leaf__)) ; | |
extern int setregid (__gid_t __rgid, __gid_t __egid) __attribute__ ((__nothrow__ , __leaf__)) ; | |
extern int setegid (__gid_t __gid) __attribute__ ((__nothrow__ , __leaf__)) ; | |
# 756 "/usr/include/unistd.h" 3 4 | |
extern __pid_t fork (void) __attribute__ ((__nothrow__)); | |
extern __pid_t vfork (void) __attribute__ ((__nothrow__ , __leaf__)); | |
extern char *ttyname (int __fd) __attribute__ ((__nothrow__ , __leaf__)); | |
extern int ttyname_r (int __fd, char *__buf, size_t __buflen) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))) ; | |
extern int isatty (int __fd) __attribute__ ((__nothrow__ , __leaf__)); | |
extern int ttyslot (void) __attribute__ ((__nothrow__ , __leaf__)); | |
extern int link (const char *__from, const char *__to) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))) ; | |
extern int linkat (int __fromfd, const char *__from, int __tofd, | |
const char *__to, int __flags) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2, 4))) ; | |
extern int symlink (const char *__from, const char *__to) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))) ; | |
extern ssize_t readlink (const char *__restrict __path, | |
char *__restrict __buf, size_t __len) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))) ; | |
extern int symlinkat (const char *__from, int __tofd, | |
const char *__to) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 3))) ; | |
extern ssize_t readlinkat (int __fd, const char *__restrict __path, | |
char *__restrict __buf, size_t __len) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2, 3))) ; | |
extern int unlink (const char *__name) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); | |
extern int unlinkat (int __fd, const char *__name, int __flag) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); | |
extern int rmdir (const char *__path) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); | |
extern __pid_t tcgetpgrp (int __fd) __attribute__ ((__nothrow__ , __leaf__)); | |
extern int tcsetpgrp (int __fd, __pid_t __pgrp_id) __attribute__ ((__nothrow__ , __leaf__)); | |
extern char *getlogin (void); | |
extern int getlogin_r (char *__name, size_t __name_len) __attribute__ ((__nonnull__ (1))); | |
extern int setlogin (const char *__name) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); | |
# 1 "/usr/include/arm-linux-gnueabihf/bits/getopt_posix.h" 1 3 4 | |
# 27 "/usr/include/arm-linux-gnueabihf/bits/getopt_posix.h" 3 4 | |
# 1 "/usr/include/arm-linux-gnueabihf/bits/getopt_core.h" 1 3 4 | |
# 28 "/usr/include/arm-linux-gnueabihf/bits/getopt_core.h" 3 4 | |
extern char *optarg; | |
# 50 "/usr/include/arm-linux-gnueabihf/bits/getopt_core.h" 3 4 | |
extern int optind; | |
extern int opterr; | |
extern int optopt; | |
# 91 "/usr/include/arm-linux-gnueabihf/bits/getopt_core.h" 3 4 | |
extern int getopt (int ___argc, char *const *___argv, const char *__shortopts) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2, 3))); | |
# 28 "/usr/include/arm-linux-gnueabihf/bits/getopt_posix.h" 2 3 4 | |
# 49 "/usr/include/arm-linux-gnueabihf/bits/getopt_posix.h" 3 4 | |
# 870 "/usr/include/unistd.h" 2 3 4 | |
extern int gethostname (char *__name, size_t __len) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); | |
extern int sethostname (const char *__name, size_t __len) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) ; | |
extern int sethostid (long int __id) __attribute__ ((__nothrow__ , __leaf__)) ; | |
extern int getdomainname (char *__name, size_t __len) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) ; | |
extern int setdomainname (const char *__name, size_t __len) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) ; | |
extern int vhangup (void) __attribute__ ((__nothrow__ , __leaf__)); | |
extern int revoke (const char *__file) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) ; | |
extern int profil (unsigned short int *__sample_buffer, size_t __size, | |
size_t __offset, unsigned int __scale) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); | |
extern int acct (const char *__name) __attribute__ ((__nothrow__ , __leaf__)); | |
extern char *getusershell (void) __attribute__ ((__nothrow__ , __leaf__)); | |
extern void endusershell (void) __attribute__ ((__nothrow__ , __leaf__)); | |
extern void setusershell (void) __attribute__ ((__nothrow__ , __leaf__)); | |
extern int daemon (int __nochdir, int __noclose) __attribute__ ((__nothrow__ , __leaf__)) ; | |
extern int chroot (const char *__path) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) ; | |
extern char *getpass (const char *__prompt) __attribute__ ((__nonnull__ (1))); | |
extern int fsync (int __fd); | |
# 967 "/usr/include/unistd.h" 3 4 | |
extern long int gethostid (void); | |
extern void sync (void) __attribute__ ((__nothrow__ , __leaf__)); | |
extern int getpagesize (void) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); | |
extern int getdtablesize (void) __attribute__ ((__nothrow__ , __leaf__)); | |
# 991 "/usr/include/unistd.h" 3 4 | |
extern int truncate (const char *__file, __off_t __length) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) ; | |
# 1014 "/usr/include/unistd.h" 3 4 | |
extern int ftruncate (int __fd, __off_t __length) __attribute__ ((__nothrow__ , __leaf__)) ; | |
# 1035 "/usr/include/unistd.h" 3 4 | |
extern int brk (void *__addr) __attribute__ ((__nothrow__ , __leaf__)) ; | |
extern void *sbrk (intptr_t __delta) __attribute__ ((__nothrow__ , __leaf__)); | |
# 1056 "/usr/include/unistd.h" 3 4 | |
extern long int syscall (long int __sysno, ...) __attribute__ ((__nothrow__ , __leaf__)); | |
# 1079 "/usr/include/unistd.h" 3 4 | |
extern int lockf (int __fd, int __cmd, __off_t __len) ; | |
# 1115 "/usr/include/unistd.h" 3 4 | |
extern int fdatasync (int __fildes); | |
# 1124 "/usr/include/unistd.h" 3 4 | |
extern char *crypt (const char *__key, const char *__salt) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); | |
# 1161 "/usr/include/unistd.h" 3 4 | |
int getentropy (void *__buffer, size_t __length) ; | |
# 62 "platform.h" 2 | |
# 1 "/usr/include/netinet/in.h" 1 3 4 | |
# 22 "/usr/include/netinet/in.h" 3 4 | |
# 1 "/usr/include/arm-linux-gnueabihf/bits/stdint-uintn.h" 1 3 4 | |
# 24 "/usr/include/arm-linux-gnueabihf/bits/stdint-uintn.h" 3 4 | |
typedef __uint8_t uint8_t; | |
typedef __uint16_t uint16_t; | |
typedef __uint32_t uint32_t; | |
typedef __uint64_t uint64_t; | |
# 23 "/usr/include/netinet/in.h" 2 3 4 | |
# 1 "/usr/include/arm-linux-gnueabihf/sys/socket.h" 1 3 4 | |
# 24 "/usr/include/arm-linux-gnueabihf/sys/socket.h" 3 4 | |
# 1 "/usr/include/arm-linux-gnueabihf/bits/types/struct_iovec.h" 1 3 4 | |
# 23 "/usr/include/arm-linux-gnueabihf/bits/types/struct_iovec.h" 3 4 | |
# 1 "/usr/lib/gcc/arm-linux-gnueabihf/8/include/stddef.h" 1 3 4 | |
# 24 "/usr/include/arm-linux-gnueabihf/bits/types/struct_iovec.h" 2 3 4 | |
struct iovec | |
{ | |
void *iov_base; | |
size_t iov_len; | |
}; | |
# 27 "/usr/include/arm-linux-gnueabihf/sys/socket.h" 2 3 4 | |
# 1 "/usr/lib/gcc/arm-linux-gnueabihf/8/include/stddef.h" 1 3 4 | |
# 29 "/usr/include/arm-linux-gnueabihf/sys/socket.h" 2 3 4 | |
# 1 "/usr/include/arm-linux-gnueabihf/bits/socket.h" 1 3 4 | |
# 27 "/usr/include/arm-linux-gnueabihf/bits/socket.h" 3 4 | |
# 1 "/usr/lib/gcc/arm-linux-gnueabihf/8/include/stddef.h" 1 3 4 | |
# 28 "/usr/include/arm-linux-gnueabihf/bits/socket.h" 2 3 4 | |
# 38 "/usr/include/arm-linux-gnueabihf/bits/socket.h" 3 4 | |
# 1 "/usr/include/arm-linux-gnueabihf/bits/socket_type.h" 1 3 4 | |
# 24 "/usr/include/arm-linux-gnueabihf/bits/socket_type.h" 3 4 | |
enum __socket_type | |
{ | |
SOCK_STREAM = 1, | |
SOCK_DGRAM = 2, | |
SOCK_RAW = 3, | |
SOCK_RDM = 4, | |
SOCK_SEQPACKET = 5, | |
SOCK_DCCP = 6, | |
SOCK_PACKET = 10, | |
SOCK_CLOEXEC = 02000000, | |
SOCK_NONBLOCK = 00004000 | |
}; | |
# 39 "/usr/include/arm-linux-gnueabihf/bits/socket.h" 2 3 4 | |
# 172 "/usr/include/arm-linux-gnueabihf/bits/socket.h" 3 4 | |
# 1 "/usr/include/arm-linux-gnueabihf/bits/sockaddr.h" 1 3 4 | |
# 28 "/usr/include/arm-linux-gnueabihf/bits/sockaddr.h" 3 4 | |
typedef unsigned short int sa_family_t; | |
# 173 "/usr/include/arm-linux-gnueabihf/bits/socket.h" 2 3 4 | |
struct sockaddr | |
{ | |
sa_family_t sa_family; | |
char sa_data[14]; | |
}; | |
# 188 "/usr/include/arm-linux-gnueabihf/bits/socket.h" 3 4 | |
struct sockaddr_storage | |
{ | |
sa_family_t ss_family; | |
char __ss_padding[(128 - (sizeof (unsigned short int)) - sizeof (unsigned long int))]; | |
unsigned long int __ss_align; | |
}; | |
enum | |
{ | |
MSG_OOB = 0x01, | |
MSG_PEEK = 0x02, | |
MSG_DONTROUTE = 0x04, | |
MSG_CTRUNC = 0x08, | |
MSG_PROXY = 0x10, | |
MSG_TRUNC = 0x20, | |
MSG_DONTWAIT = 0x40, | |
MSG_EOR = 0x80, | |
MSG_WAITALL = 0x100, | |
MSG_FIN = 0x200, | |
MSG_SYN = 0x400, | |
MSG_CONFIRM = 0x800, | |
MSG_RST = 0x1000, | |
MSG_ERRQUEUE = 0x2000, | |
MSG_NOSIGNAL = 0x4000, | |
MSG_MORE = 0x8000, | |
MSG_WAITFORONE = 0x10000, | |
MSG_BATCH = 0x40000, | |
MSG_ZEROCOPY = 0x4000000, | |
MSG_FASTOPEN = 0x20000000, | |
MSG_CMSG_CLOEXEC = 0x40000000 | |
}; | |
struct msghdr | |
{ | |
void *msg_name; | |
socklen_t msg_namelen; | |
struct iovec *msg_iov; | |
size_t msg_iovlen; | |
void *msg_control; | |
size_t msg_controllen; | |
int msg_flags; | |
}; | |
struct cmsghdr | |
{ | |
size_t cmsg_len; | |
int cmsg_level; | |
int cmsg_type; | |
__extension__ unsigned char __cmsg_data []; | |
}; | |
# 302 "/usr/include/arm-linux-gnueabihf/bits/socket.h" 3 4 | |
extern struct cmsghdr *__cmsg_nxthdr (struct msghdr *__mhdr, | |
struct cmsghdr *__cmsg) __attribute__ ((__nothrow__ , __leaf__)); | |
# 329 "/usr/include/arm-linux-gnueabihf/bits/socket.h" 3 4 | |
enum | |
{ | |
SCM_RIGHTS = 0x01 | |
}; | |
# 390 "/usr/include/arm-linux-gnueabihf/bits/socket.h" 3 4 | |
# 1 "/usr/include/arm-linux-gnueabihf/asm/socket.h" 1 3 4 | |
# 1 "/usr/include/asm-generic/socket.h" 1 3 4 | |
# 1 "/usr/include/arm-linux-gnueabihf/asm/sockios.h" 1 3 4 | |
# 1 "/usr/include/asm-generic/sockios.h" 1 3 4 | |
# 1 "/usr/include/arm-linux-gnueabihf/asm/sockios.h" 2 3 4 | |
# 6 "/usr/include/asm-generic/socket.h" 2 3 4 | |
# 1 "/usr/include/arm-linux-gnueabihf/asm/socket.h" 2 3 4 | |
# 391 "/usr/include/arm-linux-gnueabihf/bits/socket.h" 2 3 4 | |
# 444 "/usr/include/arm-linux-gnueabihf/bits/socket.h" 3 4 | |
struct linger | |
{ | |
int l_onoff; | |
int l_linger; | |
}; | |
# 34 "/usr/include/arm-linux-gnueabihf/sys/socket.h" 2 3 4 | |
# 1 "/usr/include/arm-linux-gnueabihf/bits/types/struct_osockaddr.h" 1 3 4 | |
struct osockaddr | |
{ | |
unsigned short int sa_family; | |
unsigned char sa_data[14]; | |
}; | |
# 37 "/usr/include/arm-linux-gnueabihf/sys/socket.h" 2 3 4 | |
enum | |
{ | |
SHUT_RD = 0, | |
SHUT_WR, | |
SHUT_RDWR | |
}; | |
# 102 "/usr/include/arm-linux-gnueabihf/sys/socket.h" 3 4 | |
extern int socket (int __domain, int __type, int __protocol) __attribute__ ((__nothrow__ , __leaf__)); | |
extern int socketpair (int __domain, int __type, int __protocol, | |
int __fds[2]) __attribute__ ((__nothrow__ , __leaf__)); | |
extern int bind (int __fd, const struct sockaddr * __addr, socklen_t __len) | |
__attribute__ ((__nothrow__ , __leaf__)); | |
extern int getsockname (int __fd, struct sockaddr *__restrict __addr, | |
socklen_t *__restrict __len) __attribute__ ((__nothrow__ , __leaf__)); | |
# 126 "/usr/include/arm-linux-gnueabihf/sys/socket.h" 3 4 | |
extern int connect (int __fd, const struct sockaddr * __addr, socklen_t __len); | |
extern int getpeername (int __fd, struct sockaddr *__restrict __addr, | |
socklen_t *__restrict __len) __attribute__ ((__nothrow__ , __leaf__)); | |
extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); | |
extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags); | |
extern ssize_t sendto (int __fd, const void *__buf, size_t __n, | |
int __flags, const struct sockaddr * __addr, | |
socklen_t __addr_len); | |
# 163 "/usr/include/arm-linux-gnueabihf/sys/socket.h" 3 4 | |
extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n, | |
int __flags, struct sockaddr *__restrict __addr, | |
socklen_t *__restrict __addr_len); | |
extern ssize_t sendmsg (int __fd, const struct msghdr *__message, | |
int __flags); | |
# 191 "/usr/include/arm-linux-gnueabihf/sys/socket.h" 3 4 | |
extern ssize_t recvmsg (int __fd, struct msghdr *__message, int __flags); | |
# 208 "/usr/include/arm-linux-gnueabihf/sys/socket.h" 3 4 | |
extern int getsockopt (int __fd, int __level, int __optname, | |
void *__restrict __optval, | |
socklen_t *__restrict __optlen) __attribute__ ((__nothrow__ , __leaf__)); | |
extern int setsockopt (int __fd, int __level, int __optname, | |
const void *__optval, socklen_t __optlen) __attribute__ ((__nothrow__ , __leaf__)); | |
extern int listen (int __fd, int __n) __attribute__ ((__nothrow__ , __leaf__)); | |
# 232 "/usr/include/arm-linux-gnueabihf/sys/socket.h" 3 4 | |
extern int accept (int __fd, struct sockaddr *__restrict __addr, | |
socklen_t *__restrict __addr_len); | |
# 250 "/usr/include/arm-linux-gnueabihf/sys/socket.h" 3 4 | |
extern int shutdown (int __fd, int __how) __attribute__ ((__nothrow__ , __leaf__)); | |
extern int sockatmark (int __fd) __attribute__ ((__nothrow__ , __leaf__)); | |
extern int isfdtype (int __fd, int __fdtype) __attribute__ ((__nothrow__ , __leaf__)); | |
# 272 "/usr/include/arm-linux-gnueabihf/sys/socket.h" 3 4 | |
# 24 "/usr/include/netinet/in.h" 2 3 4 | |
typedef uint32_t in_addr_t; | |
struct in_addr | |
{ | |
in_addr_t s_addr; | |
}; | |
# 1 "/usr/include/arm-linux-gnueabihf/bits/in.h" 1 3 4 | |
# 142 "/usr/include/arm-linux-gnueabihf/bits/in.h" 3 4 | |
struct ip_opts | |
{ | |
struct in_addr ip_dst; | |
char ip_opts[40]; | |
}; | |
struct ip_mreqn | |
{ | |
struct in_addr imr_multiaddr; | |
struct in_addr imr_address; | |
int imr_ifindex; | |
}; | |
struct in_pktinfo | |
{ | |
int ipi_ifindex; | |
struct in_addr ipi_spec_dst; | |
struct in_addr ipi_addr; | |
}; | |
# 38 "/usr/include/netinet/in.h" 2 3 4 | |
enum | |
{ | |
IPPROTO_IP = 0, | |
IPPROTO_ICMP = 1, | |
IPPROTO_IGMP = 2, | |
IPPROTO_IPIP = 4, | |
IPPROTO_TCP = 6, | |
IPPROTO_EGP = 8, | |
IPPROTO_PUP = 12, | |
IPPROTO_UDP = 17, | |
IPPROTO_IDP = 22, | |
IPPROTO_TP = 29, | |
IPPROTO_DCCP = 33, | |
IPPROTO_IPV6 = 41, | |
IPPROTO_RSVP = 46, | |
IPPROTO_GRE = 47, | |
IPPROTO_ESP = 50, | |
IPPROTO_AH = 51, | |
IPPROTO_MTP = 92, | |
IPPROTO_BEETPH = 94, | |
IPPROTO_ENCAP = 98, | |
IPPROTO_PIM = 103, | |
IPPROTO_COMP = 108, | |
IPPROTO_SCTP = 132, | |
IPPROTO_UDPLITE = 136, | |
IPPROTO_MPLS = 137, | |
IPPROTO_RAW = 255, | |
IPPROTO_MAX | |
}; | |
enum | |
{ | |
IPPROTO_HOPOPTS = 0, | |
IPPROTO_ROUTING = 43, | |
IPPROTO_FRAGMENT = 44, | |
IPPROTO_ICMPV6 = 58, | |
IPPROTO_NONE = 59, | |
IPPROTO_DSTOPTS = 60, | |
IPPROTO_MH = 135 | |
}; | |
typedef uint16_t in_port_t; | |
enum | |
{ | |
IPPORT_ECHO = 7, | |
IPPORT_DISCARD = 9, | |
IPPORT_SYSTAT = 11, | |
IPPORT_DAYTIME = 13, | |
IPPORT_NETSTAT = 15, | |
IPPORT_FTP = 21, | |
IPPORT_TELNET = 23, | |
IPPORT_SMTP = 25, | |
IPPORT_TIMESERVER = 37, | |
IPPORT_NAMESERVER = 42, | |
IPPORT_WHOIS = 43, | |
IPPORT_MTP = 57, | |
IPPORT_TFTP = 69, | |
IPPORT_RJE = 77, | |
IPPORT_FINGER = 79, | |
IPPORT_TTYLINK = 87, | |
IPPORT_SUPDUP = 95, | |
IPPORT_EXECSERVER = 512, | |
IPPORT_LOGINSERVER = 513, | |
IPPORT_CMDSERVER = 514, | |
IPPORT_EFSSERVER = 520, | |
IPPORT_BIFFUDP = 512, | |
IPPORT_WHOSERVER = 513, | |
IPPORT_ROUTESERVER = 520, | |
IPPORT_RESERVED = 1024, | |
IPPORT_USERRESERVED = 5000 | |
}; | |
# 211 "/usr/include/netinet/in.h" 3 4 | |
struct in6_addr | |
{ | |
union | |
{ | |
uint8_t __u6_addr8[16]; | |
uint16_t __u6_addr16[8]; | |
uint32_t __u6_addr32[4]; | |
} __in6_u; | |
}; | |
extern const struct in6_addr in6addr_any; | |
extern const struct in6_addr in6addr_loopback; | |
# 237 "/usr/include/netinet/in.h" 3 4 | |
struct sockaddr_in | |
{ | |
sa_family_t sin_family; | |
in_port_t sin_port; | |
struct in_addr sin_addr; | |
unsigned char sin_zero[sizeof (struct sockaddr) - | |
(sizeof (unsigned short int)) - | |
sizeof (in_port_t) - | |
sizeof (struct in_addr)]; | |
}; | |
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 ip_mreq | |
{ | |
struct in_addr imr_multiaddr; | |
struct in_addr imr_interface; | |
}; | |
struct ip_mreq_source | |
{ | |
struct in_addr imr_multiaddr; | |
struct in_addr imr_interface; | |
struct in_addr imr_sourceaddr; | |
}; | |
struct ipv6_mreq | |
{ | |
struct in6_addr ipv6mr_multiaddr; | |
unsigned int ipv6mr_interface; | |
}; | |
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 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_filter | |
{ | |
uint32_t gf_interface; | |
struct sockaddr_storage gf_group; | |
uint32_t gf_fmode; | |
uint32_t gf_numsrc; | |
struct sockaddr_storage gf_slist[1]; | |
}; | |
# 374 "/usr/include/netinet/in.h" 3 4 | |
extern uint32_t ntohl (uint32_t __netlong) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); | |
extern uint16_t ntohs (uint16_t __netshort) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); | |
extern uint32_t htonl (uint32_t __hostlong) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); | |
extern uint16_t htons (uint16_t __hostshort) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); | |
# 1 "/usr/include/arm-linux-gnueabihf/bits/byteswap.h" 1 3 4 | |
# 386 "/usr/include/netinet/in.h" 2 3 4 | |
# 1 "/usr/include/arm-linux-gnueabihf/bits/uintn-identity.h" 1 3 4 | |
# 387 "/usr/include/netinet/in.h" 2 3 4 | |
# 502 "/usr/include/netinet/in.h" 3 4 | |
extern int bindresvport (int __sockfd, struct sockaddr_in *__sock_in) __attribute__ ((__nothrow__ , __leaf__)); | |
extern int bindresvport6 (int __sockfd, struct sockaddr_in6 *__sock_in) | |
__attribute__ ((__nothrow__ , __leaf__)); | |
# 630 "/usr/include/netinet/in.h" 3 4 | |
# 63 "platform.h" 2 | |
# 1 "/usr/include/netinet/tcp.h" 1 3 4 | |
# 82 "/usr/include/netinet/tcp.h" 3 4 | |
# 1 "/usr/lib/gcc/arm-linux-gnueabihf/8/include/stdint.h" 1 3 4 | |
# 9 "/usr/lib/gcc/arm-linux-gnueabihf/8/include/stdint.h" 3 4 | |
# 1 "/usr/include/stdint.h" 1 3 4 | |
# 26 "/usr/include/stdint.h" 3 4 | |
# 1 "/usr/include/arm-linux-gnueabihf/bits/libc-header-start.h" 1 3 4 | |
# 27 "/usr/include/stdint.h" 2 3 4 | |
# 1 "/usr/include/arm-linux-gnueabihf/bits/wchar.h" 1 3 4 | |
# 29 "/usr/include/stdint.h" 2 3 4 | |
# 1 "/usr/include/arm-linux-gnueabihf/bits/wordsize.h" 1 3 4 | |
# 30 "/usr/include/stdint.h" 2 3 4 | |
# 43 "/usr/include/stdint.h" 3 4 | |
typedef __int_least8_t int_least8_t; | |
typedef __int_least16_t int_least16_t; | |
typedef __int_least32_t int_least32_t; | |
typedef __int_least64_t int_least64_t; | |
typedef __uint_least8_t uint_least8_t; | |
typedef __uint_least16_t uint_least16_t; | |
typedef __uint_least32_t uint_least32_t; | |
typedef __uint_least64_t uint_least64_t; | |
typedef signed char int_fast8_t; | |
typedef int int_fast16_t; | |
typedef int int_fast32_t; | |
__extension__ | |
typedef long long int int_fast64_t; | |
typedef unsigned char uint_fast8_t; | |
typedef unsigned int uint_fast16_t; | |
typedef unsigned int uint_fast32_t; | |
__extension__ | |
typedef unsigned long long int uint_fast64_t; | |
# 96 "/usr/include/stdint.h" 3 4 | |
typedef unsigned int uintptr_t; | |
typedef __intmax_t intmax_t; | |
typedef __uintmax_t uintmax_t; | |
# 10 "/usr/lib/gcc/arm-linux-gnueabihf/8/include/stdint.h" 2 3 4 | |
# 83 "/usr/include/netinet/tcp.h" 2 3 4 | |
typedef uint32_t tcp_seq; | |
struct tcphdr | |
{ | |
__extension__ union | |
{ | |
struct | |
{ | |
uint16_t th_sport; | |
uint16_t th_dport; | |
tcp_seq th_seq; | |
tcp_seq th_ack; | |
uint8_t th_x2:4; | |
uint8_t th_off:4; | |
uint8_t th_flags; | |
uint16_t th_win; | |
uint16_t th_sum; | |
uint16_t th_urp; | |
}; | |
struct | |
{ | |
uint16_t source; | |
uint16_t dest; | |
uint32_t seq; | |
uint32_t ack_seq; | |
uint16_t res1:4; | |
uint16_t doff:4; | |
uint16_t fin:1; | |
uint16_t syn:1; | |
uint16_t rst:1; | |
uint16_t psh:1; | |
uint16_t ack:1; | |
uint16_t urg:1; | |
uint16_t res2:2; | |
# 147 "/usr/include/netinet/tcp.h" 3 4 | |
uint16_t window; | |
uint16_t check; | |
uint16_t urg_ptr; | |
}; | |
}; | |
}; | |
enum | |
{ | |
TCP_ESTABLISHED = 1, | |
TCP_SYN_SENT, | |
TCP_SYN_RECV, | |
TCP_FIN_WAIT1, | |
TCP_FIN_WAIT2, | |
TCP_TIME_WAIT, | |
TCP_CLOSE, | |
TCP_CLOSE_WAIT, | |
TCP_LAST_ACK, | |
TCP_LISTEN, | |
TCP_CLOSING | |
}; | |
# 208 "/usr/include/netinet/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 | |
{ | |
uint8_t tcpi_state; | |
uint8_t tcpi_ca_state; | |
uint8_t tcpi_retransmits; | |
uint8_t tcpi_probes; | |
uint8_t tcpi_backoff; | |
uint8_t tcpi_options; | |
uint8_t tcpi_snd_wscale : 4, tcpi_rcv_wscale : 4; | |
uint32_t tcpi_rto; | |
uint32_t tcpi_ato; | |
uint32_t tcpi_snd_mss; | |
uint32_t tcpi_rcv_mss; | |
uint32_t tcpi_unacked; | |
uint32_t tcpi_sacked; | |
uint32_t tcpi_lost; | |
uint32_t tcpi_retrans; | |
uint32_t tcpi_fackets; | |
uint32_t tcpi_last_data_sent; | |
uint32_t tcpi_last_ack_sent; | |
uint32_t tcpi_last_data_recv; | |
uint32_t tcpi_last_ack_recv; | |
uint32_t tcpi_pmtu; | |
uint32_t tcpi_rcv_ssthresh; | |
uint32_t tcpi_rtt; | |
uint32_t tcpi_rttvar; | |
uint32_t tcpi_snd_ssthresh; | |
uint32_t tcpi_snd_cwnd; | |
uint32_t tcpi_advmss; | |
uint32_t tcpi_reordering; | |
uint32_t tcpi_rcv_rtt; | |
uint32_t tcpi_rcv_space; | |
uint32_t tcpi_total_retrans; | |
}; | |
# 267 "/usr/include/netinet/tcp.h" 3 4 | |
struct tcp_md5sig | |
{ | |
struct sockaddr_storage tcpm_addr; | |
uint8_t tcpm_flags; | |
uint8_t tcpm_prefixlen; | |
uint16_t tcpm_keylen; | |
uint32_t __tcpm_pad; | |
uint8_t tcpm_key[80]; | |
}; | |
struct tcp_repair_opt | |
{ | |
uint32_t opt_code; | |
uint32_t opt_val; | |
}; | |
enum | |
{ | |
TCP_NO_QUEUE, | |
TCP_RECV_QUEUE, | |
TCP_SEND_QUEUE, | |
TCP_QUEUES_NR, | |
}; | |
# 310 "/usr/include/netinet/tcp.h" 3 4 | |
struct tcp_cookie_transactions | |
{ | |
uint16_t tcpct_flags; | |
uint8_t __tcpct_pad1; | |
uint8_t tcpct_cookie_desired; | |
uint16_t tcpct_s_data_desired; | |
uint16_t tcpct_used; | |
uint8_t tcpct_value[536U]; | |
}; | |
struct tcp_repair_window | |
{ | |
uint32_t snd_wl1; | |
uint32_t snd_wnd; | |
uint32_t max_window; | |
uint32_t rcv_wnd; | |
uint32_t rcv_wup; | |
}; | |
# 64 "platform.h" 2 | |
# 1 "/usr/include/arpa/inet.h" 1 3 4 | |
# 30 "/usr/include/arpa/inet.h" 3 4 | |
extern in_addr_t inet_addr (const char *__cp) __attribute__ ((__nothrow__ , __leaf__)); | |
extern in_addr_t inet_lnaof (struct in_addr __in) __attribute__ ((__nothrow__ , __leaf__)); | |
extern struct in_addr inet_makeaddr (in_addr_t __net, in_addr_t __host) | |
__attribute__ ((__nothrow__ , __leaf__)); | |
extern in_addr_t inet_netof (struct in_addr __in) __attribute__ ((__nothrow__ , __leaf__)); | |
extern in_addr_t inet_network (const char *__cp) __attribute__ ((__nothrow__ , __leaf__)); | |
extern char *inet_ntoa (struct in_addr __in) __attribute__ ((__nothrow__ , __leaf__)); | |
extern int inet_pton (int __af, const char *__restrict __cp, | |
void *__restrict __buf) __attribute__ ((__nothrow__ , __leaf__)); | |
extern const char *inet_ntop (int __af, const void *__restrict __cp, | |
char *__restrict __buf, socklen_t __len) | |
__attribute__ ((__nothrow__ , __leaf__)); | |
extern int inet_aton (const char *__cp, struct in_addr *__inp) __attribute__ ((__nothrow__ , __leaf__)); | |
extern char *inet_neta (in_addr_t __net, char *__buf, size_t __len) __attribute__ ((__nothrow__ , __leaf__)); | |
extern char *inet_net_ntop (int __af, const void *__cp, int __bits, | |
char *__buf, size_t __len) __attribute__ ((__nothrow__ , __leaf__)); | |
extern int inet_net_pton (int __af, const char *__cp, | |
void *__buf, size_t __len) __attribute__ ((__nothrow__ , __leaf__)); | |
extern unsigned int inet_nsap_addr (const char *__cp, | |
unsigned char *__buf, int __len) __attribute__ ((__nothrow__ , __leaf__)); | |
extern char *inet_nsap_ntoa (int __len, const unsigned char *__cp, | |
char *__buf) __attribute__ ((__nothrow__ , __leaf__)); | |
# 65 "platform.h" 2 | |
# 1 "/usr/include/arm-linux-gnueabihf/sys/time.h" 1 3 4 | |
# 34 "/usr/include/arm-linux-gnueabihf/sys/time.h" 3 4 | |
# 52 "/usr/include/arm-linux-gnueabihf/sys/time.h" 3 4 | |
struct timezone | |
{ | |
int tz_minuteswest; | |
int tz_dsttime; | |
}; | |
typedef struct timezone *__restrict __timezone_ptr_t; | |
# 68 "/usr/include/arm-linux-gnueabihf/sys/time.h" 3 4 | |
extern int gettimeofday (struct timeval *__restrict __tv, | |
__timezone_ptr_t __tz) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); | |
extern int settimeofday (const struct timeval *__tv, | |
const struct timezone *__tz) | |
__attribute__ ((__nothrow__ , __leaf__)); | |
extern int adjtime (const struct timeval *__delta, | |
struct timeval *__olddelta) __attribute__ ((__nothrow__ , __leaf__)); | |
enum __itimer_which | |
{ | |
ITIMER_REAL = 0, | |
ITIMER_VIRTUAL = 1, | |
ITIMER_PROF = 2 | |
}; | |
struct itimerval | |
{ | |
struct timeval it_interval; | |
struct timeval it_value; | |
}; | |
typedef int __itimer_which_t; | |
extern int getitimer (__itimer_which_t __which, | |
struct itimerval *__value) __attribute__ ((__nothrow__ , __leaf__)); | |
extern int setitimer (__itimer_which_t __which, | |
const struct itimerval *__restrict __new, | |
struct itimerval *__restrict __old) __attribute__ ((__nothrow__ , __leaf__)); | |
extern int utimes (const char *__file, const struct timeval __tvp[2]) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); | |
extern int lutimes (const char *__file, const struct timeval __tvp[2]) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); | |
extern int futimes (int __fd, const struct timeval __tvp[2]) __attribute__ ((__nothrow__ , __leaf__)); | |
# 186 "/usr/include/arm-linux-gnueabihf/sys/time.h" 3 4 | |
# 66 "platform.h" 2 | |
# 1 "/usr/include/netdb.h" 1 3 4 | |
# 32 "/usr/include/netdb.h" 3 4 | |
# 1 "/usr/include/rpc/netdb.h" 1 3 4 | |
# 42 "/usr/include/rpc/netdb.h" 3 4 | |
# 1 "/usr/lib/gcc/arm-linux-gnueabihf/8/include/stddef.h" 1 3 4 | |
# 43 "/usr/include/rpc/netdb.h" 2 3 4 | |
struct rpcent | |
{ | |
char *r_name; | |
char **r_aliases; | |
int r_number; | |
}; | |
extern void setrpcent (int __stayopen) __attribute__ ((__nothrow__ , __leaf__)); | |
extern void endrpcent (void) __attribute__ ((__nothrow__ , __leaf__)); | |
extern struct rpcent *getrpcbyname (const char *__name) __attribute__ ((__nothrow__ , __leaf__)); | |
extern struct rpcent *getrpcbynumber (int __number) __attribute__ ((__nothrow__ , __leaf__)); | |
extern struct rpcent *getrpcent (void) __attribute__ ((__nothrow__ , __leaf__)); | |
extern int getrpcbyname_r (const char *__name, struct rpcent *__result_buf, | |
char *__buffer, size_t __buflen, | |
struct rpcent **__result) __attribute__ ((__nothrow__ , __leaf__)); | |
extern int getrpcbynumber_r (int __number, struct rpcent *__result_buf, | |
char *__buffer, size_t __buflen, | |
struct rpcent **__result) __attribute__ ((__nothrow__ , __leaf__)); | |
extern int getrpcent_r (struct rpcent *__result_buf, char *__buffer, | |
size_t __buflen, struct rpcent **__result) __attribute__ ((__nothrow__ , __leaf__)); | |
# 33 "/usr/include/netdb.h" 2 3 4 | |
# 1 "/usr/include/arm-linux-gnueabihf/bits/netdb.h" 1 3 4 | |
# 26 "/usr/include/arm-linux-gnueabihf/bits/netdb.h" 3 4 | |
struct netent | |
{ | |
char *n_name; | |
char **n_aliases; | |
int n_addrtype; | |
uint32_t n_net; | |
}; | |
# 41 "/usr/include/netdb.h" 2 3 4 | |
# 51 "/usr/include/netdb.h" 3 4 | |
extern int *__h_errno_location (void) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); | |
# 90 "/usr/include/netdb.h" 3 4 | |
extern void herror (const char *__str) __attribute__ ((__nothrow__ , __leaf__)); | |
extern const char *hstrerror (int __err_num) __attribute__ ((__nothrow__ , __leaf__)); | |
struct hostent | |
{ | |
char *h_name; | |
char **h_aliases; | |
int h_addrtype; | |
int h_length; | |
char **h_addr_list; | |
}; | |
extern void sethostent (int __stay_open); | |
extern void endhostent (void); | |
extern struct hostent *gethostent (void); | |
extern struct hostent *gethostbyaddr (const void *__addr, __socklen_t __len, | |
int __type); | |
extern struct hostent *gethostbyname (const char *__name); | |
# 153 "/usr/include/netdb.h" 3 4 | |
extern struct hostent *gethostbyname2 (const char *__name, int __af); | |
# 165 "/usr/include/netdb.h" 3 4 | |
extern int gethostent_r (struct hostent *__restrict __result_buf, | |
char *__restrict __buf, size_t __buflen, | |
struct hostent **__restrict __result, | |
int *__restrict __h_errnop); | |
extern int gethostbyaddr_r (const void *__restrict __addr, __socklen_t __len, | |
int __type, | |
struct hostent *__restrict __result_buf, | |
char *__restrict __buf, size_t __buflen, | |
struct hostent **__restrict __result, | |
int *__restrict __h_errnop); | |
extern int gethostbyname_r (const char *__restrict __name, | |
struct hostent *__restrict __result_buf, | |
char *__restrict __buf, size_t __buflen, | |
struct hostent **__restrict __result, | |
int *__restrict __h_errnop); | |
extern int gethostbyname2_r (const char *__restrict __name, int __af, | |
struct hostent *__restrict __result_buf, | |
char *__restrict __buf, size_t __buflen, | |
struct hostent **__restrict __result, | |
int *__restrict __h_errnop); | |
# 196 "/usr/include/netdb.h" 3 4 | |
extern void setnetent (int __stay_open); | |
extern void endnetent (void); | |
extern struct netent *getnetent (void); | |
extern struct netent *getnetbyaddr (uint32_t __net, int __type); | |
extern struct netent *getnetbyname (const char *__name); | |
# 235 "/usr/include/netdb.h" 3 4 | |
extern int getnetent_r (struct netent *__restrict __result_buf, | |
char *__restrict __buf, size_t __buflen, | |
struct netent **__restrict __result, | |
int *__restrict __h_errnop); | |
extern int getnetbyaddr_r (uint32_t __net, int __type, | |
struct netent *__restrict __result_buf, | |
char *__restrict __buf, size_t __buflen, | |
struct netent **__restrict __result, | |
int *__restrict __h_errnop); | |
extern int getnetbyname_r (const char *__restrict __name, | |
struct netent *__restrict __result_buf, | |
char *__restrict __buf, size_t __buflen, | |
struct netent **__restrict __result, | |
int *__restrict __h_errnop); | |
struct servent | |
{ | |
char *s_name; | |
char **s_aliases; | |
int s_port; | |
char *s_proto; | |
}; | |
extern void setservent (int __stay_open); | |
extern void endservent (void); | |
extern struct servent *getservent (void); | |
extern struct servent *getservbyname (const char *__name, const char *__proto); | |
extern struct servent *getservbyport (int __port, const char *__proto); | |
# 306 "/usr/include/netdb.h" 3 4 | |
extern int getservent_r (struct servent *__restrict __result_buf, | |
char *__restrict __buf, size_t __buflen, | |
struct servent **__restrict __result); | |
extern int getservbyname_r (const char *__restrict __name, | |
const char *__restrict __proto, | |
struct servent *__restrict __result_buf, | |
char *__restrict __buf, size_t __buflen, | |
struct servent **__restrict __result); | |
extern int getservbyport_r (int __port, const char *__restrict __proto, | |
struct servent *__restrict __result_buf, | |
char *__restrict __buf, size_t __buflen, | |
struct servent **__restrict __result); | |
struct protoent | |
{ | |
char *p_name; | |
char **p_aliases; | |
int p_proto; | |
}; | |
extern void setprotoent (int __stay_open); | |
extern void endprotoent (void); | |
extern struct protoent *getprotoent (void); | |
extern struct protoent *getprotobyname (const char *__name); | |
extern struct protoent *getprotobynumber (int __proto); | |
# 372 "/usr/include/netdb.h" 3 4 | |
extern int getprotoent_r (struct protoent *__restrict __result_buf, | |
char *__restrict __buf, size_t __buflen, | |
struct protoent **__restrict __result); | |
extern int getprotobyname_r (const char *__restrict __name, | |
struct protoent *__restrict __result_buf, | |
char *__restrict __buf, size_t __buflen, | |
struct protoent **__restrict __result); | |
extern int getprotobynumber_r (int __proto, | |
struct protoent *__restrict __result_buf, | |
char *__restrict __buf, size_t __buflen, | |
struct protoent **__restrict __result); | |
# 393 "/usr/include/netdb.h" 3 4 | |
extern int setnetgrent (const char *__netgroup); | |
extern void endnetgrent (void); | |
# 410 "/usr/include/netdb.h" 3 4 | |
extern int getnetgrent (char **__restrict __hostp, | |
char **__restrict __userp, | |
char **__restrict __domainp); | |
# 421 "/usr/include/netdb.h" 3 4 | |
extern int innetgr (const char *__netgroup, const char *__host, | |
const char *__user, const char *__domain); | |
extern int getnetgrent_r (char **__restrict __hostp, | |
char **__restrict __userp, | |
char **__restrict __domainp, | |
char *__restrict __buffer, size_t __buflen); | |
# 449 "/usr/include/netdb.h" 3 4 | |
extern int rcmd (char **__restrict __ahost, unsigned short int __rport, | |
const char *__restrict __locuser, | |
const char *__restrict __remuser, | |
const char *__restrict __cmd, int *__restrict __fd2p); | |
# 461 "/usr/include/netdb.h" 3 4 | |
extern int rcmd_af (char **__restrict __ahost, unsigned short int __rport, | |
const char *__restrict __locuser, | |
const char *__restrict __remuser, | |
const char *__restrict __cmd, int *__restrict __fd2p, | |
sa_family_t __af); | |
# 477 "/usr/include/netdb.h" 3 4 | |
extern int rexec (char **__restrict __ahost, int __rport, | |
const char *__restrict __name, | |
const char *__restrict __pass, | |
const char *__restrict __cmd, int *__restrict __fd2p); | |
# 489 "/usr/include/netdb.h" 3 4 | |
extern int rexec_af (char **__restrict __ahost, int __rport, | |
const char *__restrict __name, | |
const char *__restrict __pass, | |
const char *__restrict __cmd, int *__restrict __fd2p, | |
sa_family_t __af); | |
# 503 "/usr/include/netdb.h" 3 4 | |
extern int ruserok (const char *__rhost, int __suser, | |
const char *__remuser, const char *__locuser); | |
# 513 "/usr/include/netdb.h" 3 4 | |
extern int ruserok_af (const char *__rhost, int __suser, | |
const char *__remuser, const char *__locuser, | |
sa_family_t __af); | |
# 526 "/usr/include/netdb.h" 3 4 | |
extern int iruserok (uint32_t __raddr, int __suser, | |
const char *__remuser, const char *__locuser); | |
# 537 "/usr/include/netdb.h" 3 4 | |
extern int iruserok_af (const void *__raddr, int __suser, | |
const char *__remuser, const char *__locuser, | |
sa_family_t __af); | |
# 549 "/usr/include/netdb.h" 3 4 | |
extern int rresvport (int *__alport); | |
# 558 "/usr/include/netdb.h" 3 4 | |
extern int rresvport_af (int *__alport, sa_family_t __af); | |
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; | |
}; | |
# 660 "/usr/include/netdb.h" 3 4 | |
extern int getaddrinfo (const char *__restrict __name, | |
const char *__restrict __service, | |
const struct addrinfo *__restrict __req, | |
struct addrinfo **__restrict __pai); | |
extern void freeaddrinfo (struct addrinfo *__ai) __attribute__ ((__nothrow__ , __leaf__)); | |
extern const char *gai_strerror (int __ecode) __attribute__ ((__nothrow__ , __leaf__)); | |
extern int getnameinfo (const struct sockaddr *__restrict __sa, | |
socklen_t __salen, char *__restrict __host, | |
socklen_t __hostlen, char *__restrict __serv, | |
socklen_t __servlen, int __flags); | |
# 711 "/usr/include/netdb.h" 3 4 | |
# 68 "platform.h" 2 | |
# 1 "/usr/include/arm-linux-gnueabihf/sys/poll.h" 1 3 4 | |
# 25 "/usr/include/arm-linux-gnueabihf/sys/poll.h" 3 4 | |
# 1 "/usr/include/arm-linux-gnueabihf/bits/poll.h" 1 3 4 | |
# 26 "/usr/include/arm-linux-gnueabihf/sys/poll.h" 2 3 4 | |
typedef unsigned long int nfds_t; | |
struct pollfd | |
{ | |
int fd; | |
short int events; | |
short int revents; | |
}; | |
# 54 "/usr/include/arm-linux-gnueabihf/sys/poll.h" 3 4 | |
extern int poll (struct pollfd *__fds, nfds_t __nfds, int __timeout); | |
# 68 "/usr/include/arm-linux-gnueabihf/sys/poll.h" 3 4 | |
# 69 "platform.h" 2 | |
# 1 "/usr/include/poll.h" 1 3 4 | |
# 70 "platform.h" 2 | |
# 1 "/usr/include/dlfcn.h" 1 3 4 | |
# 24 "/usr/include/dlfcn.h" 3 4 | |
# 1 "/usr/lib/gcc/arm-linux-gnueabihf/8/include/stddef.h" 1 3 4 | |
# 25 "/usr/include/dlfcn.h" 2 3 4 | |
# 1 "/usr/include/arm-linux-gnueabihf/bits/dlfcn.h" 1 3 4 | |
# 28 "/usr/include/dlfcn.h" 2 3 4 | |
# 52 "/usr/include/dlfcn.h" 3 4 | |
extern void *dlopen (const char *__file, int __mode) __attribute__ ((__nothrow__)); | |
extern int dlclose (void *__handle) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); | |
extern void *dlsym (void *__restrict __handle, | |
const char *__restrict __name) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); | |
# 82 "/usr/include/dlfcn.h" 3 4 | |
extern char *dlerror (void) __attribute__ ((__nothrow__ , __leaf__)); | |
# 188 "/usr/include/dlfcn.h" 3 4 | |
# 71 "platform.h" 2 | |
# 1 "/usr/include/pthread.h" 1 3 4 | |
# 23 "/usr/include/pthread.h" 3 4 | |
# 1 "/usr/include/sched.h" 1 3 4 | |
# 29 "/usr/include/sched.h" 3 4 | |
# 1 "/usr/lib/gcc/arm-linux-gnueabihf/8/include/stddef.h" 1 3 4 | |
# 30 "/usr/include/sched.h" 2 3 4 | |
# 43 "/usr/include/sched.h" 3 4 | |
# 1 "/usr/include/arm-linux-gnueabihf/bits/sched.h" 1 3 4 | |
# 74 "/usr/include/arm-linux-gnueabihf/bits/sched.h" 3 4 | |
# 1 "/usr/include/arm-linux-gnueabihf/bits/types/struct_sched_param.h" 1 3 4 | |
# 23 "/usr/include/arm-linux-gnueabihf/bits/types/struct_sched_param.h" 3 4 | |
struct sched_param | |
{ | |
int sched_priority; | |
}; | |
# 75 "/usr/include/arm-linux-gnueabihf/bits/sched.h" 2 3 4 | |
# 93 "/usr/include/arm-linux-gnueabihf/bits/sched.h" 3 4 | |
# 44 "/usr/include/sched.h" 2 3 4 | |
# 1 "/usr/include/arm-linux-gnueabihf/bits/cpu-set.h" 1 3 4 | |
# 32 "/usr/include/arm-linux-gnueabihf/bits/cpu-set.h" 3 4 | |
typedef unsigned long int __cpu_mask; | |
typedef struct | |
{ | |
__cpu_mask __bits[1024 / (8 * sizeof (__cpu_mask))]; | |
} cpu_set_t; | |
# 115 "/usr/include/arm-linux-gnueabihf/bits/cpu-set.h" 3 4 | |
extern int __sched_cpucount (size_t __setsize, const cpu_set_t *__setp) | |
__attribute__ ((__nothrow__ , __leaf__)); | |
extern cpu_set_t *__sched_cpualloc (size_t __count) __attribute__ ((__nothrow__ , __leaf__)) ; | |
extern void __sched_cpufree (cpu_set_t *__set) __attribute__ ((__nothrow__ , __leaf__)); | |
# 45 "/usr/include/sched.h" 2 3 4 | |
extern int sched_setparam (__pid_t __pid, const struct sched_param *__param) | |
__attribute__ ((__nothrow__ , __leaf__)); | |
extern int sched_getparam (__pid_t __pid, struct sched_param *__param) __attribute__ ((__nothrow__ , __leaf__)); | |
extern int sched_setscheduler (__pid_t __pid, int __policy, | |
const struct sched_param *__param) __attribute__ ((__nothrow__ , __leaf__)); | |
extern int sched_getscheduler (__pid_t __pid) __attribute__ ((__nothrow__ , __leaf__)); | |
extern int sched_yield (void) __attribute__ ((__nothrow__ , __leaf__)); | |
extern int sched_get_priority_max (int __algorithm) __attribute__ ((__nothrow__ , __leaf__)); | |
extern int sched_get_priority_min (int __algorithm) __attribute__ ((__nothrow__ , __leaf__)); | |
extern int sched_rr_get_interval (__pid_t __pid, struct timespec *__t) __attribute__ ((__nothrow__ , __leaf__)); | |
# 129 "/usr/include/sched.h" 3 4 | |
# 24 "/usr/include/pthread.h" 2 3 4 | |
# 1 "/usr/include/time.h" 1 3 4 | |
# 29 "/usr/include/time.h" 3 4 | |
# 1 "/usr/lib/gcc/arm-linux-gnueabihf/8/include/stddef.h" 1 3 4 | |
# 30 "/usr/include/time.h" 2 3 4 | |
# 1 "/usr/include/arm-linux-gnueabihf/bits/time.h" 1 3 4 | |
# 34 "/usr/include/time.h" 2 3 4 | |
# 1 "/usr/include/arm-linux-gnueabihf/bits/types/struct_tm.h" 1 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 int tm_gmtoff; | |
const char *tm_zone; | |
}; | |
# 40 "/usr/include/time.h" 2 3 4 | |
# 48 "/usr/include/time.h" 3 4 | |
# 1 "/usr/include/arm-linux-gnueabihf/bits/types/struct_itimerspec.h" 1 3 4 | |
struct itimerspec | |
{ | |
struct timespec it_interval; | |
struct timespec it_value; | |
}; | |
# 49 "/usr/include/time.h" 2 3 4 | |
struct sigevent; | |
# 68 "/usr/include/time.h" 3 4 | |
extern clock_t clock (void) __attribute__ ((__nothrow__ , __leaf__)); | |
extern time_t time (time_t *__timer) __attribute__ ((__nothrow__ , __leaf__)); | |
extern double difftime (time_t __time1, time_t __time0) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); | |
extern time_t mktime (struct tm *__tp) __attribute__ ((__nothrow__ , __leaf__)); | |
extern size_t strftime (char *__restrict __s, size_t __maxsize, | |
const char *__restrict __format, | |
const struct tm *__restrict __tp) __attribute__ ((__nothrow__ , __leaf__)); | |
# 104 "/usr/include/time.h" 3 4 | |
extern size_t strftime_l (char *__restrict __s, size_t __maxsize, | |
const char *__restrict __format, | |
const struct tm *__restrict __tp, | |
locale_t __loc) __attribute__ ((__nothrow__ , __leaf__)); | |
# 119 "/usr/include/time.h" 3 4 | |
extern struct tm *gmtime (const time_t *__timer) __attribute__ ((__nothrow__ , __leaf__)); | |
extern struct tm *localtime (const time_t *__timer) __attribute__ ((__nothrow__ , __leaf__)); | |
extern struct tm *gmtime_r (const time_t *__restrict __timer, | |
struct tm *__restrict __tp) __attribute__ ((__nothrow__ , __leaf__)); | |
extern struct tm *localtime_r (const time_t *__restrict __timer, | |
struct tm *__restrict __tp) __attribute__ ((__nothrow__ , __leaf__)); | |
extern char *asctime (const struct tm *__tp) __attribute__ ((__nothrow__ , __leaf__)); | |
extern char *ctime (const time_t *__timer) __attribute__ ((__nothrow__ , __leaf__)); | |
extern char *asctime_r (const struct tm *__restrict __tp, | |
char *__restrict __buf) __attribute__ ((__nothrow__ , __leaf__)); | |
extern char *ctime_r (const time_t *__restrict __timer, | |
char *__restrict __buf) __attribute__ ((__nothrow__ , __leaf__)); | |
extern char *__tzname[2]; | |
extern int __daylight; | |
extern long int __timezone; | |
extern char *tzname[2]; | |
extern void tzset (void) __attribute__ ((__nothrow__ , __leaf__)); | |
extern int daylight; | |
extern long int timezone; | |
extern int stime (const time_t *__when) __attribute__ ((__nothrow__ , __leaf__)); | |
# 196 "/usr/include/time.h" 3 4 | |
extern time_t timegm (struct tm *__tp) __attribute__ ((__nothrow__ , __leaf__)); | |
extern time_t timelocal (struct tm *__tp) __attribute__ ((__nothrow__ , __leaf__)); | |
extern int dysize (int __year) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); | |
# 211 "/usr/include/time.h" 3 4 | |
extern int nanosleep (const struct timespec *__requested_time, | |
struct timespec *__remaining); | |
extern int clock_getres (clockid_t __clock_id, struct timespec *__res) __attribute__ ((__nothrow__ , __leaf__)); | |
extern int clock_gettime (clockid_t __clock_id, struct timespec *__tp) __attribute__ ((__nothrow__ , __leaf__)); | |
extern int clock_settime (clockid_t __clock_id, const struct timespec *__tp) | |
__attribute__ ((__nothrow__ , __leaf__)); | |
extern int clock_nanosleep (clockid_t __clock_id, int __flags, | |
const struct timespec *__req, | |
struct timespec *__rem); | |
extern int clock_getcpuclockid (pid_t __pid, clockid_t *__clock_id) __attribute__ ((__nothrow__ , __leaf__)); | |
extern int timer_create (clockid_t __clock_id, | |
struct sigevent *__restrict __evp, | |
timer_t *__restrict __timerid) __attribute__ ((__nothrow__ , __leaf__)); | |
extern int timer_delete (timer_t __timerid) __attribute__ ((__nothrow__ , __leaf__)); | |
extern int timer_settime (timer_t __timerid, int __flags, | |
const struct itimerspec *__restrict __value, | |
struct itimerspec *__restrict __ovalue) __attribute__ ((__nothrow__ , __leaf__)); | |
extern int timer_gettime (timer_t __timerid, struct itimerspec *__value) | |
__attribute__ ((__nothrow__ , __leaf__)); | |
extern int timer_getoverrun (timer_t __timerid) __attribute__ ((__nothrow__ , __leaf__)); | |
extern int timespec_get (struct timespec *__ts, int __base) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); | |
# 307 "/usr/include/time.h" 3 4 | |
# 25 "/usr/include/pthread.h" 2 3 4 | |
# 1 "/usr/include/arm-linux-gnueabihf/bits/setjmp.h" 1 3 4 | |
# 33 "/usr/include/arm-linux-gnueabihf/bits/setjmp.h" 3 4 | |
typedef int __jmp_buf[64] __attribute__((__aligned__ (8))); | |
# 28 "/usr/include/pthread.h" 2 3 4 | |
# 1 "/usr/include/arm-linux-gnueabihf/bits/wordsize.h" 1 3 4 | |
# 29 "/usr/include/pthread.h" 2 3 4 | |
enum | |
{ | |
PTHREAD_CREATE_JOINABLE, | |
PTHREAD_CREATE_DETACHED | |
}; | |
enum | |
{ | |
PTHREAD_MUTEX_TIMED_NP, | |
PTHREAD_MUTEX_RECURSIVE_NP, | |
PTHREAD_MUTEX_ERRORCHECK_NP, | |
PTHREAD_MUTEX_ADAPTIVE_NP | |
, | |
PTHREAD_MUTEX_NORMAL = PTHREAD_MUTEX_TIMED_NP, | |
PTHREAD_MUTEX_RECURSIVE = PTHREAD_MUTEX_RECURSIVE_NP, | |
PTHREAD_MUTEX_ERRORCHECK = PTHREAD_MUTEX_ERRORCHECK_NP, | |
PTHREAD_MUTEX_DEFAULT = PTHREAD_MUTEX_NORMAL | |
}; | |
enum | |
{ | |
PTHREAD_MUTEX_STALLED, | |
PTHREAD_MUTEX_STALLED_NP = PTHREAD_MUTEX_STALLED, | |
PTHREAD_MUTEX_ROBUST, | |
PTHREAD_MUTEX_ROBUST_NP = PTHREAD_MUTEX_ROBUST | |
}; | |
enum | |
{ | |
PTHREAD_PRIO_NONE, | |
PTHREAD_PRIO_INHERIT, | |
PTHREAD_PRIO_PROTECT | |
}; | |
# 115 "/usr/include/pthread.h" 3 4 | |
enum | |
{ | |
PTHREAD_RWLOCK_PREFER_READER_NP, | |
PTHREAD_RWLOCK_PREFER_WRITER_NP, | |
PTHREAD_RWLOCK_PREFER_WRITER_NONRECURSIVE_NP, | |
PTHREAD_RWLOCK_DEFAULT_NP = PTHREAD_RWLOCK_PREFER_READER_NP | |
}; | |
# 156 "/usr/include/pthread.h" 3 4 | |
enum | |
{ | |
PTHREAD_INHERIT_SCHED, | |
PTHREAD_EXPLICIT_SCHED | |
}; | |
enum | |
{ | |
PTHREAD_SCOPE_SYSTEM, | |
PTHREAD_SCOPE_PROCESS | |
}; | |
enum | |
{ | |
PTHREAD_PROCESS_PRIVATE, | |
PTHREAD_PROCESS_SHARED | |
}; | |
# 191 "/usr/include/pthread.h" 3 4 | |
struct _pthread_cleanup_buffer | |
{ | |
void (*__routine) (void *); | |
void *__arg; | |
int __canceltype; | |
struct _pthread_cleanup_buffer *__prev; | |
}; | |
enum | |
{ | |
PTHREAD_CANCEL_ENABLE, | |
PTHREAD_CANCEL_DISABLE | |
}; | |
enum | |
{ | |
PTHREAD_CANCEL_DEFERRED, | |
PTHREAD_CANCEL_ASYNCHRONOUS | |
}; | |
# 229 "/usr/include/pthread.h" 3 4 | |
extern int pthread_create (pthread_t *__restrict __newthread, | |
const pthread_attr_t *__restrict __attr, | |
void *(*__start_routine) (void *), | |
void *__restrict __arg) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 3))); | |
extern void pthread_exit (void *__retval) __attribute__ ((__noreturn__)); | |
extern int pthread_join (pthread_t __th, void **__thread_return); | |
# 272 "/usr/include/pthread.h" 3 4 | |
extern int pthread_detach (pthread_t __th) __attribute__ ((__nothrow__ , __leaf__)); | |
extern pthread_t pthread_self (void) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); | |
extern int pthread_equal (pthread_t __thread1, pthread_t __thread2) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); | |
extern int pthread_attr_init (pthread_attr_t *__attr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); | |
extern int pthread_attr_destroy (pthread_attr_t *__attr) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); | |
extern int pthread_attr_getdetachstate (const pthread_attr_t *__attr, | |
int *__detachstate) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); | |
extern int pthread_attr_setdetachstate (pthread_attr_t *__attr, | |
int __detachstate) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); | |
extern int pthread_attr_getguardsize (const pthread_attr_t *__attr, | |
size_t *__guardsize) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); | |
extern int pthread_attr_setguardsize (pthread_attr_t *__attr, | |
size_t __guardsize) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); | |
extern int pthread_attr_getschedparam (const pthread_attr_t *__restrict __attr, | |
struct sched_param *__restrict __param) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); | |
extern int pthread_attr_setschedparam (pthread_attr_t *__restrict __attr, | |
const struct sched_param *__restrict | |
__param) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); | |
extern int pthread_attr_getschedpolicy (const pthread_attr_t *__restrict | |
__attr, int *__restrict __policy) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); | |
extern int pthread_attr_setschedpolicy (pthread_attr_t *__attr, int __policy) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); | |
extern int pthread_attr_getinheritsched (const pthread_attr_t *__restrict | |
__attr, int *__restrict __inherit) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); | |
extern int pthread_attr_setinheritsched (pthread_attr_t *__attr, | |
int __inherit) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); | |
extern int pthread_attr_getscope (const pthread_attr_t *__restrict __attr, | |
int *__restrict __scope) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); | |
extern int pthread_attr_setscope (pthread_attr_t *__attr, int __scope) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); | |
extern int pthread_attr_getstackaddr (const pthread_attr_t *__restrict | |
__attr, void **__restrict __stackaddr) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))) __attribute__ ((__deprecated__)); | |
extern int pthread_attr_setstackaddr (pthread_attr_t *__attr, | |
void *__stackaddr) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__deprecated__)); | |
extern int pthread_attr_getstacksize (const pthread_attr_t *__restrict | |
__attr, size_t *__restrict __stacksize) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); | |
extern int pthread_attr_setstacksize (pthread_attr_t *__attr, | |
size_t __stacksize) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); | |
extern int pthread_attr_getstack (const pthread_attr_t *__restrict __attr, | |
void **__restrict __stackaddr, | |
size_t *__restrict __stacksize) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2, 3))); | |
extern int pthread_attr_setstack (pthread_attr_t *__attr, void *__stackaddr, | |
size_t __stacksize) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); | |
# 430 "/usr/include/pthread.h" 3 4 | |
extern int pthread_setschedparam (pthread_t __target_thread, int __policy, | |
const struct sched_param *__param) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3))); | |
extern int pthread_getschedparam (pthread_t __target_thread, | |
int *__restrict __policy, | |
struct sched_param *__restrict __param) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2, 3))); | |
extern int pthread_setschedprio (pthread_t __target_thread, int __prio) | |
__attribute__ ((__nothrow__ , __leaf__)); | |
# 495 "/usr/include/pthread.h" 3 4 | |
extern int pthread_once (pthread_once_t *__once_control, | |
void (*__init_routine) (void)) __attribute__ ((__nonnull__ (1, 2))); | |
# 507 "/usr/include/pthread.h" 3 4 | |
extern int pthread_setcancelstate (int __state, int *__oldstate); | |
extern int pthread_setcanceltype (int __type, int *__oldtype); | |
extern int pthread_cancel (pthread_t __th); | |
extern void pthread_testcancel (void); | |
typedef struct | |
{ | |
struct | |
{ | |
__jmp_buf __cancel_jmp_buf; | |
int __mask_was_saved; | |
} __cancel_jmp_buf[1]; | |
void *__pad[4]; | |
} __pthread_unwind_buf_t __attribute__ ((__aligned__)); | |
# 541 "/usr/include/pthread.h" 3 4 | |
struct __pthread_cleanup_frame | |
{ | |
void (*__cancel_routine) (void *); | |
void *__cancel_arg; | |
int __do_it; | |
int __cancel_type; | |
}; | |
# 681 "/usr/include/pthread.h" 3 4 | |
extern void __pthread_register_cancel (__pthread_unwind_buf_t *__buf) | |
; | |
# 693 "/usr/include/pthread.h" 3 4 | |
extern void __pthread_unregister_cancel (__pthread_unwind_buf_t *__buf) | |
; | |
# 734 "/usr/include/pthread.h" 3 4 | |
extern void __pthread_unwind_next (__pthread_unwind_buf_t *__buf) | |
__attribute__ ((__noreturn__)) | |
__attribute__ ((__weak__)) | |
; | |
struct __jmp_buf_tag; | |
extern int __sigsetjmp (struct __jmp_buf_tag *__env, int __savemask) __attribute__ ((__nothrow__)); | |
extern int pthread_mutex_init (pthread_mutex_t *__mutex, | |
const pthread_mutexattr_t *__mutexattr) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); | |
extern int pthread_mutex_destroy (pthread_mutex_t *__mutex) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); | |
extern int pthread_mutex_trylock (pthread_mutex_t *__mutex) | |
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); | |
extern int pthread_mutex_lock (pthread_mutex_t *__mutex) | |
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); | |
extern int pthread_mutex_timedlock (pthread_mutex_t *__restrict __mutex, | |
const struct timespec *__restrict | |
__abstime) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); | |
extern int pthread_mutex_unlock (pthread_mutex_t *__mutex) | |
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); | |
extern int pthread_mutex_getprioceiling (const pthread_mutex_t * | |
__restrict __mutex, | |
int *__restrict __prioceiling) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); | |
extern int pthread_mutex_setprioceiling (pthread_mutex_t *__restrict __mutex, | |
int __prioceiling, | |
int *__restrict __old_ceiling) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 3))); | |
extern int pthread_mutex_consistent (pthread_mutex_t *__mutex) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); | |
# 807 "/usr/include/pthread.h" 3 4 | |
extern int pthread_mutexattr_init (pthread_mutexattr_t *__attr) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); | |
extern int pthread_mutexattr_destroy (pthread_mutexattr_t *__attr) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); | |
extern int pthread_mutexattr_getpshared (const pthread_mutexattr_t * | |
__restrict __attr, | |
int *__restrict __pshared) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); | |
extern int pthread_mutexattr_setpshared (pthread_mutexattr_t *__attr, | |
int __pshared) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); | |
extern int pthread_mutexattr_gettype (const pthread_mutexattr_t *__restrict | |
__attr, int *__restrict __kind) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); | |
extern int pthread_mutexattr_settype (pthread_mutexattr_t *__attr, int __kind) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); | |
extern int pthread_mutexattr_getprotocol (const pthread_mutexattr_t * | |
__restrict __attr, | |
int *__restrict __protocol) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); | |
extern int pthread_mutexattr_setprotocol (pthread_mutexattr_t *__attr, | |
int __protocol) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); | |
extern int pthread_mutexattr_getprioceiling (const pthread_mutexattr_t * | |
__restrict __attr, | |
int *__restrict __prioceiling) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); | |
extern int pthread_mutexattr_setprioceiling (pthread_mutexattr_t *__attr, | |
int __prioceiling) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); | |
extern int pthread_mutexattr_getrobust (const pthread_mutexattr_t *__attr, | |
int *__robustness) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); | |
extern int pthread_mutexattr_setrobust (pthread_mutexattr_t *__attr, | |
int __robustness) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); | |
# 889 "/usr/include/pthread.h" 3 4 | |
extern int pthread_rwlock_init (pthread_rwlock_t *__restrict __rwlock, | |
const pthread_rwlockattr_t *__restrict | |
__attr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); | |
extern int pthread_rwlock_destroy (pthread_rwlock_t *__rwlock) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); | |
extern int pthread_rwlock_rdlock (pthread_rwlock_t *__rwlock) | |
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); | |
extern int pthread_rwlock_tryrdlock (pthread_rwlock_t *__rwlock) | |
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); | |
extern int pthread_rwlock_timedrdlock (pthread_rwlock_t *__restrict __rwlock, | |
const struct timespec *__restrict | |
__abstime) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); | |
extern int pthread_rwlock_wrlock (pthread_rwlock_t *__rwlock) | |
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); | |
extern int pthread_rwlock_trywrlock (pthread_rwlock_t *__rwlock) | |
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); | |
extern int pthread_rwlock_timedwrlock (pthread_rwlock_t *__restrict __rwlock, | |
const struct timespec *__restrict | |
__abstime) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); | |
extern int pthread_rwlock_unlock (pthread_rwlock_t *__rwlock) | |
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); | |
extern int pthread_rwlockattr_init (pthread_rwlockattr_t *__attr) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); | |
extern int pthread_rwlockattr_destroy (pthread_rwlockattr_t *__attr) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); | |
extern int pthread_rwlockattr_getpshared (const pthread_rwlockattr_t * | |
__restrict __attr, | |
int *__restrict __pshared) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); | |
extern int pthread_rwlockattr_setpshared (pthread_rwlockattr_t *__attr, | |
int __pshared) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); | |
extern int pthread_rwlockattr_getkind_np (const pthread_rwlockattr_t * | |
__restrict __attr, | |
int *__restrict __pref) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); | |
extern int pthread_rwlockattr_setkind_np (pthread_rwlockattr_t *__attr, | |
int __pref) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); | |
extern int pthread_cond_init (pthread_cond_t *__restrict __cond, | |
const pthread_condattr_t *__restrict __cond_attr) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); | |
extern int pthread_cond_destroy (pthread_cond_t *__cond) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); | |
extern int pthread_cond_signal (pthread_cond_t *__cond) | |
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); | |
extern int pthread_cond_broadcast (pthread_cond_t *__cond) | |
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); | |
extern int pthread_cond_wait (pthread_cond_t *__restrict __cond, | |
pthread_mutex_t *__restrict __mutex) | |
__attribute__ ((__nonnull__ (1, 2))); | |
# 1001 "/usr/include/pthread.h" 3 4 | |
extern int pthread_cond_timedwait (pthread_cond_t *__restrict __cond, | |
pthread_mutex_t *__restrict __mutex, | |
const struct timespec *__restrict __abstime) | |
__attribute__ ((__nonnull__ (1, 2, 3))); | |
extern int pthread_condattr_init (pthread_condattr_t *__attr) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); | |
extern int pthread_condattr_destroy (pthread_condattr_t *__attr) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); | |
extern int pthread_condattr_getpshared (const pthread_condattr_t * | |
__restrict __attr, | |
int *__restrict __pshared) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); | |
extern int pthread_condattr_setpshared (pthread_condattr_t *__attr, | |
int __pshared) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); | |
extern int pthread_condattr_getclock (const pthread_condattr_t * | |
__restrict __attr, | |
__clockid_t *__restrict __clock_id) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); | |
extern int pthread_condattr_setclock (pthread_condattr_t *__attr, | |
__clockid_t __clock_id) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); | |
# 1045 "/usr/include/pthread.h" 3 4 | |
extern int pthread_spin_init (pthread_spinlock_t *__lock, int __pshared) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); | |
extern int pthread_spin_destroy (pthread_spinlock_t *__lock) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); | |
extern int pthread_spin_lock (pthread_spinlock_t *__lock) | |
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); | |
extern int pthread_spin_trylock (pthread_spinlock_t *__lock) | |
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); | |
extern int pthread_spin_unlock (pthread_spinlock_t *__lock) | |
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); | |
extern int pthread_barrier_init (pthread_barrier_t *__restrict __barrier, | |
const pthread_barrierattr_t *__restrict | |
__attr, unsigned int __count) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); | |
extern int pthread_barrier_destroy (pthread_barrier_t *__barrier) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); | |
extern int pthread_barrier_wait (pthread_barrier_t *__barrier) | |
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); | |
extern int pthread_barrierattr_init (pthread_barrierattr_t *__attr) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); | |
extern int pthread_barrierattr_destroy (pthread_barrierattr_t *__attr) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); | |
extern int pthread_barrierattr_getpshared (const pthread_barrierattr_t * | |
__restrict __attr, | |
int *__restrict __pshared) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); | |
extern int pthread_barrierattr_setpshared (pthread_barrierattr_t *__attr, | |
int __pshared) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); | |
# 1112 "/usr/include/pthread.h" 3 4 | |
extern int pthread_key_create (pthread_key_t *__key, | |
void (*__destr_function) (void *)) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); | |
extern int pthread_key_delete (pthread_key_t __key) __attribute__ ((__nothrow__ , __leaf__)); | |
extern void *pthread_getspecific (pthread_key_t __key) __attribute__ ((__nothrow__ , __leaf__)); | |
extern int pthread_setspecific (pthread_key_t __key, | |
const void *__pointer) __attribute__ ((__nothrow__ , __leaf__)) ; | |
extern int pthread_getcpuclockid (pthread_t __thread_id, | |
__clockid_t *__clock_id) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); | |
# 1146 "/usr/include/pthread.h" 3 4 | |
extern int pthread_atfork (void (*__prepare) (void), | |
void (*__parent) (void), | |
void (*__child) (void)) __attribute__ ((__nothrow__ , __leaf__)); | |
# 1160 "/usr/include/pthread.h" 3 4 | |
# 72 "platform.h" 2 | |
# 1 "/usr/include/errno.h" 1 3 4 | |
# 28 "/usr/include/errno.h" 3 4 | |
# 1 "/usr/include/arm-linux-gnueabihf/bits/errno.h" 1 3 4 | |
# 26 "/usr/include/arm-linux-gnueabihf/bits/errno.h" 3 4 | |
# 1 "/usr/include/linux/errno.h" 1 3 4 | |
# 1 "/usr/include/arm-linux-gnueabihf/asm/errno.h" 1 3 4 | |
# 1 "/usr/include/asm-generic/errno.h" 1 3 4 | |
# 1 "/usr/include/asm-generic/errno-base.h" 1 3 4 | |
# 6 "/usr/include/asm-generic/errno.h" 2 3 4 | |
# 1 "/usr/include/arm-linux-gnueabihf/asm/errno.h" 2 3 4 | |
# 1 "/usr/include/linux/errno.h" 2 3 4 | |
# 27 "/usr/include/arm-linux-gnueabihf/bits/errno.h" 2 3 4 | |
# 29 "/usr/include/errno.h" 2 3 4 | |
extern int *__errno_location (void) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); | |
# 52 "/usr/include/errno.h" 3 4 | |
# 73 "platform.h" 2 | |
# 1 "/usr/include/valgrind/memcheck.h" 1 | |
# 72 "/usr/include/valgrind/memcheck.h" | |
# 1 "/usr/include/valgrind/valgrind.h" 1 | |
# 95 "/usr/include/valgrind/valgrind.h" | |
# 1 "/usr/lib/gcc/arm-linux-gnueabihf/8/include/stdarg.h" 1 3 4 | |
# 40 "/usr/lib/gcc/arm-linux-gnueabihf/8/include/stdarg.h" 3 4 | |
typedef __builtin_va_list __gnuc_va_list; | |
# 99 "/usr/lib/gcc/arm-linux-gnueabihf/8/include/stdarg.h" 3 4 | |
typedef __gnuc_va_list va_list; | |
# 96 "/usr/include/valgrind/valgrind.h" 2 | |
# 542 "/usr/include/valgrind/valgrind.h" | |
# 542 "/usr/include/valgrind/valgrind.h" | |
typedef | |
struct { | |
unsigned int nraddr; | |
} | |
OrigFn; | |
# 3605 "/usr/include/valgrind/valgrind.h" | |
typedef | |
enum { VG_USERREQ__RUNNING_ON_VALGRIND = 0x1001, | |
VG_USERREQ__DISCARD_TRANSLATIONS = 0x1002, | |
VG_USERREQ__CLIENT_CALL0 = 0x1101, | |
VG_USERREQ__CLIENT_CALL1 = 0x1102, | |
VG_USERREQ__CLIENT_CALL2 = 0x1103, | |
VG_USERREQ__CLIENT_CALL3 = 0x1104, | |
VG_USERREQ__COUNT_ERRORS = 0x1201, | |
VG_USERREQ__GDB_MONITOR_COMMAND = 0x1202, | |
VG_USERREQ__MALLOCLIKE_BLOCK = 0x1301, | |
VG_USERREQ__RESIZEINPLACE_BLOCK = 0x130b, | |
VG_USERREQ__FREELIKE_BLOCK = 0x1302, | |
VG_USERREQ__CREATE_MEMPOOL = 0x1303, | |
VG_USERREQ__DESTROY_MEMPOOL = 0x1304, | |
VG_USERREQ__MEMPOOL_ALLOC = 0x1305, | |
VG_USERREQ__MEMPOOL_FREE = 0x1306, | |
VG_USERREQ__MEMPOOL_TRIM = 0x1307, | |
VG_USERREQ__MOVE_MEMPOOL = 0x1308, | |
VG_USERREQ__MEMPOOL_CHANGE = 0x1309, | |
VG_USERREQ__MEMPOOL_EXISTS = 0x130a, | |
# 3650 "/usr/include/valgrind/valgrind.h" | |
VG_USERREQ__PRINTF = 0x1401, | |
VG_USERREQ__PRINTF_BACKTRACE = 0x1402, | |
VG_USERREQ__PRINTF_VALIST_BY_REF = 0x1403, | |
VG_USERREQ__PRINTF_BACKTRACE_VALIST_BY_REF = 0x1404, | |
VG_USERREQ__STACK_REGISTER = 0x1501, | |
VG_USERREQ__STACK_DEREGISTER = 0x1502, | |
VG_USERREQ__STACK_CHANGE = 0x1503, | |
VG_USERREQ__LOAD_PDB_DEBUGINFO = 0x1601, | |
VG_USERREQ__MAP_IP_TO_SRCLOC = 0x1701, | |
VG_USERREQ__CHANGE_ERR_DISABLEMENT = 0x1801 | |
} Vg_ClientRequest; | |
# 3707 "/usr/include/valgrind/valgrind.h" | |
static int VALGRIND_PRINTF(const char *format, ...) | |
__attribute__((format(__printf__, 1, 2), __unused__)); | |
static int | |
VALGRIND_PRINTF(const char *format, ...) | |
{ | |
unsigned long _qzz_res; | |
va_list vargs; | |
# 3725 "/usr/include/valgrind/valgrind.h" 3 4 | |
__builtin_va_start( | |
# 3725 "/usr/include/valgrind/valgrind.h" | |
vargs | |
# 3725 "/usr/include/valgrind/valgrind.h" 3 4 | |
, | |
# 3725 "/usr/include/valgrind/valgrind.h" | |
format | |
# 3725 "/usr/include/valgrind/valgrind.h" 3 4 | |
) | |
# 3725 "/usr/include/valgrind/valgrind.h" | |
; | |
_qzz_res = __extension__ ({volatile unsigned int _zzq_args[6]; volatile unsigned int _zzq_result; _zzq_args[0] = (unsigned int)(VG_USERREQ__PRINTF_VALIST_BY_REF); _zzq_args[1] = (unsigned int)((unsigned long)format); _zzq_args[2] = (unsigned int)((unsigned long)&vargs); _zzq_args[3] = (unsigned int)(0); _zzq_args[4] = (unsigned int)(0); _zzq_args[5] = (unsigned int)(0); __asm__ volatile("mov r3, %1\n\t" "mov r4, %2\n\t" "mov r12, r12, ror #3 ; mov r12, r12, ror #13 \n\t" "mov r12, r12, ror #29 ; mov r12, r12, ror #19 \n\t" "orr r10, r10, r10\n\t" "mov %0, r3" : "=r" (_zzq_result) : "r" (0), "r" (&_zzq_args[0]) : "cc","memory", "r3", "r4"); _zzq_result; }) | |
; | |
# 3739 "/usr/include/valgrind/valgrind.h" 3 4 | |
__builtin_va_end( | |
# 3739 "/usr/include/valgrind/valgrind.h" | |
vargs | |
# 3739 "/usr/include/valgrind/valgrind.h" 3 4 | |
) | |
# 3739 "/usr/include/valgrind/valgrind.h" | |
; | |
return (int)_qzz_res; | |
} | |
static int VALGRIND_PRINTF_BACKTRACE(const char *format, ...) | |
__attribute__((format(__printf__, 1, 2), __unused__)); | |
static int | |
VALGRIND_PRINTF_BACKTRACE(const char *format, ...) | |
{ | |
unsigned long _qzz_res; | |
va_list vargs; | |
# 3763 "/usr/include/valgrind/valgrind.h" 3 4 | |
__builtin_va_start( | |
# 3763 "/usr/include/valgrind/valgrind.h" | |
vargs | |
# 3763 "/usr/include/valgrind/valgrind.h" 3 4 | |
, | |
# 3763 "/usr/include/valgrind/valgrind.h" | |
format | |
# 3763 "/usr/include/valgrind/valgrind.h" 3 4 | |
) | |
# 3763 "/usr/include/valgrind/valgrind.h" | |
; | |
_qzz_res = __extension__ ({volatile unsigned int _zzq_args[6]; volatile unsigned int _zzq_result; _zzq_args[0] = (unsigned int)(VG_USERREQ__PRINTF_BACKTRACE_VALIST_BY_REF); _zzq_args[1] = (unsigned int)((unsigned long)format); _zzq_args[2] = (unsigned int)((unsigned long)&vargs); _zzq_args[3] = (unsigned int)(0); _zzq_args[4] = (unsigned int)(0); _zzq_args[5] = (unsigned int)(0); __asm__ volatile("mov r3, %1\n\t" "mov r4, %2\n\t" "mov r12, r12, ror #3 ; mov r12, r12, ror #13 \n\t" "mov r12, r12, ror #29 ; mov r12, r12, ror #19 \n\t" "orr r10, r10, r10\n\t" "mov %0, r3" : "=r" (_zzq_result) : "r" (0), "r" (&_zzq_args[0]) : "cc","memory", "r3", "r4"); _zzq_result; }) | |
; | |
# 3777 "/usr/include/valgrind/valgrind.h" 3 4 | |
__builtin_va_end( | |
# 3777 "/usr/include/valgrind/valgrind.h" | |
vargs | |
# 3777 "/usr/include/valgrind/valgrind.h" 3 4 | |
) | |
# 3777 "/usr/include/valgrind/valgrind.h" | |
; | |
return (int)_qzz_res; | |
} | |
# 73 "/usr/include/valgrind/memcheck.h" 2 | |
typedef | |
enum { | |
VG_USERREQ__MAKE_MEM_NOACCESS = ((unsigned int)((('M')&0xff) << 24 | (('C')&0xff) << 16)), | |
VG_USERREQ__MAKE_MEM_UNDEFINED, | |
VG_USERREQ__MAKE_MEM_DEFINED, | |
VG_USERREQ__DISCARD, | |
VG_USERREQ__CHECK_MEM_IS_ADDRESSABLE, | |
VG_USERREQ__CHECK_MEM_IS_DEFINED, | |
VG_USERREQ__DO_LEAK_CHECK, | |
VG_USERREQ__COUNT_LEAKS, | |
VG_USERREQ__GET_VBITS, | |
VG_USERREQ__SET_VBITS, | |
VG_USERREQ__CREATE_BLOCK, | |
VG_USERREQ__MAKE_MEM_DEFINED_IF_ADDRESSABLE, | |
VG_USERREQ__COUNT_LEAK_BLOCKS, | |
_VG_USERREQ__MEMCHECK_RECORD_OVERLAP_ERROR | |
= ((unsigned int)((('M')&0xff) << 24 | (('C')&0xff) << 16)) + 256 | |
} Vg_MemCheckClientRequest; | |
# 74 "platform.h" 2 | |
# 1 "/usr/lib/gcc/arm-linux-gnueabihf/8/include-fixed/limits.h" 1 3 4 | |
# 34 "/usr/lib/gcc/arm-linux-gnueabihf/8/include-fixed/limits.h" 3 4 | |
# 1 "/usr/lib/gcc/arm-linux-gnueabihf/8/include-fixed/syslimits.h" 1 3 4 | |
# 1 "/usr/lib/gcc/arm-linux-gnueabihf/8/include-fixed/limits.h" 1 3 4 | |
# 194 "/usr/lib/gcc/arm-linux-gnueabihf/8/include-fixed/limits.h" 3 4 | |
# 1 "/usr/include/limits.h" 1 3 4 | |
# 26 "/usr/include/limits.h" 3 4 | |
# 1 "/usr/include/arm-linux-gnueabihf/bits/libc-header-start.h" 1 3 4 | |
# 27 "/usr/include/limits.h" 2 3 4 | |
# 183 "/usr/include/limits.h" 3 4 | |
# 1 "/usr/include/arm-linux-gnueabihf/bits/posix1_lim.h" 1 3 4 | |
# 27 "/usr/include/arm-linux-gnueabihf/bits/posix1_lim.h" 3 4 | |
# 1 "/usr/include/arm-linux-gnueabihf/bits/wordsize.h" 1 3 4 | |
# 28 "/usr/include/arm-linux-gnueabihf/bits/posix1_lim.h" 2 3 4 | |
# 161 "/usr/include/arm-linux-gnueabihf/bits/posix1_lim.h" 3 4 | |
# 1 "/usr/include/arm-linux-gnueabihf/bits/local_lim.h" 1 3 4 | |
# 38 "/usr/include/arm-linux-gnueabihf/bits/local_lim.h" 3 4 | |
# 1 "/usr/include/linux/limits.h" 1 3 4 | |
# 39 "/usr/include/arm-linux-gnueabihf/bits/local_lim.h" 2 3 4 | |
# 162 "/usr/include/arm-linux-gnueabihf/bits/posix1_lim.h" 2 3 4 | |
# 184 "/usr/include/limits.h" 2 3 4 | |
# 1 "/usr/include/arm-linux-gnueabihf/bits/posix2_lim.h" 1 3 4 | |
# 188 "/usr/include/limits.h" 2 3 4 | |
# 195 "/usr/lib/gcc/arm-linux-gnueabihf/8/include-fixed/limits.h" 2 3 4 | |
# 8 "/usr/lib/gcc/arm-linux-gnueabihf/8/include-fixed/syslimits.h" 2 3 4 | |
# 35 "/usr/lib/gcc/arm-linux-gnueabihf/8/include-fixed/limits.h" 2 3 4 | |
# 75 "platform.h" 2 | |
# 88 "platform.h" | |
typedef u_int8_t u8_t; | |
typedef u_int16_t u16_t; | |
typedef u_int32_t u32_t; | |
typedef u_int64_t u64_t; | |
typedef int16_t s16_t; | |
typedef int32_t s32_t; | |
typedef int64_t s64_t; | |
int SendARP(in_addr_t src, in_addr_t dst, u8_t mac[], unsigned long *size); | |
char *strlwr(char *str); | |
# 152 "platform.h" | |
typedef struct ntp_s { | |
u32_t seconds; | |
u32_t fraction; | |
} ntp_t; | |
u64_t timeval_to_ntp(struct timeval tv, struct ntp_s *ntp); | |
u64_t get_ntp(struct ntp_s *ntp); | |
u32_t gettime_ms(void); | |
u64_t gettime_ms64(void); | |
# 22 "sslsym.c" 2 | |
# 1 "sslsym.h" 1 | |
# 24 "sslsym.h" | |
# 24 "sslsym.h" 3 4 | |
_Bool | |
# 24 "sslsym.h" | |
load_ssl_symbols(void); | |
void free_ssl_symbols(void); | |
# 23 "sslsym.c" 2 | |
# 32 "sslsym.c" | |
# 1 "/usr/include/openssl/ssl.h" 1 3 4 | |
# 15 "/usr/include/openssl/ssl.h" 3 4 | |
# 1 "/usr/include/openssl/e_os2.h" 1 3 4 | |
# 13 "/usr/include/openssl/e_os2.h" 3 4 | |
# 1 "/usr/include/arm-linux-gnueabihf/openssl/opensslconf.h" 1 3 4 | |
# 13 "/usr/include/arm-linux-gnueabihf/openssl/opensslconf.h" 3 4 | |
# 1 "/usr/include/openssl/opensslv.h" 1 3 4 | |
# 14 "/usr/include/arm-linux-gnueabihf/openssl/opensslconf.h" 2 3 4 | |
# 14 "/usr/include/openssl/e_os2.h" 2 3 4 | |
# 243 "/usr/include/openssl/e_os2.h" 3 4 | |
# 1 "/usr/include/inttypes.h" 1 3 4 | |
# 34 "/usr/include/inttypes.h" 3 4 | |
# 34 "/usr/include/inttypes.h" 3 4 | |
typedef unsigned int __gwchar_t; | |
# 266 "/usr/include/inttypes.h" 3 4 | |
# 280 "/usr/include/inttypes.h" 3 4 | |
typedef struct | |
{ | |
__extension__ long long int quot; | |
__extension__ long long int rem; | |
} imaxdiv_t; | |
extern intmax_t imaxabs (intmax_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); | |
extern imaxdiv_t imaxdiv (intmax_t __numer, intmax_t __denom) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); | |
extern intmax_t strtoimax (const char *__restrict __nptr, | |
char **__restrict __endptr, int __base) __attribute__ ((__nothrow__ , __leaf__)); | |
extern uintmax_t strtoumax (const char *__restrict __nptr, | |
char ** __restrict __endptr, int __base) __attribute__ ((__nothrow__ , __leaf__)); | |
extern intmax_t wcstoimax (const __gwchar_t *__restrict __nptr, | |
__gwchar_t **__restrict __endptr, int __base) | |
__attribute__ ((__nothrow__ , __leaf__)); | |
extern uintmax_t wcstoumax (const __gwchar_t *__restrict __nptr, | |
__gwchar_t ** __restrict __endptr, int __base) | |
__attribute__ ((__nothrow__ , __leaf__)); | |
# 432 "/usr/include/inttypes.h" 3 4 | |
# 244 "/usr/include/openssl/e_os2.h" 2 3 4 | |
# 16 "/usr/include/openssl/ssl.h" 2 3 4 | |
# 1 "/usr/include/arm-linux-gnueabihf/openssl/opensslconf.h" 1 3 4 | |
# 17 "/usr/include/openssl/ssl.h" 2 3 4 | |
# 1 "/usr/include/openssl/comp.h" 1 3 4 | |
# 13 "/usr/include/openssl/comp.h" 3 4 | |
# 1 "/usr/include/arm-linux-gnueabihf/openssl/opensslconf.h" 1 3 4 | |
# 14 "/usr/include/openssl/comp.h" 2 3 4 | |
# 1 "/usr/include/openssl/crypto.h" 1 3 4 | |
# 14 "/usr/include/openssl/crypto.h" 3 4 | |
# 1 "/usr/include/stdlib.h" 1 3 4 | |
# 25 "/usr/include/stdlib.h" 3 4 | |
# 1 "/usr/include/arm-linux-gnueabihf/bits/libc-header-start.h" 1 3 4 | |
# 26 "/usr/include/stdlib.h" 2 3 4 | |
# 1 "/usr/lib/gcc/arm-linux-gnueabihf/8/include/stddef.h" 1 3 4 | |
# 328 "/usr/lib/gcc/arm-linux-gnueabihf/8/include/stddef.h" 3 4 | |
typedef unsigned int wchar_t; | |
# 32 "/usr/include/stdlib.h" 2 3 4 | |
# 1 "/usr/include/arm-linux-gnueabihf/bits/waitflags.h" 1 3 4 | |
# 52 "/usr/include/arm-linux-gnueabihf/bits/waitflags.h" 3 4 | |
typedef enum | |
{ | |
P_ALL, | |
P_PID, | |
P_PGID | |
} idtype_t; | |
# 40 "/usr/include/stdlib.h" 2 3 4 | |
# 1 "/usr/include/arm-linux-gnueabihf/bits/waitstatus.h" 1 3 4 | |
# 41 "/usr/include/stdlib.h" 2 3 4 | |
# 55 "/usr/include/stdlib.h" 3 4 | |
# 1 "/usr/include/arm-linux-gnueabihf/bits/floatn.h" 1 3 4 | |
# 52 "/usr/include/arm-linux-gnueabihf/bits/floatn.h" 3 4 | |
# 1 "/usr/include/arm-linux-gnueabihf/bits/floatn-common.h" 1 3 4 | |
# 52 "/usr/include/arm-linux-gnueabihf/bits/floatn.h" 2 3 4 | |
# 56 "/usr/include/stdlib.h" 2 3 4 | |
typedef struct | |
{ | |
int quot; | |
int rem; | |
} div_t; | |
typedef struct | |
{ | |
long int quot; | |
long int rem; | |
} ldiv_t; | |
__extension__ typedef struct | |
{ | |
long long int quot; | |
long long int rem; | |
} lldiv_t; | |
# 97 "/usr/include/stdlib.h" 3 4 | |
extern size_t __ctype_get_mb_cur_max (void) __attribute__ ((__nothrow__ , __leaf__)) ; | |
extern double atof (const char *__nptr) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ; | |
extern int atoi (const char *__nptr) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ; | |
extern long int atol (const char *__nptr) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ; | |
__extension__ extern long long int atoll (const char *__nptr) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ; | |
extern double strtod (const char *__restrict __nptr, | |
char **__restrict __endptr) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); | |
extern float strtof (const char *__restrict __nptr, | |
char **__restrict __endptr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); | |
extern long double strtold (const char *__restrict __nptr, | |
char **__restrict __endptr) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); | |
# 176 "/usr/include/stdlib.h" 3 4 | |
extern long int strtol (const char *__restrict __nptr, | |
char **__restrict __endptr, int __base) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); | |
extern unsigned long int strtoul (const char *__restrict __nptr, | |
char **__restrict __endptr, int __base) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); | |
__extension__ | |
extern long long int strtoq (const char *__restrict __nptr, | |
char **__restrict __endptr, int __base) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); | |
__extension__ | |
extern unsigned long long int strtouq (const char *__restrict __nptr, | |
char **__restrict __endptr, int __base) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); | |
__extension__ | |
extern long long int strtoll (const char *__restrict __nptr, | |
char **__restrict __endptr, int __base) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); | |
__extension__ | |
extern unsigned long long int strtoull (const char *__restrict __nptr, | |
char **__restrict __endptr, int __base) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); | |
# 385 "/usr/include/stdlib.h" 3 4 | |
extern char *l64a (long int __n) __attribute__ ((__nothrow__ , __leaf__)) ; | |
extern long int a64l (const char *__s) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ; | |
# 401 "/usr/include/stdlib.h" 3 4 | |
extern long int random (void) __attribute__ ((__nothrow__ , __leaf__)); | |
extern void srandom (unsigned int __seed) __attribute__ ((__nothrow__ , __leaf__)); | |
extern char *initstate (unsigned int __seed, char *__statebuf, | |
size_t __statelen) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); | |
extern char *setstate (char *__statebuf) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); | |
struct random_data | |
{ | |
int32_t *fptr; | |
int32_t *rptr; | |
int32_t *state; | |
int rand_type; | |
int rand_deg; | |
int rand_sep; | |
int32_t *end_ptr; | |
}; | |
extern int random_r (struct random_data *__restrict __buf, | |
int32_t *__restrict __result) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); | |
extern int srandom_r (unsigned int __seed, struct random_data *__buf) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); | |
extern int initstate_r (unsigned int __seed, char *__restrict __statebuf, | |
size_t __statelen, | |
struct random_data *__restrict __buf) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2, 4))); | |
extern int setstate_r (char *__restrict __statebuf, | |
struct random_data *__restrict __buf) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); | |
extern int rand (void) __attribute__ ((__nothrow__ , __leaf__)); | |
extern void srand (unsigned int __seed) __attribute__ ((__nothrow__ , __leaf__)); | |
extern int rand_r (unsigned int *__seed) __attribute__ ((__nothrow__ , __leaf__)); | |
extern double drand48 (void) __attribute__ ((__nothrow__ , __leaf__)); | |
extern double erand48 (unsigned short int __xsubi[3]) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); | |
extern long int lrand48 (void) __attribute__ ((__nothrow__ , __leaf__)); | |
extern long int nrand48 (unsigned short int __xsubi[3]) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); | |
extern long int mrand48 (void) __attribute__ ((__nothrow__ , __leaf__)); | |
extern long int jrand48 (unsigned short int __xsubi[3]) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); | |
extern void srand48 (long int __seedval) __attribute__ ((__nothrow__ , __leaf__)); | |
extern unsigned short int *seed48 (unsigned short int __seed16v[3]) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); | |
extern void lcong48 (unsigned short int __param[7]) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); | |
struct drand48_data | |
{ | |
unsigned short int __x[3]; | |
unsigned short int __old_x[3]; | |
unsigned short int __c; | |
unsigned short int __init; | |
__extension__ unsigned long long int __a; | |
}; | |
extern int drand48_r (struct drand48_data *__restrict __buffer, | |
double *__restrict __result) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); | |
extern int erand48_r (unsigned short int __xsubi[3], | |
struct drand48_data *__restrict __buffer, | |
double *__restrict __result) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); | |
extern int lrand48_r (struct drand48_data *__restrict __buffer, | |
long int *__restrict __result) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); | |
extern int nrand48_r (unsigned short int __xsubi[3], | |
struct drand48_data *__restrict __buffer, | |
long int *__restrict __result) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); | |
extern int mrand48_r (struct drand48_data *__restrict __buffer, | |
long int *__restrict __result) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); | |
extern int jrand48_r (unsigned short int __xsubi[3], | |
struct drand48_data *__restrict __buffer, | |
long int *__restrict __result) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); | |
extern int srand48_r (long int __seedval, struct drand48_data *__buffer) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); | |
extern int seed48_r (unsigned short int __seed16v[3], | |
struct drand48_data *__buffer) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); | |
extern int lcong48_r (unsigned short int __param[7], | |
struct drand48_data *__buffer) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); | |
extern void *malloc (size_t __size) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__malloc__)) ; | |
extern void *calloc (size_t __nmemb, size_t __size) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__malloc__)) ; | |
extern void *realloc (void *__ptr, size_t __size) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__)); | |
# 563 "/usr/include/stdlib.h" 3 4 | |
extern void free (void *__ptr) __attribute__ ((__nothrow__ , __leaf__)); | |
# 1 "/usr/include/alloca.h" 1 3 4 | |
# 24 "/usr/include/alloca.h" 3 4 | |
# 1 "/usr/lib/gcc/arm-linux-gnueabihf/8/include/stddef.h" 1 3 4 | |
# 25 "/usr/include/alloca.h" 2 3 4 | |
extern void *alloca (size_t __size) __attribute__ ((__nothrow__ , __leaf__)); | |
# 567 "/usr/include/stdlib.h" 2 3 4 | |
extern void *valloc (size_t __size) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__malloc__)) ; | |
extern int posix_memalign (void **__memptr, size_t __alignment, size_t __size) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) ; | |
extern void *aligned_alloc (size_t __alignment, size_t __size) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__malloc__)) __attribute__ ((__alloc_size__ (2))) ; | |
extern void abort (void) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__noreturn__)); | |
extern int atexit (void (*__func) (void)) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); | |
extern int at_quick_exit (void (*__func) (void)) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); | |
extern int on_exit (void (*__func) (int __status, void *__arg), void *__arg) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); | |
extern void exit (int __status) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__noreturn__)); | |
extern void quick_exit (int __status) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__noreturn__)); | |
extern void _Exit (int __status) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__noreturn__)); | |
extern char *getenv (const char *__name) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) ; | |
# 644 "/usr/include/stdlib.h" 3 4 | |
extern int putenv (char *__string) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); | |
extern int setenv (const char *__name, const char *__value, int __replace) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); | |
extern int unsetenv (const char *__name) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); | |
extern int clearenv (void) __attribute__ ((__nothrow__ , __leaf__)); | |
# 672 "/usr/include/stdlib.h" 3 4 | |
extern char *mktemp (char *__template) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); | |
# 685 "/usr/include/stdlib.h" 3 4 | |
extern int mkstemp (char *__template) __attribute__ ((__nonnull__ (1))) ; | |
# 707 "/usr/include/stdlib.h" 3 4 | |
extern int mkstemps (char *__template, int __suffixlen) __attribute__ ((__nonnull__ (1))) ; | |
# 728 "/usr/include/stdlib.h" 3 4 | |
extern char *mkdtemp (char *__template) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) ; | |
# 781 "/usr/include/stdlib.h" 3 4 | |
extern int system (const char *__command) ; | |
# 797 "/usr/include/stdlib.h" 3 4 | |
extern char *realpath (const char *__restrict __name, | |
char *__restrict __resolved) __attribute__ ((__nothrow__ , __leaf__)) ; | |
typedef int (*__compar_fn_t) (const void *, const void *); | |
# 817 "/usr/include/stdlib.h" 3 4 | |
extern void *bsearch (const void *__key, const void *__base, | |
size_t __nmemb, size_t __size, __compar_fn_t __compar) | |
__attribute__ ((__nonnull__ (1, 2, 5))) ; | |
extern void qsort (void *__base, size_t __nmemb, size_t __size, | |
__compar_fn_t __compar) __attribute__ ((__nonnull__ (1, 4))); | |
# 837 "/usr/include/stdlib.h" 3 4 | |
extern int abs (int __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)) ; | |
extern long int labs (long int __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)) ; | |
__extension__ extern long long int llabs (long long int __x) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)) ; | |
extern div_t div (int __numer, int __denom) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)) ; | |
extern ldiv_t ldiv (long int __numer, long int __denom) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)) ; | |
__extension__ extern lldiv_t lldiv (long long int __numer, | |
long long int __denom) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)) ; | |
# 869 "/usr/include/stdlib.h" 3 4 | |
extern char *ecvt (double __value, int __ndigit, int *__restrict __decpt, | |
int *__restrict __sign) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3, 4))) ; | |
extern char *fcvt (double __value, int __ndigit, int *__restrict __decpt, | |
int *__restrict __sign) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3, 4))) ; | |
extern char *gcvt (double __value, int __ndigit, char *__buf) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3))) ; | |
extern char *qecvt (long double __value, int __ndigit, | |
int *__restrict __decpt, int *__restrict __sign) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3, 4))) ; | |
extern char *qfcvt (long double __value, int __ndigit, | |
int *__restrict __decpt, int *__restrict __sign) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3, 4))) ; | |
extern char *qgcvt (long double __value, int __ndigit, char *__buf) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3))) ; | |
extern int ecvt_r (double __value, int __ndigit, int *__restrict __decpt, | |
int *__restrict __sign, char *__restrict __buf, | |
size_t __len) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3, 4, 5))); | |
extern int fcvt_r (double __value, int __ndigit, int *__restrict __decpt, | |
int *__restrict __sign, char *__restrict __buf, | |
size_t __len) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3, 4, 5))); | |
extern int qecvt_r (long double __value, int __ndigit, | |
int *__restrict __decpt, int *__restrict __sign, | |
char *__restrict __buf, size_t __len) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3, 4, 5))); | |
extern int qfcvt_r (long double __value, int __ndigit, | |
int *__restrict __decpt, int *__restrict __sign, | |
char *__restrict __buf, size_t __len) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3, 4, 5))); | |
extern int mblen (const char *__s, size_t __n) __attribute__ ((__nothrow__ , __leaf__)); | |
extern int mbtowc (wchar_t *__restrict __pwc, | |
const char *__restrict __s, size_t __n) __attribute__ ((__nothrow__ , __leaf__)); | |
extern int wctomb (char *__s, wchar_t __wchar) __attribute__ ((__nothrow__ , __leaf__)); | |
extern size_t mbstowcs (wchar_t *__restrict __pwcs, | |
const char *__restrict __s, size_t __n) __attribute__ ((__nothrow__ , __leaf__)); | |
extern size_t wcstombs (char *__restrict __s, | |
const wchar_t *__restrict __pwcs, size_t __n) | |
__attribute__ ((__nothrow__ , __leaf__)); | |
extern int rpmatch (const char *__response) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) ; | |
# 954 "/usr/include/stdlib.h" 3 4 | |
extern int getsubopt (char **__restrict __optionp, | |
char *const *__restrict __tokens, | |
char **__restrict __valuep) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2, 3))) ; | |
# 1000 "/usr/include/stdlib.h" 3 4 | |
extern int getloadavg (double __loadavg[], int __nelem) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); | |
# 1010 "/usr/include/stdlib.h" 3 4 | |
# 1 "/usr/include/arm-linux-gnueabihf/bits/stdlib-float.h" 1 3 4 | |
# 1011 "/usr/include/stdlib.h" 2 3 4 | |
# 1020 "/usr/include/stdlib.h" 3 4 | |
# 15 "/usr/include/openssl/crypto.h" 2 3 4 | |
# 1 "/usr/include/stdio.h" 1 3 4 | |
# 27 "/usr/include/stdio.h" 3 4 | |
# 1 "/usr/include/arm-linux-gnueabihf/bits/libc-header-start.h" 1 3 4 | |
# 28 "/usr/include/stdio.h" 2 3 4 | |
# 1 "/usr/lib/gcc/arm-linux-gnueabihf/8/include/stddef.h" 1 3 4 | |
# 34 "/usr/include/stdio.h" 2 3 4 | |
# 1 "/usr/include/arm-linux-gnueabihf/bits/types/__fpos_t.h" 1 3 4 | |
# 1 "/usr/include/arm-linux-gnueabihf/bits/types/__mbstate_t.h" 1 3 4 | |
# 13 "/usr/include/arm-linux-gnueabihf/bits/types/__mbstate_t.h" 3 4 | |
typedef struct | |
{ | |
int __count; | |
union | |
{ | |
unsigned int __wch; | |
char __wchb[4]; | |
} __value; | |
} __mbstate_t; | |
# 6 "/usr/include/arm-linux-gnueabihf/bits/types/__fpos_t.h" 2 3 4 | |
typedef struct _G_fpos_t | |
{ | |
__off_t __pos; | |
__mbstate_t __state; | |
} __fpos_t; | |
# 40 "/usr/include/stdio.h" 2 3 4 | |
# 1 "/usr/include/arm-linux-gnueabihf/bits/types/__fpos64_t.h" 1 3 4 | |
# 10 "/usr/include/arm-linux-gnueabihf/bits/types/__fpos64_t.h" 3 4 | |
typedef struct _G_fpos64_t | |
{ | |
__off64_t __pos; | |
__mbstate_t __state; | |
} __fpos64_t; | |
# 41 "/usr/include/stdio.h" 2 3 4 | |
# 1 "/usr/include/arm-linux-gnueabihf/bits/types/__FILE.h" 1 3 4 | |
struct _IO_FILE; | |
typedef struct _IO_FILE __FILE; | |
# 42 "/usr/include/stdio.h" 2 3 4 | |
# 1 "/usr/include/arm-linux-gnueabihf/bits/types/FILE.h" 1 3 4 | |
struct _IO_FILE; | |
typedef struct _IO_FILE FILE; | |
# 43 "/usr/include/stdio.h" 2 3 4 | |
# 1 "/usr/include/arm-linux-gnueabihf/bits/types/struct_FILE.h" 1 3 4 | |
# 35 "/usr/include/arm-linux-gnueabihf/bits/types/struct_FILE.h" 3 4 | |
struct _IO_FILE; | |
struct _IO_marker; | |
struct _IO_codecvt; | |
struct _IO_wide_data; | |
typedef void _IO_lock_t; | |
struct _IO_FILE | |
{ | |
int _flags; | |
char *_IO_read_ptr; | |
char *_IO_read_end; | |
char *_IO_read_base; | |
char *_IO_write_base; | |
char *_IO_write_ptr; | |
char *_IO_write_end; | |
char *_IO_buf_base; | |
char *_IO_buf_end; | |
char *_IO_save_base; | |
char *_IO_backup_base; | |
char *_IO_save_end; | |
struct _IO_marker *_markers; | |
struct _IO_FILE *_chain; | |
int _fileno; | |
int _flags2; | |
__off_t _old_offset; | |
unsigned short _cur_column; | |
signed char _vtable_offset; | |
char _shortbuf[1]; | |
_IO_lock_t *_lock; | |
__off64_t _offset; | |
struct _IO_codecvt *_codecvt; | |
struct _IO_wide_data *_wide_data; | |
struct _IO_FILE *_freeres_list; | |
void *_freeres_buf; | |
size_t __pad5; | |
int _mode; | |
char _unused2[15 * sizeof (int) - 4 * sizeof (void *) - sizeof (size_t)]; | |
}; | |
# 44 "/usr/include/stdio.h" 2 3 4 | |
# 84 "/usr/include/stdio.h" 3 4 | |
typedef __fpos_t fpos_t; | |
# 133 "/usr/include/stdio.h" 3 4 | |
# 1 "/usr/include/arm-linux-gnueabihf/bits/stdio_lim.h" 1 3 4 | |
# 134 "/usr/include/stdio.h" 2 3 4 | |
extern FILE *stdin; | |
extern FILE *stdout; | |
extern FILE *stderr; | |
extern int remove (const char *__filename) __attribute__ ((__nothrow__ , __leaf__)); | |
extern int rename (const char *__old, const char *__new) __attribute__ ((__nothrow__ , __leaf__)); | |
extern int renameat (int __oldfd, const char *__old, int __newfd, | |
const char *__new) __attribute__ ((__nothrow__ , __leaf__)); | |
# 173 "/usr/include/stdio.h" 3 4 | |
extern FILE *tmpfile (void) ; | |
# 187 "/usr/include/stdio.h" 3 4 | |
extern char *tmpnam (char *__s) __attribute__ ((__nothrow__ , __leaf__)) ; | |
extern char *tmpnam_r (char *__s) __attribute__ ((__nothrow__ , __leaf__)) ; | |
# 204 "/usr/include/stdio.h" 3 4 | |
extern char *tempnam (const char *__dir, const char *__pfx) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__malloc__)) ; | |
extern int fclose (FILE *__stream); | |
extern int fflush (FILE *__stream); | |
# 227 "/usr/include/stdio.h" 3 4 | |
extern int fflush_unlocked (FILE *__stream); | |
# 246 "/usr/include/stdio.h" 3 4 | |
extern FILE *fopen (const char *__restrict __filename, | |
const char *__restrict __modes) ; | |
extern FILE *freopen (const char *__restrict __filename, | |
const char *__restrict __modes, | |
FILE *__restrict __stream) ; | |
# 279 "/usr/include/stdio.h" 3 4 | |
extern FILE *fdopen (int __fd, const char *__modes) __attribute__ ((__nothrow__ , __leaf__)) ; | |
# 292 "/usr/include/stdio.h" 3 4 | |
extern FILE *fmemopen (void *__s, size_t __len, const char *__modes) | |
__attribute__ ((__nothrow__ , __leaf__)) ; | |
extern FILE *open_memstream (char **__bufloc, size_t *__sizeloc) __attribute__ ((__nothrow__ , __leaf__)) ; | |
extern void setbuf (FILE *__restrict __stream, char *__restrict __buf) __attribute__ ((__nothrow__ , __leaf__)); | |
extern int setvbuf (FILE *__restrict __stream, char *__restrict __buf, | |
int __modes, size_t __n) __attribute__ ((__nothrow__ , __leaf__)); | |
extern void setbuffer (FILE *__restrict __stream, char *__restrict __buf, | |
size_t __size) __attribute__ ((__nothrow__ , __leaf__)); | |
extern void setlinebuf (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)); | |
extern int fprintf (FILE *__restrict __stream, | |
const char *__restrict __format, ...); | |
extern int printf (const char *__restrict __format, ...); | |
extern int sprintf (char *__restrict __s, | |
const char *__restrict __format, ...) __attribute__ ((__nothrow__)); | |
extern int vfprintf (FILE *__restrict __s, const char *__restrict __format, | |
__gnuc_va_list __arg); | |
extern int vprintf (const char *__restrict __format, __gnuc_va_list __arg); | |
extern int vsprintf (char *__restrict __s, const char *__restrict __format, | |
__gnuc_va_list __arg) __attribute__ ((__nothrow__)); | |
extern int snprintf (char *__restrict __s, size_t __maxlen, | |
const char *__restrict __format, ...) | |
__attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 3, 4))); | |
extern int vsnprintf (char *__restrict __s, size_t __maxlen, | |
const char *__restrict __format, __gnuc_va_list __arg) | |
__attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 3, 0))); | |
# 379 "/usr/include/stdio.h" 3 4 | |
extern int vdprintf (int __fd, const char *__restrict __fmt, | |
__gnuc_va_list __arg) | |
__attribute__ ((__format__ (__printf__, 2, 0))); | |
extern int dprintf (int __fd, const char *__restrict __fmt, ...) | |
__attribute__ ((__format__ (__printf__, 2, 3))); | |
extern int fscanf (FILE *__restrict __stream, | |
const char *__restrict __format, ...) ; | |
extern int scanf (const char *__restrict __format, ...) ; | |
extern int sscanf (const char *__restrict __s, | |
const char *__restrict __format, ...) __attribute__ ((__nothrow__ , __leaf__)); | |
# 409 "/usr/include/stdio.h" 3 4 | |
extern int fscanf (FILE *__restrict __stream, const char *__restrict __format, ...) __asm__ ("" "__isoc99_fscanf") | |
; | |
extern int scanf (const char *__restrict __format, ...) __asm__ ("" "__isoc99_scanf") | |
; | |
extern int sscanf (const char *__restrict __s, const char *__restrict __format, ...) __asm__ ("" "__isoc99_sscanf") __attribute__ ((__nothrow__ , __leaf__)) | |
; | |
# 434 "/usr/include/stdio.h" 3 4 | |
extern int vfscanf (FILE *__restrict __s, const char *__restrict __format, | |
__gnuc_va_list __arg) | |
__attribute__ ((__format__ (__scanf__, 2, 0))) ; | |
extern int vscanf (const char *__restrict __format, __gnuc_va_list __arg) | |
__attribute__ ((__format__ (__scanf__, 1, 0))) ; | |
extern int vsscanf (const char *__restrict __s, | |
const char *__restrict __format, __gnuc_va_list __arg) | |
__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__format__ (__scanf__, 2, 0))); | |
# 457 "/usr/include/stdio.h" 3 4 | |
extern int vfscanf (FILE *__restrict __s, const char *__restrict __format, __gnuc_va_list __arg) __asm__ ("" "__isoc99_vfscanf") | |
__attribute__ ((__format__ (__scanf__, 2, 0))) ; | |
extern int vscanf (const char *__restrict __format, __gnuc_va_list __arg) __asm__ ("" "__isoc99_vscanf") | |
__attribute__ ((__format__ (__scanf__, 1, 0))) ; | |
extern int vsscanf (const char *__restrict __s, const char *__restrict __format, __gnuc_va_list __arg) __asm__ ("" "__isoc99_vsscanf") __attribute__ ((__nothrow__ , __leaf__)) | |
__attribute__ ((__format__ (__scanf__, 2, 0))); | |
# 491 "/usr/include/stdio.h" 3 4 | |
extern int fgetc (FILE *__stream); | |
extern int getc (FILE *__stream); | |
extern int getchar (void); | |
extern int getc_unlocked (FILE *__stream); | |
extern int getchar_unlocked (void); | |
# 516 "/usr/include/stdio.h" 3 4 | |
extern int fgetc_unlocked (FILE *__stream); | |
# 527 "/usr/include/stdio.h" 3 4 | |
extern int fputc (int __c, FILE *__stream); | |
extern int putc (int __c, FILE *__stream); | |
extern int putchar (int __c); | |
# 543 "/usr/include/stdio.h" 3 4 | |
extern int fputc_unlocked (int __c, FILE *__stream); | |
extern int putc_unlocked (int __c, FILE *__stream); | |
extern int putchar_unlocked (int __c); | |
extern int getw (FILE *__stream); | |
extern int putw (int __w, FILE *__stream); | |
extern char *fgets (char *__restrict __s, int __n, FILE *__restrict __stream) | |
; | |
# 609 "/usr/include/stdio.h" 3 4 | |
extern __ssize_t __getdelim (char **__restrict __lineptr, | |
size_t *__restrict __n, int __delimiter, | |
FILE *__restrict __stream) ; | |
extern __ssize_t getdelim (char **__restrict __lineptr, | |
size_t *__restrict __n, int __delimiter, | |
FILE *__restrict __stream) ; | |
extern __ssize_t getline (char **__restrict __lineptr, | |
size_t *__restrict __n, | |
FILE *__restrict __stream) ; | |
extern int fputs (const char *__restrict __s, FILE *__restrict __stream); | |
extern int puts (const char *__s); | |
extern int ungetc (int __c, FILE *__stream); | |
extern size_t fread (void *__restrict __ptr, size_t __size, | |
size_t __n, FILE *__restrict __stream) ; | |
extern size_t fwrite (const void *__restrict __ptr, size_t __size, | |
size_t __n, FILE *__restrict __s); | |
# 679 "/usr/include/stdio.h" 3 4 | |
extern size_t fread_unlocked (void *__restrict __ptr, size_t __size, | |
size_t __n, FILE *__restrict __stream) ; | |
extern size_t fwrite_unlocked (const void *__restrict __ptr, size_t __size, | |
size_t __n, FILE *__restrict __stream); | |
extern int fseek (FILE *__stream, long int __off, int __whence); | |
extern long int ftell (FILE *__stream) ; | |
extern void rewind (FILE *__stream); | |
# 713 "/usr/include/stdio.h" 3 4 | |
extern int fseeko (FILE *__stream, __off_t __off, int __whence); | |
extern __off_t ftello (FILE *__stream) ; | |
# 737 "/usr/include/stdio.h" 3 4 | |
extern int fgetpos (FILE *__restrict __stream, fpos_t *__restrict __pos); | |
extern int fsetpos (FILE *__stream, const fpos_t *__pos); | |
# 763 "/usr/include/stdio.h" 3 4 | |
extern void clearerr (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)); | |
extern int feof (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)) ; | |
extern int ferror (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)) ; | |
extern void clearerr_unlocked (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)); | |
extern int feof_unlocked (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)) ; | |
extern int ferror_unlocked (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)) ; | |
extern void perror (const char *__s); | |
# 1 "/usr/include/arm-linux-gnueabihf/bits/sys_errlist.h" 1 3 4 | |
# 26 "/usr/include/arm-linux-gnueabihf/bits/sys_errlist.h" 3 4 | |
extern int sys_nerr; | |
extern const char *const sys_errlist[]; | |
# 788 "/usr/include/stdio.h" 2 3 4 | |
extern int fileno (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)) ; | |
extern int fileno_unlocked (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)) ; | |
# 806 "/usr/include/stdio.h" 3 4 | |
extern FILE *popen (const char *__command, const char *__modes) ; | |
extern int pclose (FILE *__stream); | |
extern char *ctermid (char *__s) __attribute__ ((__nothrow__ , __leaf__)); | |
# 846 "/usr/include/stdio.h" 3 4 | |
extern void flockfile (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)); | |
extern int ftrylockfile (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)) ; | |
extern void funlockfile (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)); | |
# 864 "/usr/include/stdio.h" 3 4 | |
extern int __uflow (FILE *); | |
extern int __overflow (FILE *, int); | |
# 879 "/usr/include/stdio.h" 3 4 | |
# 21 "/usr/include/openssl/crypto.h" 2 3 4 | |
# 1 "/usr/include/openssl/safestack.h" 1 3 4 | |
# 13 "/usr/include/openssl/safestack.h" 3 4 | |
# 1 "/usr/include/openssl/stack.h" 1 3 4 | |
# 17 "/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_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); | |
# 14 "/usr/include/openssl/safestack.h" 2 3 4 | |
# 149 "/usr/include/openssl/safestack.h" 3 4 | |
typedef char *OPENSSL_STRING; | |
typedef const char *OPENSSL_CSTRING; | |
# 159 "/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 int sk_OPENSSL_STRING_num(const struct stack_st_OPENSSL_STRING *sk) { return OPENSSL_sk_num((const OPENSSL_STACK *)sk); } static __attribute__((unused)) inline char *sk_OPENSSL_STRING_value(const struct stack_st_OPENSSL_STRING *sk, int idx) { return (char *)OPENSSL_sk_value((const OPENSSL_STACK *)sk, idx); } static __attribute__((unused)) inline struct stack_st_OPENSSL_STRING *sk_OPENSSL_STRING_new(sk_OPENSSL_STRING_compfunc compare) { return (struct stack_st_OPENSSL_STRING *)OPENSSL_sk_new((OPENSSL_sk_compfunc)compare); } static __attribute__((unused)) inline struct stack_st_OPENSSL_STRING *sk_OPENSSL_STRING_new_null(void) { return (struct stack_st_OPENSSL_STRING *)OPENSSL_sk_new_null(); } static __attribute__((unused)) inline struct stack_st_OPENSSL_STRING *sk_OPENSSL_STRING_new_reserve(sk_OPENSSL_STRING_compfunc compare, int n) { return (struct stack_st_OPENSSL_STRING *)OPENSSL_sk_new_reserve((OPENSSL_sk_compfunc)compare, n); } static __attribute__((unused)) inline int sk_OPENSSL_STRING_reserve(struct stack_st_OPENSSL_STRING *sk, int n) { return OPENSSL_sk_reserve((OPENSSL_STACK *)sk, n); } static __attribute__((unused)) inline void sk_OPENSSL_STRING_free(struct stack_st_OPENSSL_STRING *sk) { OPENSSL_sk_free((OPENSSL_STACK *)sk); } static __attribute__((unused)) inline void sk_OPENSSL_STRING_zero(struct stack_st_OPENSSL_STRING *sk) { OPENSSL_sk_zero((OPENSSL_STACK *)sk); } static __attribute__((unused)) inline char *sk_OPENSSL_STRING_delete(struct stack_st_OPENSSL_STRING *sk, int i) { return (char *)OPENSSL_sk_delete((OPENSSL_STACK *)sk, i); } static __attribute__((unused)) inline char *sk_OPENSSL_STRING_delete_ptr(struct stack_st_OPENSSL_STRING *sk, char *ptr) { return (char *)OPENSSL_sk_delete_ptr((OPENSSL_STACK *)sk, (const void *)ptr); } static __attribute__((unused)) inline int sk_OPENSSL_STRING_push(struct stack_st_OPENSSL_STRING *sk, char *ptr) { return OPENSSL_sk_push((OPENSSL_STACK *)sk, (const void *)ptr); } static __attribute__((unused)) inline int sk_OPENSSL_STRING_unshift(struct stack_st_OPENSSL_STRING *sk, char *ptr) { return OPENSSL_sk_unshift((OPENSSL_STACK *)sk, (const void *)ptr); } static __attribute__((unused)) inline char *sk_OPENSSL_STRING_pop(struct stack_st_OPENSSL_STRING *sk) { return (char *)OPENSSL_sk_pop((OPENSSL_STACK *)sk); } static __attribute__((unused)) inline char *sk_OPENSSL_STRING_shift(struct stack_st_OPENSSL_STRING *sk) { return (char *)OPENSSL_sk_shift((OPENSSL_STACK *)sk); } static __attribute__((unused)) inline void sk_OPENSSL_STRING_pop_free(struct stack_st_OPENSSL_STRING *sk, sk_OPENSSL_STRING_freefunc freefunc) { OPENSSL_sk_pop_free((OPENSSL_STACK *)sk, (OPENSSL_sk_freefunc)freefunc); } static __attribute__((unused)) inline int sk_OPENSSL_STRING_insert(struct stack_st_OPENSSL_STRING *sk, char *ptr, int idx) { return OPENSSL_sk_insert((OPENSSL_STACK *)sk, (const void *)ptr, idx); } static __attribute__((unused)) inline char *sk_OPENSSL_STRING_set(struct stack_st_OPENSSL_STRING *sk, int idx, char *ptr) { return (char *)OPENSSL_sk_set((OPENSSL_STACK *)sk, idx, (const void *)ptr); } static __attribute__((unused)) inline int sk_OPENSSL_STRING_find(struct stack_st_OPENSSL_STRING *sk, char *ptr) { return OPENSSL_sk_find((OPENSSL_STACK *)sk, (const void *)ptr); } static __attribute__((unused)) inline int sk_OPENSSL_STRING_find_ex(struct stack_st_OPENSSL_STRING *sk, char *ptr) { return OPENSSL_sk_find_ex((OPENSSL_STACK *)sk, (const void *)ptr); } static __attribute__((unused)) inline void sk_OPENSSL_STRING_sort(struct stack_st_OPENSSL_STRING *sk) { OPENSSL_sk_sort((OPENSSL_STACK *)sk); } static __attribute__((unused)) inline int sk_OPENSSL_STRING_is_sorted(const struct stack_st_OPENSSL_STRING *sk) { return OPENSSL_sk_is_sorted((const OPENSSL_STACK *)sk); } static __attribute__((unused)) inline struct stack_st_OPENSSL_STRING * sk_OPENSSL_STRING_dup(const struct stack_st_OPENSSL_STRING *sk) { return (struct stack_st_OPENSSL_STRING *)OPENSSL_sk_dup((const OPENSSL_STACK *)sk); } static __attribute__((unused)) inline struct stack_st_OPENSSL_STRING *sk_OPENSSL_STRING_deep_copy(const struct stack_st_OPENSSL_STRING *sk, sk_OPENSSL_STRING_copyfunc copyfunc, sk_OPENSSL_STRING_freefunc freefunc) { return (struct stack_st_OPENSSL_STRING *)OPENSSL_sk_deep_copy((const OPENSSL_STACK *)sk, (OPENSSL_sk_copyfunc)copyfunc, (OPENSSL_sk_freefunc)freefunc); } static __attribute__((unused)) inline sk_OPENSSL_STRING_compfunc sk_OPENSSL_STRING_set_cmp_func(struct stack_st_OPENSSL_STRING *sk, sk_OPENSSL_STRING_compfunc compare) { return (sk_OPENSSL_STRING_compfunc)OPENSSL_sk_set_cmp_func((OPENSSL_STACK *)sk, (OPENSSL_sk_compfunc)compare); } | |
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 int sk_OPENSSL_CSTRING_num(const struct stack_st_OPENSSL_CSTRING *sk) { return OPENSSL_sk_num((const OPENSSL_STACK *)sk); } static __attribute__((unused)) inline const char *sk_OPENSSL_CSTRING_value(const struct stack_st_OPENSSL_CSTRING *sk, int idx) { return (const char *)OPENSSL_sk_value((const OPENSSL_STACK *)sk, idx); } static __attribute__((unused)) inline struct stack_st_OPENSSL_CSTRING *sk_OPENSSL_CSTRING_new(sk_OPENSSL_CSTRING_compfunc compare) { return (struct stack_st_OPENSSL_CSTRING *)OPENSSL_sk_new((OPENSSL_sk_compfunc)compare); } static __attribute__((unused)) inline struct stack_st_OPENSSL_CSTRING *sk_OPENSSL_CSTRING_new_null(void) { return (struct stack_st_OPENSSL_CSTRING *)OPENSSL_sk_new_null(); } static __attribute__((unused)) inline struct stack_st_OPENSSL_CSTRING *sk_OPENSSL_CSTRING_new_reserve(sk_OPENSSL_CSTRING_compfunc compare, int n) { return (struct stack_st_OPENSSL_CSTRING *)OPENSSL_sk_new_reserve((OPENSSL_sk_compfunc)compare, n); } static __attribute__((unused)) inline int sk_OPENSSL_CSTRING_reserve(struct stack_st_OPENSSL_CSTRING *sk, int n) { return OPENSSL_sk_reserve((OPENSSL_STACK *)sk, n); } static __attribute__((unused)) inline void sk_OPENSSL_CSTRING_free(struct stack_st_OPENSSL_CSTRING *sk) { OPENSSL_sk_free((OPENSSL_STACK *)sk); } static __attribute__((unused)) inline void sk_OPENSSL_CSTRING_zero(struct stack_st_OPENSSL_CSTRING *sk) { OPENSSL_sk_zero((OPENSSL_STACK *)sk); } static __attribute__((unused)) inline const char *sk_OPENSSL_CSTRING_delete(struct stack_st_OPENSSL_CSTRING *sk, int i) { return (const char *)OPENSSL_sk_delete((OPENSSL_STACK *)sk, i); } static __attribute__((unused)) inline const char *sk_OPENSSL_CSTRING_delete_ptr(struct stack_st_OPENSSL_CSTRING *sk, const char *ptr) { return (const char *)OPENSSL_sk_delete_ptr((OPENSSL_STACK *)sk, (const void *)ptr); } static __attribute__((unused)) inline int sk_OPENSSL_CSTRING_push(struct stack_st_OPENSSL_CSTRING *sk, const char *ptr) { return OPENSSL_sk_push((OPENSSL_STACK *)sk, (const void *)ptr); } static __attribute__((unused)) inline int sk_OPENSSL_CSTRING_unshift(struct stack_st_OPENSSL_CSTRING *sk, const char *ptr) { return OPENSSL_sk_unshift((OPENSSL_STACK *)sk, (const void *)ptr); } static __attribute__((unused)) inline const char *sk_OPENSSL_CSTRING_pop(struct stack_st_OPENSSL_CSTRING *sk) { return (const char *)OPENSSL_sk_pop((OPENSSL_STACK *)sk); } static __attribute__((unused)) inline const char *sk_OPENSSL_CSTRING_shift(struct stack_st_OPENSSL_CSTRING *sk) { return (const char *)OPENSSL_sk_shift((OPENSSL_STACK *)sk); } static __attribute__((unused)) inline void sk_OPENSSL_CSTRING_pop_free(struct stack_st_OPENSSL_CSTRING *sk, sk_OPENSSL_CSTRING_freefunc freefunc) { OPENSSL_sk_pop_free((OPENSSL_STACK *)sk, (OPENSSL_sk_freefunc)freefunc); } static __attribute__((unused)) inline int sk_OPENSSL_CSTRING_insert(struct stack_st_OPENSSL_CSTRING *sk, const char *ptr, int idx) { return OPENSSL_sk_insert((OPENSSL_STACK *)sk, (const void *)ptr, idx); } static __attribute__((unused)) inline const char *sk_OPENSSL_CSTRING_set(struct stack_st_OPENSSL_CSTRING *sk, int idx, const char *ptr) { return (const char *)OPENSSL_sk_set((OPENSSL_STACK *)sk, idx, (const void *)ptr); } static __attribute__((unused)) inline int sk_OPENSSL_CSTRING_find(struct stack_st_OPENSSL_CSTRING *sk, const char *ptr) { return OPENSSL_sk_find((OPENSSL_STACK *)sk, (const void *)ptr); } static __attribute__((unused)) inline int sk_OPENSSL_CSTRING_find_ex(struct stack_st_OPENSSL_CSTRING *sk, const char *ptr) { return OPENSSL_sk_find_ex((OPENSSL_STACK *)sk, (const void *)ptr); } static __attribute__((unused)) inline void sk_OPENSSL_CSTRING_sort(struct stack_st_OPENSSL_CSTRING *sk) { OPENSSL_sk_sort((OPENSSL_STACK *)sk); } static __attribute__((unused)) inline int sk_OPENSSL_CSTRING_is_sorted(const struct stack_st_OPENSSL_CSTRING *sk) { return OPENSSL_sk_is_sorted((const OPENSSL_STACK *)sk); } static __attribute__((unused)) inline struct stack_st_OPENSSL_CSTRING * sk_OPENSSL_CSTRING_dup(const struct stack_st_OPENSSL_CSTRING *sk) { return (struct stack_st_OPENSSL_CSTRING *)OPENSSL_sk_dup((const OPENSSL_STACK *)sk); } static __attribute__((unused)) inline struct stack_st_OPENSSL_CSTRING *sk_OPENSSL_CSTRING_deep_copy(const struct stack_st_OPENSSL_CSTRING *sk, sk_OPENSSL_CSTRING_copyfunc copyfunc, sk_OPENSSL_CSTRING_freefunc freefunc) { return (struct stack_st_OPENSSL_CSTRING *)OPENSSL_sk_deep_copy((const OPENSSL_STACK *)sk, (OPENSSL_sk_copyfunc)copyfunc, (OPENSSL_sk_freefunc)freefunc); } static __attribute__((unused)) inline sk_OPENSSL_CSTRING_compfunc sk_OPENSSL_CSTRING_set_cmp_func(struct stack_st_OPENSSL_CSTRING *sk, sk_OPENSSL_CSTRING_compfunc compare) { return (sk_OPENSSL_CSTRING_compfunc)OPENSSL_sk_set_cmp_func((OPENSSL_STACK *)sk, (OPENSSL_sk_compfunc)compare); } | |
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 int sk_OPENSSL_BLOCK_num(const struct stack_st_OPENSSL_BLOCK *sk) { return OPENSSL_sk_num((const OPENSSL_STACK *)sk); } static __attribute__((unused)) inline void *sk_OPENSSL_BLOCK_value(const struct stack_st_OPENSSL_BLOCK *sk, int idx) { return (void *)OPENSSL_sk_value((const OPENSSL_STACK *)sk, idx); } static __attribute__((unused)) inline struct stack_st_OPENSSL_BLOCK *sk_OPENSSL_BLOCK_new(sk_OPENSSL_BLOCK_compfunc compare) { return (struct stack_st_OPENSSL_BLOCK *)OPENSSL_sk_new((OPENSSL_sk_compfunc)compare); } static __attribute__((unused)) inline struct stack_st_OPENSSL_BLOCK *sk_OPENSSL_BLOCK_new_null(void) { return (struct stack_st_OPENSSL_BLOCK *)OPENSSL_sk_new_null(); } static __attribute__((unused)) inline struct stack_st_OPENSSL_BLOCK *sk_OPENSSL_BLOCK_new_reserve(sk_OPENSSL_BLOCK_compfunc compare, int n) { return (struct stack_st_OPENSSL_BLOCK *)OPENSSL_sk_new_reserve((OPENSSL_sk_compfunc)compare, n); } static __attribute__((unused)) inline int sk_OPENSSL_BLOCK_reserve(struct stack_st_OPENSSL_BLOCK *sk, int n) { return OPENSSL_sk_reserve((OPENSSL_STACK *)sk, n); } static __attribute__((unused)) inline void sk_OPENSSL_BLOCK_free(struct stack_st_OPENSSL_BLOCK *sk) { OPENSSL_sk_free((OPENSSL_STACK *)sk); } static __attribute__((unused)) inline void sk_OPENSSL_BLOCK_zero(struct stack_st_OPENSSL_BLOCK *sk) { OPENSSL_sk_zero((OPENSSL_STACK *)sk); } static __attribute__((unused)) inline void *sk_OPENSSL_BLOCK_delete(struct stack_st_OPENSSL_BLOCK *sk, int i) { return (void *)OPENSSL_sk_delete((OPENSSL_STACK *)sk, i); } static __attribute__((unused)) inline void *sk_OPENSSL_BLOCK_delete_ptr(struct stack_st_OPENSSL_BLOCK *sk, void *ptr) { return (void *)OPENSSL_sk_delete_ptr((OPENSSL_STACK *)sk, (const void *)ptr); } static __attribute__((unused)) inline int sk_OPENSSL_BLOCK_push(struct stack_st_OPENSSL_BLOCK *sk, void *ptr) { return OPENSSL_sk_push((OPENSSL_STACK *)sk, (const void *)ptr); } static __attribute__((unused)) inline int sk_OPENSSL_BLOCK_unshift(struct stack_st_OPENSSL_BLOCK *sk, void *ptr) { return OPENSSL_sk_unshift((OPENSSL_STACK *)sk, (const void *)ptr); } static __attribute__((unused)) inline void *sk_OPENSSL_BLOCK_pop(struct stack_st_OPENSSL_BLOCK *sk) { return (void *)OPENSSL_sk_pop((OPENSSL_STACK *)sk); } static __attribute__((unused)) inline void *sk_OPENSSL_BLOCK_shift(struct stack_st_OPENSSL_BLOCK *sk) { return (void *)OPENSSL_sk_shift((OPENSSL_STACK *)sk); } static __attribute__((unused)) inline void sk_OPENSSL_BLOCK_pop_free(struct stack_st_OPENSSL_BLOCK *sk, sk_OPENSSL_BLOCK_freefunc freefunc) { OPENSSL_sk_pop_free((OPENSSL_STACK *)sk, (OPENSSL_sk_freefunc)freefunc); } static __attribute__((unused)) inline int sk_OPENSSL_BLOCK_insert(struct stack_st_OPENSSL_BLOCK *sk, void *ptr, int idx) { return OPENSSL_sk_insert((OPENSSL_STACK *)sk, (const void *)ptr, idx); } static __attribute__((unused)) inline void *sk_OPENSSL_BLOCK_set(struct stack_st_OPENSSL_BLOCK *sk, int idx, void *ptr) { return (void *)OPENSSL_sk_set((OPENSSL_STACK *)sk, idx, (const void *)ptr); } static __attribute__((unused)) inline int sk_OPENSSL_BLOCK_find(struct stack_st_OPENSSL_BLOCK *sk, void *ptr) { return OPENSSL_sk_find((OPENSSL_STACK *)sk, (const void *)ptr); } static __attribute__((unused)) inline int sk_OPENSSL_BLOCK_find_ex(struct stack_st_OPENSSL_BLOCK *sk, void *ptr) { return OPENSSL_sk_find_ex((OPENSSL_STACK *)sk, (const void *)ptr); } static __attribute__((unused)) inline void sk_OPENSSL_BLOCK_sort(struct stack_st_OPENSSL_BLOCK *sk) { OPENSSL_sk_sort((OPENSSL_STACK *)sk); } static __attribute__((unused)) inline int sk_OPENSSL_BLOCK_is_sorted(const struct stack_st_OPENSSL_BLOCK *sk) { return OPENSSL_sk_is_sorted((const OPENSSL_STACK *)sk); } static __attribute__((unused)) inline struct stack_st_OPENSSL_BLOCK * sk_OPENSSL_BLOCK_dup(const struct stack_st_OPENSSL_BLOCK *sk) { return (struct stack_st_OPENSSL_BLOCK *)OPENSSL_sk_dup((const OPENSSL_STACK *)sk); } static __attribute__((unused)) inline struct stack_st_OPENSSL_BLOCK *sk_OPENSSL_BLOCK_deep_copy(const struct stack_st_OPENSSL_BLOCK *sk, sk_OPENSSL_BLOCK_copyfunc copyfunc, sk_OPENSSL_BLOCK_freefunc freefunc) { return (struct stack_st_OPENSSL_BLOCK *)OPENSSL_sk_deep_copy((const OPENSSL_STACK *)sk, (OPENSSL_sk_copyfunc)copyfunc, (OPENSSL_sk_freefunc)freefunc); } static __attribute__((unused)) inline sk_OPENSSL_BLOCK_compfunc sk_OPENSSL_BLOCK_set_cmp_func(struct stack_st_OPENSSL_BLOCK *sk, sk_OPENSSL_BLOCK_compfunc compare) { return (sk_OPENSSL_BLOCK_compfunc)OPENSSL_sk_set_cmp_func((OPENSSL_STACK *)sk, (OPENSSL_sk_compfunc)compare); } | |
# 24 "/usr/include/openssl/crypto.h" 2 3 4 | |
# 1 "/usr/include/openssl/ossl_typ.h" 1 3 4 | |
# 13 "/usr/include/openssl/ossl_typ.h" 3 4 | |
# 1 "/usr/lib/gcc/arm-linux-gnueabihf/8/include-fixed/limits.h" 1 3 4 | |
# 14 "/usr/include/openssl/ossl_typ.h" 2 3 4 | |
# 40 "/usr/include/openssl/ossl_typ.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_object_st ASN1_OBJECT; | |
typedef struct ASN1_ITEM_st ASN1_ITEM; | |
typedef struct asn1_pctx_st ASN1_PCTX; | |
typedef struct asn1_sctx_st ASN1_SCTX; | |
# 78 "/usr/include/openssl/ossl_typ.h" 3 4 | |
struct dane_st; | |
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; | |
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_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_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 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 ocsp_req_ctx_st OCSP_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 intmax_t ossl_intmax_t; | |
typedef uintmax_t ossl_uintmax_t; | |
# 26 "/usr/include/openssl/crypto.h" 2 3 4 | |
# 1 "/usr/include/arm-linux-gnueabihf/openssl/opensslconf.h" 1 3 4 | |
# 27 "/usr/include/openssl/crypto.h" 2 3 4 | |
# 1 "/usr/include/openssl/cryptoerr.h" 1 3 4 | |
# 15 "/usr/include/openssl/cryptoerr.h" 3 4 | |
# 1 "/usr/include/openssl/symhacks.h" 1 3 4 | |
# 16 "/usr/include/openssl/cryptoerr.h" 2 3 4 | |
int ERR_load_CRYPTO_strings(void); | |
# 28 "/usr/include/openssl/crypto.h" 2 3 4 | |
# 61 "/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); | |
# 86 "/usr/include/openssl/crypto.h" 3 4 | |
struct crypto_ex_data_st { | |
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 int sk_void_num(const struct stack_st_void *sk) { return OPENSSL_sk_num((const OPENSSL_STACK *)sk); } static __attribute__((unused)) inline void *sk_void_value(const struct stack_st_void *sk, int idx) { return (void *)OPENSSL_sk_value((const OPENSSL_STACK *)sk, idx); } static __attribute__((unused)) inline struct stack_st_void *sk_void_new(sk_void_compfunc compare) { return (struct stack_st_void *)OPENSSL_sk_new((OPENSSL_sk_compfunc)compare); } static __attribute__((unused)) inline struct stack_st_void *sk_void_new_null(void) { return (struct stack_st_void *)OPENSSL_sk_new_null(); } static __attribute__((unused)) inline struct stack_st_void *sk_void_new_reserve(sk_void_compfunc compare, int n) { return (struct stack_st_void *)OPENSSL_sk_new_reserve((OPENSSL_sk_compfunc)compare, n); } static __attribute__((unused)) inline int sk_void_reserve(struct stack_st_void *sk, int n) { return OPENSSL_sk_reserve((OPENSSL_STACK *)sk, n); } static __attribute__((unused)) inline void sk_void_free(struct stack_st_void *sk) { OPENSSL_sk_free((OPENSSL_STACK *)sk); } static __attribute__((unused)) inline void sk_void_zero(struct stack_st_void *sk) { OPENSSL_sk_zero((OPENSSL_STACK *)sk); } static __attribute__((unused)) inline void *sk_void_delete(struct stack_st_void *sk, int i) { return (void *)OPENSSL_sk_delete((OPENSSL_STACK *)sk, i); } static __attribute__((unused)) inline void *sk_void_delete_ptr(struct stack_st_void *sk, void *ptr) { return (void *)OPENSSL_sk_delete_ptr((OPENSSL_STACK *)sk, (const void *)ptr); } static __attribute__((unused)) inline int sk_void_push(struct stack_st_void *sk, void *ptr) { return OPENSSL_sk_push((OPENSSL_STACK *)sk, (const void *)ptr); } static __attribute__((unused)) inline int sk_void_unshift(struct stack_st_void *sk, void *ptr) { return OPENSSL_sk_unshift((OPENSSL_STACK *)sk, (const void *)ptr); } static __attribute__((unused)) inline void *sk_void_pop(struct stack_st_void *sk) { return (void *)OPENSSL_sk_pop((OPENSSL_STACK *)sk); } static __attribute__((unused)) inline void *sk_void_shift(struct stack_st_void *sk) { return (void *)OPENSSL_sk_shift((OPENSSL_STACK *)sk); } static __attribute__((unused)) inline void sk_void_pop_free(struct stack_st_void *sk, sk_void_freefunc freefunc) { OPENSSL_sk_pop_free((OPENSSL_STACK *)sk, (OPENSSL_sk_freefunc)freefunc); } static __attribute__((unused)) inline int sk_void_insert(struct stack_st_void *sk, void *ptr, int idx) { return OPENSSL_sk_insert((OPENSSL_STACK *)sk, (const void *)ptr, idx); } static __attribute__((unused)) inline void *sk_void_set(struct stack_st_void *sk, int idx, void *ptr) { return (void *)OPENSSL_sk_set((OPENSSL_STACK *)sk, idx, (const void *)ptr); } static __attribute__((unused)) inline int sk_void_find(struct stack_st_void *sk, void *ptr) { return OPENSSL_sk_find((OPENSSL_STACK *)sk, (const void *)ptr); } static __attribute__((unused)) inline int sk_void_find_ex(struct stack_st_void *sk, void *ptr) { return OPENSSL_sk_find_ex((OPENSSL_STACK *)sk, (const void *)ptr); } static __attribute__((unused)) inline void sk_void_sort(struct stack_st_void *sk) { OPENSSL_sk_sort((OPENSSL_STACK *)sk); } static __attribute__((unused)) inline int sk_void_is_sorted(const struct stack_st_void *sk) { return OPENSSL_sk_is_sorted((const OPENSSL_STACK *)sk); } static __attribute__((unused)) inline struct stack_st_void * sk_void_dup(const struct stack_st_void *sk) { return (struct stack_st_void *)OPENSSL_sk_dup((const OPENSSL_STACK *)sk); } static __attribute__((unused)) inline struct stack_st_void *sk_void_deep_copy(const struct stack_st_void *sk, sk_void_copyfunc copyfunc, sk_void_freefunc freefunc) { return (struct stack_st_void *)OPENSSL_sk_deep_copy((const OPENSSL_STACK *)sk, (OPENSSL_sk_copyfunc)copyfunc, (OPENSSL_sk_freefunc)freefunc); } static __attribute__((unused)) inline sk_void_compfunc sk_void_set_cmp_func(struct stack_st_void *sk, sk_void_compfunc compare) { return (sk_void_compfunc)OPENSSL_sk_set_cmp_func((OPENSSL_STACK *)sk, (OPENSSL_sk_compfunc)compare); } | |
# 115 "/usr/include/openssl/crypto.h" 3 4 | |
int CRYPTO_mem_ctrl(int mode); | |
# 146 "/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); | |
char *OPENSSL_buf2hexstr(const unsigned char *buffer, long len); | |
unsigned char *OPENSSL_hexstr2buf(const char *str, long *len); | |
int OPENSSL_hexchar2int(unsigned char c); | |
unsigned long OpenSSL_version_num(void); | |
const char *OpenSSL_version(int type); | |
int OPENSSL_issetugid(void); | |
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_set_ex_data(CRYPTO_EX_DATA *ad, int idx, void *val); | |
void *CRYPTO_get_ex_data(const CRYPTO_EX_DATA *ad, int idx); | |
# 229 "/usr/include/openssl/crypto.h" 3 4 | |
typedef struct crypto_threadid_st { | |
int dummy; | |
} CRYPTO_THREADID; | |
# 256 "/usr/include/openssl/crypto.h" 3 4 | |
int CRYPTO_set_mem_functions( | |
void *(*m) (size_t, const char *, int), | |
void *(*r) (void *, size_t, const char *, int), | |
void (*f) (void *, const char *, int)); | |
int CRYPTO_set_mem_debug(int flag); | |
void CRYPTO_get_mem_functions( | |
void *(**m) (size_t, const char *, int), | |
void *(**r) (void *, size_t, const char *, int), | |
void (**f) (void *, const char *, int)); | |
void *CRYPTO_malloc(size_t num, const char *file, int line); | |
void *CRYPTO_zalloc(size_t num, const char *file, int line); | |
void *CRYPTO_memdup(const void *str, size_t siz, const char *file, int line); | |
char *CRYPTO_strdup(const char *str, const char *file, int line); | |
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, int minsize); | |
int CRYPTO_secure_malloc_done(void); | |
void *CRYPTO_secure_malloc(size_t num, const char *file, int line); | |
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); | |
# 322 "/usr/include/openssl/crypto.h" 3 4 | |
_Noreturn void OPENSSL_die(const char *assertion, const char *file, int line); | |
int OPENSSL_isservice(void); | |
int FIPS_mode(void); | |
int FIPS_mode_set(int r); | |
void OPENSSL_init(void); | |
void OPENSSL_fork_prepare(void); | |
void OPENSSL_fork_parent(void); | |
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); | |
# 353 "/usr/include/openssl/crypto.h" 3 4 | |
int CRYPTO_memcmp(const void * in_a, const void * in_b, size_t len); | |
# 387 "/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); | |
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); | |
# 416 "/usr/include/openssl/crypto.h" 3 4 | |
typedef pthread_once_t CRYPTO_ONCE; | |
typedef pthread_key_t CRYPTO_THREAD_LOCAL; | |
typedef pthread_t CRYPTO_THREAD_ID; | |
# 431 "/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); | |
# 17 "/usr/include/openssl/comp.h" 2 3 4 | |
# 1 "/usr/include/openssl/comperr.h" 1 3 4 | |
# 18 "/usr/include/openssl/comperr.h" 3 4 | |
# 1 "/usr/include/arm-linux-gnueabihf/openssl/opensslconf.h" 1 3 4 | |
# 19 "/usr/include/openssl/comperr.h" 2 3 4 | |
int ERR_load_COMP_strings(void); | |
# 18 "/usr/include/openssl/comp.h" 2 3 4 | |
COMP_CTX *COMP_CTX_new(COMP_METHOD *meth); | |
const COMP_METHOD *COMP_CTX_get_method(const COMP_CTX *ctx); | |
int COMP_CTX_get_type(const COMP_CTX* comp); | |
int COMP_get_type(const COMP_METHOD *meth); | |
const char *COMP_get_name(const COMP_METHOD *meth); | |
void COMP_CTX_free(COMP_CTX *ctx); | |
int COMP_compress_block(COMP_CTX *ctx, unsigned char *out, int olen, | |
unsigned char *in, int ilen); | |
int COMP_expand_block(COMP_CTX *ctx, unsigned char *out, int olen, | |
unsigned char *in, int ilen); | |
COMP_METHOD *COMP_zlib(void); | |
# 18 "/usr/include/openssl/ssl.h" 2 3 4 | |
# 1 "/usr/include/openssl/bio.h" 1 3 4 | |
# 21 "/usr/include/openssl/bio.h" 3 4 | |
# 1 "/usr/include/openssl/bioerr.h" 1 3 4 | |
# 21 "/usr/include/openssl/bioerr.h" 3 4 | |
int ERR_load_BIO_strings(void); | |
# 22 "/usr/include/openssl/bio.h" 2 3 4 | |
# 173 "/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); | |
# 235 "/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); | |
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 BIO_get_callback(const BIO *b); | |
void BIO_set_callback(BIO *b, BIO_callback_fn callback); | |
BIO_callback_fn_ex BIO_get_callback_ex(const BIO *b); | |
void BIO_set_callback_ex(BIO *b, BIO_callback_fn_ex callback); | |
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 int sk_BIO_num(const struct stack_st_BIO *sk) { return OPENSSL_sk_num((const OPENSSL_STACK *)sk); } static __attribute__((unused)) inline BIO *sk_BIO_value(const struct stack_st_BIO *sk, int idx) { return (BIO *)OPENSSL_sk_value((const OPENSSL_STACK *)sk, idx); } static __attribute__((unused)) inline struct stack_st_BIO *sk_BIO_new(sk_BIO_compfunc compare) { return (struct stack_st_BIO *)OPENSSL_sk_new((OPENSSL_sk_compfunc)compare); } static __attribute__((unused)) inline struct stack_st_BIO *sk_BIO_new_null(void) { return (struct stack_st_BIO *)OPENSSL_sk_new_null(); } static __attribute__((unused)) inline struct stack_st_BIO *sk_BIO_new_reserve(sk_BIO_compfunc compare, int n) { return (struct stack_st_BIO *)OPENSSL_sk_new_reserve((OPENSSL_sk_compfunc)compare, n); } static __attribute__((unused)) inline int sk_BIO_reserve(struct stack_st_BIO *sk, int n) { return OPENSSL_sk_reserve((OPENSSL_STACK *)sk, n); } static __attribute__((unused)) inline void sk_BIO_free(struct stack_st_BIO *sk) { OPENSSL_sk_free((OPENSSL_STACK *)sk); } static __attribute__((unused)) inline void sk_BIO_zero(struct stack_st_BIO *sk) { OPENSSL_sk_zero((OPENSSL_STACK *)sk); } static __attribute__((unused)) inline BIO *sk_BIO_delete(struct stack_st_BIO *sk, int i) { return (BIO *)OPENSSL_sk_delete((OPENSSL_STACK *)sk, i); } static __attribute__((unused)) inline BIO *sk_BIO_delete_ptr(struct stack_st_BIO *sk, BIO *ptr) { return (BIO *)OPENSSL_sk_delete_ptr((OPENSSL_STACK *)sk, (const void *)ptr); } static __attribute__((unused)) inline int sk_BIO_push(struct stack_st_BIO *sk, BIO *ptr) { return OPENSSL_sk_push((OPENSSL_STACK *)sk, (const void *)ptr); } static __attribute__((unused)) inline int sk_BIO_unshift(struct stack_st_BIO *sk, BIO *ptr) { return OPENSSL_sk_unshift((OPENSSL_STACK *)sk, (const void *)ptr); } static __attribute__((unused)) inline BIO *sk_BIO_pop(struct stack_st_BIO *sk) { return (BIO *)OPENSSL_sk_pop((OPENSSL_STACK *)sk); } static __attribute__((unused)) inline BIO *sk_BIO_shift(struct stack_st_BIO *sk) { return (BIO *)OPENSSL_sk_shift((OPENSSL_STACK *)sk); } static __attribute__((unused)) inline void sk_BIO_pop_free(struct stack_st_BIO *sk, sk_BIO_freefunc freefunc) { OPENSSL_sk_pop_free((OPENSSL_STACK *)sk, (OPENSSL_sk_freefunc)freefunc); } static __attribute__((unused)) inline int sk_BIO_insert(struct stack_st_BIO *sk, BIO *ptr, int idx) { return OPENSSL_sk_insert((OPENSSL_STACK *)sk, (const void *)ptr, idx); } static __attribute__((unused)) inline BIO *sk_BIO_set(struct stack_st_BIO *sk, int idx, BIO *ptr) { return (BIO *)OPENSSL_sk_set((OPENSSL_STACK *)sk, idx, (const void *)ptr); } static __attribute__((unused)) inline int sk_BIO_find(struct stack_st_BIO *sk, BIO *ptr) { return OPENSSL_sk_find((OPENSSL_STACK *)sk, (const void *)ptr); } static __attribute__((unused)) inline int sk_BIO_find_ex(struct stack_st_BIO *sk, BIO *ptr) { return OPENSSL_sk_find_ex((OPENSSL_STACK *)sk, (const void *)ptr); } static __attribute__((unused)) inline void sk_BIO_sort(struct stack_st_BIO *sk) { OPENSSL_sk_sort((OPENSSL_STACK *)sk); } static __attribute__((unused)) inline int sk_BIO_is_sorted(const struct stack_st_BIO *sk) { return OPENSSL_sk_is_sorted((const OPENSSL_STACK *)sk); } static __attribute__((unused)) inline struct stack_st_BIO * sk_BIO_dup(const struct stack_st_BIO *sk) { return (struct stack_st_BIO *)OPENSSL_sk_dup((const OPENSSL_STACK *)sk); } static __attribute__((unused)) inline struct stack_st_BIO *sk_BIO_deep_copy(const struct stack_st_BIO *sk, sk_BIO_copyfunc copyfunc, sk_BIO_freefunc freefunc) { return (struct stack_st_BIO *)OPENSSL_sk_deep_copy((const OPENSSL_STACK *)sk, (OPENSSL_sk_copyfunc)copyfunc, (OPENSSL_sk_freefunc)freefunc); } static __attribute__((unused)) inline sk_BIO_compfunc sk_BIO_set_cmp_func(struct stack_st_BIO *sk, sk_BIO_compfunc compare) { return (sk_BIO_compfunc)OPENSSL_sk_set_cmp_func((OPENSSL_STACK *)sk, (OPENSSL_sk_compfunc)compare); } | |
typedef int asn1_ps_func (BIO *b, unsigned char **pbuf, int *plen, | |
void *parg); | |
# 486 "/usr/include/openssl/bio.h" 3 4 | |
size_t BIO_ctrl_pending(BIO *b); | |
size_t BIO_ctrl_wpending(BIO *b); | |
# 506 "/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); | |
# 528 "/usr/include/openssl/bio.h" 3 4 | |
int BIO_set_ex_data(BIO *bio, int idx, void *data); | |
void *BIO_get_ex_data(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_fp(FILE *stream, int close_flag); | |
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_gets(BIO *bp, 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_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); | |
long BIO_debug_callback(BIO *bio, int cmd, const char *argp, int argi, | |
long argl, long ret); | |
const BIO_METHOD *BIO_s_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_linebuffer(void); | |
const BIO_METHOD *BIO_f_nbio_test(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); | |
# 623 "/usr/include/openssl/bio.h" 3 4 | |
int BIO_sock_should_retry(int i); | |
int BIO_sock_non_fatal_error(int error); | |
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 char *s, int len); | |
int BIO_dump_indent_cb(int (*cb) (const void *data, size_t len, void *u), | |
void *u, const char *s, int len, int indent); | |
int BIO_dump(BIO *b, const char *bytes, int len); | |
int BIO_dump_indent(BIO *b, const char *bytes, int len, int indent); | |
int BIO_dump_fp(FILE *fp, const char *s, int len); | |
int BIO_dump_indent_fp(FILE *fp, const char *s, int len, int indent); | |
int BIO_hex_string(BIO *out, int indent, int width, unsigned char *data, | |
int datalen); | |
BIO_ADDR *BIO_ADDR_new(void); | |
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); | |
struct hostent *BIO_gethostbyname(const char *name) __attribute__ ((deprecated)); | |
int BIO_get_port(const char *str, unsigned short *port_ptr) __attribute__ ((deprecated)); | |
int BIO_get_host_ip(const char *str, unsigned char *ip) __attribute__ ((deprecated)); | |
int BIO_get_accept_socket(char *host_port, int mode) __attribute__ ((deprecated)); | |
int BIO_accept(int sock, char **ip_port) __attribute__ ((deprecated)); | |
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); | |
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); | |
void BIO_copy_next_retry(BIO *b); | |
# 751 "/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_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_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 (*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 *)); | |
# 19 "/usr/include/openssl/ssl.h" 2 3 4 | |
# 1 "/usr/include/openssl/x509.h" 1 3 4 | |
# 17 "/usr/include/openssl/x509.h" 3 4 | |
# 1 "/usr/include/openssl/buffer.h" 1 3 4 | |
# 17 "/usr/include/openssl/buffer.h" 3 4 | |
# 1 "/usr/include/openssl/buffererr.h" 1 3 4 | |
# 21 "/usr/include/openssl/buffererr.h" 3 4 | |
int ERR_load_BUF_strings(void); | |
# 18 "/usr/include/openssl/buffer.h" 2 3 4 | |
# 1 "/usr/lib/gcc/arm-linux-gnueabihf/8/include/stddef.h" 1 3 4 | |
# 149 "/usr/lib/gcc/arm-linux-gnueabihf/8/include/stddef.h" 3 4 | |
typedef int ptrdiff_t; | |
# 426 "/usr/lib/gcc/arm-linux-gnueabihf/8/include/stddef.h" 3 4 | |
typedef struct { | |
long long __max_align_ll __attribute__((__aligned__(__alignof__(long long)))); | |
long double __max_align_ld __attribute__((__aligned__(__alignof__(long double)))); | |
# 437 "/usr/lib/gcc/arm-linux-gnueabihf/8/include/stddef.h" 3 4 | |
} max_align_t; | |
# 25 "/usr/include/openssl/buffer.h" 2 3 4 | |
# 38 "/usr/include/openssl/buffer.h" 3 4 | |
struct buf_mem_st { | |
size_t length; | |
char *data; | |
size_t max; | |
unsigned long flags; | |
}; | |
BUF_MEM *BUF_MEM_new(void); | |
BUF_MEM *BUF_MEM_new_ex(unsigned long flags); | |
void BUF_MEM_free(BUF_MEM *a); | |
size_t BUF_MEM_grow(BUF_MEM *str, size_t len); | |
size_t BUF_MEM_grow_clean(BUF_MEM *str, size_t len); | |
void BUF_reverse(unsigned char *out, const unsigned char *in, size_t siz); | |
# 18 "/usr/include/openssl/x509.h" 2 3 4 | |
# 1 "/usr/include/openssl/evp.h" 1 3 4 | |
# 13 "/usr/include/openssl/evp.h" 3 4 | |
# 1 "/usr/include/arm-linux-gnueabihf/openssl/opensslconf.h" 1 3 4 | |
# 14 "/usr/include/openssl/evp.h" 2 3 4 | |
# 1 "/usr/include/openssl/evperr.h" 1 3 4 | |
# 19 "/usr/include/openssl/evperr.h" 3 4 | |
int ERR_load_EVP_strings(void); | |
# 18 "/usr/include/openssl/evp.h" 2 3 4 | |
# 28 "/usr/include/openssl/evp.h" 3 4 | |
# 1 "/usr/include/openssl/objects.h" 1 3 4 | |
# 13 "/usr/include/openssl/objects.h" 3 4 | |
# 1 "/usr/include/openssl/obj_mac.h" 1 3 4 | |
# 14 "/usr/include/openssl/objects.h" 2 3 4 | |
# 1 "/usr/include/openssl/asn1.h" 1 3 4 | |
# 15 "/usr/include/openssl/asn1.h" 3 4 | |
# 1 "/usr/include/arm-linux-gnueabihf/openssl/opensslconf.h" 1 3 4 | |
# 16 "/usr/include/openssl/asn1.h" 2 3 4 | |
# 1 "/usr/include/openssl/asn1err.h" 1 3 4 | |
# 19 "/usr/include/openssl/asn1err.h" 3 4 | |
int ERR_load_ASN1_strings(void); | |
# 19 "/usr/include/openssl/asn1.h" 2 3 4 | |
# 1 "/usr/include/openssl/bn.h" 1 3 4 | |
# 18 "/usr/include/openssl/bn.h" 3 4 | |
# 1 "/usr/include/arm-linux-gnueabihf/openssl/opensslconf.h" 1 3 4 | |
# 19 "/usr/include/openssl/bn.h" 2 3 4 | |
# 1 "/usr/include/openssl/bnerr.h" 1 3 4 | |
# 21 "/usr/include/openssl/bnerr.h" 3 4 | |
int ERR_load_BN_strings(void); | |
# 22 "/usr/include/openssl/bn.h" 2 3 4 | |
# 70 "/usr/include/openssl/bn.h" 3 4 | |
void BN_set_flags(BIGNUM *b, int n); | |
int BN_get_flags(const BIGNUM *b, int n); | |
# 88 "/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); | |
# 183 "/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(void); | |
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(BIGNUM *rnd, int bits, int top, int bottom); | |
int BN_priv_rand(BIGNUM *rnd, int bits, int top, int bottom); | |
int BN_rand_range(BIGNUM *rnd, const BIGNUM *range); | |
int BN_priv_rand_range(BIGNUM *rnd, const BIGNUM *range); | |
int BN_pseudo_rand(BIGNUM *rnd, int bits, int top, int bottom); | |
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); | |
int BN_bn2bin(const BIGNUM *a, unsigned char *to); | |
int BN_bn2binpad(const BIGNUM *a, unsigned char *to, int tolen); | |
BIGNUM *BN_lebin2bn(const unsigned char *s, int len, BIGNUM *ret); | |
int BN_bn2lebinpad(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_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); | |
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); | |
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)); | |
int BN_is_prime(const BIGNUM *p, int nchecks, void (*callback) (int, int, void *), BN_CTX *ctx, void *cb_arg) __attribute__ ((deprecated)); | |
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)); | |
int BN_generate_prime_ex(BIGNUM *ret, int bits, int safe, const BIGNUM *add, | |
const BIGNUM *rem, BN_GENCB *cb); | |
int BN_is_prime_ex(const BIGNUM *p, int nchecks, BN_CTX *ctx, BN_GENCB *cb); | |
int BN_is_prime_fasttest_ex(const BIGNUM *p, int nchecks, BN_CTX *ctx, | |
int do_trial_division, BN_GENCB *cb); | |
int BN_X931_generate_Xpq(BIGNUM *Xp, BIGNUM *Xq, int nbits, BN_CTX *ctx); | |
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); | |
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); | |
void BN_set_params(int mul, int high, int low, int mont) __attribute__ ((deprecated)); | |
int BN_get_params(int which) __attribute__ ((deprecated)); | |
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); | |
# 428 "/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); | |
# 461 "/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); | |
# 533 "/usr/include/openssl/bn.h" 3 4 | |
int BN_bntest_rand(BIGNUM *rnd, int bits, int top, int bottom); | |
# 24 "/usr/include/openssl/asn1.h" 2 3 4 | |
# 118 "/usr/include/openssl/asn1.h" 3 4 | |
struct X509_algor_st; | |
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 int sk_X509_ALGOR_num(const struct stack_st_X509_ALGOR *sk) { return OPENSSL_sk_num((const OPENSSL_STACK *)sk); } static __attribute__((unused)) inline X509_ALGOR *sk_X509_ALGOR_value(const struct stack_st_X509_ALGOR *sk, int idx) { return (X509_ALGOR *)OPENSSL_sk_value((const OPENSSL_STACK *)sk, idx); } static __attribute__((unused)) inline struct stack_st_X509_ALGOR *sk_X509_ALGOR_new(sk_X509_ALGOR_compfunc compare) { return (struct stack_st_X509_ALGOR *)OPENSSL_sk_new((OPENSSL_sk_compfunc)compare); } static __attribute__((unused)) inline struct stack_st_X509_ALGOR *sk_X509_ALGOR_new_null(void) { return (struct stack_st_X509_ALGOR *)OPENSSL_sk_new_null(); } static __attribute__((unused)) inline struct stack_st_X509_ALGOR *sk_X509_ALGOR_new_reserve(sk_X509_ALGOR_compfunc compare, int n) { return (struct stack_st_X509_ALGOR *)OPENSSL_sk_new_reserve((OPENSSL_sk_compfunc)compare, n); } static __attribute__((unused)) inline int sk_X509_ALGOR_reserve(struct stack_st_X509_ALGOR *sk, int n) { return OPENSSL_sk_reserve((OPENSSL_STACK *)sk, n); } static __attribute__((unused)) inline void sk_X509_ALGOR_free(struct stack_st_X509_ALGOR *sk) { OPENSSL_sk_free((OPENSSL_STACK *)sk); } static __attribute__((unused)) inline void sk_X509_ALGOR_zero(struct stack_st_X509_ALGOR *sk) { OPENSSL_sk_zero((OPENSSL_STACK *)sk); } static __attribute__((unused)) inline X509_ALGOR *sk_X509_ALGOR_delete(struct stack_st_X509_ALGOR *sk, int i) { return (X509_ALGOR *)OPENSSL_sk_delete((OPENSSL_STACK *)sk, i); } static __attribute__((unused)) inline X509_ALGOR *sk_X509_ALGOR_delete_ptr(struct stack_st_X509_ALGOR *sk, X509_ALGOR *ptr) { return (X509_ALGOR *)OPENSSL_sk_delete_ptr((OPENSSL_STACK *)sk, (const void *)ptr); } static __attribute__((unused)) inline int sk_X509_ALGOR_push(struct stack_st_X509_ALGOR *sk, X509_ALGOR *ptr) { return OPENSSL_sk_push((OPENSSL_STACK *)sk, (const void *)ptr); } static __attribute__((unused)) inline int sk_X509_ALGOR_unshift(struct stack_st_X509_ALGOR *sk, X509_ALGOR *ptr) { return OPENSSL_sk_unshift((OPENSSL_STACK *)sk, (const void *)ptr); } static __attribute__((unused)) inline X509_ALGOR *sk_X509_ALGOR_pop(struct stack_st_X509_ALGOR *sk) { return (X509_ALGOR *)OPENSSL_sk_pop((OPENSSL_STACK *)sk); } static __attribute__((unused)) inline X509_ALGOR *sk_X509_ALGOR_shift(struct stack_st_X509_ALGOR *sk) { return (X509_ALGOR *)OPENSSL_sk_shift((OPENSSL_STACK *)sk); } static __attribute__((unused)) inline void sk_X509_ALGOR_pop_free(struct stack_st_X509_ALGOR *sk, sk_X509_ALGOR_freefunc freefunc) { OPENSSL_sk_pop_free((OPENSSL_STACK *)sk, (OPENSSL_sk_freefunc)freefunc); } static __attribute__((unused)) inline int sk_X509_ALGOR_insert(struct stack_st_X509_ALGOR *sk, X509_ALGOR *ptr, int idx) { return OPENSSL_sk_insert((OPENSSL_STACK *)sk, (const void *)ptr, idx); } static __attribute__((unused)) inline X509_ALGOR *sk_X509_ALGOR_set(struct stack_st_X509_ALGOR *sk, int idx, X509_ALGOR *ptr) { return (X509_ALGOR *)OPENSSL_sk_set((OPENSSL_STACK *)sk, idx, (const void *)ptr); } static __attribute__((unused)) inline int sk_X509_ALGOR_find(struct stack_st_X509_ALGOR *sk, X509_ALGOR *ptr) { return OPENSSL_sk_find((OPENSSL_STACK *)sk, (const void *)ptr); } static __attribute__((unused)) inline int sk_X509_ALGOR_find_ex(struct stack_st_X509_ALGOR *sk, X509_ALGOR *ptr) { return OPENSSL_sk_find_ex((OPENSSL_STACK *)sk, (const void *)ptr); } static __attribute__((unused)) inline void sk_X509_ALGOR_sort(struct stack_st_X509_ALGOR *sk) { OPENSSL_sk_sort((OPENSSL_STACK *)sk); } static __attribute__((unused)) inline int sk_X509_ALGOR_is_sorted(const struct stack_st_X509_ALGOR *sk) { return OPENSSL_sk_is_sorted((const OPENSSL_STACK *)sk); } static __attribute__((unused)) inline struct stack_st_X509_ALGOR * sk_X509_ALGOR_dup(const struct stack_st_X509_ALGOR *sk) { return (struct stack_st_X509_ALGOR *)OPENSSL_sk_dup((const OPENSSL_STACK *)sk); } static __attribute__((unused)) inline struct stack_st_X509_ALGOR *sk_X509_ALGOR_deep_copy(const struct stack_st_X509_ALGOR *sk, sk_X509_ALGOR_copyfunc copyfunc, sk_X509_ALGOR_freefunc freefunc) { return (struct stack_st_X509_ALGOR *)OPENSSL_sk_deep_copy((const OPENSSL_STACK *)sk, (OPENSSL_sk_copyfunc)copyfunc, (OPENSSL_sk_freefunc)freefunc); } static __attribute__((unused)) inline sk_X509_ALGOR_compfunc sk_X509_ALGOR_set_cmp_func(struct stack_st_X509_ALGOR *sk, sk_X509_ALGOR_compfunc compare) { return (sk_X509_ALGOR_compfunc)OPENSSL_sk_set_cmp_func((OPENSSL_STACK *)sk, (OPENSSL_sk_compfunc)compare); } | |
# 146 "/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; | |
# 186 "/usr/include/openssl/asn1.h" 3 4 | |
typedef struct asn1_string_table_st { | |
int nid; | |
long minsize; | |
long maxsize; | |
unsigned long mask; | |
unsigned long flags; | |
} ASN1_STRING_TABLE; | |
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 int sk_ASN1_STRING_TABLE_num(const struct stack_st_ASN1_STRING_TABLE *sk) { return OPENSSL_sk_num((const OPENSSL_STACK *)sk); } static __attribute__((unused)) inline ASN1_STRING_TABLE *sk_ASN1_STRING_TABLE_value(const struct stack_st_ASN1_STRING_TABLE *sk, int idx) { return (ASN1_STRING_TABLE *)OPENSSL_sk_value((const OPENSSL_STACK *)sk, idx); } static __attribute__((unused)) inline struct stack_st_ASN1_STRING_TABLE *sk_ASN1_STRING_TABLE_new(sk_ASN1_STRING_TABLE_compfunc compare) { return (struct stack_st_ASN1_STRING_TABLE *)OPENSSL_sk_new((OPENSSL_sk_compfunc)compare); } static __attribute__((unused)) inline struct stack_st_ASN1_STRING_TABLE *sk_ASN1_STRING_TABLE_new_null(void) { return (struct stack_st_ASN1_STRING_TABLE *)OPENSSL_sk_new_null(); } static __attribute__((unused)) inline struct stack_st_ASN1_STRING_TABLE *sk_ASN1_STRING_TABLE_new_reserve(sk_ASN1_STRING_TABLE_compfunc compare, int n) { return (struct stack_st_ASN1_STRING_TABLE *)OPENSSL_sk_new_reserve((OPENSSL_sk_compfunc)compare, n); } static __attribute__((unused)) inline int sk_ASN1_STRING_TABLE_reserve(struct stack_st_ASN1_STRING_TABLE *sk, int n) { return OPENSSL_sk_reserve((OPENSSL_STACK *)sk, n); } static __attribute__((unused)) inline void sk_ASN1_STRING_TABLE_free(struct stack_st_ASN1_STRING_TABLE *sk) { OPENSSL_sk_free((OPENSSL_STACK *)sk); } static __attribute__((unused)) inline void sk_ASN1_STRING_TABLE_zero(struct stack_st_ASN1_STRING_TABLE *sk) { OPENSSL_sk_zero((OPENSSL_STACK *)sk); } static __attribute__((unused)) inline ASN1_STRING_TABLE *sk_ASN1_STRING_TABLE_delete(struct stack_st_ASN1_STRING_TABLE *sk, int i) { return (ASN1_STRING_TABLE *)OPENSSL_sk_delete((OPENSSL_STACK *)sk, i); } static __attribute__((unused)) inline ASN1_STRING_TABLE *sk_ASN1_STRING_TABLE_delete_ptr(struct stack_st_ASN1_STRING_TABLE *sk, ASN1_STRING_TABLE *ptr) { return (ASN1_STRING_TABLE *)OPENSSL_sk_delete_ptr((OPENSSL_STACK *)sk, (const void *)ptr); } static __attribute__((unused)) inline int sk_ASN1_STRING_TABLE_push(struct stack_st_ASN1_STRING_TABLE *sk, ASN1_STRING_TABLE *ptr) { return OPENSSL_sk_push((OPENSSL_STACK *)sk, (const void *)ptr); } static __attribute__((unused)) inline int sk_ASN1_STRING_TABLE_unshift(struct stack_st_ASN1_STRING_TABLE *sk, ASN1_STRING_TABLE *ptr) { return OPENSSL_sk_unshift((OPENSSL_STACK *)sk, (const void *)ptr); } static __attribute__((unused)) inline ASN1_STRING_TABLE *sk_ASN1_STRING_TABLE_pop(struct stack_st_ASN1_STRING_TABLE *sk) { return (ASN1_STRING_TABLE *)OPENSSL_sk_pop((OPENSSL_STACK *)sk); } static __attribute__((unused)) inline ASN1_STRING_TABLE *sk_ASN1_STRING_TABLE_shift(struct stack_st_ASN1_STRING_TABLE *sk) { return (ASN1_STRING_TABLE *)OPENSSL_sk_shift((OPENSSL_STACK *)sk); } static __attribute__((unused)) inline void sk_ASN1_STRING_TABLE_pop_free(struct stack_st_ASN1_STRING_TABLE *sk, sk_ASN1_STRING_TABLE_freefunc freefunc) { OPENSSL_sk_pop_free((OPENSSL_STACK *)sk, (OPENSSL_sk_freefunc)freefunc); } static __attribute__((unused)) inline int sk_ASN1_STRING_TABLE_insert(struct stack_st_ASN1_STRING_TABLE *sk, ASN1_STRING_TABLE *ptr, int idx) { return OPENSSL_sk_insert((OPENSSL_STACK *)sk, (const void *)ptr, idx); } static __attribute__((unused)) inline ASN1_STRING_TABLE *sk_ASN1_STRING_TABLE_set(struct stack_st_ASN1_STRING_TABLE *sk, int idx, ASN1_STRING_TABLE *ptr) { return (ASN1_STRING_TABLE *)OPENSSL_sk_set((OPENSSL_STACK *)sk, idx, (const void *)ptr); } static __attribute__((unused)) inline int sk_ASN1_STRING_TABLE_find(struct stack_st_ASN1_STRING_TABLE *sk, ASN1_STRING_TABLE *ptr) { return OPENSSL_sk_find((OPENSSL_STACK *)sk, (const void *)ptr); } static __attribute__((unused)) inline int sk_ASN1_STRING_TABLE_find_ex(struct stack_st_ASN1_STRING_TABLE *sk, ASN1_STRING_TABLE *ptr) { return OPENSSL_sk_find_ex((OPENSSL_STACK *)sk, (const void *)ptr); } static __attribute__((unused)) inline void sk_ASN1_STRING_TABLE_sort(struct stack_st_ASN1_STRING_TABLE *sk) { OPENSSL_sk_sort((OPENSSL_STACK *)sk); } static __attribute__((unused)) inline int sk_ASN1_STRING_TABLE_is_sorted(const struct stack_st_ASN1_STRING_TABLE *sk) { return OPENSSL_sk_is_sorted((const OPENSSL_STACK *)sk); } static __attribute__((unused)) inline struct stack_st_ASN1_STRING_TABLE * sk_ASN1_STRING_TABLE_dup(const struct stack_st_ASN1_STRING_TABLE *sk) { return (struct stack_st_ASN1_STRING_TABLE *)OPENSSL_sk_dup((const OPENSSL_STACK *)sk); } static __attribute__((unused)) inline struct stack_st_ASN1_STRING_TABLE *sk_ASN1_STRING_TABLE_deep_copy(const struct stack_st_ASN1_STRING_TABLE *sk, sk_ASN1_STRING_TABLE_copyfunc copyfunc, sk_ASN1_STRING_TABLE_freefunc freefunc) { return (struct stack_st_ASN1_STRING_TABLE *)OPENSSL_sk_deep_copy((const OPENSSL_STACK *)sk, (OPENSSL_sk_copyfunc)copyfunc, (OPENSSL_sk_freefunc)freefunc); } static __attribute__((unused)) inline sk_ASN1_STRING_TABLE_compfunc sk_ASN1_STRING_TABLE_set_cmp_func(struct stack_st_ASN1_STRING_TABLE *sk, sk_ASN1_STRING_TABLE_compfunc compare) { return (sk_ASN1_STRING_TABLE_compfunc)OPENSSL_sk_set_cmp_func((OPENSSL_STACK *)sk, (OPENSSL_sk_compfunc)compare); } | |
# 210 "/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; | |
# 277 "/usr/include/openssl/asn1.h" 3 4 | |
typedef void *d2i_of_void(void **,const unsigned char **,long); typedef int i2d_of_void(void *,unsigned char **); | |
# 318 "/usr/include/openssl/asn1.h" 3 4 | |
typedef const ASN1_ITEM ASN1_ITEM_EXP; | |
# 438 "/usr/include/openssl/asn1.h" 3 4 | |
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 int sk_ASN1_INTEGER_num(const struct stack_st_ASN1_INTEGER *sk) { return OPENSSL_sk_num((const OPENSSL_STACK *)sk); } static __attribute__((unused)) inline ASN1_INTEGER *sk_ASN1_INTEGER_value(const struct stack_st_ASN1_INTEGER *sk, int idx) { return (ASN1_INTEGER *)OPENSSL_sk_value((const OPENSSL_STACK *)sk, idx); } static __attribute__((unused)) inline struct stack_st_ASN1_INTEGER *sk_ASN1_INTEGER_new(sk_ASN1_INTEGER_compfunc compare) { return (struct stack_st_ASN1_INTEGER *)OPENSSL_sk_new((OPENSSL_sk_compfunc)compare); } static __attribute__((unused)) inline struct stack_st_ASN1_INTEGER *sk_ASN1_INTEGER_new_null(void) { return (struct stack_st_ASN1_INTEGER *)OPENSSL_sk_new_null(); } static __attribute__((unused)) inline struct stack_st_ASN1_INTEGER *sk_ASN1_INTEGER_new_reserve(sk_ASN1_INTEGER_compfunc compare, int n) { return (struct stack_st_ASN1_INTEGER *)OPENSSL_sk_new_reserve((OPENSSL_sk_compfunc)compare, n); } static __attribute__((unused)) inline int sk_ASN1_INTEGER_reserve(struct stack_st_ASN1_INTEGER *sk, int n) { return OPENSSL_sk_reserve((OPENSSL_STACK *)sk, n); } static __attribute__((unused)) inline void sk_ASN1_INTEGER_free(struct stack_st_ASN1_INTEGER *sk) { OPENSSL_sk_free((OPENSSL_STACK *)sk); } static __attribute__((unused)) inline void sk_ASN1_INTEGER_zero(struct stack_st_ASN1_INTEGER *sk) { OPENSSL_sk_zero((OPENSSL_STACK *)sk); } static __attribute__((unused)) inline ASN1_INTEGER *sk_ASN1_INTEGER_delete(struct stack_st_ASN1_INTEGER *sk, int i) { return (ASN1_INTEGER *)OPENSSL_sk_delete((OPENSSL_STACK *)sk, i); } static __attribute__((unused)) inline ASN1_INTEGER *sk_ASN1_INTEGER_delete_ptr(struct stack_st_ASN1_INTEGER *sk, ASN1_INTEGER *ptr) { return (ASN1_INTEGER *)OPENSSL_sk_delete_ptr((OPENSSL_STACK *)sk, (const void *)ptr); } static __attribute__((unused)) inline int sk_ASN1_INTEGER_push(struct stack_st_ASN1_INTEGER *sk, ASN1_INTEGER *ptr) { return OPENSSL_sk_push((OPENSSL_STACK *)sk, (const void *)ptr); } static __attribute__((unused)) inline int sk_ASN1_INTEGER_unshift(struct stack_st_ASN1_INTEGER *sk, ASN1_INTEGER *ptr) { return OPENSSL_sk_unshift((OPENSSL_STACK *)sk, (const void *)ptr); } static __attribute__((unused)) inline ASN1_INTEGER *sk_ASN1_INTEGER_pop(struct stack_st_ASN1_INTEGER *sk) { return (ASN1_INTEGER *)OPENSSL_sk_pop((OPENSSL_STACK *)sk); } static __attribute__((unused)) inline ASN1_INTEGER *sk_ASN1_INTEGER_shift(struct stack_st_ASN1_INTEGER *sk) { return (ASN1_INTEGER *)OPENSSL_sk_shift((OPENSSL_STACK *)sk); } static __attribute__((unused)) inline void sk_ASN1_INTEGER_pop_free(struct stack_st_ASN1_INTEGER *sk, sk_ASN1_INTEGER_freefunc freefunc) { OPENSSL_sk_pop_free((OPENSSL_STACK *)sk, (OPENSSL_sk_freefunc)freefunc); } static __attribute__((unused)) inline int sk_ASN1_INTEGER_insert(struct stack_st_ASN1_INTEGER *sk, ASN1_INTEGER *ptr, int idx) { return OPENSSL_sk_insert((OPENSSL_STACK *)sk, (const void *)ptr, idx); } static __attribute__((unused)) inline ASN1_INTEGER *sk_ASN1_INTEGER_set(struct stack_st_ASN1_INTEGER *sk, int idx, ASN1_INTEGER *ptr) { return (ASN1_INTEGER *)OPENSSL_sk_set((OPENSSL_STACK *)sk, idx, (const void *)ptr); } static __attribute__((unused)) inline int sk_ASN1_INTEGER_find(struct stack_st_ASN1_INTEGER *sk, ASN1_INTEGER *ptr) { return OPENSSL_sk_find((OPENSSL_STACK *)sk, (const void *)ptr); } static __attribute__((unused)) inline int sk_ASN1_INTEGER_find_ex(struct stack_st_ASN1_INTEGER *sk, ASN1_INTEGER *ptr) { return OPENSSL_sk_find_ex((OPENSSL_STACK *)sk, (const void *)ptr); } static __attribute__((unused)) inline void sk_ASN1_INTEGER_sort(struct stack_st_ASN1_INTEGER *sk) { OPENSSL_sk_sort((OPENSSL_STACK *)sk); } static __attribute__((unused)) inline int sk_ASN1_INTEGER_is_sorted(const struct stack_st_ASN1_INTEGER *sk) { return OPENSSL_sk_is_sorted((const OPENSSL_STACK *)sk); } static __attribute__((unused)) inline struct stack_st_ASN1_INTEGER * sk_ASN1_INTEGER_dup(const struct stack_st_ASN1_INTEGER *sk) { return (struct stack_st_ASN1_INTEGER *)OPENSSL_sk_dup((const OPENSSL_STACK *)sk); } static __attribute__((unused)) inline struct stack_st_ASN1_INTEGER *sk_ASN1_INTEGER_deep_copy(const struct stack_st_ASN1_INTEGER *sk, sk_ASN1_INTEGER_copyfunc copyfunc, sk_ASN1_INTEGER_freefunc freefunc) { return (struct stack_st_ASN1_INTEGER *)OPENSSL_sk_deep_copy((const OPENSSL_STACK *)sk, (OPENSSL_sk_copyfunc)copyfunc, (OPENSSL_sk_freefunc)freefunc); } static __attribute__((unused)) inline sk_ASN1_INTEGER_compfunc sk_ASN1_INTEGER_set_cmp_func(struct stack_st_ASN1_INTEGER *sk, sk_ASN1_INTEGER_compfunc compare) { return (sk_ASN1_INTEGER_compfunc)OPENSSL_sk_set_cmp_func((OPENSSL_STACK *)sk, (OPENSSL_sk_compfunc)compare); } | |
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 int sk_ASN1_GENERALSTRING_num(const struct stack_st_ASN1_GENERALSTRING *sk) { return OPENSSL_sk_num((const OPENSSL_STACK *)sk); } static __attribute__((unused)) inline ASN1_GENERALSTRING *sk_ASN1_GENERALSTRING_value(const struct stack_st_ASN1_GENERALSTRING *sk, int idx) { return (ASN1_GENERALSTRING *)OPENSSL_sk_value((const OPENSSL_STACK *)sk, idx); } static __attribute__((unused)) inline struct stack_st_ASN1_GENERALSTRING *sk_ASN1_GENERALSTRING_new(sk_ASN1_GENERALSTRING_compfunc compare) { return (struct stack_st_ASN1_GENERALSTRING *)OPENSSL_sk_new((OPENSSL_sk_compfunc)compare); } static __attribute__((unused)) inline struct stack_st_ASN1_GENERALSTRING *sk_ASN1_GENERALSTRING_new_null(void) { return (struct stack_st_ASN1_GENERALSTRING *)OPENSSL_sk_new_null(); } static __attribute__((unused)) inline struct stack_st_ASN1_GENERALSTRING *sk_ASN1_GENERALSTRING_new_reserve(sk_ASN1_GENERALSTRING_compfunc compare, int n) { return (struct stack_st_ASN1_GENERALSTRING *)OPENSSL_sk_new_reserve((OPENSSL_sk_compfunc)compare, n); } static __attribute__((unused)) inline int sk_ASN1_GENERALSTRING_reserve(struct stack_st_ASN1_GENERALSTRING *sk, int n) { return OPENSSL_sk_reserve((OPENSSL_STACK *)sk, n); } static __attribute__((unused)) inline void sk_ASN1_GENERALSTRING_free(struct stack_st_ASN1_GENERALSTRING *sk) { OPENSSL_sk_free((OPENSSL_STACK *)sk); } static __attribute__((unused)) inline void sk_ASN1_GENERALSTRING_zero(struct stack_st_ASN1_GENERALSTRING *sk) { OPENSSL_sk_zero((OPENSSL_STACK *)sk); } static __attribute__((unused)) inline ASN1_GENERALSTRING *sk_ASN1_GENERALSTRING_delete(struct stack_st_ASN1_GENERALSTRING *sk, int i) { return (ASN1_GENERALSTRING *)OPENSSL_sk_delete((OPENSSL_STACK *)sk, i); } static __attribute__((unused)) inline ASN1_GENERALSTRING *sk_ASN1_GENERALSTRING_delete_ptr(struct stack_st_ASN1_GENERALSTRING *sk, ASN1_GENERALSTRING *ptr) { return (ASN1_GENERALSTRING *)OPENSSL_sk_delete_ptr((OPENSSL_STACK *)sk, (const void *)ptr); } static __attribute__((unused)) inline int sk_ASN1_GENERALSTRING_push(struct stack_st_ASN1_GENERALSTRING *sk, ASN1_GENERALSTRING *ptr) { return OPENSSL_sk_push((OPENSSL_STACK *)sk, (const void *)ptr); } static __attribute__((unused)) inline int sk_ASN1_GENERALSTRING_unshift(struct stack_st_ASN1_GENERALSTRING *sk, ASN1_GENERALSTRING *ptr) { return OPENSSL_sk_unshift((OPENSSL_STACK *)sk, (const void *)ptr); } static __attribute__((unused)) inline ASN1_GENERALSTRING *sk_ASN1_GENERALSTRING_pop(struct stack_st_ASN1_GENERALSTRING *sk) { return (ASN1_GENERALSTRING *)OPENSSL_sk_pop((OPENSSL_STACK *)sk); } static __attribute__((unused)) inline ASN1_GENERALSTRING *sk_ASN1_GENERALSTRING_shift(struct stack_st_ASN1_GENERALSTRING *sk) { return (ASN1_GENERALSTRING *)OPENSSL_sk_shift((OPENSSL_STACK *)sk); } static __attribute__((unused)) inline void sk_ASN1_GENERALSTRING_pop_free(struct stack_st_ASN1_GENERALSTRING *sk, sk_ASN1_GENERALSTRING_freefunc freefunc) { OPENSSL_sk_pop_free((OPENSSL_STACK *)sk, (OPENSSL_sk_freefunc)freefunc); } static __attribute__((unused)) inline int sk_ASN1_GENERALSTRING_insert(struct stack_st_ASN1_GENERALSTRING *sk, ASN1_GENERALSTRING *ptr, int idx) { return OPENSSL_sk_insert((OPENSSL_STACK *)sk, (const void *)ptr, idx); } static __attribute__((unused)) inline ASN1_GENERALSTRING *sk_ASN1_GENERALSTRING_set(struct stack_st_ASN1_GENERALSTRING *sk, int idx, ASN1_GENERALSTRING *ptr) { return (ASN1_GENERALSTRING *)OPENSSL_sk_set((OPENSSL_STACK *)sk, idx, (const void *)ptr); } static __attribute__((unused)) inline int sk_ASN1_GENERALSTRING_find(struct stack_st_ASN1_GENERALSTRING *sk, ASN1_GENERALSTRING *ptr) { return OPENSSL_sk_find((OPENSSL_STACK *)sk, (const void *)ptr); } static __attribute__((unused)) inline int sk_ASN1_GENERALSTRING_find_ex(struct stack_st_ASN1_GENERALSTRING *sk, ASN1_GENERALSTRING *ptr) { return OPENSSL_sk_find_ex((OPENSSL_STACK *)sk, (const void *)ptr); } static __attribute__((unused)) inline void sk_ASN1_GENERALSTRING_sort(struct stack_st_ASN1_GENERALSTRING *sk) { OPENSSL_sk_sort((OPENSSL_STACK *)sk); } static __attribute__((unused)) inline int sk_ASN1_GENERALSTRING_is_sorted(const struct stack_st_ASN1_GENERALSTRING *sk) { return OPENSSL_sk_is_sorted((const OPENSSL_STACK *)sk); } static __attribute__((unused)) inline struct stack_st_ASN1_GENERALSTRING * sk_ASN1_GENERALSTRING_dup(const struct stack_st_ASN1_GENERALSTRING *sk) { return (struct stack_st_ASN1_GENERALSTRING *)OPENSSL_sk_dup((const OPENSSL_STACK *)sk); } static __attribute__((unused)) inline struct stack_st_ASN1_GENERALSTRING *sk_ASN1_GENERALSTRING_deep_copy(const struct stack_st_ASN1_GENERALSTRING *sk, sk_ASN1_GENERALSTRING_copyfunc copyfunc, sk_ASN1_GENERALSTRING_freefunc freefunc) { return (struct stack_st_ASN1_GENERALSTRING *)OPENSSL_sk_deep_copy((const OPENSSL_STACK *)sk, (OPENSSL_sk_copyfunc)copyfunc, (OPENSSL_sk_freefunc)freefunc); } static __attribute__((unused)) inline sk_ASN1_GENERALSTRING_compfunc sk_ASN1_GENERALSTRING_set_cmp_func(struct stack_st_ASN1_GENERALSTRING *sk, sk_ASN1_GENERALSTRING_compfunc compare) { return (sk_ASN1_GENERALSTRING_compfunc)OPENSSL_sk_set_cmp_func((OPENSSL_STACK *)sk, (OPENSSL_sk_compfunc)compare); } | |
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 int sk_ASN1_UTF8STRING_num(const struct stack_st_ASN1_UTF8STRING *sk) { return OPENSSL_sk_num((const OPENSSL_STACK *)sk); } static __attribute__((unused)) inline ASN1_UTF8STRING *sk_ASN1_UTF8STRING_value(const struct stack_st_ASN1_UTF8STRING *sk, int idx) { return (ASN1_UTF8STRING *)OPENSSL_sk_value((const OPENSSL_STACK *)sk, idx); } static __attribute__((unused)) inline struct stack_st_ASN1_UTF8STRING *sk_ASN1_UTF8STRING_new(sk_ASN1_UTF8STRING_compfunc compare) { return (struct stack_st_ASN1_UTF8STRING *)OPENSSL_sk_new((OPENSSL_sk_compfunc)compare); } static __attribute__((unused)) inline struct stack_st_ASN1_UTF8STRING *sk_ASN1_UTF8STRING_new_null(void) { return (struct stack_st_ASN1_UTF8STRING *)OPENSSL_sk_new_null(); } static __attribute__((unused)) inline struct stack_st_ASN1_UTF8STRING *sk_ASN1_UTF8STRING_new_reserve(sk_ASN1_UTF8STRING_compfunc compare, int n) { return (struct stack_st_ASN1_UTF8STRING *)OPENSSL_sk_new_reserve((OPENSSL_sk_compfunc)compare, n); } static __attribute__((unused)) inline int sk_ASN1_UTF8STRING_reserve(struct stack_st_ASN1_UTF8STRING *sk, int n) { return OPENSSL_sk_reserve((OPENSSL_STACK *)sk, n); } static __attribute__((unused)) inline void sk_ASN1_UTF8STRING_free(struct stack_st_ASN1_UTF8STRING *sk) { OPENSSL_sk_free((OPENSSL_STACK *)sk); } static __attribute__((unused)) inline void sk_ASN1_UTF8STRING_zero(struct stack_st_ASN1_UTF8STRING *sk) { OPENSSL_sk_zero((OPENSSL_STACK *)sk); } static __attribute__((unused)) inline ASN1_UTF8STRING *sk_ASN1_UTF8STRING_delete(struct stack_st_ASN1_UTF8STRING *sk, int i) { return (ASN1_UTF8STRING *)OPENSSL_sk_delete((OPENSSL_STACK *)sk, i); } static __attribute__((unused)) inline ASN1_UTF8STRING *sk_ASN1_UTF8STRING_delete_ptr(struct stack_st_ASN1_UTF8STRING *sk, ASN1_UTF8STRING *ptr) { return (ASN1_UTF8STRING *)OPENSSL_sk_delete_ptr((OPENSSL_STACK *)sk, (const void *)ptr); } static __attribute__((unused)) inline int sk_ASN1_UTF8STRING_push(struct stack_st_ASN1_UTF8STRING *sk, ASN1_UTF8STRING *ptr) { return OPENSSL_sk_push((OPENSSL_STACK *)sk, (const void *)ptr); } static __attribute__((unused)) inline int sk_ASN1_UTF8STRING_unshift(struct stack_st_ASN1_UTF8STRING *sk, ASN1_UTF8STRING *ptr) { return OPENSSL_sk_unshift((OPENSSL_STACK *)sk, (const void *)ptr); } static __attribute__((unused)) inline ASN1_UTF8STRING *sk_ASN1_UTF8STRING_pop(struct stack_st_ASN1_UTF8STRING *sk) { return (ASN1_UTF8STRING *)OPENSSL_sk_pop((OPENSSL_STACK *)sk); } static __attribute__((unused)) inline ASN1_UTF8STRING *sk_ASN1_UTF8STRING_shift(struct stack_st_ASN1_UTF8STRING *sk) { return (ASN1_UTF8STRING *)OPENSSL_sk_shift((OPENSSL_STACK *)sk); } static __attribute__((unused)) inline void sk_ASN1_UTF8STRING_pop_free(struct stack_st_ASN1_UTF8STRING *sk, sk_ASN1_UTF8STRING_freefunc freefunc) { OPENSSL_sk_pop_free((OPENSSL_STACK *)sk, (OPENSSL_sk_freefunc)freefunc); } static __attribute__((unused)) inline int sk_ASN1_UTF8STRING_insert(struct stack_st_ASN1_UTF8STRING *sk, ASN1_UTF8STRING *ptr, int idx) { return OPENSSL_sk_insert((OPENSSL_STACK *)sk, (const void *)ptr, idx); } static __attribute__((unused)) inline ASN1_UTF8STRING *sk_ASN1_UTF8STRING_set(struct stack_st_ASN1_UTF8STRING *sk, int idx, ASN1_UTF8STRING *ptr) { return (ASN1_UTF8STRING *)OPENSSL_sk_set((OPENSSL_STACK *)sk, idx, (const void *)ptr); } static __attribute__((unused)) inline int sk_ASN1_UTF8STRING_find(struct stack_st_ASN1_UTF8STRING *sk, ASN1_UTF8STRING *ptr) { return OPENSSL_sk_find((OPENSSL_STACK *)sk, (const void *)ptr); } static __attribute__((unused)) inline int sk_ASN1_UTF8STRING_find_ex(struct stack_st_ASN1_UTF8STRING *sk, ASN1_UTF8STRING *ptr) { return OPENSSL_sk_find_ex((OPENSSL_STACK *)sk, (const void *)ptr); } static __attribute__((unused)) inline void sk_ASN1_UTF8STRING_sort(struct stack_st_ASN1_UTF8STRING *sk) { OPENSSL_sk_sort((OPENSSL_STACK *)sk); } static __attribute__((unused)) inline int sk_ASN1_UTF8STRING_is_sorted(const struct stack_st_ASN1_UTF8STRING *sk) { return OPENSSL_sk_is_sorted((const OPENSSL_STACK *)sk); } static __attribute__((unused)) inline struct stack_st_ASN1_UTF8STRING * sk_ASN1_UTF8STRING_dup(const struct stack_st_ASN1_UTF8STRING *sk) { return (struct stack_st_ASN1_UTF8STRING *)OPENSSL_sk_dup((const OPENSSL_STACK *)sk); } static __attribute__((unused)) inline struct stack_st_ASN1_UTF8STRING *sk_ASN1_UTF8STRING_deep_copy(const struct stack_st_ASN1_UTF8STRING *sk, sk_ASN1_UTF8STRING_copyfunc copyfunc, sk_ASN1_UTF8STRING_freefunc freefunc) { return (struct stack_st_ASN1_UTF8STRING *)OPENSSL_sk_deep_copy((const OPENSSL_STACK *)sk, (OPENSSL_sk_copyfunc)copyfunc, (OPENSSL_sk_freefunc)freefunc); } static __attribute__((unused)) inline sk_ASN1_UTF8STRING_compfunc sk_ASN1_UTF8STRING_set_cmp_func(struct stack_st_ASN1_UTF8STRING *sk, sk_ASN1_UTF8STRING_compfunc compare) { return (sk_ASN1_UTF8STRING_compfunc)OPENSSL_sk_set_cmp_func((OPENSSL_STACK *)sk, (OPENSSL_sk_compfunc)compare); } | |
typedef 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; | |
} ASN1_TYPE; | |
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 int sk_ASN1_TYPE_num(const struct stack_st_ASN1_TYPE *sk) { return OPENSSL_sk_num((const OPENSSL_STACK *)sk); } static __attribute__((unused)) inline ASN1_TYPE *sk_ASN1_TYPE_value(const struct stack_st_ASN1_TYPE *sk, int idx) { return (ASN1_TYPE *)OPENSSL_sk_value((const OPENSSL_STACK *)sk, idx); } static __attribute__((unused)) inline struct stack_st_ASN1_TYPE *sk_ASN1_TYPE_new(sk_ASN1_TYPE_compfunc compare) { return (struct stack_st_ASN1_TYPE *)OPENSSL_sk_new((OPENSSL_sk_compfunc)compare); } static __attribute__((unused)) inline struct stack_st_ASN1_TYPE *sk_ASN1_TYPE_new_null(void) { return (struct stack_st_ASN1_TYPE *)OPENSSL_sk_new_null(); } static __attribute__((unused)) inline struct stack_st_ASN1_TYPE *sk_ASN1_TYPE_new_reserve(sk_ASN1_TYPE_compfunc compare, int n) { return (struct stack_st_ASN1_TYPE *)OPENSSL_sk_new_reserve((OPENSSL_sk_compfunc)compare, n); } static __attribute__((unused)) inline int sk_ASN1_TYPE_reserve(struct stack_st_ASN1_TYPE *sk, int n) { return OPENSSL_sk_reserve((OPENSSL_STACK *)sk, n); } static __attribute__((unused)) inline void sk_ASN1_TYPE_free(struct stack_st_ASN1_TYPE *sk) { OPENSSL_sk_free((OPENSSL_STACK *)sk); } static __attribute__((unused)) inline void sk_ASN1_TYPE_zero(struct stack_st_ASN1_TYPE *sk) { OPENSSL_sk_zero((OPENSSL_STACK *)sk); } static __attribute__((unused)) inline ASN1_TYPE *sk_ASN1_TYPE_delete(struct stack_st_ASN1_TYPE *sk, int i) { return (ASN1_TYPE *)OPENSSL_sk_delete((OPENSSL_STACK *)sk, i); } static __attribute__((unused)) inline ASN1_TYPE *sk_ASN1_TYPE_delete_ptr(struct stack_st_ASN1_TYPE *sk, ASN1_TYPE *ptr) { return (ASN1_TYPE *)OPENSSL_sk_delete_ptr((OPENSSL_STACK *)sk, (const void *)ptr); } static __attribute__((unused)) inline int sk_ASN1_TYPE_push(struct stack_st_ASN1_TYPE *sk, ASN1_TYPE *ptr) { return OPENSSL_sk_push((OPENSSL_STACK *)sk, (const void *)ptr); } static __attribute__((unused)) inline int sk_ASN1_TYPE_unshift(struct stack_st_ASN1_TYPE *sk, ASN1_TYPE *ptr) { return OPENSSL_sk_unshift((OPENSSL_STACK *)sk, (const void *)ptr); } static __attribute__((unused)) inline ASN1_TYPE *sk_ASN1_TYPE_pop(struct stack_st_ASN1_TYPE *sk) { return (ASN1_TYPE *)OPENSSL_sk_pop((OPENSSL_STACK *)sk); } static __attribute__((unused)) inline ASN1_TYPE *sk_ASN1_TYPE_shift(struct stack_st_ASN1_TYPE *sk) { return (ASN1_TYPE *)OPENSSL_sk_shift((OPENSSL_STACK *)sk); } static __attribute__((unused)) inline void sk_ASN1_TYPE_pop_free(struct stack_st_ASN1_TYPE *sk, sk_ASN1_TYPE_freefunc freefunc) { OPENSSL_sk_pop_free((OPENSSL_STACK *)sk, (OPENSSL_sk_freefunc)freefunc); } static __attribute__((unused)) inline int sk_ASN1_TYPE_insert(struct stack_st_ASN1_TYPE *sk, ASN1_TYPE *ptr, int idx) { return OPENSSL_sk_insert((OPENSSL_STACK *)sk, (const void *)ptr, idx); } static __attribute__((unused)) inline ASN1_TYPE *sk_ASN1_TYPE_set(struct stack_st_ASN1_TYPE *sk, int idx, ASN1_TYPE *ptr) { return (ASN1_TYPE *)OPENSSL_sk_set((OPENSSL_STACK *)sk, idx, (const void *)ptr); } static __attribute__((unused)) inline int sk_ASN1_TYPE_find(struct stack_st_ASN1_TYPE *sk, ASN1_TYPE *ptr) { return OPENSSL_sk_find((OPENSSL_STACK *)sk, (const void *)ptr); } static __attribute__((unused)) inline int sk_ASN1_TYPE_find_ex(struct stack_st_ASN1_TYPE *sk, ASN1_TYPE *ptr) { return OPENSSL_sk_find_ex((OPENSSL_STACK *)sk, (const void *)ptr); } static __attribute__((unused)) inline void sk_ASN1_TYPE_sort(struct stack_st_ASN1_TYPE *sk) { OPENSSL_sk_sort((OPENSSL_STACK *)sk); } static __attribute__((unused)) inline int sk_ASN1_TYPE_is_sorted(const struct stack_st_ASN1_TYPE *sk) { return OPENSSL_sk_is_sorted((const OPENSSL_STACK *)sk); } static __attribute__((unused)) inline struct stack_st_ASN1_TYPE * sk_ASN1_TYPE_dup(const struct stack_st_ASN1_TYPE *sk) { return (struct stack_st_ASN1_TYPE *)OPENSSL_sk_dup((const OPENSSL_STACK *)sk); } static __attribute__((unused)) inline struct stack_st_ASN1_TYPE *sk_ASN1_TYPE_deep_copy(const struct stack_st_ASN1_TYPE *sk, sk_ASN1_TYPE_copyfunc copyfunc, sk_ASN1_TYPE_freefunc freefunc) { return (struct stack_st_ASN1_TYPE *)OPENSSL_sk_deep_copy((const OPENSSL_STACK *)sk, (OPENSSL_sk_copyfunc)copyfunc, (OPENSSL_sk_freefunc)freefunc); } static __attribute__((unused)) inline sk_ASN1_TYPE_compfunc sk_ASN1_TYPE_set_cmp_func(struct stack_st_ASN1_TYPE *sk, sk_ASN1_TYPE_compfunc compare) { return (sk_ASN1_TYPE_compfunc)OPENSSL_sk_set_cmp_func((OPENSSL_STACK *)sk, (OPENSSL_sk_compfunc)compare); } | |
typedef struct stack_st_ASN1_TYPE ASN1_SEQUENCE_ANY; | |
ASN1_SEQUENCE_ANY *d2i_ASN1_SEQUENCE_ANY(ASN1_SEQUENCE_ANY **a, const unsigned char **in, long len); int i2d_ASN1_SEQUENCE_ANY(const ASN1_SEQUENCE_ANY *a, unsigned char **out); extern const ASN1_ITEM ASN1_SEQUENCE_ANY_it; | |
ASN1_SEQUENCE_ANY *d2i_ASN1_SET_ANY(ASN1_SEQUENCE_ANY **a, const unsigned char **in, long len); int i2d_ASN1_SET_ANY(const ASN1_SEQUENCE_ANY *a, unsigned char **out); extern const ASN1_ITEM ASN1_SET_ANY_it; | |
typedef struct BIT_STRING_BITNAME_st { | |
int bitnum; | |
const char *lname; | |
const char *sname; | |
} BIT_STRING_BITNAME; | |
# 518 "/usr/include/openssl/asn1.h" 3 4 | |
ASN1_TYPE *ASN1_TYPE_new(void); void ASN1_TYPE_free(ASN1_TYPE *a); ASN1_TYPE *d2i_ASN1_TYPE(ASN1_TYPE **a, const unsigned char **in, long len); int i2d_ASN1_TYPE(ASN1_TYPE *a, unsigned char **out); extern const ASN1_ITEM ASN1_ANY_it; | |
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); | |
ASN1_OBJECT *ASN1_OBJECT_new(void); | |
void ASN1_OBJECT_free(ASN1_OBJECT *a); | |
int i2d_ASN1_OBJECT(const ASN1_OBJECT *a, unsigned char **pp); | |
ASN1_OBJECT *d2i_ASN1_OBJECT(ASN1_OBJECT **a, const unsigned char **pp, | |
long length); | |
extern const ASN1_ITEM ASN1_OBJECT_it; | |
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 int sk_ASN1_OBJECT_num(const struct stack_st_ASN1_OBJECT *sk) { return OPENSSL_sk_num((const OPENSSL_STACK *)sk); } static __attribute__((unused)) inline ASN1_OBJECT *sk_ASN1_OBJECT_value(const struct stack_st_ASN1_OBJECT *sk, int idx) { return (ASN1_OBJECT *)OPENSSL_sk_value((const OPENSSL_STACK *)sk, idx); } static __attribute__((unused)) inline struct stack_st_ASN1_OBJECT *sk_ASN1_OBJECT_new(sk_ASN1_OBJECT_compfunc compare) { return (struct stack_st_ASN1_OBJECT *)OPENSSL_sk_new((OPENSSL_sk_compfunc)compare); } static __attribute__((unused)) inline struct stack_st_ASN1_OBJECT *sk_ASN1_OBJECT_new_null(void) { return (struct stack_st_ASN1_OBJECT *)OPENSSL_sk_new_null(); } static __attribute__((unused)) inline struct stack_st_ASN1_OBJECT *sk_ASN1_OBJECT_new_reserve(sk_ASN1_OBJECT_compfunc compare, int n) { return (struct stack_st_ASN1_OBJECT *)OPENSSL_sk_new_reserve((OPENSSL_sk_compfunc)compare, n); } static __attribute__((unused)) inline int sk_ASN1_OBJECT_reserve(struct stack_st_ASN1_OBJECT *sk, int n) { return OPENSSL_sk_reserve((OPENSSL_STACK *)sk, n); } static __attribute__((unused)) inline void sk_ASN1_OBJECT_free(struct stack_st_ASN1_OBJECT *sk) { OPENSSL_sk_free((OPENSSL_STACK *)sk); } static __attribute__((unused)) inline void sk_ASN1_OBJECT_zero(struct stack_st_ASN1_OBJECT *sk) { OPENSSL_sk_zero((OPENSSL_STACK *)sk); } static __attribute__((unused)) inline ASN1_OBJECT *sk_ASN1_OBJECT_delete(struct stack_st_ASN1_OBJECT *sk, int i) { return (ASN1_OBJECT *)OPENSSL_sk_delete((OPENSSL_STACK *)sk, i); } static __attribute__((unused)) inline ASN1_OBJECT *sk_ASN1_OBJECT_delete_ptr(struct stack_st_ASN1_OBJECT *sk, ASN1_OBJECT *ptr) { return (ASN1_OBJECT *)OPENSSL_sk_delete_ptr((OPENSSL_STACK *)sk, (const void *)ptr); } static __attribute__((unused)) inline int sk_ASN1_OBJECT_push(struct stack_st_ASN1_OBJECT *sk, ASN1_OBJECT *ptr) { return OPENSSL_sk_push((OPENSSL_STACK *)sk, (const void *)ptr); } static __attribute__((unused)) inline int sk_ASN1_OBJECT_unshift(struct stack_st_ASN1_OBJECT *sk, ASN1_OBJECT *ptr) { return OPENSSL_sk_unshift((OPENSSL_STACK *)sk, (const void *)ptr); } static __attribute__((unused)) inline ASN1_OBJECT *sk_ASN1_OBJECT_pop(struct stack_st_ASN1_OBJECT *sk) { return (ASN1_OBJECT *)OPENSSL_sk_pop((OPENSSL_STACK *)sk); } static __attribute__((unused)) inline ASN1_OBJECT *sk_ASN1_OBJECT_shift(struct stack_st_ASN1_OBJECT *sk) { return (ASN1_OBJECT *)OPENSSL_sk_shift((OPENSSL_STACK *)sk); } static __attribute__((unused)) inline void sk_ASN1_OBJECT_pop_free(struct stack_st_ASN1_OBJECT *sk, sk_ASN1_OBJECT_freefunc freefunc) { OPENSSL_sk_pop_free((OPENSSL_STACK *)sk, (OPENSSL_sk_freefunc)freefunc); } static __attribute__((unused)) inline int sk_ASN1_OBJECT_insert(struct stack_st_ASN1_OBJECT *sk, ASN1_OBJECT *ptr, int idx) { return OPENSSL_sk_insert((OPENSSL_STACK *)sk, (const void *)ptr, idx); } static __attribute__((unused)) inline ASN1_OBJECT *sk_ASN1_OBJECT_set(struct stack_st_ASN1_OBJECT *sk, int idx, ASN1_OBJECT *ptr) { return (ASN1_OBJECT *)OPENSSL_sk_set((OPENSSL_STACK *)sk, idx, (const void *)ptr); } static __attribute__((unused)) inline int sk_ASN1_OBJECT_find(struct stack_st_ASN1_OBJECT *sk, ASN1_OBJECT *ptr) { return OPENSSL_sk_find((OPENSSL_STACK *)sk, (const void *)ptr); } static __attribute__((unused)) inline int sk_ASN1_OBJECT_find_ex(struct stack_st_ASN1_OBJECT *sk, ASN1_OBJECT *ptr) { return OPENSSL_sk_find_ex((OPENSSL_STACK *)sk, (const void *)ptr); } static __attribute__((unused)) inline void sk_ASN1_OBJECT_sort(struct stack_st_ASN1_OBJECT *sk) { OPENSSL_sk_sort((OPENSSL_STACK *)sk); } static __attribute__((unused)) inline int sk_ASN1_OBJECT_is_sorted(const struct stack_st_ASN1_OBJECT *sk) { return OPENSSL_sk_is_sorted((const OPENSSL_STACK *)sk); } static __attribute__((unused)) inline struct stack_st_ASN1_OBJECT * sk_ASN1_OBJECT_dup(const struct stack_st_ASN1_OBJECT *sk) { return (struct stack_st_ASN1_OBJECT *)OPENSSL_sk_dup((const OPENSSL_STACK *)sk); } static __attribute__((unused)) inline struct stack_st_ASN1_OBJECT *sk_ASN1_OBJECT_deep_copy(const struct stack_st_ASN1_OBJECT *sk, sk_ASN1_OBJECT_copyfunc copyfunc, sk_ASN1_OBJECT_freefunc freefunc) { return (struct stack_st_ASN1_OBJECT *)OPENSSL_sk_deep_copy((const OPENSSL_STACK *)sk, (OPENSSL_sk_copyfunc)copyfunc, (OPENSSL_sk_freefunc)freefunc); } static __attribute__((unused)) inline sk_ASN1_OBJECT_compfunc sk_ASN1_OBJECT_set_cmp_func(struct stack_st_ASN1_OBJECT *sk, sk_ASN1_OBJECT_compfunc compare) { return (sk_ASN1_OBJECT_compfunc)OPENSSL_sk_set_cmp_func((OPENSSL_STACK *)sk, (OPENSSL_sk_compfunc)compare); } | |
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); | |
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); | |
void ASN1_STRING_length_set(ASN1_STRING *x, int n); | |
int ASN1_STRING_type(const ASN1_STRING *x); | |
unsigned char *ASN1_STRING_data(ASN1_STRING *x) __attribute__ ((deprecated)); | |
const unsigned char *ASN1_STRING_get0_data(const ASN1_STRING *x); | |
ASN1_BIT_STRING *ASN1_BIT_STRING_new(void); void ASN1_BIT_STRING_free(ASN1_BIT_STRING *a); ASN1_BIT_STRING *d2i_ASN1_BIT_STRING(ASN1_BIT_STRING **a, const unsigned char **in, long len); int i2d_ASN1_BIT_STRING(ASN1_BIT_STRING *a, unsigned char **out); extern const ASN1_ITEM ASN1_BIT_STRING_it; | |
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); | |
ASN1_INTEGER *ASN1_INTEGER_new(void); void ASN1_INTEGER_free(ASN1_INTEGER *a); ASN1_INTEGER *d2i_ASN1_INTEGER(ASN1_INTEGER **a, const unsigned char **in, long len); int i2d_ASN1_INTEGER(ASN1_INTEGER *a, unsigned char **out); extern const ASN1_ITEM ASN1_INTEGER_it; | |
ASN1_INTEGER *d2i_ASN1_UINTEGER(ASN1_INTEGER **a, const unsigned char **pp, | |
long length); | |
ASN1_INTEGER *ASN1_INTEGER_dup(const ASN1_INTEGER *x); | |
int ASN1_INTEGER_cmp(const ASN1_INTEGER *x, const ASN1_INTEGER *y); | |
ASN1_ENUMERATED *ASN1_ENUMERATED_new(void); void ASN1_ENUMERATED_free(ASN1_ENUMERATED *a); ASN1_ENUMERATED *d2i_ASN1_ENUMERATED(ASN1_ENUMERATED **a, const unsigned char **in, long len); int i2d_ASN1_ENUMERATED(ASN1_ENUMERATED *a, unsigned char **out); extern const ASN1_ITEM ASN1_ENUMERATED_it; | |
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); | |
ASN1_OCTET_STRING *ASN1_OCTET_STRING_new(void); void ASN1_OCTET_STRING_free(ASN1_OCTET_STRING *a); ASN1_OCTET_STRING *d2i_ASN1_OCTET_STRING(ASN1_OCTET_STRING **a, const unsigned char **in, long len); int i2d_ASN1_OCTET_STRING(ASN1_OCTET_STRING *a, unsigned char **out); extern const ASN1_ITEM ASN1_OCTET_STRING_it; | |
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); | |
ASN1_VISIBLESTRING *ASN1_VISIBLESTRING_new(void); void ASN1_VISIBLESTRING_free(ASN1_VISIBLESTRING *a); ASN1_VISIBLESTRING *d2i_ASN1_VISIBLESTRING(ASN1_VISIBLESTRING **a, const unsigned char **in, long len); int i2d_ASN1_VISIBLESTRING(ASN1_VISIBLESTRING *a, unsigned char **out); extern const ASN1_ITEM ASN1_VISIBLESTRING_it; | |
ASN1_UNIVERSALSTRING *ASN1_UNIVERSALSTRING_new(void); void ASN1_UNIVERSALSTRING_free(ASN1_UNIVERSALSTRING *a); ASN1_UNIVERSALSTRING *d2i_ASN1_UNIVERSALSTRING(ASN1_UNIVERSALSTRING **a, const unsigned char **in, long len); int i2d_ASN1_UNIVERSALSTRING(ASN1_UNIVERSALSTRING *a, unsigned char **out); extern const ASN1_ITEM ASN1_UNIVERSALSTRING_it; | |
ASN1_UTF8STRING *ASN1_UTF8STRING_new(void); void ASN1_UTF8STRING_free(ASN1_UTF8STRING *a); ASN1_UTF8STRING *d2i_ASN1_UTF8STRING(ASN1_UTF8STRING **a, const unsigned char **in, long len); int i2d_ASN1_UTF8STRING(ASN1_UTF8STRING *a, unsigned char **out); extern const ASN1_ITEM ASN1_UTF8STRING_it; | |
ASN1_NULL *ASN1_NULL_new(void); void ASN1_NULL_free(ASN1_NULL *a); ASN1_NULL *d2i_ASN1_NULL(ASN1_NULL **a, const unsigned char **in, long len); int i2d_ASN1_NULL(ASN1_NULL *a, unsigned char **out); extern const ASN1_ITEM ASN1_NULL_it; | |
ASN1_BMPSTRING *ASN1_BMPSTRING_new(void); void ASN1_BMPSTRING_free(ASN1_BMPSTRING *a); ASN1_BMPSTRING *d2i_ASN1_BMPSTRING(ASN1_BMPSTRING **a, const unsigned char **in, long len); int i2d_ASN1_BMPSTRING(ASN1_BMPSTRING *a, unsigned char **out); extern const ASN1_ITEM ASN1_BMPSTRING_it; | |
int UTF8_getc(const unsigned char *str, int len, unsigned long *val); | |
int UTF8_putc(unsigned char *str, int len, unsigned long value); | |
ASN1_STRING *ASN1_PRINTABLE_new(void); void ASN1_PRINTABLE_free(ASN1_STRING *a); ASN1_STRING *d2i_ASN1_PRINTABLE(ASN1_STRING **a, const unsigned char **in, long len); int i2d_ASN1_PRINTABLE(ASN1_STRING *a, unsigned char **out); extern const ASN1_ITEM ASN1_PRINTABLE_it; | |
ASN1_STRING *DIRECTORYSTRING_new(void); void DIRECTORYSTRING_free(ASN1_STRING *a); ASN1_STRING *d2i_DIRECTORYSTRING(ASN1_STRING **a, const unsigned char **in, long len); int i2d_DIRECTORYSTRING(ASN1_STRING *a, unsigned char **out); extern const ASN1_ITEM DIRECTORYSTRING_it; | |
ASN1_STRING *DISPLAYTEXT_new(void); void DISPLAYTEXT_free(ASN1_STRING *a); ASN1_STRING *d2i_DISPLAYTEXT(ASN1_STRING **a, const unsigned char **in, long len); int i2d_DISPLAYTEXT(ASN1_STRING *a, unsigned char **out); extern const ASN1_ITEM DISPLAYTEXT_it; | |
ASN1_PRINTABLESTRING *ASN1_PRINTABLESTRING_new(void); void ASN1_PRINTABLESTRING_free(ASN1_PRINTABLESTRING *a); ASN1_PRINTABLESTRING *d2i_ASN1_PRINTABLESTRING(ASN1_PRINTABLESTRING **a, const unsigned char **in, long len); int i2d_ASN1_PRINTABLESTRING(ASN1_PRINTABLESTRING *a, unsigned char **out); extern const ASN1_ITEM ASN1_PRINTABLESTRING_it; | |
ASN1_T61STRING *ASN1_T61STRING_new(void); void ASN1_T61STRING_free(ASN1_T61STRING *a); ASN1_T61STRING *d2i_ASN1_T61STRING(ASN1_T61STRING **a, const unsigned char **in, long len); int i2d_ASN1_T61STRING(ASN1_T61STRING *a, unsigned char **out); extern const ASN1_ITEM ASN1_T61STRING_it; | |
ASN1_IA5STRING *ASN1_IA5STRING_new(void); void ASN1_IA5STRING_free(ASN1_IA5STRING *a); ASN1_IA5STRING *d2i_ASN1_IA5STRING(ASN1_IA5STRING **a, const unsigned char **in, long len); int i2d_ASN1_IA5STRING(ASN1_IA5STRING *a, unsigned char **out); extern const ASN1_ITEM ASN1_IA5STRING_it; | |
ASN1_GENERALSTRING *ASN1_GENERALSTRING_new(void); void ASN1_GENERALSTRING_free(ASN1_GENERALSTRING *a); ASN1_GENERALSTRING *d2i_ASN1_GENERALSTRING(ASN1_GENERALSTRING **a, const unsigned char **in, long len); int i2d_ASN1_GENERALSTRING(ASN1_GENERALSTRING *a, unsigned char **out); extern const ASN1_ITEM ASN1_GENERALSTRING_it; | |
ASN1_UTCTIME *ASN1_UTCTIME_new(void); void ASN1_UTCTIME_free(ASN1_UTCTIME *a); ASN1_UTCTIME *d2i_ASN1_UTCTIME(ASN1_UTCTIME **a, const unsigned char **in, long len); int i2d_ASN1_UTCTIME(ASN1_UTCTIME *a, unsigned char **out); extern const ASN1_ITEM ASN1_UTCTIME_it; | |
ASN1_GENERALIZEDTIME *ASN1_GENERALIZEDTIME_new(void); void ASN1_GENERALIZEDTIME_free(ASN1_GENERALIZEDTIME *a); ASN1_GENERALIZEDTIME *d2i_ASN1_GENERALIZEDTIME(ASN1_GENERALIZEDTIME **a, const unsigned char **in, long len); int i2d_ASN1_GENERALIZEDTIME(ASN1_GENERALIZEDTIME *a, unsigned char **out); extern const ASN1_ITEM ASN1_GENERALIZEDTIME_it; | |
ASN1_TIME *ASN1_TIME_new(void); void ASN1_TIME_free(ASN1_TIME *a); ASN1_TIME *d2i_ASN1_TIME(ASN1_TIME **a, const unsigned char **in, long len); int i2d_ASN1_TIME(ASN1_TIME *a, unsigned char **out); extern const ASN1_ITEM ASN1_TIME_it; | |
extern const ASN1_ITEM ASN1_OCTET_STRING_NDEF_it; | |
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, void *x); | |
# 700 "/usr/include/openssl/asn1.h" 3 4 | |
void *ASN1_item_dup(const ASN1_ITEM *it, void *x); | |
# 709 "/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(const ASN1_ITEM *it, FILE *in, void *x); | |
int ASN1_i2d_fp(i2d_of_void *i2d, FILE *out, void *x); | |
# 730 "/usr/include/openssl/asn1.h" 3 4 | |
int ASN1_item_i2d_fp(const ASN1_ITEM *it, FILE *out, 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(const ASN1_ITEM *it, BIO *in, void *x); | |
int ASN1_i2d_bio(i2d_of_void *i2d, BIO *out, unsigned char *x); | |
# 757 "/usr/include/openssl/asn1.h" 3 4 | |
int ASN1_item_i2d_bio(const ASN1_ITEM *it, BIO *out, void *x); | |
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 *fp, const ASN1_TIME *a); | |
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); | |
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); | |
void ASN1_item_free(ASN1_VALUE *val, const ASN1_ITEM *it); | |
ASN1_VALUE *ASN1_item_d2i(ASN1_VALUE **val, const unsigned char **in, | |
long len, const ASN1_ITEM *it); | |
int ASN1_item_i2d(ASN1_VALUE *val, unsigned char **out, const ASN1_ITEM *it); | |
int ASN1_item_ndef_i2d(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); | |
# 842 "/usr/include/openssl/asn1.h" 3 4 | |
int ASN1_item_print(BIO *out, 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); | |
ASN1_VALUE *SMIME_read_ASN1(BIO *bio, BIO **bcont, const ASN1_ITEM *it); | |
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); | |
# 16 "/usr/include/openssl/objects.h" 2 3 4 | |
# 1 "/usr/include/openssl/objectserr.h" 1 3 4 | |
# 21 "/usr/include/openssl/objectserr.h" 3 4 | |
int ERR_load_OBJ_strings(void); | |
# 17 "/usr/include/openssl/objects.h" 2 3 4 | |
# 35 "/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); | |
ASN1_OBJECT *OBJ_dup(const ASN1_OBJECT *o); | |
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); | |
# 155 "/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); | |
# 29 "/usr/include/openssl/evp.h" 2 3 4 | |
# 76 "/usr/include/openssl/evp.h" 3 4 | |
EVP_MD *EVP_MD_meth_new(int md_type, int pkey_type); | |
EVP_MD *EVP_MD_meth_dup(const EVP_MD *md); | |
void EVP_MD_meth_free(EVP_MD *md); | |
int EVP_MD_meth_set_input_blocksize(EVP_MD *md, int blocksize); | |
int EVP_MD_meth_set_result_size(EVP_MD *md, int resultsize); | |
int EVP_MD_meth_set_app_datasize(EVP_MD *md, int datasize); | |
int EVP_MD_meth_set_flags(EVP_MD *md, unsigned long flags); | |
int EVP_MD_meth_set_init(EVP_MD *md, int (*init)(EVP_MD_CTX *ctx)); | |
int EVP_MD_meth_set_update(EVP_MD *md, int (*update)(EVP_MD_CTX *ctx, | |
const void *data, | |
size_t count)); | |
int EVP_MD_meth_set_final(EVP_MD *md, int (*final)(EVP_MD_CTX *ctx, | |
unsigned char *md)); | |
int EVP_MD_meth_set_copy(EVP_MD *md, int (*copy)(EVP_MD_CTX *to, | |
const EVP_MD_CTX *from)); | |
int EVP_MD_meth_set_cleanup(EVP_MD *md, int (*cleanup)(EVP_MD_CTX *ctx)); | |
int EVP_MD_meth_set_ctrl(EVP_MD *md, int (*ctrl)(EVP_MD_CTX *ctx, int cmd, | |
int p1, void *p2)); | |
int EVP_MD_meth_get_input_blocksize(const EVP_MD *md); | |
int EVP_MD_meth_get_result_size(const EVP_MD *md); | |
int EVP_MD_meth_get_app_datasize(const EVP_MD *md); | |
unsigned long EVP_MD_meth_get_flags(const EVP_MD *md); | |
int (*EVP_MD_meth_get_init(const EVP_MD *md))(EVP_MD_CTX *ctx); | |
int (*EVP_MD_meth_get_update(const EVP_MD *md))(EVP_MD_CTX *ctx, | |
const void *data, | |
size_t count); | |
int (*EVP_MD_meth_get_final(const EVP_MD *md))(EVP_MD_CTX *ctx, | |
unsigned char *md); | |
int (*EVP_MD_meth_get_copy(const EVP_MD *md))(EVP_MD_CTX *to, | |
const EVP_MD_CTX *from); | |
int (*EVP_MD_meth_get_cleanup(const EVP_MD *md))(EVP_MD_CTX *ctx); | |
int (*EVP_MD_meth_get_ctrl(const EVP_MD *md))(EVP_MD_CTX *ctx, int cmd, | |
int p1, void *p2); | |
# 185 "/usr/include/openssl/evp.h" 3 4 | |
EVP_CIPHER *EVP_CIPHER_meth_new(int cipher_type, int block_size, int key_len); | |
EVP_CIPHER *EVP_CIPHER_meth_dup(const EVP_CIPHER *cipher); | |
void EVP_CIPHER_meth_free(EVP_CIPHER *cipher); | |
int EVP_CIPHER_meth_set_iv_length(EVP_CIPHER *cipher, int iv_len); | |
int EVP_CIPHER_meth_set_flags(EVP_CIPHER *cipher, unsigned long flags); | |
int EVP_CIPHER_meth_set_impl_ctx_size(EVP_CIPHER *cipher, int ctx_size); | |
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)); | |
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)); | |
int EVP_CIPHER_meth_set_cleanup(EVP_CIPHER *cipher, | |
int (*cleanup) (EVP_CIPHER_CTX *)); | |
int EVP_CIPHER_meth_set_set_asn1_params(EVP_CIPHER *cipher, | |
int (*set_asn1_parameters) (EVP_CIPHER_CTX *, | |
ASN1_TYPE *)); | |
int EVP_CIPHER_meth_set_get_asn1_params(EVP_CIPHER *cipher, | |
int (*get_asn1_parameters) (EVP_CIPHER_CTX *, | |
ASN1_TYPE *)); | |
int EVP_CIPHER_meth_set_ctrl(EVP_CIPHER *cipher, | |
int (*ctrl) (EVP_CIPHER_CTX *, int type, | |
int arg, void *ptr)); | |
int (*EVP_CIPHER_meth_get_init(const EVP_CIPHER *cipher))(EVP_CIPHER_CTX *ctx, | |
const unsigned char *key, | |
const unsigned char *iv, | |
int enc); | |
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); | |
int (*EVP_CIPHER_meth_get_cleanup(const EVP_CIPHER *cipher))(EVP_CIPHER_CTX *); | |
int (*EVP_CIPHER_meth_get_set_asn1_params(const EVP_CIPHER *cipher))(EVP_CIPHER_CTX *, | |
ASN1_TYPE *); | |
int (*EVP_CIPHER_meth_get_get_asn1_params(const EVP_CIPHER *cipher))(EVP_CIPHER_CTX *, | |
ASN1_TYPE *); | |
int (*EVP_CIPHER_meth_get_ctrl(const EVP_CIPHER *cipher))(EVP_CIPHER_CTX *, | |
int type, int arg, | |
void *ptr); | |
# 366 "/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; | |
# 396 "/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); | |
# 443 "/usr/include/openssl/evp.h" 3 4 | |
int EVP_MD_type(const EVP_MD *md); | |
int EVP_MD_pkey_type(const EVP_MD *md); | |
int EVP_MD_size(const EVP_MD *md); | |
int EVP_MD_block_size(const EVP_MD *md); | |
unsigned long EVP_MD_flags(const EVP_MD *md); | |
const EVP_MD *EVP_MD_CTX_md(const EVP_MD_CTX *ctx); | |
int (*EVP_MD_CTX_update_fn(EVP_MD_CTX *ctx))(EVP_MD_CTX *ctx, | |
const void *data, size_t count); | |
void EVP_MD_CTX_set_update_fn(EVP_MD_CTX *ctx, | |
int (*update) (EVP_MD_CTX *ctx, | |
const void *data, size_t count)); | |
EVP_PKEY_CTX *EVP_MD_CTX_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_md_data(const EVP_MD_CTX *ctx); | |
int EVP_CIPHER_nid(const EVP_CIPHER *cipher); | |
int EVP_CIPHER_block_size(const EVP_CIPHER *cipher); | |
int EVP_CIPHER_impl_ctx_size(const EVP_CIPHER *cipher); | |
int EVP_CIPHER_key_length(const EVP_CIPHER *cipher); | |
int EVP_CIPHER_iv_length(const EVP_CIPHER *cipher); | |
unsigned long EVP_CIPHER_flags(const EVP_CIPHER *cipher); | |
const EVP_CIPHER *EVP_CIPHER_CTX_cipher(const EVP_CIPHER_CTX *ctx); | |
int EVP_CIPHER_CTX_encrypting(const EVP_CIPHER_CTX *ctx); | |
int EVP_CIPHER_CTX_nid(const EVP_CIPHER_CTX *ctx); | |
int EVP_CIPHER_CTX_block_size(const EVP_CIPHER_CTX *ctx); | |
int EVP_CIPHER_CTX_key_length(const EVP_CIPHER_CTX *ctx); | |
int EVP_CIPHER_CTX_iv_length(const EVP_CIPHER_CTX *ctx); | |
const unsigned char *EVP_CIPHER_CTX_iv(const EVP_CIPHER_CTX *ctx); | |
const unsigned char *EVP_CIPHER_CTX_original_iv(const EVP_CIPHER_CTX *ctx); | |
unsigned char *EVP_CIPHER_CTX_iv_noconst(EVP_CIPHER_CTX *ctx); | |
unsigned char *EVP_CIPHER_CTX_buf_noconst(EVP_CIPHER_CTX *ctx); | |
int EVP_CIPHER_CTX_num(const EVP_CIPHER_CTX *ctx); | |
void EVP_CIPHER_CTX_set_num(EVP_CIPHER_CTX *ctx, int num); | |
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); | |
# 524 "/usr/include/openssl/evp.h" 3 4 | |
int EVP_Cipher(EVP_CIPHER_CTX *c, | |
unsigned char *out, | |
const unsigned char *in, unsigned int inl); | |
# 537 "/usr/include/openssl/evp.h" 3 4 | |
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); | |
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_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_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 *md, | |
size_t len); | |
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_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_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_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_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_DigestVerify(EVP_MD_CTX *ctx, const unsigned char *sigret, | |
size_t siglen, const unsigned char *tbs, | |
size_t tbslen); | |
int EVP_DigestSignInit(EVP_MD_CTX *ctx, EVP_PKEY_CTX **pctx, | |
const EVP_MD *type, ENGINE *e, | |
EVP_PKEY *pkey); | |
int EVP_DigestSignFinal(EVP_MD_CTX *ctx, unsigned char *sigret, | |
size_t *siglen); | |
int EVP_DigestVerifyInit(EVP_MD_CTX *ctx, EVP_PKEY_CTX **pctx, | |
const EVP_MD *type, ENGINE *e, | |
EVP_PKEY *pkey); | |
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, 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); | |
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_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); | |
# 780 "/usr/include/openssl/evp.h" 3 4 | |
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); | |
# 809 "/usr/include/openssl/evp.h" 3 4 | |
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); | |
# 965 "/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_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); | |
int EVP_PKEY_decrypt_old(unsigned char *dec_key, | |
const unsigned char *enc_key, int enc_key_len, | |
EVP_PKEY *private_key); | |
int EVP_PKEY_encrypt_old(unsigned char *enc_key, | |
const unsigned char *key, int key_len, | |
EVP_PKEY *pub_key); | |
int EVP_PKEY_type(int type); | |
int EVP_PKEY_id(const EVP_PKEY *pkey); | |
int EVP_PKEY_base_id(const EVP_PKEY *pkey); | |
int EVP_PKEY_bits(const EVP_PKEY *pkey); | |
int EVP_PKEY_security_bits(const EVP_PKEY *pkey); | |
int EVP_PKEY_size(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_alias_type(EVP_PKEY *pkey, int type); | |
int EVP_PKEY_set1_engine(EVP_PKEY *pkey, ENGINE *e); | |
ENGINE *EVP_PKEY_get0_engine(const EVP_PKEY *pkey); | |
int EVP_PKEY_assign(EVP_PKEY *pkey, int type, void *key); | |
void *EVP_PKEY_get0(const EVP_PKEY *pkey); | |
const unsigned char *EVP_PKEY_get0_hmac(const EVP_PKEY *pkey, size_t *len); | |
const unsigned char *EVP_PKEY_get0_poly1305(const EVP_PKEY *pkey, size_t *len); | |
const unsigned char *EVP_PKEY_get0_siphash(const EVP_PKEY *pkey, size_t *len); | |
struct rsa_st; | |
int EVP_PKEY_set1_RSA(EVP_PKEY *pkey, struct rsa_st *key); | |
struct rsa_st *EVP_PKEY_get0_RSA(EVP_PKEY *pkey); | |
struct rsa_st *EVP_PKEY_get1_RSA(EVP_PKEY *pkey); | |
struct dsa_st; | |
int EVP_PKEY_set1_DSA(EVP_PKEY *pkey, struct dsa_st *key); | |
struct dsa_st *EVP_PKEY_get0_DSA(EVP_PKEY *pkey); | |
struct dsa_st *EVP_PKEY_get1_DSA(EVP_PKEY *pkey); | |
struct dh_st; | |
int EVP_PKEY_set1_DH(EVP_PKEY *pkey, struct dh_st *key); | |
struct dh_st *EVP_PKEY_get0_DH(EVP_PKEY *pkey); | |
struct dh_st *EVP_PKEY_get1_DH(EVP_PKEY *pkey); | |
struct ec_key_st; | |
int EVP_PKEY_set1_EC_KEY(EVP_PKEY *pkey, struct ec_key_st *key); | |
struct ec_key_st *EVP_PKEY_get0_EC_KEY(EVP_PKEY *pkey); | |
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); | |
void EVP_PKEY_free(EVP_PKEY *pkey); | |
EVP_PKEY *d2i_PublicKey(int type, EVP_PKEY **a, const unsigned char **pp, | |
long length); | |
int i2d_PublicKey(EVP_PKEY *a, unsigned char **pp); | |
EVP_PKEY *d2i_PrivateKey(int type, EVP_PKEY **a, const unsigned char **pp, | |
long length); | |
EVP_PKEY *d2i_AutoPrivateKey(EVP_PKEY **a, const unsigned char **pp, | |
long length); | |
int i2d_PrivateKey(EVP_PKEY *a, unsigned char **pp); | |
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_cmp_parameters(const EVP_PKEY *a, const EVP_PKEY *b); | |
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_get_default_digest_nid(EVP_PKEY *pkey, int *pnid); | |
int EVP_PKEY_set1_tls_encodedpoint(EVP_PKEY *pkey, | |
const unsigned char *pt, size_t ptlen); | |
size_t EVP_PKEY_get1_tls_encodedpoint(EVP_PKEY *pkey, unsigned char **ppt); | |
int EVP_CIPHER_type(const EVP_CIPHER *ctx); | |
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_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 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 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); | |
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); | |
# 1122 "/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); | |
void EVP_PBE_cleanup(void); | |
int EVP_PBE_get(int *ptype, int *ppbe_nid, size_t num); | |
# 1145 "/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, | |
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, | |
void *asn, | |
X509_ALGOR *a, | |
ASN1_BIT_STRING *sig, | |
EVP_PKEY *pkey), | |
int (*item_sign) (EVP_MD_CTX *ctx, | |
const ASN1_ITEM *it, | |
void *asn, | |
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)); | |
# 1327 "/usr/include/openssl/evp.h" 3 4 | |
const EVP_PKEY_METHOD *EVP_PKEY_meth_find(int type); | |
EVP_PKEY_METHOD *EVP_PKEY_meth_new(int id, int flags); | |
void EVP_PKEY_meth_get0_info(int *ppkey_id, int *pflags, | |
const EVP_PKEY_METHOD *meth); | |
void EVP_PKEY_meth_copy(EVP_PKEY_METHOD *dst, const EVP_PKEY_METHOD *src); | |
void EVP_PKEY_meth_free(EVP_PKEY_METHOD *pmeth); | |
int EVP_PKEY_meth_add0(const EVP_PKEY_METHOD *pmeth); | |
int EVP_PKEY_meth_remove(const EVP_PKEY_METHOD *pmeth); | |
size_t EVP_PKEY_meth_get_count(void); | |
const EVP_PKEY_METHOD *EVP_PKEY_meth_get0(size_t idx); | |
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_dup(EVP_PKEY_CTX *ctx); | |
void EVP_PKEY_CTX_free(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(int type, ENGINE *e, | |
const unsigned char *priv, | |
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); | |
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(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); | |
int EVP_PKEY_sign_init(EVP_PKEY_CTX *ctx); | |
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(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(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(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(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_set_peer(EVP_PKEY_CTX *ctx, EVP_PKEY *peer); | |
int EVP_PKEY_derive(EVP_PKEY_CTX *ctx, unsigned char *key, size_t *keylen); | |
typedef int EVP_PKEY_gen_cb(EVP_PKEY_CTX *ctx); | |
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_check(EVP_PKEY_CTX *ctx); | |
int EVP_PKEY_public_check(EVP_PKEY_CTX *ctx); | |
int EVP_PKEY_param_check(EVP_PKEY_CTX *ctx); | |
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); | |
void EVP_PKEY_meth_set_init(EVP_PKEY_METHOD *pmeth, | |
int (*init) (EVP_PKEY_CTX *ctx)); | |
void EVP_PKEY_meth_set_copy(EVP_PKEY_METHOD *pmeth, | |
int (*copy) (EVP_PKEY_CTX *dst, | |
EVP_PKEY_CTX *src)); | |
void EVP_PKEY_meth_set_cleanup(EVP_PKEY_METHOD *pmeth, | |
void (*cleanup) (EVP_PKEY_CTX *ctx)); | |
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)); | |
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)); | |
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)); | |
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)); | |
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)); | |
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)); | |
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)); | |
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)); | |
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)); | |
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)); | |
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)); | |
void EVP_PKEY_meth_set_check(EVP_PKEY_METHOD *pmeth, | |
int (*check) (EVP_PKEY *pkey)); | |
void EVP_PKEY_meth_set_public_check(EVP_PKEY_METHOD *pmeth, | |
int (*check) (EVP_PKEY *pkey)); | |
void EVP_PKEY_meth_set_param_check(EVP_PKEY_METHOD *pmeth, | |
int (*check) (EVP_PKEY *pkey)); | |
void EVP_PKEY_meth_set_digest_custom(EVP_PKEY_METHOD *pmeth, | |
int (*digest_custom) (EVP_PKEY_CTX *ctx, | |
EVP_MD_CTX *mctx)); | |
void EVP_PKEY_meth_get_init(const EVP_PKEY_METHOD *pmeth, | |
int (**pinit) (EVP_PKEY_CTX *ctx)); | |
void EVP_PKEY_meth_get_copy(const EVP_PKEY_METHOD *pmeth, | |
int (**pcopy) (EVP_PKEY_CTX *dst, | |
EVP_PKEY_CTX *src)); | |
void EVP_PKEY_meth_get_cleanup(const EVP_PKEY_METHOD *pmeth, | |
void (**pcleanup) (EVP_PKEY_CTX *ctx)); | |
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)); | |
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)); | |
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)); | |
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)); | |
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)); | |
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)); | |
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)); | |
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)); | |
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)); | |
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)); | |
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)); | |
void EVP_PKEY_meth_get_check(const EVP_PKEY_METHOD *pmeth, | |
int (**pcheck) (EVP_PKEY *pkey)); | |
void EVP_PKEY_meth_get_public_check(const EVP_PKEY_METHOD *pmeth, | |
int (**pcheck) (EVP_PKEY *pkey)); | |
void EVP_PKEY_meth_get_param_check(const EVP_PKEY_METHOD *pmeth, | |
int (**pcheck) (EVP_PKEY *pkey)); | |
void EVP_PKEY_meth_get_digest_custom(EVP_PKEY_METHOD *pmeth, | |
int (**pdigest_custom) (EVP_PKEY_CTX *ctx, | |
EVP_MD_CTX *mctx)); | |
void EVP_add_alg_module(void); | |
# 19 "/usr/include/openssl/x509.h" 2 3 4 | |
# 1 "/usr/include/openssl/ec.h" 1 3 4 | |
# 14 "/usr/include/openssl/ec.h" 3 4 | |
# 1 "/usr/include/arm-linux-gnueabihf/openssl/opensslconf.h" 1 3 4 | |
# 15 "/usr/include/openssl/ec.h" 2 3 4 | |
# 1 "/usr/include/openssl/ecerr.h" 1 3 4 | |
# 18 "/usr/include/openssl/ecerr.h" 3 4 | |
# 1 "/usr/include/arm-linux-gnueabihf/openssl/opensslconf.h" 1 3 4 | |
# 19 "/usr/include/openssl/ecerr.h" 2 3 4 | |
int ERR_load_EC_strings(void); | |
# 23 "/usr/include/openssl/ec.h" 2 3 4 | |
# 33 "/usr/include/openssl/ec.h" 3 4 | |
typedef enum { | |
POINT_CONVERSION_COMPRESSED = 2, | |
POINT_CONVERSION_UNCOMPRESSED = 4, | |
POINT_CONVERSION_HYBRID = 6 | |
} point_conversion_form_t; | |
typedef struct ec_method_st EC_METHOD; | |
typedef struct ec_group_st EC_GROUP; | |
typedef struct ec_point_st EC_POINT; | |
typedef struct ecpk_parameters_st ECPKPARAMETERS; | |
typedef struct ec_parameters_st ECPARAMETERS; | |
# 58 "/usr/include/openssl/ec.h" 3 4 | |
const EC_METHOD *EC_GFp_simple_method(void); | |
const EC_METHOD *EC_GFp_mont_method(void); | |
const EC_METHOD *EC_GFp_nist_method(void); | |
# 95 "/usr/include/openssl/ec.h" 3 4 | |
const EC_METHOD *EC_GF2m_simple_method(void); | |
# 107 "/usr/include/openssl/ec.h" 3 4 | |
EC_GROUP *EC_GROUP_new(const EC_METHOD *meth); | |
void EC_GROUP_free(EC_GROUP *group); | |
void EC_GROUP_clear_free(EC_GROUP *group); | |
int EC_GROUP_copy(EC_GROUP *dst, const EC_GROUP *src); | |
EC_GROUP *EC_GROUP_dup(const EC_GROUP *src); | |
const EC_METHOD *EC_GROUP_method_of(const EC_GROUP *group); | |
int EC_METHOD_get_field_type(const EC_METHOD *meth); | |
# 153 "/usr/include/openssl/ec.h" 3 4 | |
int EC_GROUP_set_generator(EC_GROUP *group, const EC_POINT *generator, | |
const BIGNUM *order, const BIGNUM *cofactor); | |
const EC_POINT *EC_GROUP_get0_generator(const EC_GROUP *group); | |
BN_MONT_CTX *EC_GROUP_get_mont_data(const EC_GROUP *group); | |
int EC_GROUP_get_order(const EC_GROUP *group, BIGNUM *order, BN_CTX *ctx); | |
const BIGNUM *EC_GROUP_get0_order(const EC_GROUP *group); | |
int EC_GROUP_order_bits(const EC_GROUP *group); | |
int EC_GROUP_get_cofactor(const EC_GROUP *group, BIGNUM *cofactor, | |
BN_CTX *ctx); | |
const BIGNUM *EC_GROUP_get0_cofactor(const EC_GROUP *group); | |
void EC_GROUP_set_curve_name(EC_GROUP *group, int nid); | |
int EC_GROUP_get_curve_name(const EC_GROUP *group); | |
void EC_GROUP_set_asn1_flag(EC_GROUP *group, int flag); | |
int EC_GROUP_get_asn1_flag(const EC_GROUP *group); | |
void EC_GROUP_set_point_conversion_form(EC_GROUP *group, | |
point_conversion_form_t form); | |
point_conversion_form_t EC_GROUP_get_point_conversion_form(const EC_GROUP *); | |
unsigned char *EC_GROUP_get0_seed(const EC_GROUP *x); | |
size_t EC_GROUP_get_seed_len(const EC_GROUP *); | |
size_t EC_GROUP_set_seed(EC_GROUP *, const unsigned char *, size_t len); | |
# 236 "/usr/include/openssl/ec.h" 3 4 | |
int EC_GROUP_set_curve(EC_GROUP *group, const BIGNUM *p, const BIGNUM *a, | |
const BIGNUM *b, BN_CTX *ctx); | |
# 249 "/usr/include/openssl/ec.h" 3 4 | |
int EC_GROUP_get_curve(const EC_GROUP *group, BIGNUM *p, BIGNUM *a, BIGNUM *b, | |
BN_CTX *ctx); | |
# 261 "/usr/include/openssl/ec.h" 3 4 | |
int EC_GROUP_set_curve_GFp(EC_GROUP *group, const BIGNUM *p, const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx); | |
# 274 "/usr/include/openssl/ec.h" 3 4 | |
int EC_GROUP_get_curve_GFp(const EC_GROUP *group, BIGNUM *p, BIGNUM *a, BIGNUM *b, BN_CTX *ctx); | |
# 288 "/usr/include/openssl/ec.h" 3 4 | |
int EC_GROUP_set_curve_GF2m(EC_GROUP *group, const BIGNUM *p, const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx); | |
# 301 "/usr/include/openssl/ec.h" 3 4 | |
int EC_GROUP_get_curve_GF2m(const EC_GROUP *group, BIGNUM *p, BIGNUM *a, BIGNUM *b, BN_CTX *ctx); | |
int EC_GROUP_get_degree(const EC_GROUP *group); | |
int EC_GROUP_check(const EC_GROUP *group, BN_CTX *ctx); | |
int EC_GROUP_check_discriminant(const EC_GROUP *group, BN_CTX *ctx); | |
int EC_GROUP_cmp(const EC_GROUP *a, const EC_GROUP *b, BN_CTX *ctx); | |
# 346 "/usr/include/openssl/ec.h" 3 4 | |
EC_GROUP *EC_GROUP_new_curve_GFp(const BIGNUM *p, const BIGNUM *a, | |
const BIGNUM *b, BN_CTX *ctx); | |
# 357 "/usr/include/openssl/ec.h" 3 4 | |
EC_GROUP *EC_GROUP_new_curve_GF2m(const BIGNUM *p, const BIGNUM *a, | |
const BIGNUM *b, BN_CTX *ctx); | |
EC_GROUP *EC_GROUP_new_by_curve_name(int nid); | |
EC_GROUP *EC_GROUP_new_from_ecparameters(const ECPARAMETERS *params); | |
ECPARAMETERS *EC_GROUP_get_ecparameters(const EC_GROUP *group, | |
ECPARAMETERS *params); | |
EC_GROUP *EC_GROUP_new_from_ecpkparameters(const ECPKPARAMETERS *params); | |
ECPKPARAMETERS *EC_GROUP_get_ecpkparameters(const EC_GROUP *group, | |
ECPKPARAMETERS *params); | |
typedef struct { | |
int nid; | |
const char *comment; | |
} EC_builtin_curve; | |
size_t EC_get_builtin_curves(EC_builtin_curve *r, size_t nitems); | |
const char *EC_curve_nid2nist(int nid); | |
int EC_curve_nist2nid(const char *name); | |
# 428 "/usr/include/openssl/ec.h" 3 4 | |
EC_POINT *EC_POINT_new(const EC_GROUP *group); | |
void EC_POINT_free(EC_POINT *point); | |
void EC_POINT_clear_free(EC_POINT *point); | |
int EC_POINT_copy(EC_POINT *dst, const EC_POINT *src); | |
EC_POINT *EC_POINT_dup(const EC_POINT *src, const EC_GROUP *group); | |
const EC_METHOD *EC_POINT_method_of(const EC_POINT *point); | |
int EC_POINT_set_to_infinity(const EC_GROUP *group, EC_POINT *point); | |
# 477 "/usr/include/openssl/ec.h" 3 4 | |
int EC_POINT_set_Jprojective_coordinates_GFp(const EC_GROUP *group, | |
EC_POINT *p, const BIGNUM *x, | |
const BIGNUM *y, const BIGNUM *z, | |
BN_CTX *ctx); | |
# 491 "/usr/include/openssl/ec.h" 3 4 | |
int EC_POINT_get_Jprojective_coordinates_GFp(const EC_GROUP *group, | |
const EC_POINT *p, BIGNUM *x, | |
BIGNUM *y, BIGNUM *z, | |
BN_CTX *ctx); | |
# 504 "/usr/include/openssl/ec.h" 3 4 | |
int EC_POINT_set_affine_coordinates(const EC_GROUP *group, EC_POINT *p, | |
const BIGNUM *x, const BIGNUM *y, | |
BN_CTX *ctx); | |
# 516 "/usr/include/openssl/ec.h" 3 4 | |
int EC_POINT_get_affine_coordinates(const EC_GROUP *group, const EC_POINT *p, | |
BIGNUM *x, BIGNUM *y, BN_CTX *ctx); | |
# 528 "/usr/include/openssl/ec.h" 3 4 | |
int EC_POINT_set_affine_coordinates_GFp(const EC_GROUP *group, EC_POINT *p, const BIGNUM *x, const BIGNUM *y, BN_CTX *ctx); | |
# 543 "/usr/include/openssl/ec.h" 3 4 | |
int EC_POINT_get_affine_coordinates_GFp(const EC_GROUP *group, const EC_POINT *p, BIGNUM *x, BIGNUM *y, BN_CTX *ctx); | |
# 557 "/usr/include/openssl/ec.h" 3 4 | |
int EC_POINT_set_compressed_coordinates(const EC_GROUP *group, EC_POINT *p, | |
const BIGNUM *x, int y_bit, | |
BN_CTX *ctx); | |
# 570 "/usr/include/openssl/ec.h" 3 4 | |
int EC_POINT_set_compressed_coordinates_GFp(const EC_GROUP *group, EC_POINT *p, const BIGNUM *x, int y_bit, BN_CTX *ctx); | |
# 585 "/usr/include/openssl/ec.h" 3 4 | |
int EC_POINT_set_affine_coordinates_GF2m(const EC_GROUP *group, EC_POINT *p, const BIGNUM *x, const BIGNUM *y, BN_CTX *ctx); | |
# 600 "/usr/include/openssl/ec.h" 3 4 | |
int EC_POINT_get_affine_coordinates_GF2m(const EC_GROUP *group, const EC_POINT *p, BIGNUM *x, BIGNUM *y, BN_CTX *ctx); | |
# 615 "/usr/include/openssl/ec.h" 3 4 | |
int EC_POINT_set_compressed_coordinates_GF2m(const EC_GROUP *group, EC_POINT *p, const BIGNUM *x, int y_bit, BN_CTX *ctx); | |
# 631 "/usr/include/openssl/ec.h" 3 4 | |
size_t EC_POINT_point2oct(const EC_GROUP *group, const EC_POINT *p, | |
point_conversion_form_t form, | |
unsigned char *buf, size_t len, BN_CTX *ctx); | |
# 643 "/usr/include/openssl/ec.h" 3 4 | |
int EC_POINT_oct2point(const EC_GROUP *group, EC_POINT *p, | |
const unsigned char *buf, size_t len, BN_CTX *ctx); | |
# 654 "/usr/include/openssl/ec.h" 3 4 | |
size_t EC_POINT_point2buf(const EC_GROUP *group, const EC_POINT *point, | |
point_conversion_form_t form, | |
unsigned char **pbuf, BN_CTX *ctx); | |
BIGNUM *EC_POINT_point2bn(const EC_GROUP *, const EC_POINT *, | |
point_conversion_form_t form, BIGNUM *, BN_CTX *); | |
EC_POINT *EC_POINT_bn2point(const EC_GROUP *, const BIGNUM *, | |
EC_POINT *, BN_CTX *); | |
char *EC_POINT_point2hex(const EC_GROUP *, const EC_POINT *, | |
point_conversion_form_t form, BN_CTX *); | |
EC_POINT *EC_POINT_hex2point(const EC_GROUP *, const char *, | |
EC_POINT *, BN_CTX *); | |
# 680 "/usr/include/openssl/ec.h" 3 4 | |
int EC_POINT_add(const EC_GROUP *group, EC_POINT *r, const EC_POINT *a, | |
const EC_POINT *b, BN_CTX *ctx); | |
# 690 "/usr/include/openssl/ec.h" 3 4 | |
int EC_POINT_dbl(const EC_GROUP *group, EC_POINT *r, const EC_POINT *a, | |
BN_CTX *ctx); | |
int EC_POINT_invert(const EC_GROUP *group, EC_POINT *a, BN_CTX *ctx); | |
int EC_POINT_is_at_infinity(const EC_GROUP *group, const EC_POINT *p); | |
int EC_POINT_is_on_curve(const EC_GROUP *group, const EC_POINT *point, | |
BN_CTX *ctx); | |
# 724 "/usr/include/openssl/ec.h" 3 4 | |
int EC_POINT_cmp(const EC_GROUP *group, const EC_POINT *a, const EC_POINT *b, | |
BN_CTX *ctx); | |
int EC_POINT_make_affine(const EC_GROUP *group, EC_POINT *point, BN_CTX *ctx); | |
int EC_POINTs_make_affine(const EC_GROUP *group, size_t num, | |
EC_POINT *points[], BN_CTX *ctx); | |
# 741 "/usr/include/openssl/ec.h" 3 4 | |
int EC_POINTs_mul(const EC_GROUP *group, EC_POINT *r, const BIGNUM *n, | |
size_t num, const EC_POINT *p[], const BIGNUM *m[], | |
BN_CTX *ctx); | |
# 754 "/usr/include/openssl/ec.h" 3 4 | |
int EC_POINT_mul(const EC_GROUP *group, EC_POINT *r, const BIGNUM *n, | |
const EC_POINT *q, const BIGNUM *m, BN_CTX *ctx); | |
int EC_GROUP_precompute_mult(EC_GROUP *group, BN_CTX *ctx); | |
int EC_GROUP_have_precompute_mult(const EC_GROUP *group); | |
extern const ASN1_ITEM ECPKPARAMETERS_it; | |
ECPKPARAMETERS *ECPKPARAMETERS_new(void); void ECPKPARAMETERS_free(ECPKPARAMETERS *a); | |
extern const ASN1_ITEM ECPARAMETERS_it; | |
ECPARAMETERS *ECPARAMETERS_new(void); void ECPARAMETERS_free(ECPARAMETERS *a); | |
int EC_GROUP_get_basis_type(const EC_GROUP *); | |
int EC_GROUP_get_trinomial_basis(const EC_GROUP *, unsigned int *k); | |
int EC_GROUP_get_pentanomial_basis(const EC_GROUP *, unsigned int *k1, | |
unsigned int *k2, unsigned int *k3); | |
EC_GROUP *d2i_ECPKParameters(EC_GROUP **, const unsigned char **in, long len); | |
int i2d_ECPKParameters(const EC_GROUP *, unsigned char **out); | |
# 803 "/usr/include/openssl/ec.h" 3 4 | |
int ECPKParameters_print(BIO *bp, const EC_GROUP *x, int off); | |
int ECPKParameters_print_fp(FILE *fp, const EC_GROUP *x, int off); | |
# 824 "/usr/include/openssl/ec.h" 3 4 | |
EC_KEY *EC_KEY_new(void); | |
int EC_KEY_get_flags(const EC_KEY *key); | |
void EC_KEY_set_flags(EC_KEY *key, int flags); | |
void EC_KEY_clear_flags(EC_KEY *key, int flags); | |
EC_KEY *EC_KEY_new_by_curve_name(int nid); | |
void EC_KEY_free(EC_KEY *key); | |
EC_KEY *EC_KEY_copy(EC_KEY *dst, const EC_KEY *src); | |
EC_KEY *EC_KEY_dup(const EC_KEY *src); | |
int EC_KEY_up_ref(EC_KEY *key); | |
ENGINE *EC_KEY_get0_engine(const EC_KEY *eckey); | |
const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | |
int EC_KEY_set_group(EC_KEY *key, const EC_GROUP *group); | |
const BIGNUM *EC_KEY_get0_private_key(const EC_KEY *key); | |
int EC_KEY_set_private_key(EC_KEY *key, const BIGNUM *prv); | |
const EC_POINT *EC_KEY_get0_public_key(const EC_KEY *key); | |
int EC_KEY_set_public_key(EC_KEY *key, const EC_POINT *pub); | |
unsigned EC_KEY_get_enc_flags(const EC_KEY *key); | |
void EC_KEY_set_enc_flags(EC_KEY *eckey, unsigned int flags); | |
point_conversion_form_t EC_KEY_get_conv_form(const EC_KEY *key); | |
void EC_KEY_set_conv_form(EC_KEY *eckey, point_conversion_form_t cform); | |
int EC_KEY_set_ex_data(EC_KEY *key, int idx, void *arg); | |
void *EC_KEY_get_ex_data(const EC_KEY *key, int idx); | |
void EC_KEY_set_asn1_flag(EC_KEY *eckey, int asn1_flag); | |
int EC_KEY_precompute_mult(EC_KEY *key, BN_CTX *ctx); | |
int EC_KEY_generate_key(EC_KEY *key); | |
int EC_KEY_check_key(const EC_KEY *key); | |
int EC_KEY_can_sign(const EC_KEY *eckey); | |
# 957 "/usr/include/openssl/ec.h" 3 4 | |
int EC_KEY_set_public_key_affine_coordinates(EC_KEY *key, BIGNUM *x, | |
BIGNUM *y); | |
# 967 "/usr/include/openssl/ec.h" 3 4 | |
size_t EC_KEY_key2buf(const EC_KEY *key, point_conversion_form_t form, | |
unsigned char **pbuf, BN_CTX *ctx); | |
# 978 "/usr/include/openssl/ec.h" 3 4 | |
int EC_KEY_oct2key(EC_KEY *key, const unsigned char *buf, size_t len, | |
BN_CTX *ctx); | |
# 988 "/usr/include/openssl/ec.h" 3 4 | |
int EC_KEY_oct2priv(EC_KEY *key, const unsigned char *buf, size_t len); | |
# 998 "/usr/include/openssl/ec.h" 3 4 | |
size_t EC_KEY_priv2oct(const EC_KEY *key, unsigned char *buf, size_t len); | |
size_t EC_KEY_priv2buf(const EC_KEY *eckey, unsigned char **pbuf); | |
# 1017 "/usr/include/openssl/ec.h" 3 4 | |
EC_KEY *d2i_ECPrivateKey(EC_KEY **key, const unsigned char **in, long len); | |
int i2d_ECPrivateKey(EC_KEY *key, unsigned char **out); | |
# 1038 "/usr/include/openssl/ec.h" 3 4 | |
EC_KEY *d2i_ECParameters(EC_KEY **key, const unsigned char **in, long len); | |
int i2d_ECParameters(EC_KEY *key, unsigned char **out); | |
# 1060 "/usr/include/openssl/ec.h" 3 4 | |
EC_KEY *o2i_ECPublicKey(EC_KEY **key, const unsigned char **in, long len); | |
int i2o_ECPublicKey(const EC_KEY *key, unsigned char **out); | |
int ECParameters_print(BIO *bp, const EC_KEY *key); | |
int EC_KEY_print(BIO *bp, const EC_KEY *key, int off); | |
int ECParameters_print_fp(FILE *fp, const EC_KEY *key); | |
int EC_KEY_print_fp(FILE *fp, const EC_KEY *key, int off); | |
const EC_KEY_METHOD *EC_KEY_OpenSSL(void); | |
const EC_KEY_METHOD *EC_KEY_get_default_method(void); | |
void EC_KEY_set_default_method(const EC_KEY_METHOD *meth); | |
const EC_KEY_METHOD *EC_KEY_get_method(const EC_KEY *key); | |
int EC_KEY_set_method(EC_KEY *key, const EC_KEY_METHOD *meth); | |
EC_KEY *EC_KEY_new_method(ENGINE *engine); | |
int ECDH_KDF_X9_62(unsigned char *out, size_t outlen, | |
const unsigned char *Z, size_t Zlen, | |
const unsigned char *sinfo, size_t sinfolen, | |
const EVP_MD *md); | |
int ECDH_compute_key(void *out, size_t outlen, const EC_POINT *pub_key, | |
const EC_KEY *ecdh, | |
void *(*KDF) (const void *in, size_t inlen, | |
void *out, size_t *outlen)); | |
typedef struct ECDSA_SIG_st ECDSA_SIG; | |
ECDSA_SIG *ECDSA_SIG_new(void); | |
void ECDSA_SIG_free(ECDSA_SIG *sig); | |
# 1144 "/usr/include/openssl/ec.h" 3 4 | |
int i2d_ECDSA_SIG(const ECDSA_SIG *sig, unsigned char **pp); | |
# 1153 "/usr/include/openssl/ec.h" 3 4 | |
ECDSA_SIG *d2i_ECDSA_SIG(ECDSA_SIG **sig, const unsigned char **pp, long len); | |
void ECDSA_SIG_get0(const ECDSA_SIG *sig, const BIGNUM **pr, const BIGNUM **ps); | |
const BIGNUM *ECDSA_SIG_get0_r(const ECDSA_SIG *sig); | |
const BIGNUM *ECDSA_SIG_get0_s(const ECDSA_SIG *sig); | |
int ECDSA_SIG_set0(ECDSA_SIG *sig, BIGNUM *r, BIGNUM *s); | |
# 1186 "/usr/include/openssl/ec.h" 3 4 | |
ECDSA_SIG *ECDSA_do_sign(const unsigned char *dgst, int dgst_len, | |
EC_KEY *eckey); | |
# 1199 "/usr/include/openssl/ec.h" 3 4 | |
ECDSA_SIG *ECDSA_do_sign_ex(const unsigned char *dgst, int dgstlen, | |
const BIGNUM *kinv, const BIGNUM *rp, | |
EC_KEY *eckey); | |
# 1212 "/usr/include/openssl/ec.h" 3 4 | |
int ECDSA_do_verify(const unsigned char *dgst, int dgst_len, | |
const ECDSA_SIG *sig, EC_KEY *eckey); | |
# 1222 "/usr/include/openssl/ec.h" 3 4 | |
int ECDSA_sign_setup(EC_KEY *eckey, BN_CTX *ctx, BIGNUM **kinv, BIGNUM **rp); | |
# 1234 "/usr/include/openssl/ec.h" 3 4 | |
int ECDSA_sign(int type, const unsigned char *dgst, int dgstlen, | |
unsigned char *sig, unsigned int *siglen, EC_KEY *eckey); | |
# 1250 "/usr/include/openssl/ec.h" 3 4 | |
int ECDSA_sign_ex(int type, const unsigned char *dgst, int dgstlen, | |
unsigned char *sig, unsigned int *siglen, | |
const BIGNUM *kinv, const BIGNUM *rp, EC_KEY *eckey); | |
# 1265 "/usr/include/openssl/ec.h" 3 4 | |
int ECDSA_verify(int type, const unsigned char *dgst, int dgstlen, | |
const unsigned char *sig, int siglen, EC_KEY *eckey); | |
int ECDSA_size(const EC_KEY *eckey); | |
EC_KEY_METHOD *EC_KEY_METHOD_new(const EC_KEY_METHOD *meth); | |
void EC_KEY_METHOD_free(EC_KEY_METHOD *meth); | |
void EC_KEY_METHOD_set_init(EC_KEY_METHOD *meth, | |
int (*init)(EC_KEY *key), | |
void (*finish)(EC_KEY *key), | |
int (*copy)(EC_KEY *dest, const EC_KEY *src), | |
int (*set_group)(EC_KEY *key, const EC_GROUP *grp), | |
int (*set_private)(EC_KEY *key, | |
const BIGNUM *priv_key), | |
int (*set_public)(EC_KEY *key, | |
const EC_POINT *pub_key)); | |
void EC_KEY_METHOD_set_keygen(EC_KEY_METHOD *meth, | |
int (*keygen)(EC_KEY *key)); | |
void EC_KEY_METHOD_set_compute_key(EC_KEY_METHOD *meth, | |
int (*ckey)(unsigned char **psec, | |
size_t *pseclen, | |
const EC_POINT *pub_key, | |
const EC_KEY *ecdh)); | |
void EC_KEY_METHOD_set_sign(EC_KEY_METHOD *meth, | |
int (*sign)(int type, const unsigned char *dgst, | |
int dlen, unsigned char *sig, | |
unsigned int *siglen, | |
const BIGNUM *kinv, const BIGNUM *r, | |
EC_KEY *eckey), | |
int (*sign_setup)(EC_KEY *eckey, BN_CTX *ctx_in, | |
BIGNUM **kinvp, BIGNUM **rp), | |
ECDSA_SIG *(*sign_sig)(const unsigned char *dgst, | |
int dgst_len, | |
const BIGNUM *in_kinv, | |
const BIGNUM *in_r, | |
EC_KEY *eckey)); | |
void EC_KEY_METHOD_set_verify(EC_KEY_METHOD *meth, | |
int (*verify)(int type, const unsigned | |
char *dgst, int dgst_len, | |
const unsigned char *sigbuf, | |
int sig_len, EC_KEY *eckey), | |
int (*verify_sig)(const unsigned char *dgst, | |
int dgst_len, | |
const ECDSA_SIG *sig, | |
EC_KEY *eckey)); | |
void EC_KEY_METHOD_get_init(const EC_KEY_METHOD *meth, | |
int (**pinit)(EC_KEY *key), | |
void (**pfinish)(EC_KEY *key), | |
int (**pcopy)(EC_KEY *dest, const EC_KEY *src), | |
int (**pset_group)(EC_KEY *key, | |
const EC_GROUP *grp), | |
int (**pset_private)(EC_KEY *key, | |
const BIGNUM *priv_key), | |
int (**pset_public)(EC_KEY *key, | |
const EC_POINT *pub_key)); | |
void EC_KEY_METHOD_get_keygen(const EC_KEY_METHOD *meth, | |
int (**pkeygen)(EC_KEY *key)); | |
void EC_KEY_METHOD_get_compute_key(const EC_KEY_METHOD *meth, | |
int (**pck)(unsigned char **psec, | |
size_t *pseclen, | |
const EC_POINT *pub_key, | |
const EC_KEY *ecdh)); | |
void EC_KEY_METHOD_get_sign(const EC_KEY_METHOD *meth, | |
int (**psign)(int type, const unsigned char *dgst, | |
int dlen, unsigned char *sig, | |
unsigned int *siglen, | |
const BIGNUM *kinv, const BIGNUM *r, | |
EC_KEY *eckey), | |
int (**psign_setup)(EC_KEY *eckey, BN_CTX *ctx_in, | |
BIGNUM **kinvp, BIGNUM **rp), | |
ECDSA_SIG *(**psign_sig)(const unsigned char *dgst, | |
int dgst_len, | |
const BIGNUM *in_kinv, | |
const BIGNUM *in_r, | |
EC_KEY *eckey)); | |
void EC_KEY_METHOD_get_verify(const EC_KEY_METHOD *meth, | |
int (**pverify)(int type, const unsigned | |
char *dgst, int dgst_len, | |
const unsigned char *sigbuf, | |
int sig_len, EC_KEY *eckey), | |
int (**pverify_sig)(const unsigned char *dgst, | |
int dgst_len, | |
const ECDSA_SIG *sig, | |
EC_KEY *eckey)); | |
# 23 "/usr/include/openssl/x509.h" 2 3 4 | |
# 1 "/usr/include/openssl/rsa.h" 1 3 4 | |
# 13 "/usr/include/openssl/rsa.h" 3 4 | |
# 1 "/usr/include/arm-linux-gnueabihf/openssl/opensslconf.h" 1 3 4 | |
# 14 "/usr/include/openssl/rsa.h" 2 3 4 | |
# 23 "/usr/include/openssl/rsa.h" 3 4 | |
# 1 "/usr/include/openssl/rsaerr.h" 1 3 4 | |
# 21 "/usr/include/openssl/rsaerr.h" 3 4 | |
int ERR_load_RSA_strings(void); | |
# 24 "/usr/include/openssl/rsa.h" 2 3 4 | |
# 198 "/usr/include/openssl/rsa.h" 3 4 | |
RSA *RSA_new(void); | |
RSA *RSA_new_method(ENGINE *engine); | |
int RSA_bits(const RSA *rsa); | |
int RSA_size(const RSA *rsa); | |
int RSA_security_bits(const RSA *rsa); | |
int RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d); | |
int RSA_set0_factors(RSA *r, BIGNUM *p, BIGNUM *q); | |
int RSA_set0_crt_params(RSA *r,BIGNUM *dmp1, BIGNUM *dmq1, BIGNUM *iqmp); | |
int RSA_set0_multi_prime_params(RSA *r, BIGNUM *primes[], BIGNUM *exps[], | |
BIGNUM *coeffs[], int pnum); | |
void RSA_get0_key(const RSA *r, | |
const BIGNUM **n, const BIGNUM **e, const BIGNUM **d); | |
void RSA_get0_factors(const RSA *r, const BIGNUM **p, const BIGNUM **q); | |
int RSA_get_multi_prime_extra_count(const RSA *r); | |
int RSA_get0_multi_prime_factors(const RSA *r, const BIGNUM *primes[]); | |
void RSA_get0_crt_params(const RSA *r, | |
const BIGNUM **dmp1, const BIGNUM **dmq1, | |
const BIGNUM **iqmp); | |
int RSA_get0_multi_prime_crt_params(const RSA *r, const BIGNUM *exps[], | |
const BIGNUM *coeffs[]); | |
const BIGNUM *RSA_get0_n(const RSA *d); | |
const BIGNUM *RSA_get0_e(const RSA *d); | |
const BIGNUM *RSA_get0_d(const RSA *d); | |
const BIGNUM *RSA_get0_p(const RSA *d); | |
const BIGNUM *RSA_get0_q(const RSA *d); | |
const BIGNUM *RSA_get0_dmp1(const RSA *r); | |
const BIGNUM *RSA_get0_dmq1(const RSA *r); | |
const BIGNUM *RSA_get0_iqmp(const RSA *r); | |
void RSA_clear_flags(RSA *r, int flags); | |
int RSA_test_flags(const RSA *r, int flags); | |
void RSA_set_flags(RSA *r, int flags); | |
int RSA_get_version(RSA *r); | |
ENGINE *RSA_get0_engine(const RSA *r); | |
RSA *RSA_generate_key(int bits, unsigned long e, void (*callback) (int, int, void *), void *cb_arg) __attribute__ ((deprecated)); | |
int RSA_generate_key_ex(RSA *rsa, int bits, BIGNUM *e, BN_GENCB *cb); | |
int RSA_generate_multi_prime_key(RSA *rsa, int bits, int primes, | |
BIGNUM *e, BN_GENCB *cb); | |
int RSA_X931_derive_ex(RSA *rsa, BIGNUM *p1, BIGNUM *p2, BIGNUM *q1, | |
BIGNUM *q2, const BIGNUM *Xp1, const BIGNUM *Xp2, | |
const BIGNUM *Xp, const BIGNUM *Xq1, const BIGNUM *Xq2, | |
const BIGNUM *Xq, const BIGNUM *e, BN_GENCB *cb); | |
int RSA_X931_generate_key_ex(RSA *rsa, int bits, const BIGNUM *e, | |
BN_GENCB *cb); | |
int RSA_check_key(const RSA *); | |
int RSA_check_key_ex(const RSA *, BN_GENCB *cb); | |
int RSA_public_encrypt(int flen, const unsigned char *from, | |
unsigned char *to, RSA *rsa, int padding); | |
int RSA_private_encrypt(int flen, const unsigned char *from, | |
unsigned char *to, RSA *rsa, int padding); | |
int RSA_public_decrypt(int flen, const unsigned char *from, | |
unsigned char *to, RSA *rsa, int padding); | |
int RSA_private_decrypt(int flen, const unsigned char *from, | |
unsigned char *to, RSA *rsa, int padding); | |
void RSA_free(RSA *r); | |
int RSA_up_ref(RSA *r); | |
int RSA_flags(const RSA *r); | |
void RSA_set_default_method(const RSA_METHOD *meth); | |
const RSA_METHOD *RSA_get_default_method(void); | |
const RSA_METHOD *RSA_null_method(void); | |
const RSA_METHOD *RSA_get_method(const RSA *rsa); | |
int RSA_set_method(RSA *rsa, const RSA_METHOD *meth); | |
const RSA_METHOD *RSA_PKCS1_OpenSSL(void); | |
int RSA_pkey_ctx_ctrl(EVP_PKEY_CTX *ctx, int optype, int cmd, int p1, void *p2); | |
RSA *d2i_RSAPublicKey(RSA **a, const unsigned char **in, long len); int i2d_RSAPublicKey(const RSA *a, unsigned char **out); extern const ASN1_ITEM RSAPublicKey_it; | |
RSA *d2i_RSAPrivateKey(RSA **a, const unsigned char **in, long len); int i2d_RSAPrivateKey(const RSA *a, unsigned char **out); extern const ASN1_ITEM RSAPrivateKey_it; | |
typedef struct rsa_pss_params_st { | |
X509_ALGOR *hashAlgorithm; | |
X509_ALGOR *maskGenAlgorithm; | |
ASN1_INTEGER *saltLength; | |
ASN1_INTEGER *trailerField; | |
X509_ALGOR *maskHash; | |
} RSA_PSS_PARAMS; | |
RSA_PSS_PARAMS *RSA_PSS_PARAMS_new(void); void RSA_PSS_PARAMS_free(RSA_PSS_PARAMS *a); RSA_PSS_PARAMS *d2i_RSA_PSS_PARAMS(RSA_PSS_PARAMS **a, const unsigned char **in, long len); int i2d_RSA_PSS_PARAMS(RSA_PSS_PARAMS *a, unsigned char **out); extern const ASN1_ITEM RSA_PSS_PARAMS_it; | |
typedef struct rsa_oaep_params_st { | |
X509_ALGOR *hashFunc; | |
X509_ALGOR *maskGenFunc; | |
X509_ALGOR *pSourceFunc; | |
X509_ALGOR *maskHash; | |
} RSA_OAEP_PARAMS; | |
RSA_OAEP_PARAMS *RSA_OAEP_PARAMS_new(void); void RSA_OAEP_PARAMS_free(RSA_OAEP_PARAMS *a); RSA_OAEP_PARAMS *d2i_RSA_OAEP_PARAMS(RSA_OAEP_PARAMS **a, const unsigned char **in, long len); int i2d_RSA_OAEP_PARAMS(RSA_OAEP_PARAMS *a, unsigned char **out); extern const ASN1_ITEM RSA_OAEP_PARAMS_it; | |
int RSA_print_fp(FILE *fp, const RSA *r, int offset); | |
int RSA_print(BIO *bp, const RSA *r, int offset); | |
int RSA_sign(int type, const unsigned char *m, unsigned int m_length, | |
unsigned char *sigret, unsigned int *siglen, RSA *rsa); | |
int RSA_verify(int type, const unsigned char *m, unsigned int m_length, | |
const unsigned char *sigbuf, unsigned int siglen, RSA *rsa); | |
int RSA_sign_ASN1_OCTET_STRING(int type, | |
const unsigned char *m, unsigned int m_length, | |
unsigned char *sigret, unsigned int *siglen, | |
RSA *rsa); | |
int RSA_verify_ASN1_OCTET_STRING(int type, const unsigned char *m, | |
unsigned int m_length, unsigned char *sigbuf, | |
unsigned int siglen, RSA *rsa); | |
int RSA_blinding_on(RSA *rsa, BN_CTX *ctx); | |
void RSA_blinding_off(RSA *rsa); | |
BN_BLINDING *RSA_setup_blinding(RSA *rsa, BN_CTX *ctx); | |
int RSA_padding_add_PKCS1_type_1(unsigned char *to, int tlen, | |
const unsigned char *f, int fl); | |
int RSA_padding_check_PKCS1_type_1(unsigned char *to, int tlen, | |
const unsigned char *f, int fl, | |
int rsa_len); | |
int RSA_padding_add_PKCS1_type_2(unsigned char *to, int tlen, | |
const unsigned char *f, int fl); | |
int RSA_padding_check_PKCS1_type_2(unsigned char *to, int tlen, | |
const unsigned char *f, int fl, | |
int rsa_len); | |
int PKCS1_MGF1(unsigned char *mask, long len, const unsigned char *seed, | |
long seedlen, const EVP_MD *dgst); | |
int RSA_padding_add_PKCS1_OAEP(unsigned char *to, int tlen, | |
const unsigned char *f, int fl, | |
const unsigned char *p, int pl); | |
int RSA_padding_check_PKCS1_OAEP(unsigned char *to, int tlen, | |
const unsigned char *f, int fl, int rsa_len, | |
const unsigned char *p, int pl); | |
int RSA_padding_add_PKCS1_OAEP_mgf1(unsigned char *to, int tlen, | |
const unsigned char *from, int flen, | |
const unsigned char *param, int plen, | |
const EVP_MD *md, const EVP_MD *mgf1md); | |
int RSA_padding_check_PKCS1_OAEP_mgf1(unsigned char *to, int tlen, | |
const unsigned char *from, int flen, | |
int num, const unsigned char *param, | |
int plen, const EVP_MD *md, | |
const EVP_MD *mgf1md); | |
int RSA_padding_add_SSLv23(unsigned char *to, int tlen, | |
const unsigned char *f, int fl); | |
int RSA_padding_check_SSLv23(unsigned char *to, int tlen, | |
const unsigned char *f, int fl, int rsa_len); | |
int RSA_padding_add_none(unsigned char *to, int tlen, const unsigned char *f, | |
int fl); | |
int RSA_padding_check_none(unsigned char *to, int tlen, | |
const unsigned char *f, int fl, int rsa_len); | |
int RSA_padding_add_X931(unsigned char *to, int tlen, const unsigned char *f, | |
int fl); | |
int RSA_padding_check_X931(unsigned char *to, int tlen, | |
const unsigned char *f, int fl, int rsa_len); | |
int RSA_X931_hash_id(int nid); | |
int RSA_verify_PKCS1_PSS(RSA *rsa, const unsigned char *mHash, | |
const EVP_MD *Hash, const unsigned char *EM, | |
int sLen); | |
int RSA_padding_add_PKCS1_PSS(RSA *rsa, unsigned char *EM, | |
const unsigned char *mHash, const EVP_MD *Hash, | |
int sLen); | |
int RSA_verify_PKCS1_PSS_mgf1(RSA *rsa, const unsigned char *mHash, | |
const EVP_MD *Hash, const EVP_MD *mgf1Hash, | |
const unsigned char *EM, int sLen); | |
int RSA_padding_add_PKCS1_PSS_mgf1(RSA *rsa, unsigned char *EM, | |
const unsigned char *mHash, | |
const EVP_MD *Hash, const EVP_MD *mgf1Hash, | |
int sLen); | |
int RSA_set_ex_data(RSA *r, int idx, void *arg); | |
void *RSA_get_ex_data(const RSA *r, int idx); | |
RSA *RSAPublicKey_dup(RSA *rsa); | |
RSA *RSAPrivateKey_dup(RSA *rsa); | |
# 421 "/usr/include/openssl/rsa.h" 3 4 | |
RSA_METHOD *RSA_meth_new(const char *name, int flags); | |
void RSA_meth_free(RSA_METHOD *meth); | |
RSA_METHOD *RSA_meth_dup(const RSA_METHOD *meth); | |
const char *RSA_meth_get0_name(const RSA_METHOD *meth); | |
int RSA_meth_set1_name(RSA_METHOD *meth, const char *name); | |
int RSA_meth_get_flags(const RSA_METHOD *meth); | |
int RSA_meth_set_flags(RSA_METHOD *meth, int flags); | |
void *RSA_meth_get0_app_data(const RSA_METHOD *meth); | |
int RSA_meth_set0_app_data(RSA_METHOD *meth, void *app_data); | |
int (*RSA_meth_get_pub_enc(const RSA_METHOD *meth)) | |
(int flen, const unsigned char *from, | |
unsigned char *to, RSA *rsa, int padding); | |
int RSA_meth_set_pub_enc(RSA_METHOD *rsa, | |
int (*pub_enc) (int flen, const unsigned char *from, | |
unsigned char *to, RSA *rsa, | |
int padding)); | |
int (*RSA_meth_get_pub_dec(const RSA_METHOD *meth)) | |
(int flen, const unsigned char *from, | |
unsigned char *to, RSA *rsa, int padding); | |
int RSA_meth_set_pub_dec(RSA_METHOD *rsa, | |
int (*pub_dec) (int flen, const unsigned char *from, | |
unsigned char *to, RSA *rsa, | |
int padding)); | |
int (*RSA_meth_get_priv_enc(const RSA_METHOD *meth)) | |
(int flen, const unsigned char *from, | |
unsigned char *to, RSA *rsa, int padding); | |
int RSA_meth_set_priv_enc(RSA_METHOD *rsa, | |
int (*priv_enc) (int flen, const unsigned char *from, | |
unsigned char *to, RSA *rsa, | |
int padding)); | |
int (*RSA_meth_get_priv_dec(const RSA_METHOD *meth)) | |
(int flen, const unsigned char *from, | |
unsigned char *to, RSA *rsa, int padding); | |
int RSA_meth_set_priv_dec(RSA_METHOD *rsa, | |
int (*priv_dec) (int flen, const unsigned char *from, | |
unsigned char *to, RSA *rsa, | |
int padding)); | |
int (*RSA_meth_get_mod_exp(const RSA_METHOD *meth)) | |
(BIGNUM *r0, const BIGNUM *i, RSA *rsa, BN_CTX *ctx); | |
int RSA_meth_set_mod_exp(RSA_METHOD *rsa, | |
int (*mod_exp) (BIGNUM *r0, const BIGNUM *i, RSA *rsa, | |
BN_CTX *ctx)); | |
int (*RSA_meth_get_bn_mod_exp(const RSA_METHOD *meth)) | |
(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, | |
const BIGNUM *m, BN_CTX *ctx, BN_MONT_CTX *m_ctx); | |
int RSA_meth_set_bn_mod_exp(RSA_METHOD *rsa, | |
int (*bn_mod_exp) (BIGNUM *r, | |
const BIGNUM *a, | |
const BIGNUM *p, | |
const BIGNUM *m, | |
BN_CTX *ctx, | |
BN_MONT_CTX *m_ctx)); | |
int (*RSA_meth_get_init(const RSA_METHOD *meth)) (RSA *rsa); | |
int RSA_meth_set_init(RSA_METHOD *rsa, int (*init) (RSA *rsa)); | |
int (*RSA_meth_get_finish(const RSA_METHOD *meth)) (RSA *rsa); | |
int RSA_meth_set_finish(RSA_METHOD *rsa, int (*finish) (RSA *rsa)); | |
int (*RSA_meth_get_sign(const RSA_METHOD *meth)) | |
(int type, | |
const unsigned char *m, unsigned int m_length, | |
unsigned char *sigret, unsigned int *siglen, | |
const RSA *rsa); | |
int RSA_meth_set_sign(RSA_METHOD *rsa, | |
int (*sign) (int type, const unsigned char *m, | |
unsigned int m_length, | |
unsigned char *sigret, unsigned int *siglen, | |
const RSA *rsa)); | |
int (*RSA_meth_get_verify(const RSA_METHOD *meth)) | |
(int dtype, const unsigned char *m, | |
unsigned int m_length, const unsigned char *sigbuf, | |
unsigned int siglen, const RSA *rsa); | |
int RSA_meth_set_verify(RSA_METHOD *rsa, | |
int (*verify) (int dtype, const unsigned char *m, | |
unsigned int m_length, | |
const unsigned char *sigbuf, | |
unsigned int siglen, const RSA *rsa)); | |
int (*RSA_meth_get_keygen(const RSA_METHOD *meth)) | |
(RSA *rsa, int bits, BIGNUM *e, BN_GENCB *cb); | |
int RSA_meth_set_keygen(RSA_METHOD *rsa, | |
int (*keygen) (RSA *rsa, int bits, BIGNUM *e, | |
BN_GENCB *cb)); | |
int (*RSA_meth_get_multi_prime_keygen(const RSA_METHOD *meth)) | |
(RSA *rsa, int bits, int primes, BIGNUM *e, BN_GENCB *cb); | |
int RSA_meth_set_multi_prime_keygen(RSA_METHOD *meth, | |
int (*keygen) (RSA *rsa, int bits, | |
int primes, BIGNUM *e, | |
BN_GENCB *cb)); | |
# 26 "/usr/include/openssl/x509.h" 2 3 4 | |
# 1 "/usr/include/openssl/dsa.h" 1 3 4 | |
# 13 "/usr/include/openssl/dsa.h" 3 4 | |
# 1 "/usr/include/arm-linux-gnueabihf/openssl/opensslconf.h" 1 3 4 | |
# 14 "/usr/include/openssl/dsa.h" 2 3 4 | |
# 25 "/usr/include/openssl/dsa.h" 3 4 | |
# 1 "/usr/include/openssl/dh.h" 1 3 4 | |
# 13 "/usr/include/openssl/dh.h" 3 4 | |
# 1 "/usr/include/arm-linux-gnueabihf/openssl/opensslconf.h" 1 3 4 | |
# 14 "/usr/include/openssl/dh.h" 2 3 4 | |
# 23 "/usr/include/openssl/dh.h" 3 4 | |
# 1 "/usr/include/openssl/dherr.h" 1 3 4 | |
# 18 "/usr/include/openssl/dherr.h" 3 4 | |
# 1 "/usr/include/arm-linux-gnueabihf/openssl/opensslconf.h" 1 3 4 | |
# 19 "/usr/include/openssl/dherr.h" 2 3 4 | |
int ERR_load_DH_strings(void); | |
# 24 "/usr/include/openssl/dh.h" 2 3 4 | |
# 65 "/usr/include/openssl/dh.h" 3 4 | |
extern const ASN1_ITEM DHparams_it; | |
# 115 "/usr/include/openssl/dh.h" 3 4 | |
DH *DHparams_dup(DH *); | |
const DH_METHOD *DH_OpenSSL(void); | |
void DH_set_default_method(const DH_METHOD *meth); | |
const DH_METHOD *DH_get_default_method(void); | |
int DH_set_method(DH *dh, const DH_METHOD *meth); | |
DH *DH_new_method(ENGINE *engine); | |
DH *DH_new(void); | |
void DH_free(DH *dh); | |
int DH_up_ref(DH *dh); | |
int DH_bits(const DH *dh); | |
int DH_size(const DH *dh); | |
int DH_security_bits(const DH *dh); | |
int DH_set_ex_data(DH *d, int idx, void *arg); | |
void *DH_get_ex_data(DH *d, int idx); | |
DH *DH_generate_parameters(int prime_len, int generator, void (*callback) (int, int, void *), void *cb_arg) __attribute__ ((deprecated)); | |
int DH_generate_parameters_ex(DH *dh, int prime_len, int generator, | |
BN_GENCB *cb); | |
int DH_check_params_ex(const DH *dh); | |
int DH_check_ex(const DH *dh); | |
int DH_check_pub_key_ex(const DH *dh, const BIGNUM *pub_key); | |
int DH_check_params(const DH *dh, int *ret); | |
int DH_check(const DH *dh, int *codes); | |
int DH_check_pub_key(const DH *dh, const BIGNUM *pub_key, int *codes); | |
int DH_generate_key(DH *dh); | |
int DH_compute_key(unsigned char *key, const BIGNUM *pub_key, DH *dh); | |
int DH_compute_key_padded(unsigned char *key, const BIGNUM *pub_key, DH *dh); | |
DH *d2i_DHparams(DH **a, const unsigned char **pp, long length); | |
int i2d_DHparams(const DH *a, unsigned char **pp); | |
DH *d2i_DHxparams(DH **a, const unsigned char **pp, long length); | |
int i2d_DHxparams(const DH *a, unsigned char **pp); | |
int DHparams_print_fp(FILE *fp, const DH *x); | |
int DHparams_print(BIO *bp, const DH *x); | |
DH *DH_get_1024_160(void); | |
DH *DH_get_2048_224(void); | |
DH *DH_get_2048_256(void); | |
DH *DH_new_by_nid(int nid); | |
int DH_get_nid(const DH *dh); | |
int DH_KDF_X9_42(unsigned char *out, size_t outlen, | |
const unsigned char *Z, size_t Zlen, | |
ASN1_OBJECT *key_oid, | |
const unsigned char *ukm, size_t ukmlen, const EVP_MD *md); | |
void DH_get0_pqg(const DH *dh, | |
const BIGNUM **p, const BIGNUM **q, const BIGNUM **g); | |
int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g); | |
void DH_get0_key(const DH *dh, | |
const BIGNUM **pub_key, const BIGNUM **priv_key); | |
int DH_set0_key(DH *dh, BIGNUM *pub_key, BIGNUM *priv_key); | |
const BIGNUM *DH_get0_p(const DH *dh); | |
const BIGNUM *DH_get0_q(const DH *dh); | |
const BIGNUM *DH_get0_g(const DH *dh); | |
const BIGNUM *DH_get0_priv_key(const DH *dh); | |
const BIGNUM *DH_get0_pub_key(const DH *dh); | |
void DH_clear_flags(DH *dh, int flags); | |
int DH_test_flags(const DH *dh, int flags); | |
void DH_set_flags(DH *dh, int flags); | |
ENGINE *DH_get0_engine(DH *d); | |
long DH_get_length(const DH *dh); | |
int DH_set_length(DH *dh, long length); | |
DH_METHOD *DH_meth_new(const char *name, int flags); | |
void DH_meth_free(DH_METHOD *dhm); | |
DH_METHOD *DH_meth_dup(const DH_METHOD *dhm); | |
const char *DH_meth_get0_name(const DH_METHOD *dhm); | |
int DH_meth_set1_name(DH_METHOD *dhm, const char *name); | |
int DH_meth_get_flags(const DH_METHOD *dhm); | |
int DH_meth_set_flags(DH_METHOD *dhm, int flags); | |
void *DH_meth_get0_app_data(const DH_METHOD *dhm); | |
int DH_meth_set0_app_data(DH_METHOD *dhm, void *app_data); | |
int (*DH_meth_get_generate_key(const DH_METHOD *dhm)) (DH *); | |
int DH_meth_set_generate_key(DH_METHOD *dhm, int (*generate_key) (DH *)); | |
int (*DH_meth_get_compute_key(const DH_METHOD *dhm)) | |
(unsigned char *key, const BIGNUM *pub_key, DH *dh); | |
int DH_meth_set_compute_key(DH_METHOD *dhm, | |
int (*compute_key) (unsigned char *key, const BIGNUM *pub_key, DH *dh)); | |
int (*DH_meth_get_bn_mod_exp(const DH_METHOD *dhm)) | |
(const DH *, BIGNUM *, const BIGNUM *, const BIGNUM *, const BIGNUM *, | |
BN_CTX *, BN_MONT_CTX *); | |
int DH_meth_set_bn_mod_exp(DH_METHOD *dhm, | |
int (*bn_mod_exp) (const DH *, BIGNUM *, const BIGNUM *, const BIGNUM *, | |
const BIGNUM *, BN_CTX *, BN_MONT_CTX *)); | |
int (*DH_meth_get_init(const DH_METHOD *dhm))(DH *); | |
int DH_meth_set_init(DH_METHOD *dhm, int (*init)(DH *)); | |
int (*DH_meth_get_finish(const DH_METHOD *dhm)) (DH *); | |
int DH_meth_set_finish(DH_METHOD *dhm, int (*finish) (DH *)); | |
int (*DH_meth_get_generate_params(const DH_METHOD *dhm)) | |
(DH *, int, int, BN_GENCB *); | |
int DH_meth_set_generate_params(DH_METHOD *dhm, | |
int (*generate_params) (DH *, int, int, BN_GENCB *)); | |
# 26 "/usr/include/openssl/dsa.h" 2 3 4 | |
# 1 "/usr/include/openssl/dsaerr.h" 1 3 4 | |
# 18 "/usr/include/openssl/dsaerr.h" 3 4 | |
# 1 "/usr/include/arm-linux-gnueabihf/openssl/opensslconf.h" 1 3 4 | |
# 19 "/usr/include/openssl/dsaerr.h" 2 3 4 | |
int ERR_load_DSA_strings(void); | |
# 28 "/usr/include/openssl/dsa.h" 2 3 4 | |
# 65 "/usr/include/openssl/dsa.h" 3 4 | |
typedef struct DSA_SIG_st DSA_SIG; | |
# 74 "/usr/include/openssl/dsa.h" 3 4 | |
DSA *DSAparams_dup(DSA *x); | |
DSA_SIG *DSA_SIG_new(void); | |
void DSA_SIG_free(DSA_SIG *a); | |
int i2d_DSA_SIG(const DSA_SIG *a, unsigned char **pp); | |
DSA_SIG *d2i_DSA_SIG(DSA_SIG **v, const unsigned char **pp, long length); | |
void DSA_SIG_get0(const DSA_SIG *sig, const BIGNUM **pr, const BIGNUM **ps); | |
int DSA_SIG_set0(DSA_SIG *sig, BIGNUM *r, BIGNUM *s); | |
DSA_SIG *DSA_do_sign(const unsigned char *dgst, int dlen, DSA *dsa); | |
int DSA_do_verify(const unsigned char *dgst, int dgst_len, | |
DSA_SIG *sig, DSA *dsa); | |
const DSA_METHOD *DSA_OpenSSL(void); | |
void DSA_set_default_method(const DSA_METHOD *); | |
const DSA_METHOD *DSA_get_default_method(void); | |
int DSA_set_method(DSA *dsa, const DSA_METHOD *); | |
const DSA_METHOD *DSA_get_method(DSA *d); | |
DSA *DSA_new(void); | |
DSA *DSA_new_method(ENGINE *engine); | |
void DSA_free(DSA *r); | |
int DSA_up_ref(DSA *r); | |
int DSA_size(const DSA *); | |
int DSA_bits(const DSA *d); | |
int DSA_security_bits(const DSA *d); | |
int DSA_sign_setup(DSA *dsa, BN_CTX *ctx_in, BIGNUM **kinvp, BIGNUM **rp); | |
int DSA_sign(int type, const unsigned char *dgst, int dlen, | |
unsigned char *sig, unsigned int *siglen, DSA *dsa); | |
int DSA_verify(int type, const unsigned char *dgst, int dgst_len, | |
const unsigned char *sigbuf, int siglen, DSA *dsa); | |
int DSA_set_ex_data(DSA *d, int idx, void *arg); | |
void *DSA_get_ex_data(DSA *d, int idx); | |
DSA *d2i_DSAPublicKey(DSA **a, const unsigned char **pp, long length); | |
DSA *d2i_DSAPrivateKey(DSA **a, const unsigned char **pp, long length); | |
DSA *d2i_DSAparams(DSA **a, const unsigned char **pp, long length); | |
DSA *DSA_generate_parameters(int bits, unsigned char *seed, int seed_len, int *counter_ret, unsigned long *h_ret, void (*callback) (int, int, void *), void *cb_arg) __attribute__ ((deprecated)); | |
# 127 "/usr/include/openssl/dsa.h" 3 4 | |
int DSA_generate_parameters_ex(DSA *dsa, int bits, | |
const unsigned char *seed, int seed_len, | |
int *counter_ret, unsigned long *h_ret, | |
BN_GENCB *cb); | |
int DSA_generate_key(DSA *a); | |
int i2d_DSAPublicKey(const DSA *a, unsigned char **pp); | |
int i2d_DSAPrivateKey(const DSA *a, unsigned char **pp); | |
int i2d_DSAparams(const DSA *a, unsigned char **pp); | |
int DSAparams_print(BIO *bp, const DSA *x); | |
int DSA_print(BIO *bp, const DSA *x, int off); | |
int DSAparams_print_fp(FILE *fp, const DSA *x); | |
int DSA_print_fp(FILE *bp, const DSA *x, int off); | |
# 159 "/usr/include/openssl/dsa.h" 3 4 | |
DH *DSA_dup_DH(const DSA *r); | |
# 170 "/usr/include/openssl/dsa.h" 3 4 | |
void DSA_get0_pqg(const DSA *d, | |
const BIGNUM **p, const BIGNUM **q, const BIGNUM **g); | |
int DSA_set0_pqg(DSA *d, BIGNUM *p, BIGNUM *q, BIGNUM *g); | |
void DSA_get0_key(const DSA *d, | |
const BIGNUM **pub_key, const BIGNUM **priv_key); | |
int DSA_set0_key(DSA *d, BIGNUM *pub_key, BIGNUM *priv_key); | |
const BIGNUM *DSA_get0_p(const DSA *d); | |
const BIGNUM *DSA_get0_q(const DSA *d); | |
const BIGNUM *DSA_get0_g(const DSA *d); | |
const BIGNUM *DSA_get0_pub_key(const DSA *d); | |
const BIGNUM *DSA_get0_priv_key(const DSA *d); | |
void DSA_clear_flags(DSA *d, int flags); | |
int DSA_test_flags(const DSA *d, int flags); | |
void DSA_set_flags(DSA *d, int flags); | |
ENGINE *DSA_get0_engine(DSA *d); | |
DSA_METHOD *DSA_meth_new(const char *name, int flags); | |
void DSA_meth_free(DSA_METHOD *dsam); | |
DSA_METHOD *DSA_meth_dup(const DSA_METHOD *dsam); | |
const char *DSA_meth_get0_name(const DSA_METHOD *dsam); | |
int DSA_meth_set1_name(DSA_METHOD *dsam, const char *name); | |
int DSA_meth_get_flags(const DSA_METHOD *dsam); | |
int DSA_meth_set_flags(DSA_METHOD *dsam, int flags); | |
void *DSA_meth_get0_app_data(const DSA_METHOD *dsam); | |
int DSA_meth_set0_app_data(DSA_METHOD *dsam, void *app_data); | |
DSA_SIG *(*DSA_meth_get_sign(const DSA_METHOD *dsam)) | |
(const unsigned char *, int, DSA *); | |
int DSA_meth_set_sign(DSA_METHOD *dsam, | |
DSA_SIG *(*sign) (const unsigned char *, int, DSA *)); | |
int (*DSA_meth_get_sign_setup(const DSA_METHOD *dsam)) | |
(DSA *, BN_CTX *, BIGNUM **, BIGNUM **); | |
int DSA_meth_set_sign_setup(DSA_METHOD *dsam, | |
int (*sign_setup) (DSA *, BN_CTX *, BIGNUM **, BIGNUM **)); | |
int (*DSA_meth_get_verify(const DSA_METHOD *dsam)) | |
(const unsigned char *, int, DSA_SIG *, DSA *); | |
int DSA_meth_set_verify(DSA_METHOD *dsam, | |
int (*verify) (const unsigned char *, int, DSA_SIG *, DSA *)); | |
int (*DSA_meth_get_mod_exp(const DSA_METHOD *dsam)) | |
(DSA *, BIGNUM *, const BIGNUM *, const BIGNUM *, const BIGNUM *, | |
const BIGNUM *, const BIGNUM *, BN_CTX *, BN_MONT_CTX *); | |
int DSA_meth_set_mod_exp(DSA_METHOD *dsam, | |
int (*mod_exp) (DSA *, BIGNUM *, const BIGNUM *, const BIGNUM *, | |
const BIGNUM *, const BIGNUM *, const BIGNUM *, BN_CTX *, | |
BN_MONT_CTX *)); | |
int (*DSA_meth_get_bn_mod_exp(const DSA_METHOD *dsam)) | |
(DSA *, BIGNUM *, const BIGNUM *, const BIGNUM *, const BIGNUM *, | |
BN_CTX *, BN_MONT_CTX *); | |
int DSA_meth_set_bn_mod_exp(DSA_METHOD *dsam, | |
int (*bn_mod_exp) (DSA *, BIGNUM *, const BIGNUM *, const BIGNUM *, | |
const BIGNUM *, BN_CTX *, BN_MONT_CTX *)); | |
int (*DSA_meth_get_init(const DSA_METHOD *dsam))(DSA *); | |
int DSA_meth_set_init(DSA_METHOD *dsam, int (*init)(DSA *)); | |
int (*DSA_meth_get_finish(const DSA_METHOD *dsam)) (DSA *); | |
int DSA_meth_set_finish(DSA_METHOD *dsam, int (*finish) (DSA *)); | |
int (*DSA_meth_get_paramgen(const DSA_METHOD *dsam)) | |
(DSA *, int, const unsigned char *, int, int *, unsigned long *, | |
BN_GENCB *); | |
int DSA_meth_set_paramgen(DSA_METHOD *dsam, | |
int (*paramgen) (DSA *, int, const unsigned char *, int, int *, | |
unsigned long *, BN_GENCB *)); | |
int (*DSA_meth_get_keygen(const DSA_METHOD *dsam)) (DSA *); | |
int DSA_meth_set_keygen(DSA_METHOD *dsam, int (*keygen) (DSA *)); | |
# 27 "/usr/include/openssl/x509.h" 2 3 4 | |
# 1 "/usr/include/openssl/sha.h" 1 3 4 | |
# 14 "/usr/include/openssl/sha.h" 3 4 | |
# 1 "/usr/lib/gcc/arm-linux-gnueabihf/8/include/stddef.h" 1 3 4 | |
# 15 "/usr/include/openssl/sha.h" 2 3 4 | |
# 34 "/usr/include/openssl/sha.h" 3 4 | |
typedef struct SHAstate_st { | |
unsigned int h0, h1, h2, h3, h4; | |
unsigned int Nl, Nh; | |
unsigned int data[16]; | |
unsigned int num; | |
} SHA_CTX; | |
int SHA1_Init(SHA_CTX *c); | |
int SHA1_Update(SHA_CTX *c, const void *data, size_t len); | |
int SHA1_Final(unsigned char *md, SHA_CTX *c); | |
unsigned char *SHA1(const unsigned char *d, size_t n, unsigned char *md); | |
void SHA1_Transform(SHA_CTX *c, const unsigned char *data); | |
typedef struct SHA256state_st { | |
unsigned int h[8]; | |
unsigned int Nl, Nh; | |
unsigned int data[16]; | |
unsigned int num, md_len; | |
} SHA256_CTX; | |
int SHA224_Init(SHA256_CTX *c); | |
int SHA224_Update(SHA256_CTX *c, const void *data, size_t len); | |
int SHA224_Final(unsigned char *md, SHA256_CTX *c); | |
unsigned char *SHA224(const unsigned char *d, size_t n, unsigned char *md); | |
int SHA256_Init(SHA256_CTX *c); | |
int SHA256_Update(SHA256_CTX *c, const void *data, size_t len); | |
int SHA256_Final(unsigned char *md, SHA256_CTX *c); | |
unsigned char *SHA256(const unsigned char *d, size_t n, unsigned char *md); | |
void SHA256_Transform(SHA256_CTX *c, const unsigned char *data); | |
# 95 "/usr/include/openssl/sha.h" 3 4 | |
typedef struct SHA512state_st { | |
unsigned long long h[8]; | |
unsigned long long Nl, Nh; | |
union { | |
unsigned long long d[16]; | |
unsigned char p[(16*8)]; | |
} u; | |
unsigned int num, md_len; | |
} SHA512_CTX; | |
int SHA384_Init(SHA512_CTX *c); | |
int SHA384_Update(SHA512_CTX *c, const void *data, size_t len); | |
int SHA384_Final(unsigned char *md, SHA512_CTX *c); | |
unsigned char *SHA384(const unsigned char *d, size_t n, unsigned char *md); | |
int SHA512_Init(SHA512_CTX *c); | |
int SHA512_Update(SHA512_CTX *c, const void *data, size_t len); | |
int SHA512_Final(unsigned char *md, SHA512_CTX *c); | |
unsigned char *SHA512(const unsigned char *d, size_t n, unsigned char *md); | |
void SHA512_Transform(SHA512_CTX *c, const unsigned char *data); | |
# 31 "/usr/include/openssl/x509.h" 2 3 4 | |
# 1 "/usr/include/openssl/x509err.h" 1 3 4 | |
# 21 "/usr/include/openssl/x509err.h" 3 4 | |
int ERR_load_X509_strings(void); | |
# 32 "/usr/include/openssl/x509.h" 2 3 4 | |
# 59 "/usr/include/openssl/x509.h" 3 4 | |
struct X509_algor_st { | |
ASN1_OBJECT *algorithm; | |
ASN1_TYPE *parameter; | |
} ; | |
typedef struct stack_st_X509_ALGOR X509_ALGORS; | |
typedef struct X509_val_st { | |
ASN1_TIME *notBefore; | |
ASN1_TIME *notAfter; | |
} X509_VAL; | |
typedef struct X509_sig_st X509_SIG; | |
typedef struct X509_name_entry_st X509_NAME_ENTRY; | |
struct stack_st_X509_NAME_ENTRY; typedef int (*sk_X509_NAME_ENTRY_compfunc)(const X509_NAME_ENTRY * const *a, const X509_NAME_ENTRY *const *b); typedef void (*sk_X509_NAME_ENTRY_freefunc)(X509_NAME_ENTRY *a); typedef X509_NAME_ENTRY * (*sk_X509_NAME_ENTRY_copyfunc)(const X509_NAME_ENTRY *a); static __attribute__((unused)) inline int sk_X509_NAME_ENTRY_num(const struct stack_st_X509_NAME_ENTRY *sk) { return OPENSSL_sk_num((const OPENSSL_STACK *)sk); } static __attribute__((unused)) inline X509_NAME_ENTRY *sk_X509_NAME_ENTRY_value(const struct stack_st_X509_NAME_ENTRY *sk, int idx) { return (X509_NAME_ENTRY *)OPENSSL_sk_value((const OPENSSL_STACK *)sk, idx); } static __attribute__((unused)) inline struct stack_st_X509_NAME_ENTRY *sk_X509_NAME_ENTRY_new(sk_X509_NAME_ENTRY_compfunc compare) { return (struct stack_st_X509_NAME_ENTRY *)OPENSSL_sk_new((OPENSSL_sk_compfunc)compare); } static __attribute__((unused)) inline struct stack_st_X509_NAME_ENTRY *sk_X509_NAME_ENTRY_new_null(void) { return (struct stack_st_X509_NAME_ENTRY *)OPENSSL_sk_new_null(); } static __attribute__((unused)) inline struct stack_st_X509_NAME_ENTRY *sk_X509_NAME_ENTRY_new_reserve(sk_X509_NAME_ENTRY_compfunc compare, int n) { return (struct stack_st_X509_NAME_ENTRY *)OPENSSL_sk_new_reserve((OPENSSL_sk_compfunc)compare, n); } static __attribute__((unused)) inline int sk_X509_NAME_ENTRY_reserve(struct stack_st_X509_NAME_ENTRY *sk, int n) { return OPENSSL_sk_reserve((OPENSSL_STACK *)sk, n); } static __attribute__((unused)) inline void sk_X509_NAME_ENTRY_free(struct stack_st_X509_NAME_ENTRY *sk) { OPENSSL_sk_free((OPENSSL_STACK *)sk); } static __attribute__((unused)) inline void sk_X509_NAME_ENTRY_zero(struct stack_st_X509_NAME_ENTRY *sk) { OPENSSL_sk_zero((OPENSSL_STACK *)sk); } static __attribute__((unused)) inline X509_NAME_ENTRY *sk_X509_NAME_ENTRY_delete(struct stack_st_X509_NAME_ENTRY *sk, int i) { return (X509_NAME_ENTRY *)OPENSSL_sk_delete((OPENSSL_STACK *)sk, i); } static __attribute__((unused)) inline X509_NAME_ENTRY *sk_X509_NAME_ENTRY_delete_ptr(struct stack_st_X509_NAME_ENTRY *sk, X509_NAME_ENTRY *ptr) { return (X509_NAME_ENTRY *)OPENSSL_sk_delete_ptr((OPENSSL_STACK *)sk, (const void *)ptr); } static __attribute__((unused)) inline int sk_X509_NAME_ENTRY_push(struct stack_st_X509_NAME_ENTRY *sk, X509_NAME_ENTRY *ptr) { return OPENSSL_sk_push((OPENSSL_STACK *)sk, (const void *)ptr); } static __attribute__((unused)) inline int sk_X509_NAME_ENTRY_unshift(struct stack_st_X509_NAME_ENTRY *sk, X509_NAME_ENTRY *ptr) { return OPENSSL_sk_unshift((OPENSSL_STACK *)sk, (const void *)ptr); } static __attribute__((unused)) inline X509_NAME_ENTRY *sk_X509_NAME_ENTRY_pop(struct stack_st_X509_NAME_ENTRY *sk) { return (X509_NAME_ENTRY *)OPENSSL_sk_pop((OPENSSL_STACK *)sk); } static __attribute__((unused)) inline X509_NAME_ENTRY *sk_X509_NAME_ENTRY_shift(struct stack_st_X509_NAME_ENTRY *sk) { return (X509_NAME_ENTRY *)OPENSSL_sk_shift((OPENSSL_STACK *)sk); } static __attribute__((unused)) inline void sk_X509_NAME_ENTRY_pop_free(struct stack_st_X509_NAME_ENTRY *sk, sk_X509_NAME_ENTRY_freefunc freefunc) { OPENSSL_sk_pop_free((OPENSSL_STACK *)sk, (OPENSSL_sk_freefunc)freefunc); } static __attribute__((unused)) inline int sk_X509_NAME_ENTRY_insert(struct stack_st_X509_NAME_ENTRY *sk, X509_NAME_ENTRY *ptr, int idx) { return OPENSSL_sk_insert((OPENSSL_STACK *)sk, (const void *)ptr, idx); } static __attribute__((unused)) inline X509_NAME_ENTRY *sk_X509_NAME_ENTRY_set(struct stack_st_X509_NAME_ENTRY *sk, int idx, X509_NAME_ENTRY *ptr) { return (X509_NAME_ENTRY *)OPENSSL_sk_set((OPENSSL_STACK *)sk, idx, (const void *)ptr); } static __attribute__((unused)) inline int sk_X509_NAME_ENTRY_find(struct stack_st_X509_NAME_ENTRY *sk, X509_NAME_ENTRY *ptr) { return OPENSSL_sk_find((OPENSSL_STACK *)sk, (const void *)ptr); } static __attribute__((unused)) inline int sk_X509_NAME_ENTRY_find_ex(struct stack_st_X509_NAME_ENTRY *sk, X509_NAME_ENTRY *ptr) { return OPENSSL_sk_find_ex((OPENSSL_STACK *)sk, (const void *)ptr); } static __attribute__((unused)) inline void sk_X509_NAME_ENTRY_sort(struct stack_st_X509_NAME_ENTRY *sk) { OPENSSL_sk_sort((OPENSSL_STACK *)sk); } static __attribute__((unused)) inline int sk_X509_NAME_ENTRY_is_sorted(const struct stack_st_X509_NAME_ENTRY *sk) { return OPENSSL_sk_is_sorted((const OPENSSL_STACK *)sk); } static __attribute__((unused)) inline struct stack_st_X509_NAME_ENTRY * sk_X509_NAME_ENTRY_dup(const struct stack_st_X509_NAME_ENTRY *sk) { return (struct stack_st_X509_NAME_ENTRY *)OPENSSL_sk_dup((const OPENSSL_STACK *)sk); } static __attribute__((unused)) inline struct stack_st_X509_NAME_ENTRY *sk_X509_NAME_ENTRY_deep_copy(const struct stack_st_X509_NAME_ENTRY *sk, sk_X509_NAME_ENTRY_copyfunc copyfunc, sk_X509_NAME_ENTRY_freefunc freefunc) { return (struct stack_st_X509_NAME_ENTRY *)OPENSSL_sk_deep_copy((const OPENSSL_STACK *)sk, (OPENSSL_sk_copyfunc)copyfunc, (OPENSSL_sk_freefunc)freefunc); } static __attribute__((unused)) inline sk_X509_NAME_ENTRY_compfunc sk_X509_NAME_ENTRY_set_cmp_func(struct stack_st_X509_NAME_ENTRY *sk, sk_X509_NAME_ENTRY_compfunc compare) { return (sk_X509_NAME_ENTRY_compfunc)OPENSSL_sk_set_cmp_func((OPENSSL_STACK *)sk, (OPENSSL_sk_compfunc)compare); } | |
struct stack_st_X509_NAME; typedef int (*sk_X509_NAME_compfunc)(const X509_NAME * const *a, const X509_NAME *const *b); typedef void (*sk_X509_NAME_freefunc)(X509_NAME *a); typedef X509_NAME * (*sk_X509_NAME_copyfunc)(const X509_NAME *a); static __attribute__((unused)) inline int sk_X509_NAME_num(const struct stack_st_X509_NAME *sk) { return OPENSSL_sk_num((const OPENSSL_STACK *)sk); } static __attribute__((unused)) inline X509_NAME *sk_X509_NAME_value(const struct stack_st_X509_NAME *sk, int idx) { return (X509_NAME *)OPENSSL_sk_value((const OPENSSL_STACK *)sk, idx); } static __attribute__((unused)) inline struct stack_st_X509_NAME *sk_X509_NAME_new(sk_X509_NAME_compfunc compare) { return (struct stack_st_X509_NAME *)OPENSSL_sk_new((OPENSSL_sk_compfunc)compare); } static __attribute__((unused)) inline struct stack_st_X509_NAME *sk_X509_NAME_new_null(void) { return (struct stack_st_X509_NAME *)OPENSSL_sk_new_null(); } static __attribute__((unused)) inline struct stack_st_X509_NAME *sk_X509_NAME_new_reserve(sk_X509_NAME_compfunc compare, int n) { return (struct stack_st_X509_NAME *)OPENSSL_sk_new_reserve((OPENSSL_sk_compfunc)compare, n); } static __attribute__((unused)) inline int sk_X509_NAME_reserve(struct stack_st_X509_NAME *sk, int n) { return OPENSSL_sk_reserve((OPENSSL_STACK *)sk, n); } static __attribute__((unused)) inline void sk_X509_NAME_free(struct stack_st_X509_NAME *sk) { OPENSSL_sk_free((OPENSSL_STACK *)sk); } static __attribute__((unused)) inline void sk_X509_NAME_zero(struct stack_st_X509_NAME *sk) { OPENSSL_sk_zero((OPENSSL_STACK *)sk); } static __attribute__((unused)) inline X509_NAME *sk_X509_NAME_delete(struct stack_st_X509_NAME *sk, int i) { return (X509_NAME *)OPENSSL_sk_delete((OPENSSL_STACK *)sk, i); } static __attribute__((unused)) inline X509_NAME *sk_X509_NAME_delete_ptr(struct stack_st_X509_NAME *sk, X509_NAME *ptr) { return (X509_NAME *)OPENSSL_sk_delete_ptr((OPENSSL_STACK *)sk, (const void *)ptr); } static __attribute__((unused)) inline int sk_X509_NAME_push(struct stack_st_X509_NAME *sk, X509_NAME *ptr) { return OPENSSL_sk_push((OPENSSL_STACK *)sk, (const void *)ptr); } static __attribute__((unused)) inline int sk_X509_NAME_unshift(struct stack_st_X509_NAME *sk, X509_NAME *ptr) { return OPENSSL_sk_unshift((OPENSSL_STACK *)sk, (const void *)ptr); } static __attribute__((unused)) inline X509_NAME *sk_X509_NAME_pop(struct stack_st_X509_NAME *sk) { return (X509_NAME *)OPENSSL_sk_pop((OPENSSL_STACK *)sk); } static __attribute__((unused)) inline X509_NAME *sk_X509_NAME_shift(struct stack_st_X509_NAME *sk) { return (X509_NAME *)OPENSSL_sk_shift((OPENSSL_STACK *)sk); } static __attribute__((unused)) inline void sk_X509_NAME_pop_free(struct stack_st_X509_NAME *sk, sk_X509_NAME_freefunc freefunc) { OPENSSL_sk_pop_free((OPENSSL_STACK *)sk, (OPENSSL_sk_freefunc)freefunc); } static __attribute__((unused)) inline int sk_X509_NAME_insert(struct stack_st_X509_NAME *sk, X509_NAME *ptr, int idx) { return OPENSSL_sk_insert((OPENSSL_STACK *)sk, (const void *)ptr, idx); } static __attribute__((unused)) inline X509_NAME *sk_X509_NAME_set(struct stack_st_X509_NAME *sk, int idx, X509_NAME *ptr) { return (X509_NAME *)OPENSSL_sk_set((OPENSSL_STACK *)sk, idx, (const void *)ptr); } static __attribute__((unused)) inline int sk_X509_NAME_find(struct stack_st_X509_NAME *sk, X509_NAME *ptr) { return OPENSSL_sk_find((OPENSSL_STACK *)sk, (const void *)ptr); } static __attribute__((unused)) inline int sk_X509_NAME_find_ex(struct stack_st_X509_NAME *sk, X509_NAME *ptr) { return OPENSSL_sk_find_ex((OPENSSL_STACK *)sk, (const void *)ptr); } static __attribute__((unused)) inline void sk_X509_NAME_sort(struct stack_st_X509_NAME *sk) { OPENSSL_sk_sort((OPENSSL_STACK *)sk); } static __attribute__((unused)) inline int sk_X509_NAME_is_sorted(const struct stack_st_X509_NAME *sk) { return OPENSSL_sk_is_sorted((const OPENSSL_STACK *)sk); } static __attribute__((unused)) inline struct stack_st_X509_NAME * sk_X509_NAME_dup(const struct stack_st_X509_NAME *sk) { return (struct stack_st_X509_NAME *)OPENSSL_sk_dup((const OPENSSL_STACK *)sk); } static __attribute__((unused)) inline struct stack_st_X509_NAME *sk_X509_NAME_deep_copy(const struct stack_st_X509_NAME *sk, sk_X509_NAME_copyfunc copyfunc, sk_X509_NAME_freefunc freefunc) { return (struct stack_st_X509_NAME *)OPENSSL_sk_deep_copy((const OPENSSL_STACK *)sk, (OPENSSL_sk_copyfunc)copyfunc, (OPENSSL_sk_freefunc)freefunc); } static __attribute__((unused)) inline sk_X509_NAME_compfunc sk_X509_NAME_set_cmp_func(struct stack_st_X509_NAME *sk, sk_X509_NAME_compfunc compare) { return (sk_X509_NAME_compfunc)OPENSSL_sk_set_cmp_func((OPENSSL_STACK *)sk, (OPENSSL_sk_compfunc)compare); } | |
typedef struct X509_extension_st X509_EXTENSION; | |
typedef struct stack_st_X509_EXTENSION X509_EXTENSIONS; | |
struct stack_st_X509_EXTENSION; typedef int (*sk_X509_EXTENSION_compfunc)(const X509_EXTENSION * const *a, const X509_EXTENSION *const *b); typedef void (*sk_X509_EXTENSION_freefunc)(X509_EXTENSION *a); typedef X509_EXTENSION * (*sk_X509_EXTENSION_copyfunc)(const X509_EXTENSION *a); static __attribute__((unused)) inline int sk_X509_EXTENSION_num(const struct stack_st_X509_EXTENSION *sk) { return OPENSSL_sk_num((const OPENSSL_STACK *)sk); } static __attribute__((unused)) inline X509_EXTENSION *sk_X509_EXTENSION_value(const struct stack_st_X509_EXTENSION *sk, int idx) { return (X509_EXTENSION *)OPENSSL_sk_value((const OPENSSL_STACK *)sk, idx); } static __attribute__((unused)) inline struct stack_st_X509_EXTENSION *sk_X509_EXTENSION_new(sk_X509_EXTENSION_compfunc compare) { return (struct stack_st_X509_EXTENSION *)OPENSSL_sk_new((OPENSSL_sk_compfunc)compare); } static __attribute__((unused)) inline struct stack_st_X509_EXTENSION *sk_X509_EXTENSION_new_null(void) { return (struct stack_st_X509_EXTENSION *)OPENSSL_sk_new_null(); } static __attribute__((unused)) inline struct stack_st_X509_EXTENSION *sk_X509_EXTENSION_new_reserve(sk_X509_EXTENSION_compfunc compare, int n) { return (struct stack_st_X509_EXTENSION *)OPENSSL_sk_new_reserve((OPENSSL_sk_compfunc)compare, n); } static __attribute__((unused)) inline int sk_X509_EXTENSION_reserve(struct stack_st_X509_EXTENSION *sk, int n) { return OPENSSL_sk_reserve((OPENSSL_STACK *)sk, n); } static __attribute__((unused)) inline void sk_X509_EXTENSION_free(struct stack_st_X509_EXTENSION *sk) { OPENSSL_sk_free((OPENSSL_STACK *)sk); } static __attribute__((unused)) inline void sk_X509_EXTENSION_zero(struct stack_st_X509_EXTENSION *sk) { OPENSSL_sk_zero((OPENSSL_STACK *)sk); } static __attribute__((unused)) inline X509_EXTENSION *sk_X509_EXTENSION_delete(struct stack_st_X509_EXTENSION *sk, int i) { return (X509_EXTENSION *)OPENSSL_sk_delete((OPENSSL_STACK *)sk, i); } static __attribute__((unused)) inline X509_EXTENSION *sk_X509_EXTENSION_delete_ptr(struct stack_st_X509_EXTENSION *sk, X509_EXTENSION *ptr) { return (X509_EXTENSION *)OPENSSL_sk_delete_ptr((OPENSSL_STACK *)sk, (const void *)ptr); } static __attribute__((unused)) inline int sk_X509_EXTENSION_push(struct stack_st_X509_EXTENSION *sk, X509_EXTENSION *ptr) { return OPENSSL_sk_push((OPENSSL_STACK *)sk, (const void *)ptr); } static __attribute__((unused)) inline int sk_X509_EXTENSION_unshift(struct stack_st_X509_EXTENSION *sk, X509_EXTENSION *ptr) { return OPENSSL_sk_unshift((OPENSSL_STACK *)sk, (const void *)ptr); } static __attribute__((unused)) inline X509_EXTENSION *sk_X509_EXTENSION_pop(struct stack_st_X509_EXTENSION *sk) { return (X509_EXTENSION *)OPENSSL_sk_pop((OPENSSL_STACK *)sk); } static __attribute__((unused)) inline X509_EXTENSION *sk_X509_EXTENSION_shift(struct stack_st_X509_EXTENSION *sk) { return (X509_EXTENSION *)OPENSSL_sk_shift((OPENSSL_STACK *)sk); } static __attribute__((unused)) inline void sk_X509_EXTENSION_pop_free(struct stack_st_X509_EXTENSION *sk, sk_X509_EXTENSION_freefunc freefunc) { OPENSSL_sk_pop_free((OPENSSL_STACK *)sk, (OPENSSL_sk_freefunc)freefunc); } static __attribute__((unused)) inline int sk_X509_EXTENSION_insert(struct stack_st_X509_EXTENSION *sk, X509_EXTENSION *ptr, int idx) { return OPENSSL_sk_insert((OPENSSL_STACK *)sk, (const void *)ptr, idx); } static __attribute__((unused)) inline X509_EXTENSION *sk_X509_EXTENSION_set(struct stack_st_X509_EXTENSION *sk, int idx, X509_EXTENSION *ptr) { return (X509_EXTENSION *)OPENSSL_sk_set((OPENSSL_STACK *)sk, idx, (const void *)ptr); } static __attribute__((unused)) inline int sk_X509_EXTENSION_find(struct stack_st_X509_EXTENSION *sk, X509_EXTENSION *ptr) { return OPENSSL_sk_find((OPENSSL_STACK *)sk, (const void *)ptr); } static __attribute__((unused)) inline int sk_X509_EXTENSION_find_ex(struct stack_st_X509_EXTENSION *sk, X509_EXTENSION *ptr) { return OPENSSL_sk_find_ex((OPENSSL_STACK *)sk, (const void *)ptr); } static __attribute__((unused)) inline void sk_X509_EXTENSION_sort(struct stack_st_X509_EXTENSION *sk) { OPENSSL_sk_sort((OPENSSL_STACK *)sk); } static __attribute__((unused)) inline int sk_X509_EXTENSION_is_sorted(const struct stack_st_X509_EXTENSION *sk) { return OPENSSL_sk_is_sorted((const OPENSSL_STACK *)sk); } static __attribute__((unused)) inline struct stack_st_X509_EXTENSION * sk_X509_EXTENSION_dup(const struct stack_st_X509_EXTENSION *sk) { return (struct stack_st_X509_EXTENSION *)OPENSSL_sk_dup((const OPENSSL_STACK *)sk); } static __attribute__((unused)) inline struct stack_st_X509_EXTENSION *sk_X509_EXTENSION_deep_copy(const struct stack_st_X509_EXTENSION *sk, sk_X509_EXTENSION_copyfunc copyfunc, sk_X509_EXTENSION_freefunc freefunc) { return (struct stack_st_X509_EXTENSION *)OPENSSL_sk_deep_copy((const OPENSSL_STACK *)sk, (OPENSSL_sk_copyfunc)copyfunc, (OPENSSL_sk_freefunc)freefunc); } static __attribute__((unused)) inline sk_X509_EXTENSION_compfunc sk_X509_EXTENSION_set_cmp_func(struct stack_st_X509_EXTENSION *sk, sk_X509_EXTENSION_compfunc compare) { return (sk_X509_EXTENSION_compfunc)OPENSSL_sk_set_cmp_func((OPENSSL_STACK *)sk, (OPENSSL_sk_compfunc)compare); } | |
typedef struct x509_attributes_st X509_ATTRIBUTE; | |
struct stack_st_X509_ATTRIBUTE; typedef int (*sk_X509_ATTRIBUTE_compfunc)(const X509_ATTRIBUTE * const *a, const X509_ATTRIBUTE *const *b); typedef void (*sk_X509_ATTRIBUTE_freefunc)(X509_ATTRIBUTE *a); typedef X509_ATTRIBUTE * (*sk_X509_ATTRIBUTE_copyfunc)(const X509_ATTRIBUTE *a); static __attribute__((unused)) inline int sk_X509_ATTRIBUTE_num(const struct stack_st_X509_ATTRIBUTE *sk) { return OPENSSL_sk_num((const OPENSSL_STACK *)sk); } static __attribute__((unused)) inline X509_ATTRIBUTE *sk_X509_ATTRIBUTE_value(const struct stack_st_X509_ATTRIBUTE *sk, int idx) { return (X509_ATTRIBUTE *)OPENSSL_sk_value((const OPENSSL_STACK *)sk, idx); } static __attribute__((unused)) inline struct stack_st_X509_ATTRIBUTE *sk_X509_ATTRIBUTE_new(sk_X509_ATTRIBUTE_compfunc compare) { return (struct stack_st_X509_ATTRIBUTE *)OPENSSL_sk_new((OPENSSL_sk_compfunc)compare); } static __attribute__((unused)) inline struct stack_st_X509_ATTRIBUTE *sk_X509_ATTRIBUTE_new_null(void) { return (struct stack_st_X509_ATTRIBUTE *)OPENSSL_sk_new_null(); } static __attribute__((unused)) inline struct stack_st_X509_ATTRIBUTE *sk_X509_ATTRIBUTE_new_reserve(sk_X509_ATTRIBUTE_compfunc compare, int n) { return (struct stack_st_X509_ATTRIBUTE *)OPENSSL_sk_new_reserve((OPENSSL_sk_compfunc)compare, n); } static __attribute__((unused)) inline int sk_X509_ATTRIBUTE_reserve(struct stack_st_X509_ATTRIBUTE *sk, int n) { return OPENSSL_sk_reserve((OPENSSL_STACK *)sk, n); } static __attribute__((unused)) inline void sk_X509_ATTRIBUTE_free(struct stack_st_X509_ATTRIBUTE *sk) { OPENSSL_sk_free((OPENSSL_STACK *)sk); } static __attribute__((unused)) inline void sk_X509_ATTRIBUTE_zero(struct stack_st_X509_ATTRIBUTE *sk) { OPENSSL_sk_zero((OPENSSL_STACK *)sk); } static __attribute__((unused)) inline X509_ATTRIBUTE *sk_X509_ATTRIBUTE_delete(struct stack_st_X509_ATTRIBUTE *sk, int i) { return (X509_ATTRIBUTE *)OPENSSL_sk_delete((OPENSSL_STACK *)sk, i); } static __attribute__((unused)) inline X509_ATTRIBUTE *sk_X509_ATTRIBUTE_delete_ptr(struct stack_st_X509_ATTRIBUTE *sk, X509_ATTRIBUTE *ptr) { return (X509_ATTRIBUTE *)OPENSSL_sk_delete_ptr((OPENSSL_STACK *)sk, (const void *)ptr); } static __attribute__((unused)) inline int sk_X509_ATTRIBUTE_push(struct stack_st_X509_ATTRIBUTE *sk, X509_ATTRIBUTE *ptr) { return OPENSSL_sk_push((OPENSSL_STACK *)sk, (const void *)ptr); } static __attribute__((unused)) inline int sk_X509_ATTRIBUTE_unshift(struct stack_st_X509_ATTRIBUTE *sk, X509_ATTRIBUTE *ptr) { return OPENSSL_sk_unshift((OPENSSL_STACK *)sk, (const void *)ptr); } static __attribute__((unused)) inline X509_ATTRIBUTE *sk_X509_ATTRIBUTE_pop(struct stack_st_X509_ATTRIBUTE *sk) { return (X509_ATTRIBUTE *)OPENSSL_sk_pop((OPENSSL_STACK *)sk); } static __attribute__((unused)) inline X509_ATTRIBUTE *sk_X509_ATTRIBUTE_shift(struct stack_st_X509_ATTRIBUTE *sk) { return (X509_ATTRIBUTE *)OPENSSL_sk_shift((OPENSSL_STACK *)sk); } static __attribute__((unused)) inline void sk_X509_ATTRIBUTE_pop_free(struct stack_st_X509_ATTRIBUTE *sk, sk_X509_ATTRIBUTE_freefunc freefunc) { OPENSSL_sk_pop_free((OPENSSL_STACK *)sk, (OPENSSL_sk_freefunc)freefunc); } static __attribute__((unused)) inline int sk_X509_ATTRIBUTE_insert(struct stack_st_X509_ATTRIBUTE *sk, X509_ATTRIBUTE *ptr, int idx) { return OPENSSL_sk_insert((OPENSSL_STACK *)sk, (const void *)ptr, idx); } static __attribute__((unused)) inline X509_ATTRIBUTE *sk_X509_ATTRIBUTE_set(struct stack_st_X509_ATTRIBUTE *sk, int idx, X509_ATTRIBUTE *ptr) { return (X509_ATTRIBUTE *)OPENSSL_sk_set((OPENSSL_STACK *)sk, idx, (const void *)ptr); } static __attribute__((unused)) inline int sk_X509_ATTRIBUTE_find(struct stack_st_X509_ATTRIBUTE *sk, X509_ATTRIBUTE *ptr) { return OPENSSL_sk_find((OPENSSL_STACK *)sk, (const void *)ptr); } static __attribute__((unused)) inline int sk_X509_ATTRIBUTE_find_ex(struct stack_st_X509_ATTRIBUTE *sk, X509_ATTRIBUTE *ptr) { return OPENSSL_sk_find_ex((OPENSSL_STACK *)sk, (const void *)ptr); } static __attribute__((unused)) inline void sk_X509_ATTRIBUTE_sort(struct stack_st_X509_ATTRIBUTE *sk) { OPENSSL_sk_sort((OPENSSL_STACK *)sk); } static __attribute__((unused)) inline int sk_X509_ATTRIBUTE_is_sorted(const struct stack_st_X509_ATTRIBUTE *sk) { return OPENSSL_sk_is_sorted((const OPENSSL_STACK *)sk); } static __attribute__((unused)) inline struct stack_st_X509_ATTRIBUTE * sk_X509_ATTRIBUTE_dup(const struct stack_st_X509_ATTRIBUTE *sk) { return (struct stack_st_X509_ATTRIBUTE *)OPENSSL_sk_dup((const OPENSSL_STACK *)sk); } static __attribute__((unused)) inline struct stack_st_X509_ATTRIBUTE *sk_X509_ATTRIBUTE_deep_copy(const struct stack_st_X509_ATTRIBUTE *sk, sk_X509_ATTRIBUTE_copyfunc copyfunc, sk_X509_ATTRIBUTE_freefunc freefunc) { return (struct stack_st_X509_ATTRIBUTE *)OPENSSL_sk_deep_copy((const OPENSSL_STACK *)sk, (OPENSSL_sk_copyfunc)copyfunc, (OPENSSL_sk_freefunc)freefunc); } static __attribute__((unused)) inline sk_X509_ATTRIBUTE_compfunc sk_X509_ATTRIBUTE_set_cmp_func(struct stack_st_X509_ATTRIBUTE *sk, sk_X509_ATTRIBUTE_compfunc compare) { return (sk_X509_ATTRIBUTE_compfunc)OPENSSL_sk_set_cmp_func((OPENSSL_STACK *)sk, (OPENSSL_sk_compfunc)compare); } | |
typedef struct X509_req_info_st X509_REQ_INFO; | |
typedef struct X509_req_st X509_REQ; | |
typedef struct x509_cert_aux_st X509_CERT_AUX; | |
typedef struct x509_cinf_st X509_CINF; | |
struct stack_st_X509; typedef int (*sk_X509_compfunc)(const X509 * const *a, const X509 *const *b); typedef void (*sk_X509_freefunc)(X509 *a); typedef X509 * (*sk_X509_copyfunc)(const X509 *a); static __attribute__((unused)) inline int sk_X509_num(const struct stack_st_X509 *sk) { return OPENSSL_sk_num((const OPENSSL_STACK *)sk); } static __attribute__((unused)) inline X509 *sk_X509_value(const struct stack_st_X509 *sk, int idx) { return (X509 *)OPENSSL_sk_value((const OPENSSL_STACK *)sk, idx); } static __attribute__((unused)) inline struct stack_st_X509 *sk_X509_new(sk_X509_compfunc compare) { return (struct stack_st_X509 *)OPENSSL_sk_new((OPENSSL_sk_compfunc)compare); } static __attribute__((unused)) inline struct stack_st_X509 *sk_X509_new_null(void) { return (struct stack_st_X509 *)OPENSSL_sk_new_null(); } static __attribute__((unused)) inline struct stack_st_X509 *sk_X509_new_reserve(sk_X509_compfunc compare, int n) { return (struct stack_st_X509 *)OPENSSL_sk_new_reserve((OPENSSL_sk_compfunc)compare, n); } static __attribute__((unused)) inline int sk_X509_reserve(struct stack_st_X509 *sk, int n) { return OPENSSL_sk_reserve((OPENSSL_STACK *)sk, n); } static __attribute__((unused)) inline void sk_X509_free(struct stack_st_X509 *sk) { OPENSSL_sk_free((OPENSSL_STACK *)sk); } static __attribute__((unused)) inline void sk_X509_zero(struct stack_st_X509 *sk) { OPENSSL_sk_zero((OPENSSL_STACK *)sk); } static __attribute__((unused)) inline X509 *sk_X509_delete(struct stack_st_X509 *sk, int i) { return (X509 *)OPENSSL_sk_delete((OPENSSL_STACK *)sk, i); } static __attribute__((unused)) inline X509 *sk_X509_delete_ptr(struct stack_st_X509 *sk, X509 *ptr) { return (X509 *)OPENSSL_sk_delete_ptr((OPENSSL_STACK *)sk, (const void *)ptr); } static __attribute__((unused)) inline int sk_X509_push(struct stack_st_X509 *sk, X509 *ptr) { return OPENSSL_sk_push((OPENSSL_STACK *)sk, (const void *)ptr); } static __attribute__((unused)) inline int sk_X509_unshift(struct stack_st_X509 *sk, X509 *ptr) { return OPENSSL_sk_unshift((OPENSSL_STACK *)sk, (const void *)ptr); } static __attribute__((unused)) inline X509 *sk_X509_pop(struct stack_st_X509 *sk) { return (X509 *)OPENSSL_sk_pop((OPENSSL_STACK *)sk); } static __attribute__((unused)) inline X509 *sk_X509_shift(struct stack_st_X509 *sk) { return (X509 *)OPENSSL_sk_shift((OPENSSL_STACK *)sk); } static __attribute__((unused)) inline void sk_X509_pop_free(struct stack_st_X509 *sk, sk_X509_freefunc freefunc) { OPENSSL_sk_pop_free((OPENSSL_STACK *)sk, (OPENSSL_sk_freefunc)freefunc); } static __attribute__((unused)) inline int sk_X509_insert(struct stack_st_X509 *sk, X509 *ptr, int idx) { return OPENSSL_sk_insert((OPENSSL_STACK *)sk, (const void *)ptr, idx); } static __attribute__((unused)) inline X509 *sk_X509_set(struct stack_st_X509 *sk, int idx, X509 *ptr) { return (X509 *)OPENSSL_sk_set((OPENSSL_STACK *)sk, idx, (const void *)ptr); } static __attribute__((unused)) inline int sk_X509_find(struct stack_st_X509 *sk, X509 *ptr) { return OPENSSL_sk_find((OPENSSL_STACK *)sk, (const void *)ptr); } static __attribute__((unused)) inline int sk_X509_find_ex(struct stack_st_X509 *sk, X509 *ptr) { return OPENSSL_sk_find_ex((OPENSSL_STACK *)sk, (const void *)ptr); } static __attribute__((unused)) inline void sk_X509_sort(struct stack_st_X509 *sk) { OPENSSL_sk_sort((OPENSSL_STACK *)sk); } static __attribute__((unused)) inline int sk_X509_is_sorted(const struct stack_st_X509 *sk) { return OPENSSL_sk_is_sorted((const OPENSSL_STACK *)sk); } static __attribute__((unused)) inline struct stack_st_X509 * sk_X509_dup(const struct stack_st_X509 *sk) { return (struct stack_st_X509 *)OPENSSL_sk_dup((const OPENSSL_STACK *)sk); } static __attribute__((unused)) inline struct stack_st_X509 *sk_X509_deep_copy(const struct stack_st_X509 *sk, sk_X509_copyfunc copyfunc, sk_X509_freefunc freefunc) { return (struct stack_st_X509 *)OPENSSL_sk_deep_copy((const OPENSSL_STACK *)sk, (OPENSSL_sk_copyfunc)copyfunc, (OPENSSL_sk_freefunc)freefunc); } static __attribute__((unused)) inline sk_X509_compfunc sk_X509_set_cmp_func(struct stack_st_X509 *sk, sk_X509_compfunc compare) { return (sk_X509_compfunc)OPENSSL_sk_set_cmp_func((OPENSSL_STACK *)sk, (OPENSSL_sk_compfunc)compare); } | |
typedef struct x509_trust_st { | |
int trust; | |
int flags; | |
int (*check_trust) (struct x509_trust_st *, X509 *, int); | |
char *name; | |
int arg1; | |
void *arg2; | |
} X509_TRUST; | |
struct stack_st_X509_TRUST; typedef int (*sk_X509_TRUST_compfunc)(const X509_TRUST * const *a, const X509_TRUST *const *b); typedef void (*sk_X509_TRUST_freefunc)(X509_TRUST *a); typedef X509_TRUST * (*sk_X509_TRUST_copyfunc)(const X509_TRUST *a); static __attribute__((unused)) inline int sk_X509_TRUST_num(const struct stack_st_X509_TRUST *sk) { return OPENSSL_sk_num((const OPENSSL_STACK *)sk); } static __attribute__((unused)) inline X509_TRUST *sk_X509_TRUST_value(const struct stack_st_X509_TRUST *sk, int idx) { return (X509_TRUST *)OPENSSL_sk_value((const OPENSSL_STACK *)sk, idx); } static __attribute__((unused)) inline struct stack_st_X509_TRUST *sk_X509_TRUST_new(sk_X509_TRUST_compfunc compare) { return (struct stack_st_X509_TRUST *)OPENSSL_sk_new((OPENSSL_sk_compfunc)compare); } static __attribute__((unused)) inline struct stack_st_X509_TRUST *sk_X509_TRUST_new_null(void) { return (struct stack_st_X509_TRUST *)OPENSSL_sk_new_null(); } static __attribute__((unused)) inline struct stack_st_X509_TRUST *sk_X509_TRUST_new_reserve(sk_X509_TRUST_compfunc compare, int n) { return (struct stack_st_X509_TRUST *)OPENSSL_sk_new_reserve((OPENSSL_sk_compfunc)compare, n); } static __attribute__((unused)) inline int sk_X509_TRUST_reserve(struct stack_st_X509_TRUST *sk, int n) { return OPENSSL_sk_reserve((OPENSSL_STACK *)sk, n); } static __attribute__((unused)) inline void sk_X509_TRUST_free(struct stack_st_X509_TRUST *sk) { OPENSSL_sk_free((OPENSSL_STACK *)sk); } static __attribute__((unused)) inline void sk_X509_TRUST_zero(struct stack_st_X509_TRUST *sk) { OPENSSL_sk_zero((OPENSSL_STACK *)sk); } static __attribute__((unused)) inline X509_TRUST *sk_X509_TRUST_delete(struct stack_st_X509_TRUST *sk, int i) { return (X509_TRUST *)OPENSSL_sk_delete((OPENSSL_STACK *)sk, i); } static __attribute__((unused)) inline X509_TRUST *sk_X509_TRUST_delete_ptr(struct stack_st_X509_TRUST *sk, X509_TRUST *ptr) { return (X509_TRUST *)OPENSSL_sk_delete_ptr((OPENSSL_STACK *)sk, (const void *)ptr); } static __attribute__((unused)) inline int sk_X509_TRUST_push(struct stack_st_X509_TRUST *sk, X509_TRUST *ptr) { return OPENSSL_sk_push((OPENSSL_STACK *)sk, (const void *)ptr); } static __attribute__((unused)) inline int sk_X509_TRUST_unshift(struct stack_st_X509_TRUST *sk, X509_TRUST *ptr) { return OPENSSL_sk_unshift((OPENSSL_STACK *)sk, (const void *)ptr); } static __attribute__((unused)) inline X509_TRUST *sk_X509_TRUST_pop(struct stack_st_X509_TRUST *sk) { return (X509_TRUST *)OPENSSL_sk_pop((OPENSSL_STACK *)sk); } static __attribute__((unused)) inline X509_TRUST *sk_X509_TRUST_shift(struct stack_st_X509_TRUST *sk) { return (X509_TRUST *)OPENSSL_sk_shift((OPENSSL_STACK *)sk); } static __attribute__((unused)) inline void sk_X509_TRUST_pop_free(struct stack_st_X509_TRUST *sk, sk_X509_TRUST_freefunc freefunc) { OPENSSL_sk_pop_free((OPENSSL_STACK *)sk, (OPENSSL_sk_freefunc)freefunc); } static __attribute__((unused)) inline int sk_X509_TRUST_insert(struct stack_st_X509_TRUST *sk, X509_TRUST *ptr, int idx) { return OPENSSL_sk_insert((OPENSSL_STACK *)sk, (const void *)ptr, idx); } static __attribute__((unused)) inline X509_TRUST *sk_X509_TRUST_set(struct stack_st_X509_TRUST *sk, int idx, X509_TRUST *ptr) { return (X509_TRUST *)OPENSSL_sk_set((OPENSSL_STACK *)sk, idx, (const void *)ptr); } static __attribute__((unused)) inline int sk_X509_TRUST_find(struct stack_st_X509_TRUST *sk, X509_TRUST *ptr) { return OPENSSL_sk_find((OPENSSL_STACK *)sk, (const void *)ptr); } static __attribute__((unused)) inline int sk_X509_TRUST_find_ex(struct stack_st_X509_TRUST *sk, X509_TRUST *ptr) { return OPENSSL_sk_find_ex((OPENSSL_STACK *)sk, (const void *)ptr); } static __attribute__((unused)) inline void sk_X509_TRUST_sort(struct stack_st_X509_TRUST *sk) { OPENSSL_sk_sort((OPENSSL_STACK *)sk); } static __attribute__((unused)) inline int sk_X509_TRUST_is_sorted(const struct stack_st_X509_TRUST *sk) { return OPENSSL_sk_is_sorted((const OPENSSL_STACK *)sk); } static __attribute__((unused)) inline struct stack_st_X509_TRUST * sk_X509_TRUST_dup(const struct stack_st_X509_TRUST *sk) { return (struct stack_st_X509_TRUST *)OPENSSL_sk_dup((const OPENSSL_STACK *)sk); } static __attribute__((unused)) inline struct stack_st_X509_TRUST *sk_X509_TRUST_deep_copy(const struct stack_st_X509_TRUST *sk, sk_X509_TRUST_copyfunc copyfunc, sk_X509_TRUST_freefunc freefunc) { return (struct stack_st_X509_TRUST *)OPENSSL_sk_deep_copy((const OPENSSL_STACK *)sk, (OPENSSL_sk_copyfunc)copyfunc, (OPENSSL_sk_freefunc)freefunc); } static __attribute__((unused)) inline sk_X509_TRUST_compfunc sk_X509_TRUST_set_cmp_func(struct stack_st_X509_TRUST *sk, sk_X509_TRUST_compfunc compare) { return (sk_X509_TRUST_compfunc)OPENSSL_sk_set_cmp_func((OPENSSL_STACK *)sk, (OPENSSL_sk_compfunc)compare); } | |
# 224 "/usr/include/openssl/x509.h" 3 4 | |
struct stack_st_X509_REVOKED; typedef int (*sk_X509_REVOKED_compfunc)(const X509_REVOKED * const *a, const X509_REVOKED *const *b); typedef void (*sk_X509_REVOKED_freefunc)(X509_REVOKED *a); typedef X509_REVOKED * (*sk_X509_REVOKED_copyfunc)(const X509_REVOKED *a); static __attribute__((unused)) inline int sk_X509_REVOKED_num(const struct stack_st_X509_REVOKED *sk) { return OPENSSL_sk_num((const OPENSSL_STACK *)sk); } static __attribute__((unused)) inline X509_REVOKED *sk_X509_REVOKED_value(const struct stack_st_X509_REVOKED *sk, int idx) { return (X509_REVOKED *)OPENSSL_sk_value((const OPENSSL_STACK *)sk, idx); } static __attribute__((unused)) inline struct stack_st_X509_REVOKED *sk_X509_REVOKED_new(sk_X509_REVOKED_compfunc compare) { return (struct stack_st_X509_REVOKED *)OPENSSL_sk_new((OPENSSL_sk_compfunc)compare); } static __attribute__((unused)) inline struct stack_st_X509_REVOKED *sk_X509_REVOKED_new_null(void) { return (struct stack_st_X509_REVOKED *)OPENSSL_sk_new_null(); } static __attribute__((unused)) inline struct stack_st_X509_REVOKED *sk_X509_REVOKED_new_reserve(sk_X509_REVOKED_compfunc compare, int n) { return (struct stack_st_X509_REVOKED *)OPENSSL_sk_new_reserve((OPENSSL_sk_compfunc)compare, n); } static __attribute__((unused)) inline int sk_X509_REVOKED_reserve(struct stack_st_X509_REVOKED *sk, int n) { return OPENSSL_sk_reserve((OPENSSL_STACK *)sk, n); } static __attribute__((unused)) inline void sk_X509_REVOKED_free(struct stack_st_X509_REVOKED *sk) { OPENSSL_sk_free((OPENSSL_STACK *)sk); } static __attribute__((unused)) inline void sk_X509_REVOKED_zero(struct stack_st_X509_REVOKED *sk) { OPENSSL_sk_zero((OPENSSL_STACK *)sk); } static __attribute__((unused)) inline X509_REVOKED *sk_X509_REVOKED_delete(struct stack_st_X509_REVOKED *sk, int i) { return (X509_REVOKED *)OPENSSL_sk_delete((OPENSSL_STACK *)sk, i); } static __attribute__((unused)) inline X509_REVOKED *sk_X509_REVOKED_delete_ptr(struct stack_st_X509_REVOKED *sk, X509_REVOKED *ptr) { return (X509_REVOKED *)OPENSSL_sk_delete_ptr((OPENSSL_STACK *)sk, (const void *)ptr); } static __attribute__((unused)) inline int sk_X509_REVOKED_push(struct stack_st_X509_REVOKED *sk, X509_REVOKED *ptr) { return OPENSSL_sk_push((OPENSSL_STACK *)sk, (const void *)ptr); } static __attribute__((unused)) inline int sk_X509_REVOKED_unshift(struct stack_st_X509_REVOKED *sk, X509_REVOKED *ptr) { return OPENSSL_sk_unshift((OPENSSL_STACK *)sk, (const void *)ptr); } static __attribute__((unused)) inline X509_REVOKED *sk_X509_REVOKED_pop(struct stack_st_X509_REVOKED *sk) { return (X509_REVOKED *)OPENSSL_sk_pop((OPENSSL_STACK *)sk); } static __attribute__((unused)) inline X509_REVOKED *sk_X509_REVOKED_shift(struct stack_st_X509_REVOKED *sk) { return (X509_REVOKED *)OPENSSL_sk_shift((OPENSSL_STACK *)sk); } static __attribute__((unused)) inline void sk_X509_REVOKED_pop_free(struct stack_st_X509_REVOKED *sk, sk_X509_REVOKED_freefunc freefunc) { OPENSSL_sk_pop_free((OPENSSL_STACK *)sk, (OPENSSL_sk_freefunc)freefunc); } static __attribute__((unused)) inline int sk_X509_REVOKED_insert(struct stack_st_X509_REVOKED *sk, X509_REVOKED *ptr, int idx) { return OPENSSL_sk_insert((OPENSSL_STACK *)sk, (const void *)ptr, idx); } static __attribute__((unused)) inline X509_REVOKED *sk_X509_REVOKED_set(struct stack_st_X509_REVOKED *sk, int idx, X509_REVOKED *ptr) { return (X509_REVOKED *)OPENSSL_sk_set((OPENSSL_STACK *)sk, idx, (const void *)ptr); } static __attribute__((unused)) inline int sk_X509_REVOKED_find(struct stack_st_X509_REVOKED *sk, X509_REVOKED *ptr) { return OPENSSL_sk_find((OPENSSL_STACK *)sk, (const void *)ptr); } static __attribute__((unused)) inline int sk_X509_REVOKED_find_ex(struct stack_st_X509_REVOKED *sk, X509_REVOKED *ptr) { return OPENSSL_sk_find_ex((OPENSSL_STACK *)sk, (const void *)ptr); } static __attribute__((unused)) inline void sk_X509_REVOKED_sort(struct stack_st_X509_REVOKED *sk) { OPENSSL_sk_sort((OPENSSL_STACK *)sk); } static __attribute__((unused)) inline int sk_X509_REVOKED_is_sorted(const struct stack_st_X509_REVOKED *sk) { return OPENSSL_sk_is_sorted((const OPENSSL_STACK *)sk); } static __attribute__((unused)) inline struct stack_st_X509_REVOKED * sk_X509_REVOKED_dup(const struct stack_st_X509_REVOKED *sk) { return (struct stack_st_X509_REVOKED *)OPENSSL_sk_dup((const OPENSSL_STACK *)sk); } static __attribute__((unused)) inline struct stack_st_X509_REVOKED *sk_X509_REVOKED_deep_copy(const struct stack_st_X509_REVOKED *sk, sk_X509_REVOKED_copyfunc copyfunc, sk_X509_REVOKED_freefunc freefunc) { return (struct stack_st_X509_REVOKED *)OPENSSL_sk_deep_copy((const OPENSSL_STACK *)sk, (OPENSSL_sk_copyfunc)copyfunc, (OPENSSL_sk_freefunc)freefunc); } static __attribute__((unused)) inline sk_X509_REVOKED_compfunc sk_X509_REVOKED_set_cmp_func(struct stack_st_X509_REVOKED *sk, sk_X509_REVOKED_compfunc compare) { return (sk_X509_REVOKED_compfunc)OPENSSL_sk_set_cmp_func((OPENSSL_STACK *)sk, (OPENSSL_sk_compfunc)compare); } | |
typedef struct X509_crl_info_st X509_CRL_INFO; | |
struct stack_st_X509_CRL; typedef int (*sk_X509_CRL_compfunc)(const X509_CRL * const *a, const X509_CRL *const *b); typedef void (*sk_X509_CRL_freefunc)(X509_CRL *a); typedef X509_CRL * (*sk_X509_CRL_copyfunc)(const X509_CRL *a); static __attribute__((unused)) inline int sk_X509_CRL_num(const struct stack_st_X509_CRL *sk) { return OPENSSL_sk_num((const OPENSSL_STACK *)sk); } static __attribute__((unused)) inline X509_CRL *sk_X509_CRL_value(const struct stack_st_X509_CRL *sk, int idx) { return (X509_CRL *)OPENSSL_sk_value((const OPENSSL_STACK *)sk, idx); } static __attribute__((unused)) inline struct stack_st_X509_CRL *sk_X509_CRL_new(sk_X509_CRL_compfunc compare) { return (struct stack_st_X509_CRL *)OPENSSL_sk_new((OPENSSL_sk_compfunc)compare); } static __attribute__((unused)) inline struct stack_st_X509_CRL *sk_X509_CRL_new_null(void) { return (struct stack_st_X509_CRL *)OPENSSL_sk_new_null(); } static __attribute__((unused)) inline struct stack_st_X509_CRL *sk_X509_CRL_new_reserve(sk_X509_CRL_compfunc compare, int n) { return (struct stack_st_X509_CRL *)OPENSSL_sk_new_reserve((OPENSSL_sk_compfunc)compare, n); } static __attribute__((unused)) inline int sk_X509_CRL_reserve(struct stack_st_X509_CRL *sk, int n) { return OPENSSL_sk_reserve((OPENSSL_STACK *)sk, n); } static __attribute__((unused)) inline void sk_X509_CRL_free(struct stack_st_X509_CRL *sk) { OPENSSL_sk_free((OPENSSL_STACK *)sk); } static __attribute__((unused)) inline void sk_X509_CRL_zero(struct stack_st_X509_CRL *sk) { OPENSSL_sk_zero((OPENSSL_STACK *)sk); } static __attribute__((unused)) inline X509_CRL *sk_X509_CRL_delete(struct stack_st_X509_CRL *sk, int i) { return (X509_CRL *)OPENSSL_sk_delete((OPENSSL_STACK *)sk, i); } static __attribute__((unused)) inline X509_CRL *sk_X509_CRL_delete_ptr(struct stack_st_X509_CRL *sk, X509_CRL *ptr) { return (X509_CRL *)OPENSSL_sk_delete_ptr((OPENSSL_STACK *)sk, (const void *)ptr); } static __attribute__((unused)) inline int sk_X509_CRL_push(struct stack_st_X509_CRL *sk, X509_CRL *ptr) { return OPENSSL_sk_push((OPENSSL_STACK *)sk, (const void *)ptr); } static __attribute__((unused)) inline int sk_X509_CRL_unshift(struct stack_st_X509_CRL *sk, X509_CRL *ptr) { return OPENSSL_sk_unshift((OPENSSL_STACK *)sk, (const void *)ptr); } static __attribute__((unused)) inline X509_CRL *sk_X509_CRL_pop(struct stack_st_X509_CRL *sk) { return (X509_CRL *)OPENSSL_sk_pop((OPENSSL_STACK *)sk); } static __attribute__((unused)) inline X509_CRL *sk_X509_CRL_shift(struct stack_st_X509_CRL *sk) { return (X509_CRL *)OPENSSL_sk_shift((OPENSSL_STACK *)sk); } static __attribute__((unused)) inline void sk_X509_CRL_pop_free(struct stack_st_X509_CRL *sk, sk_X509_CRL_freefunc freefunc) { OPENSSL_sk_pop_free((OPENSSL_STACK *)sk, (OPENSSL_sk_freefunc)freefunc); } static __attribute__((unused)) inline int sk_X509_CRL_insert(struct stack_st_X509_CRL *sk, X509_CRL *ptr, int idx) { return OPENSSL_sk_insert((OPENSSL_STACK *)sk, (const void *)ptr, idx); } static __attribute__((unused)) inline X509_CRL *sk_X509_CRL_set(struct stack_st_X509_CRL *sk, int idx, X509_CRL *ptr) { return (X509_CRL *)OPENSSL_sk_set((OPENSSL_STACK *)sk, idx, (const void *)ptr); } static __attribute__((unused)) inline int sk_X509_CRL_find(struct stack_st_X509_CRL *sk, X509_CRL *ptr) { return OPENSSL_sk_find((OPENSSL_STACK *)sk, (const void *)ptr); } static __attribute__((unused)) inline int sk_X509_CRL_find_ex(struct stack_st_X509_CRL *sk, X509_CRL *ptr) { return OPENSSL_sk_find_ex((OPENSSL_STACK *)sk, (const void *)ptr); } static __attribute__((unused)) inline void sk_X509_CRL_sort(struct stack_st_X509_CRL *sk) { OPENSSL_sk_sort((OPENSSL_STACK *)sk); } static __attribute__((unused)) inline int sk_X509_CRL_is_sorted(const struct stack_st_X509_CRL *sk) { return OPENSSL_sk_is_sorted((const OPENSSL_STACK *)sk); } static __attribute__((unused)) inline struct stack_st_X509_CRL * sk_X509_CRL_dup(const struct stack_st_X509_CRL *sk) { return (struct stack_st_X509_CRL *)OPENSSL_sk_dup((const OPENSSL_STACK *)sk); } static __attribute__((unused)) inline struct stack_st_X509_CRL *sk_X509_CRL_deep_copy(const struct stack_st_X509_CRL *sk, sk_X509_CRL_copyfunc copyfunc, sk_X509_CRL_freefunc freefunc) { return (struct stack_st_X509_CRL *)OPENSSL_sk_deep_copy((const OPENSSL_STACK *)sk, (OPENSSL_sk_copyfunc)copyfunc, (OPENSSL_sk_freefunc)freefunc); } static __attribute__((unused)) inline sk_X509_CRL_compfunc sk_X509_CRL_set_cmp_func(struct stack_st_X509_CRL *sk, sk_X509_CRL_compfunc compare) { return (sk_X509_CRL_compfunc)OPENSSL_sk_set_cmp_func((OPENSSL_STACK *)sk, (OPENSSL_sk_compfunc)compare); } | |
typedef struct private_key_st { | |
int version; | |
X509_ALGOR *enc_algor; | |
ASN1_OCTET_STRING *enc_pkey; | |
EVP_PKEY *dec_pkey; | |
int key_length; | |
char *key_data; | |
int key_free; | |
EVP_CIPHER_INFO cipher; | |
} X509_PKEY; | |
typedef struct X509_info_st { | |
X509 *x509; | |
X509_CRL *crl; | |
X509_PKEY *x_pkey; | |
EVP_CIPHER_INFO enc_cipher; | |
int enc_len; | |
char *enc_data; | |
} X509_INFO; | |
struct stack_st_X509_INFO; typedef int (*sk_X509_INFO_compfunc)(const X509_INFO * const *a, const X509_INFO *const *b); typedef void (*sk_X509_INFO_freefunc)(X509_INFO *a); typedef X509_INFO * (*sk_X509_INFO_copyfunc)(const X509_INFO *a); static __attribute__((unused)) inline int sk_X509_INFO_num(const struct stack_st_X509_INFO *sk) { return OPENSSL_sk_num((const OPENSSL_STACK *)sk); } static __attribute__((unused)) inline X509_INFO *sk_X509_INFO_value(const struct stack_st_X509_INFO *sk, int idx) { return (X509_INFO *)OPENSSL_sk_value((const OPENSSL_STACK *)sk, idx); } static __attribute__((unused)) inline struct stack_st_X509_INFO *sk_X509_INFO_new(sk_X509_INFO_compfunc compare) { return (struct stack_st_X509_INFO *)OPENSSL_sk_new((OPENSSL_sk_compfunc)compare); } static __attribute__((unused)) inline struct stack_st_X509_INFO *sk_X509_INFO_new_null(void) { return (struct stack_st_X509_INFO *)OPENSSL_sk_new_null(); } static __attribute__((unused)) inline struct stack_st_X509_INFO *sk_X509_INFO_new_reserve(sk_X509_INFO_compfunc compare, int n) { return (struct stack_st_X509_INFO *)OPENSSL_sk_new_reserve((OPENSSL_sk_compfunc)compare, n); } static __attribute__((unused)) inline int sk_X509_INFO_reserve(struct stack_st_X509_INFO *sk, int n) { return OPENSSL_sk_reserve((OPENSSL_STACK *)sk, n); } static __attribute__((unused)) inline void sk_X509_INFO_free(struct stack_st_X509_INFO *sk) { OPENSSL_sk_free((OPENSSL_STACK *)sk); } static __attribute__((unused)) inline void sk_X509_INFO_zero(struct stack_st_X509_INFO *sk) { OPENSSL_sk_zero((OPENSSL_STACK *)sk); } static __attribute__((unused)) inline X509_INFO *sk_X509_INFO_delete(struct stack_st_X509_INFO *sk, int i) { return (X509_INFO *)OPENSSL_sk_delete((OPENSSL_STACK *)sk, i); } static __attribute__((unused)) inline X509_INFO *sk_X509_INFO_delete_ptr(struct stack_st_X509_INFO *sk, X509_INFO *ptr) { return (X509_INFO *)OPENSSL_sk_delete_ptr((OPENSSL_STACK *)sk, (const void *)ptr); } static __attribute__((unused)) inline int sk_X509_INFO_push(struct stack_st_X509_INFO *sk, X509_INFO *ptr) { return OPENSSL_sk_push((OPENSSL_STACK *)sk, (const void *)ptr); } static __attribute__((unused)) inline int sk_X509_INFO_unshift(struct stack_st_X509_INFO *sk, X509_INFO *ptr) { return OPENSSL_sk_unshift((OPENSSL_STACK *)sk, (const void *)ptr); } static __attribute__((unused)) inline X509_INFO *sk_X509_INFO_pop(struct stack_st_X509_INFO *sk) { return (X509_INFO *)OPENSSL_sk_pop((OPENSSL_STACK *)sk); } static __attribute__((unused)) inline X509_INFO *sk_X509_INFO_shift(struct stack_st_X509_INFO *sk) { return (X509_INFO *)OPENSSL_sk_shift((OPENSSL_STACK *)sk); } static __attribute__((unused)) inline void sk_X509_INFO_pop_free(struct stack_st_X509_INFO *sk, sk_X509_INFO_freefunc freefunc) { OPENSSL_sk_pop_free((OPENSSL_STACK *)sk, (OPENSSL_sk_freefunc)freefunc); } static __attribute__((unused)) inline int sk_X509_INFO_insert(struct stack_st_X509_INFO *sk, X509_INFO *ptr, int idx) { return OPENSSL_sk_insert((OPENSSL_STACK *)sk, (const void *)ptr, idx); } static __attribute__((unused)) inline X509_INFO *sk_X509_INFO_set(struct stack_st_X509_INFO *sk, int idx, X509_INFO *ptr) { return (X509_INFO *)OPENSSL_sk_set((OPENSSL_STACK *)sk, idx, (const void *)ptr); } static __attribute__((unused)) inline int sk_X509_INFO_find(struct stack_st_X509_INFO *sk, X509_INFO *ptr) { return OPENSSL_sk_find((OPENSSL_STACK *)sk, (const void *)ptr); } static __attribute__((unused)) inline int sk_X509_INFO_find_ex(struct stack_st_X509_INFO *sk, X509_INFO *ptr) { return OPENSSL_sk_find_ex((OPENSSL_STACK *)sk, (const void *)ptr); } static __attribute__((unused)) inline void sk_X509_INFO_sort(struct stack_st_X509_INFO *sk) { OPENSSL_sk_sort((OPENSSL_STACK *)sk); } static __attribute__((unused)) inline int sk_X509_INFO_is_sorted(const struct stack_st_X509_INFO *sk) { return OPENSSL_sk_is_sorted((const OPENSSL_STACK *)sk); } static __attribute__((unused)) inline struct stack_st_X509_INFO * sk_X509_INFO_dup(const struct stack_st_X509_INFO *sk) { return (struct stack_st_X509_INFO *)OPENSSL_sk_dup((const OPENSSL_STACK *)sk); } static __attribute__((unused)) inline struct stack_st_X509_INFO *sk_X509_INFO_deep_copy(const struct stack_st_X509_INFO *sk, sk_X509_INFO_copyfunc copyfunc, sk_X509_INFO_freefunc freefunc) { return (struct stack_st_X509_INFO *)OPENSSL_sk_deep_copy((const OPENSSL_STACK *)sk, (OPENSSL_sk_copyfunc)copyfunc, (OPENSSL_sk_freefunc)freefunc); } static __attribute__((unused)) inline sk_X509_INFO_compfunc sk_X509_INFO_set_cmp_func(struct stack_st_X509_INFO *sk, sk_X509_INFO_compfunc compare) { return (sk_X509_INFO_compfunc)OPENSSL_sk_set_cmp_func((OPENSSL_STACK *)sk, (OPENSSL_sk_compfunc)compare); } | |
typedef struct Netscape_spkac_st { | |
X509_PUBKEY *pubkey; | |
ASN1_IA5STRING *challenge; | |
} NETSCAPE_SPKAC; | |
typedef struct Netscape_spki_st { | |
NETSCAPE_SPKAC *spkac; | |
X509_ALGOR sig_algor; | |
ASN1_BIT_STRING *signature; | |
} NETSCAPE_SPKI; | |
typedef struct Netscape_certificate_sequence { | |
ASN1_OBJECT *type; | |
struct stack_st_X509 *certs; | |
} NETSCAPE_CERT_SEQUENCE; | |
# 286 "/usr/include/openssl/x509.h" 3 4 | |
typedef struct PBEPARAM_st { | |
ASN1_OCTET_STRING *salt; | |
ASN1_INTEGER *iter; | |
} PBEPARAM; | |
typedef struct PBE2PARAM_st { | |
X509_ALGOR *keyfunc; | |
X509_ALGOR *encryption; | |
} PBE2PARAM; | |
typedef struct PBKDF2PARAM_st { | |
ASN1_TYPE *salt; | |
ASN1_INTEGER *iter; | |
ASN1_INTEGER *keylength; | |
X509_ALGOR *prf; | |
} PBKDF2PARAM; | |
typedef struct SCRYPT_PARAMS_st { | |
ASN1_OCTET_STRING *salt; | |
ASN1_INTEGER *costParameter; | |
ASN1_INTEGER *blockSize; | |
ASN1_INTEGER *parallelizationParameter; | |
ASN1_INTEGER *keyLength; | |
} SCRYPT_PARAMS; | |
# 1 "/usr/include/openssl/x509_vfy.h" 1 3 4 | |
# 20 "/usr/include/openssl/x509_vfy.h" 3 4 | |
# 1 "/usr/include/arm-linux-gnueabihf/openssl/opensslconf.h" 1 3 4 | |
# 21 "/usr/include/openssl/x509_vfy.h" 2 3 4 | |
# 1 "/usr/include/openssl/lhash.h" 1 3 4 | |
# 24 "/usr/include/openssl/lhash.h" 3 4 | |
typedef struct lhash_node_st OPENSSL_LH_NODE; | |
typedef int (*OPENSSL_LH_COMPFUNC) (const void *, const void *); | |
typedef unsigned long (*OPENSSL_LH_HASHFUNC) (const void *); | |
typedef void (*OPENSSL_LH_DOALL_FUNC) (void *); | |
typedef void (*OPENSSL_LH_DOALL_FUNCARG) (void *, void *); | |
typedef struct lhash_st OPENSSL_LHASH; | |
# 72 "/usr/include/openssl/lhash.h" 3 4 | |
int OPENSSL_LH_error(OPENSSL_LHASH *lh); | |
OPENSSL_LHASH *OPENSSL_LH_new(OPENSSL_LH_HASHFUNC h, OPENSSL_LH_COMPFUNC c); | |
void OPENSSL_LH_free(OPENSSL_LHASH *lh); | |
void *OPENSSL_LH_insert(OPENSSL_LHASH *lh, void *data); | |
void *OPENSSL_LH_delete(OPENSSL_LHASH *lh, const void *data); | |
void *OPENSSL_LH_retrieve(OPENSSL_LHASH *lh, const void *data); | |
void OPENSSL_LH_doall(OPENSSL_LHASH *lh, OPENSSL_LH_DOALL_FUNC func); | |
void OPENSSL_LH_doall_arg(OPENSSL_LHASH *lh, OPENSSL_LH_DOALL_FUNCARG func, void *arg); | |
unsigned long OPENSSL_LH_strhash(const char *c); | |
unsigned long OPENSSL_LH_num_items(const OPENSSL_LHASH *lh); | |
unsigned long OPENSSL_LH_get_down_load(const OPENSSL_LHASH *lh); | |
void OPENSSL_LH_set_down_load(OPENSSL_LHASH *lh, unsigned long down_load); | |
void OPENSSL_LH_stats(const OPENSSL_LHASH *lh, FILE *fp); | |
void OPENSSL_LH_node_stats(const OPENSSL_LHASH *lh, FILE *fp); | |
void OPENSSL_LH_node_usage_stats(const OPENSSL_LHASH *lh, FILE *fp); | |
void OPENSSL_LH_stats_bio(const OPENSSL_LHASH *lh, BIO *out); | |
void OPENSSL_LH_node_stats_bio(const OPENSSL_LHASH *lh, BIO *out); | |
void OPENSSL_LH_node_usage_stats_bio(const OPENSSL_LHASH *lh, BIO *out); | |
# 197 "/usr/include/openssl/lhash.h" 3 4 | |
struct lhash_st_OPENSSL_STRING { union lh_OPENSSL_STRING_dummy { void* d1; unsigned long d2; int d3; } dummy; }; static inline struct lhash_st_OPENSSL_STRING * lh_OPENSSL_STRING_new(unsigned long (*hfn)(const OPENSSL_STRING *), int (*cfn)(const OPENSSL_STRING *, const OPENSSL_STRING *)) { return (struct lhash_st_OPENSSL_STRING *) OPENSSL_LH_new((OPENSSL_LH_HASHFUNC)hfn, (OPENSSL_LH_COMPFUNC)cfn); } static __attribute__((unused)) inline void lh_OPENSSL_STRING_free(struct lhash_st_OPENSSL_STRING *lh) { OPENSSL_LH_free((OPENSSL_LHASH *)lh); } static __attribute__((unused)) inline OPENSSL_STRING *lh_OPENSSL_STRING_insert(struct lhash_st_OPENSSL_STRING *lh, OPENSSL_STRING *d) { return (OPENSSL_STRING *)OPENSSL_LH_insert((OPENSSL_LHASH *)lh, d); } static __attribute__((unused)) inline OPENSSL_STRING *lh_OPENSSL_STRING_delete(struct lhash_st_OPENSSL_STRING *lh, const OPENSSL_STRING *d) { return (OPENSSL_STRING *)OPENSSL_LH_delete((OPENSSL_LHASH *)lh, d); } static __attribute__((unused)) inline OPENSSL_STRING *lh_OPENSSL_STRING_retrieve(struct lhash_st_OPENSSL_STRING *lh, const OPENSSL_STRING *d) { return (OPENSSL_STRING *)OPENSSL_LH_retrieve((OPENSSL_LHASH *)lh, d); } static __attribute__((unused)) inline int lh_OPENSSL_STRING_error(struct lhash_st_OPENSSL_STRING *lh) { return OPENSSL_LH_error((OPENSSL_LHASH *)lh); } static __attribute__((unused)) inline unsigned long lh_OPENSSL_STRING_num_items(struct lhash_st_OPENSSL_STRING *lh) { return OPENSSL_LH_num_items((OPENSSL_LHASH *)lh); } static __attribute__((unused)) inline void lh_OPENSSL_STRING_node_stats_bio(const struct lhash_st_OPENSSL_STRING *lh, BIO *out) { OPENSSL_LH_node_stats_bio((const OPENSSL_LHASH *)lh, out); } static __attribute__((unused)) inline void lh_OPENSSL_STRING_node_usage_stats_bio(const struct lhash_st_OPENSSL_STRING *lh, BIO *out) { OPENSSL_LH_node_usage_stats_bio((const OPENSSL_LHASH *)lh, out); } static __attribute__((unused)) inline void lh_OPENSSL_STRING_stats_bio(const struct lhash_st_OPENSSL_STRING *lh, BIO *out) { OPENSSL_LH_stats_bio((const OPENSSL_LHASH *)lh, out); } static __attribute__((unused)) inline unsigned long lh_OPENSSL_STRING_get_down_load(struct lhash_st_OPENSSL_STRING *lh) { return OPENSSL_LH_get_down_load((OPENSSL_LHASH *)lh); } static __attribute__((unused)) inline void lh_OPENSSL_STRING_set_down_load(struct lhash_st_OPENSSL_STRING *lh, unsigned long dl) { OPENSSL_LH_set_down_load((OPENSSL_LHASH *)lh, dl); } static __attribute__((unused)) inline void lh_OPENSSL_STRING_doall(struct lhash_st_OPENSSL_STRING *lh, void (*doall)(OPENSSL_STRING *)) { OPENSSL_LH_doall((OPENSSL_LHASH *)lh, (OPENSSL_LH_DOALL_FUNC)doall); } struct lhash_st_OPENSSL_STRING; | |
# 207 "/usr/include/openssl/lhash.h" 3 4 | |
struct lhash_st_OPENSSL_CSTRING { union lh_OPENSSL_CSTRING_dummy { void* d1; unsigned long d2; int d3; } dummy; }; static inline struct lhash_st_OPENSSL_CSTRING * lh_OPENSSL_CSTRING_new(unsigned long (*hfn)(const OPENSSL_CSTRING *), int (*cfn)(const OPENSSL_CSTRING *, const OPENSSL_CSTRING *)) { return (struct lhash_st_OPENSSL_CSTRING *) OPENSSL_LH_new((OPENSSL_LH_HASHFUNC)hfn, (OPENSSL_LH_COMPFUNC)cfn); } static __attribute__((unused)) inline void lh_OPENSSL_CSTRING_free(struct lhash_st_OPENSSL_CSTRING *lh) { OPENSSL_LH_free((OPENSSL_LHASH *)lh); } static __attribute__((unused)) inline OPENSSL_CSTRING *lh_OPENSSL_CSTRING_insert(struct lhash_st_OPENSSL_CSTRING *lh, OPENSSL_CSTRING *d) { return (OPENSSL_CSTRING *)OPENSSL_LH_insert((OPENSSL_LHASH *)lh, d); } static __attribute__((unused)) inline OPENSSL_CSTRING *lh_OPENSSL_CSTRING_delete(struct lhash_st_OPENSSL_CSTRING *lh, const OPENSSL_CSTRING *d) { return (OPENSSL_CSTRING *)OPENSSL_LH_delete((OPENSSL_LHASH *)lh, d); } static __attribute__((unused)) inline OPENSSL_CSTRING *lh_OPENSSL_CSTRING_retrieve(struct lhash_st_OPENSSL_CSTRING *lh, const OPENSSL_CSTRING *d) { return (OPENSSL_CSTRING *)OPENSSL_LH_retrieve((OPENSSL_LHASH *)lh, d); } static __attribute__((unused)) inline int lh_OPENSSL_CSTRING_error(struct lhash_st_OPENSSL_CSTRING *lh) { return OPENSSL_LH_error((OPENSSL_LHASH *)lh); } static __attribute__((unused)) inline unsigned long lh_OPENSSL_CSTRING_num_items(struct lhash_st_OPENSSL_CSTRING *lh) { return OPENSSL_LH_num_items((OPENSSL_LHASH *)lh); } static __attribute__((unused)) inline void lh_OPENSSL_CSTRING_node_stats_bio(const struct lhash_st_OPENSSL_CSTRING *lh, BIO *out) { OPENSSL_LH_node_stats_bio((const OPENSSL_LHASH *)lh, out); } static __attribute__((unused)) inline void lh_OPENSSL_CSTRING_node_usage_stats_bio(const struct lhash_st_OPENSSL_CSTRING *lh, BIO *out) { OPENSSL_LH_node_usage_stats_bio((const OPENSSL_LHASH *)lh, out); } static __attribute__((unused)) inline void lh_OPENSSL_CSTRING_stats_bio(const struct lhash_st_OPENSSL_CSTRING *lh, BIO *out) { OPENSSL_LH_stats_bio((const OPENSSL_LHASH *)lh, out); } static __attribute__((unused)) inline unsigned long lh_OPENSSL_CSTRING_get_down_load(struct lhash_st_OPENSSL_CSTRING *lh) { return OPENSSL_LH_get_down_load((OPENSSL_LHASH *)lh); } static __attribute__((unused)) inline void lh_OPENSSL_CSTRING_set_down_load(struct lhash_st_OPENSSL_CSTRING *lh, unsigned long dl) { OPENSSL_LH_set_down_load((OPENSSL_LHASH *)lh, dl); } static __attribute__((unused)) inline void lh_OPENSSL_CSTRING_doall(struct lhash_st_OPENSSL_CSTRING *lh, void (*doall)(OPENSSL_CSTRING *)) { OPENSSL_LH_doall((OPENSSL_LHASH *)lh, (OPENSSL_LH_DOALL_FUNC)doall); } struct lhash_st_OPENSSL_CSTRING; | |
# 22 "/usr/include/openssl/x509_vfy.h" 2 3 4 | |
# 47 "/usr/include/openssl/x509_vfy.h" 3 4 | |
typedef enum { | |
X509_LU_NONE = 0, | |
X509_LU_X509, X509_LU_CRL | |
} X509_LOOKUP_TYPE; | |
struct stack_st_X509_LOOKUP; typedef int (*sk_X509_LOOKUP_compfunc)(const X509_LOOKUP * const *a, const X509_LOOKUP *const *b); typedef void (*sk_X509_LOOKUP_freefunc)(X509_LOOKUP *a); typedef X509_LOOKUP * (*sk_X509_LOOKUP_copyfunc)(const X509_LOOKUP *a); static __attribute__((unused)) inline int sk_X509_LOOKUP_num(const struct stack_st_X509_LOOKUP *sk) { return OPENSSL_sk_num((const OPENSSL_STACK *)sk); } static __attribute__((unused)) inline X509_LOOKUP *sk_X509_LOOKUP_value(const struct stack_st_X509_LOOKUP *sk, int idx) { return (X509_LOOKUP *)OPENSSL_sk_value((const OPENSSL_STACK *)sk, idx); } static __attribute__((unused)) inline struct stack_st_X509_LOOKUP *sk_X509_LOOKUP_new(sk_X509_LOOKUP_compfunc compare) { return (struct stack_st_X509_LOOKUP *)OPENSSL_sk_new((OPENSSL_sk_compfunc)compare); } static __attribute__((unused)) inline struct stack_st_X509_LOOKUP *sk_X509_LOOKUP_new_null(void) { return (struct stack_st_X509_LOOKUP *)OPENSSL_sk_new_null(); } static __attribute__((unused)) inline struct stack_st_X509_LOOKUP *sk_X509_LOOKUP_new_reserve(sk_X509_LOOKUP_compfunc compare, int n) { return (struct stack_st_X509_LOOKUP *)OPENSSL_sk_new_reserve((OPENSSL_sk_compfunc)compare, n); } static __attribute__((unused)) inline int sk_X509_LOOKUP_reserve(struct stack_st_X509_LOOKUP *sk, int n) { return OPENSSL_sk_reserve((OPENSSL_STACK *)sk, n); } static __attribute__((unused)) inline void sk_X509_LOOKUP_free(struct stack_st_X509_LOOKUP *sk) { OPENSSL_sk_free((OPENSSL_STACK *)sk); } static __attribute__((unused)) inline void sk_X509_LOOKUP_zero(struct stack_st_X509_LOOKUP *sk) { OPENSSL_sk_zero((OPENSSL_STACK *)sk); } static __attribute__((unused)) inline X509_LOOKUP *sk_X509_LOOKUP_delete(struct stack_st_X509_LOOKUP *sk, int i) { return (X509_LOOKUP *)OPENSSL_sk_delete((OPENSSL_STACK *)sk, i); } static __attribute__((unused)) inline X509_LOOKUP *sk_X509_LOOKUP_delete_ptr(struct stack_st_X509_LOOKUP *sk, X509_LOOKUP *ptr) { return (X509_LOOKUP *)OPENSSL_sk_delete_ptr((OPENSSL_STACK *)sk, (const void *)ptr); } static __attribute__((unused)) inline int sk_X509_LOOKUP_push(struct stack_st_X509_LOOKUP *sk, X509_LOOKUP *ptr) { return OPENSSL_sk_push((OPENSSL_STACK *)sk, (const void *)ptr); } static __attribute__((unused)) inline int sk_X509_LOOKUP_unshift(struct stack_st_X509_LOOKUP *sk, X509_LOOKUP *ptr) { return OPENSSL_sk_unshift((OPENSSL_STACK *)sk, (const void *)ptr); } static __attribute__((unused)) inline X509_LOOKUP *sk_X509_LOOKUP_pop(struct stack_st_X509_LOOKUP *sk) { return (X509_LOOKUP *)OPENSSL_sk_pop((OPENSSL_STACK *)sk); } static __attribute__((unused)) inline X509_LOOKUP *sk_X509_LOOKUP_shift(struct stack_st_X509_LOOKUP *sk) { return (X509_LOOKUP *)OPENSSL_sk_shift((OPENSSL_STACK *)sk); } static __attribute__((unused)) inline void sk_X509_LOOKUP_pop_free(struct stack_st_X509_LOOKUP *sk, sk_X509_LOOKUP_freefunc freefunc) { OPENSSL_sk_pop_free((OPENSSL_STACK *)sk, (OPENSSL_sk_freefunc)freefunc); } static __attribute__((unused)) inline int sk_X509_LOOKUP_insert(struct stack_st_X509_LOOKUP *sk, X509_LOOKUP *ptr, int idx) { return OPENSSL_sk_insert((OPENSSL_STACK *)sk, (const void *)ptr, idx); } static __attribute__((unused)) inline X509_LOOKUP *sk_X509_LOOKUP_set(struct stack_st_X509_LOOKUP *sk, int idx, X509_LOOKUP *ptr) { return (X509_LOOKUP *)OPENSSL_sk_set((OPENSSL_STACK *)sk, idx, (const void *)ptr); } static __attribute__((unused)) inline int sk_X509_LOOKUP_find(struct stack_st_X509_LOOKUP *sk, X509_LOOKUP *ptr) { return OPENSSL_sk_find((OPENSSL_STACK *)sk, (const void *)ptr); } static __attribute__((unused)) inline int sk_X509_LOOKUP_find_ex(struct stack_st_X509_LOOKUP *sk, X509_LOOKUP *ptr) { return OPENSSL_sk_find_ex((OPENSSL_STACK *)sk, (const void *)ptr); } static __attribute__((unused)) inline void sk_X509_LOOKUP_sort(struct stack_st_X509_LOOKUP *sk) { OPENSSL_sk_sort((OPENSSL_STACK *)sk); } static __attribute__((unused)) inline int sk_X509_LOOKUP_is_sorted(const struct stack_st_X509_LOOKUP *sk) { return OPENSSL_sk_is_sorted((const OPENSSL_STACK *)sk); } static __attribute__((unused)) inline struct stack_st_X509_LOOKUP * sk_X509_LOOKUP_dup(const struct stack_st_X509_LOOKUP *sk) { return (struct stack_st_X509_LOOKUP *)OPENSSL_sk_dup((const OPENSSL_STACK *)sk); } static __attribute__((unused)) inline struct stack_st_X509_LOOKUP *sk_X509_LOOKUP_deep_copy(const struct stack_st_X509_LOOKUP *sk, sk_X509_LOOKUP_copyfunc copyfunc, sk_X509_LOOKUP_freefunc freefunc) { return (struct stack_st_X509_LOOKUP *)OPENSSL_sk_deep_copy((const OPENSSL_STACK *)sk, (OPENSSL_sk_copyfunc)copyfunc, (OPENSSL_sk_freefunc)freefunc); } static __attribute__((unused)) inline sk_X509_LOOKUP_compfunc sk_X509_LOOKUP_set_cmp_func(struct stack_st_X509_LOOKUP *sk, sk_X509_LOOKUP_compfunc compare) { return (sk_X509_LOOKUP_compfunc)OPENSSL_sk_set_cmp_func((OPENSSL_STACK *)sk, (OPENSSL_sk_compfunc)compare); } | |
struct stack_st_X509_OBJECT; typedef int (*sk_X509_OBJECT_compfunc)(const X509_OBJECT * const *a, const X509_OBJECT *const *b); typedef void (*sk_X509_OBJECT_freefunc)(X509_OBJECT *a); typedef X509_OBJECT * (*sk_X509_OBJECT_copyfunc)(const X509_OBJECT *a); static __attribute__((unused)) inline int sk_X509_OBJECT_num(const struct stack_st_X509_OBJECT *sk) { return OPENSSL_sk_num((const OPENSSL_STACK *)sk); } static __attribute__((unused)) inline X509_OBJECT *sk_X509_OBJECT_value(const struct stack_st_X509_OBJECT *sk, int idx) { return (X509_OBJECT *)OPENSSL_sk_value((const OPENSSL_STACK *)sk, idx); } static __attribute__((unused)) inline struct stack_st_X509_OBJECT *sk_X509_OBJECT_new(sk_X509_OBJECT_compfunc compare) { return (struct stack_st_X509_OBJECT *)OPENSSL_sk_new((OPENSSL_sk_compfunc)compare); } static __attribute__((unused)) inline struct stack_st_X509_OBJECT *sk_X509_OBJECT_new_null(void) { return (struct stack_st_X509_OBJECT *)OPENSSL_sk_new_null(); } static __attribute__((unused)) inline struct stack_st_X509_OBJECT *sk_X509_OBJECT_new_reserve(sk_X509_OBJECT_compfunc compare, int n) { return (struct stack_st_X509_OBJECT *)OPENSSL_sk_new_reserve((OPENSSL_sk_compfunc)compare, n); } static __attribute__((unused)) inline int sk_X509_OBJECT_reserve(struct stack_st_X509_OBJECT *sk, int n) { return OPENSSL_sk_reserve((OPENSSL_STACK *)sk, n); } static __attribute__((unused)) inline void sk_X509_OBJECT_free(struct stack_st_X509_OBJECT *sk) { OPENSSL_sk_free((OPENSSL_STACK *)sk); } static __attribute__((unused)) inline void sk_X509_OBJECT_zero(struct stack_st_X509_OBJECT *sk) { OPENSSL_sk_zero((OPENSSL_STACK *)sk); } static __attribute__((unused)) inline X509_OBJECT *sk_X509_OBJECT_delete(struct stack_st_X509_OBJECT *sk, int i) { return (X509_OBJECT *)OPENSSL_sk_delete((OPENSSL_STACK *)sk, i); } static __attribute__((unused)) inline X509_OBJECT *sk_X509_OBJECT_delete_ptr(struct stack_st_X509_OBJECT *sk, X509_OBJECT *ptr) { return (X509_OBJECT *)OPENSSL_sk_delete_ptr((OPENSSL_STACK *)sk, (const void *)ptr); } static __attribute__((unused)) inline int sk_X509_OBJECT_push(struct stack_st_X509_OBJECT *sk, X509_OBJECT *ptr) { return OPENSSL_sk_push((OPENSSL_STACK *)sk, (const void *)ptr); } static __attribute__((unused)) inline int sk_X509_OBJECT_unshift(struct stack_st_X509_OBJECT *sk, X509_OBJECT *ptr) { return OPENSSL_sk_unshift((OPENSSL_STACK *)sk, (const void *)ptr); } static __attribute__((unused)) inline X509_OBJECT *sk_X509_OBJECT_pop(struct stack_st_X509_OBJECT *sk) { return (X509_OBJECT *)OPENSSL_sk_pop((OPENSSL_STACK *)sk); } static __attribute__((unused)) inline X509_OBJECT *sk_X509_OBJECT_shift(struct stack_st_X509_OBJECT *sk) { return (X509_OBJECT *)OPENSSL_sk_shift((OPENSSL_STACK *)sk); } static __attribute__((unused)) inline void sk_X509_OBJECT_pop_free(struct stack_st_X509_OBJECT *sk, sk_X509_OBJECT_freefunc freefunc) { OPENSSL_sk_pop_free((OPENSSL_STACK *)sk, (OPENSSL_sk_freefunc)freefunc); } static __attribute__((unused)) inline int sk_X509_OBJECT_insert(struct stack_st_X509_OBJECT *sk, X509_OBJECT *ptr, int idx) { return OPENSSL_sk_insert((OPENSSL_STACK *)sk, (const void *)ptr, idx); } static __attribute__((unused)) inline X509_OBJECT *sk_X509_OBJECT_set(struct stack_st_X509_OBJECT *sk, int idx, X509_OBJECT *ptr) { return (X509_OBJECT *)OPENSSL_sk_set((OPENSSL_STACK *)sk, idx, (const void *)ptr); } static __attribute__((unused)) inline int sk_X509_OBJECT_find(struct stack_st_X509_OBJECT *sk, X509_OBJECT *ptr) { return OPENSSL_sk_find((OPENSSL_STACK *)sk, (const void *)ptr); } static __attribute__((unused)) inline int sk_X509_OBJECT_find_ex(struct stack_st_X509_OBJECT *sk, X509_OBJECT *ptr) { return OPENSSL_sk_find_ex((OPENSSL_STACK *)sk, (const void *)ptr); } static __attribute__((unused)) inline void sk_X509_OBJECT_sort(struct stack_st_X509_OBJECT *sk) { OPENSSL_sk_sort((OPENSSL_STACK *)sk); } static __attribute__((unused)) inline int sk_X509_OBJECT_is_sorted(const struct stack_st_X509_OBJECT *sk) { return OPENSSL_sk_is_sorted((const OPENSSL_STACK *)sk); } static __attribute__((unused)) inline struct stack_st_X509_OBJECT * sk_X509_OBJECT_dup(const struct stack_st_X509_OBJECT *sk) { return (struct stack_st_X509_OBJECT *)OPENSSL_sk_dup((const OPENSSL_STACK *)sk); } static __attribute__((unused)) inline struct stack_st_X509_OBJECT *sk_X509_OBJECT_deep_copy(const struct stack_st_X509_OBJECT *sk, sk_X509_OBJECT_copyfunc copyfunc, sk_X509_OBJECT_freefunc freefunc) { return (struct stack_st_X509_OBJECT *)OPENSSL_sk_deep_copy((const OPENSSL_STACK *)sk, (OPENSSL_sk_copyfunc)copyfunc, (OPENSSL_sk_freefunc)freefunc); } static __attribute__((unused)) inline sk_X509_OBJECT_compfunc sk_X509_OBJECT_set_cmp_func(struct stack_st_X509_OBJECT *sk, sk_X509_OBJECT_compfunc compare) { return (sk_X509_OBJECT_compfunc)OPENSSL_sk_set_cmp_func((OPENSSL_STACK *)sk, (OPENSSL_sk_compfunc)compare); } | |
struct stack_st_X509_VERIFY_PARAM; typedef int (*sk_X509_VERIFY_PARAM_compfunc)(const X509_VERIFY_PARAM * const *a, const X509_VERIFY_PARAM *const *b); typedef void (*sk_X509_VERIFY_PARAM_freefunc)(X509_VERIFY_PARAM *a); typedef X509_VERIFY_PARAM * (*sk_X509_VERIFY_PARAM_copyfunc)(const X509_VERIFY_PARAM *a); static __attribute__((unused)) inline int sk_X509_VERIFY_PARAM_num(const struct stack_st_X509_VERIFY_PARAM *sk) { return OPENSSL_sk_num((const OPENSSL_STACK *)sk); } static __attribute__((unused)) inline X509_VERIFY_PARAM *sk_X509_VERIFY_PARAM_value(const struct stack_st_X509_VERIFY_PARAM *sk, int idx) { return (X509_VERIFY_PARAM *)OPENSSL_sk_value((const OPENSSL_STACK *)sk, idx); } static __attribute__((unused)) inline struct stack_st_X509_VERIFY_PARAM *sk_X509_VERIFY_PARAM_new(sk_X509_VERIFY_PARAM_compfunc compare) { return (struct stack_st_X509_VERIFY_PARAM *)OPENSSL_sk_new((OPENSSL_sk_compfunc)compare); } static __attribute__((unused)) inline struct stack_st_X509_VERIFY_PARAM *sk_X509_VERIFY_PARAM_new_null(void) { return (struct stack_st_X509_VERIFY_PARAM *)OPENSSL_sk_new_null(); } static __attribute__((unused)) inline struct stack_st_X509_VERIFY_PARAM *sk_X509_VERIFY_PARAM_new_reserve(sk_X509_VERIFY_PARAM_compfunc compare, int n) { return (struct stack_st_X509_VERIFY_PARAM *)OPENSSL_sk_new_reserve((OPENSSL_sk_compfunc)compare, n); } static __attribute__((unused)) inline int sk_X509_VERIFY_PARAM_reserve(struct stack_st_X509_VERIFY_PARAM *sk, int n) { return OPENSSL_sk_reserve((OPENSSL_STACK *)sk, n); } static __attribute__((unused)) inline void sk_X509_VERIFY_PARAM_free(struct stack_st_X509_VERIFY_PARAM *sk) { OPENSSL_sk_free((OPENSSL_STACK *)sk); } static __attribute__((unused)) inline void sk_X509_VERIFY_PARAM_zero(struct stack_st_X509_VERIFY_PARAM *sk) { OPENSSL_sk_zero((OPENSSL_STACK *)sk); } static __attribute__((unused)) inline X509_VERIFY_PARAM *sk_X509_VERIFY_PARAM_delete(struct stack_st_X509_VERIFY_PARAM *sk, int i) { return (X509_VERIFY_PARAM *)OPENSSL_sk_delete((OPENSSL_STACK *)sk, i); } static __attribute__((unused)) inline X509_VERIFY_PARAM *sk_X509_VERIFY_PARAM_delete_ptr(struct stack_st_X509_VERIFY_PARAM *sk, X509_VERIFY_PARAM *ptr) { return (X509_VERIFY_PARAM *)OPENSSL_sk_delete_ptr((OPENSSL_STACK *)sk, (const void *)ptr); } static __attribute__((unused)) inline int sk_X509_VERIFY_PARAM_push(struct stack_st_X509_VERIFY_PARAM *sk, X509_VERIFY_PARAM *ptr) { return OPENSSL_sk_push((OPENSSL_STACK *)sk, (const void *)ptr); } static __attribute__((unused)) inline int sk_X509_VERIFY_PARAM_unshift(struct stack_st_X509_VERIFY_PARAM *sk, X509_VERIFY_PARAM *ptr) { return OPENSSL_sk_unshift((OPENSSL_STACK *)sk, (const void *)ptr); } static __attribute__((unused)) inline X509_VERIFY_PARAM *sk_X509_VERIFY_PARAM_pop(struct stack_st_X509_VERIFY_PARAM *sk) { return (X509_VERIFY_PARAM *)OPENSSL_sk_pop((OPENSSL_STACK *)sk); } static __attribute__((unused)) inline X509_VERIFY_PARAM *sk_X509_VERIFY_PARAM_shift(struct stack_st_X509_VERIFY_PARAM *sk) { return (X509_VERIFY_PARAM *)OPENSSL_sk_shift((OPENSSL_STACK *)sk); } static __attribute__((unused)) inline void sk_X509_VERIFY_PARAM_pop_free(struct stack_st_X509_VERIFY_PARAM *sk, sk_X509_VERIFY_PARAM_freefunc freefunc) { OPENSSL_sk_pop_free((OPENSSL_STACK *)sk, (OPENSSL_sk_freefunc)freefunc); } static __attribute__((unused)) inline int sk_X509_VERIFY_PARAM_insert(struct stack_st_X509_VERIFY_PARAM *sk, X509_VERIFY_PARAM *ptr, int idx) { return OPENSSL_sk_insert((OPENSSL_STACK *)sk, (const void *)ptr, idx); } static __attribute__((unused)) inline X509_VERIFY_PARAM *sk_X509_VERIFY_PARAM_set(struct stack_st_X509_VERIFY_PARAM *sk, int idx, X509_VERIFY_PARAM *ptr) { return (X509_VERIFY_PARAM *)OPENSSL_sk_set((OPENSSL_STACK *)sk, idx, (const void *)ptr); } static __attribute__((unused)) inline int sk_X509_VERIFY_PARAM_find(struct stack_st_X509_VERIFY_PARAM *sk, X509_VERIFY_PARAM *ptr) { return OPENSSL_sk_find((OPENSSL_STACK *)sk, (const void *)ptr); } static __attribute__((unused)) inline int sk_X509_VERIFY_PARAM_find_ex(struct stack_st_X509_VERIFY_PARAM *sk, X509_VERIFY_PARAM *ptr) { return OPENSSL_sk_find_ex((OPENSSL_STACK *)sk, (const void *)ptr); } static __attribute__((unused)) inline void sk_X509_VERIFY_PARAM_sort(struct stack_st_X509_VERIFY_PARAM *sk) { OPENSSL_sk_sort((OPENSSL_STACK *)sk); } static __attribute__((unused)) inline int sk_X509_VERIFY_PARAM_is_sorted(const struct stack_st_X509_VERIFY_PARAM *sk) { return OPENSSL_sk_is_sorted((const OPENSSL_STACK *)sk); } static __attribute__((unused)) inline struct stack_st_X509_VERIFY_PARAM * sk_X509_VERIFY_PARAM_dup(const struct stack_st_X509_VERIFY_PARAM *sk) { return (struct stack_st_X509_VERIFY_PARAM *)OPENSSL_sk_dup((const OPENSSL_STACK *)sk); } static __attribute__((unused)) inline struct stack_st_X509_VERIFY_PARAM *sk_X509_VERIFY_PARAM_deep_copy(const struct stack_st_X509_VERIFY_PARAM *sk, sk_X509_VERIFY_PARAM_copyfunc copyfunc, sk_X509_VERIFY_PARAM_freefunc freefunc) { return (struct stack_st_X509_VERIFY_PARAM *)OPENSSL_sk_deep_copy((const OPENSSL_STACK *)sk, (OPENSSL_sk_copyfunc)copyfunc, (OPENSSL_sk_freefunc)freefunc); } static __attribute__((unused)) inline sk_X509_VERIFY_PARAM_compfunc sk_X509_VERIFY_PARAM_set_cmp_func(struct stack_st_X509_VERIFY_PARAM *sk, sk_X509_VERIFY_PARAM_compfunc compare) { return (sk_X509_VERIFY_PARAM_compfunc)OPENSSL_sk_set_cmp_func((OPENSSL_STACK *)sk, (OPENSSL_sk_compfunc)compare); } | |
int X509_STORE_set_depth(X509_STORE *store, int depth); | |
typedef int (*X509_STORE_CTX_verify_cb)(int, X509_STORE_CTX *); | |
typedef int (*X509_STORE_CTX_verify_fn)(X509_STORE_CTX *); | |
typedef int (*X509_STORE_CTX_get_issuer_fn)(X509 **issuer, | |
X509_STORE_CTX *ctx, X509 *x); | |
typedef int (*X509_STORE_CTX_check_issued_fn)(X509_STORE_CTX *ctx, | |
X509 *x, X509 *issuer); | |
typedef int (*X509_STORE_CTX_check_revocation_fn)(X509_STORE_CTX *ctx); | |
typedef int (*X509_STORE_CTX_get_crl_fn)(X509_STORE_CTX *ctx, | |
X509_CRL **crl, X509 *x); | |
typedef int (*X509_STORE_CTX_check_crl_fn)(X509_STORE_CTX *ctx, X509_CRL *crl); | |
typedef int (*X509_STORE_CTX_cert_crl_fn)(X509_STORE_CTX *ctx, | |
X509_CRL *crl, X509 *x); | |
typedef int (*X509_STORE_CTX_check_policy_fn)(X509_STORE_CTX *ctx); | |
typedef struct stack_st_X509 *(*X509_STORE_CTX_lookup_certs_fn)(X509_STORE_CTX *ctx, | |
X509_NAME *nm); | |
typedef struct stack_st_X509_CRL *(*X509_STORE_CTX_lookup_crls_fn)(X509_STORE_CTX *ctx, | |
X509_NAME *nm); | |
typedef int (*X509_STORE_CTX_cleanup_fn)(X509_STORE_CTX *ctx); | |
void X509_STORE_CTX_set_depth(X509_STORE_CTX *ctx, int depth); | |
# 252 "/usr/include/openssl/x509_vfy.h" 3 4 | |
int X509_OBJECT_idx_by_subject(struct stack_st_X509_OBJECT *h, X509_LOOKUP_TYPE type, | |
X509_NAME *name); | |
X509_OBJECT *X509_OBJECT_retrieve_by_subject(struct stack_st_X509_OBJECT *h, | |
X509_LOOKUP_TYPE type, | |
X509_NAME *name); | |
X509_OBJECT *X509_OBJECT_retrieve_match(struct stack_st_X509_OBJECT *h, | |
X509_OBJECT *x); | |
int X509_OBJECT_up_ref_count(X509_OBJECT *a); | |
X509_OBJECT *X509_OBJECT_new(void); | |
void X509_OBJECT_free(X509_OBJECT *a); | |
X509_LOOKUP_TYPE X509_OBJECT_get_type(const X509_OBJECT *a); | |
X509 *X509_OBJECT_get0_X509(const X509_OBJECT *a); | |
int X509_OBJECT_set1_X509(X509_OBJECT *a, X509 *obj); | |
X509_CRL *X509_OBJECT_get0_X509_CRL(X509_OBJECT *a); | |
int X509_OBJECT_set1_X509_CRL(X509_OBJECT *a, X509_CRL *obj); | |
X509_STORE *X509_STORE_new(void); | |
void X509_STORE_free(X509_STORE *v); | |
int X509_STORE_lock(X509_STORE *ctx); | |
int X509_STORE_unlock(X509_STORE *ctx); | |
int X509_STORE_up_ref(X509_STORE *v); | |
struct stack_st_X509_OBJECT *X509_STORE_get0_objects(X509_STORE *v); | |
struct stack_st_X509 *X509_STORE_CTX_get1_certs(X509_STORE_CTX *st, X509_NAME *nm); | |
struct stack_st_X509_CRL *X509_STORE_CTX_get1_crls(X509_STORE_CTX *st, X509_NAME *nm); | |
int X509_STORE_set_flags(X509_STORE *ctx, unsigned long flags); | |
int X509_STORE_set_purpose(X509_STORE *ctx, int purpose); | |
int X509_STORE_set_trust(X509_STORE *ctx, int trust); | |
int X509_STORE_set1_param(X509_STORE *ctx, X509_VERIFY_PARAM *pm); | |
X509_VERIFY_PARAM *X509_STORE_get0_param(X509_STORE *ctx); | |
void X509_STORE_set_verify(X509_STORE *ctx, X509_STORE_CTX_verify_fn verify); | |
void X509_STORE_CTX_set_verify(X509_STORE_CTX *ctx, | |
X509_STORE_CTX_verify_fn verify); | |
X509_STORE_CTX_verify_fn X509_STORE_get_verify(X509_STORE *ctx); | |
void X509_STORE_set_verify_cb(X509_STORE *ctx, | |
X509_STORE_CTX_verify_cb verify_cb); | |
X509_STORE_CTX_verify_cb X509_STORE_get_verify_cb(X509_STORE *ctx); | |
void X509_STORE_set_get_issuer(X509_STORE *ctx, | |
X509_STORE_CTX_get_issuer_fn get_issuer); | |
X509_STORE_CTX_get_issuer_fn X509_STORE_get_get_issuer(X509_STORE *ctx); | |
void X509_STORE_set_check_issued(X509_STORE *ctx, | |
X509_STORE_CTX_check_issued_fn check_issued); | |
X509_STORE_CTX_check_issued_fn X509_STORE_get_check_issued(X509_STORE *ctx); | |
void X509_STORE_set_check_revocation(X509_STORE *ctx, | |
X509_STORE_CTX_check_revocation_fn check_revocation); | |
X509_STORE_CTX_check_revocation_fn X509_STORE_get_check_revocation(X509_STORE *ctx); | |
void X509_STORE_set_get_crl(X509_STORE *ctx, | |
X509_STORE_CTX_get_crl_fn get_crl); | |
X509_STORE_CTX_get_crl_fn X509_STORE_get_get_crl(X509_STORE *ctx); | |
void X509_STORE_set_check_crl(X509_STORE *ctx, | |
X509_STORE_CTX_check_crl_fn check_crl); | |
X509_STORE_CTX_check_crl_fn X509_STORE_get_check_crl(X509_STORE *ctx); | |
void X509_STORE_set_cert_crl(X509_STORE *ctx, | |
X509_STORE_CTX_cert_crl_fn cert_crl); | |
X509_STORE_CTX_cert_crl_fn X509_STORE_get_cert_crl(X509_STORE *ctx); | |
void X509_STORE_set_check_policy(X509_STORE *ctx, | |
X509_STORE_CTX_check_policy_fn check_policy); | |
X509_STORE_CTX_check_policy_fn X509_STORE_get_check_policy(X509_STORE *ctx); | |
void X509_STORE_set_lookup_certs(X509_STORE *ctx, | |
X509_STORE_CTX_lookup_certs_fn lookup_certs); | |
X509_STORE_CTX_lookup_certs_fn X509_STORE_get_lookup_certs(X509_STORE *ctx); | |
void X509_STORE_set_lookup_crls(X509_STORE *ctx, | |
X509_STORE_CTX_lookup_crls_fn lookup_crls); | |
X509_STORE_CTX_lookup_crls_fn X509_STORE_get_lookup_crls(X509_STORE *ctx); | |
void X509_STORE_set_cleanup(X509_STORE *ctx, | |
X509_STORE_CTX_cleanup_fn cleanup); | |
X509_STORE_CTX_cleanup_fn X509_STORE_get_cleanup(X509_STORE *ctx); | |
int X509_STORE_set_ex_data(X509_STORE *ctx, int idx, void *data); | |
void *X509_STORE_get_ex_data(X509_STORE *ctx, int idx); | |
X509_STORE_CTX *X509_STORE_CTX_new(void); | |
int X509_STORE_CTX_get1_issuer(X509 **issuer, X509_STORE_CTX *ctx, X509 *x); | |
void X509_STORE_CTX_free(X509_STORE_CTX *ctx); | |
int X509_STORE_CTX_init(X509_STORE_CTX *ctx, X509_STORE *store, | |
X509 *x509, struct stack_st_X509 *chain); | |
void X509_STORE_CTX_set0_trusted_stack(X509_STORE_CTX *ctx, struct stack_st_X509 *sk); | |
void X509_STORE_CTX_cleanup(X509_STORE_CTX *ctx); | |
X509_STORE *X509_STORE_CTX_get0_store(X509_STORE_CTX *ctx); | |
X509 *X509_STORE_CTX_get0_cert(X509_STORE_CTX *ctx); | |
struct stack_st_X509* X509_STORE_CTX_get0_untrusted(X509_STORE_CTX *ctx); | |
void X509_STORE_CTX_set0_untrusted(X509_STORE_CTX *ctx, struct stack_st_X509 *sk); | |
void X509_STORE_CTX_set_verify_cb(X509_STORE_CTX *ctx, | |
X509_STORE_CTX_verify_cb verify); | |
X509_STORE_CTX_verify_cb X509_STORE_CTX_get_verify_cb(X509_STORE_CTX *ctx); | |
X509_STORE_CTX_verify_fn X509_STORE_CTX_get_verify(X509_STORE_CTX *ctx); | |
X509_STORE_CTX_get_issuer_fn X509_STORE_CTX_get_get_issuer(X509_STORE_CTX *ctx); | |
X509_STORE_CTX_check_issued_fn X509_STORE_CTX_get_check_issued(X509_STORE_CTX *ctx); | |
X509_STORE_CTX_check_revocation_fn X509_STORE_CTX_get_check_revocation(X509_STORE_CTX *ctx); | |
X509_STORE_CTX_get_crl_fn X509_STORE_CTX_get_get_crl(X509_STORE_CTX *ctx); | |
X509_STORE_CTX_check_crl_fn X509_STORE_CTX_get_check_crl(X509_STORE_CTX *ctx); | |
X509_STORE_CTX_cert_crl_fn X509_STORE_CTX_get_cert_crl(X509_STORE_CTX *ctx); | |
X509_STORE_CTX_check_policy_fn X509_STORE_CTX_get_check_policy(X509_STORE_CTX *ctx); | |
X509_STORE_CTX_lookup_certs_fn X509_STORE_CTX_get_lookup_certs(X509_STORE_CTX *ctx); | |
X509_STORE_CTX_lookup_crls_fn X509_STORE_CTX_get_lookup_crls(X509_STORE_CTX *ctx); | |
X509_STORE_CTX_cleanup_fn X509_STORE_CTX_get_cleanup(X509_STORE_CTX *ctx); | |
# 373 "/usr/include/openssl/x509_vfy.h" 3 4 | |
X509_LOOKUP *X509_STORE_add_lookup(X509_STORE *v, X509_LOOKUP_METHOD *m); | |
X509_LOOKUP_METHOD *X509_LOOKUP_hash_dir(void); | |
X509_LOOKUP_METHOD *X509_LOOKUP_file(void); | |
typedef int (*X509_LOOKUP_ctrl_fn)(X509_LOOKUP *ctx, int cmd, const char *argc, | |
long argl, char **ret); | |
typedef int (*X509_LOOKUP_get_by_subject_fn)(X509_LOOKUP *ctx, | |
X509_LOOKUP_TYPE type, | |
X509_NAME *name, | |
X509_OBJECT *ret); | |
typedef int (*X509_LOOKUP_get_by_issuer_serial_fn)(X509_LOOKUP *ctx, | |
X509_LOOKUP_TYPE type, | |
X509_NAME *name, | |
ASN1_INTEGER *serial, | |
X509_OBJECT *ret); | |
typedef int (*X509_LOOKUP_get_by_fingerprint_fn)(X509_LOOKUP *ctx, | |
X509_LOOKUP_TYPE type, | |
const unsigned char* bytes, | |
int len, | |
X509_OBJECT *ret); | |
typedef int (*X509_LOOKUP_get_by_alias_fn)(X509_LOOKUP *ctx, | |
X509_LOOKUP_TYPE type, | |
const char *str, | |
int len, | |
X509_OBJECT *ret); | |
X509_LOOKUP_METHOD *X509_LOOKUP_meth_new(const char *name); | |
void X509_LOOKUP_meth_free(X509_LOOKUP_METHOD *method); | |
int X509_LOOKUP_meth_set_new_item(X509_LOOKUP_METHOD *method, | |
int (*new_item) (X509_LOOKUP *ctx)); | |
int (*X509_LOOKUP_meth_get_new_item(const X509_LOOKUP_METHOD* method)) | |
(X509_LOOKUP *ctx); | |
int X509_LOOKUP_meth_set_free(X509_LOOKUP_METHOD *method, | |
void (*free_fn) (X509_LOOKUP *ctx)); | |
void (*X509_LOOKUP_meth_get_free(const X509_LOOKUP_METHOD* method)) | |
(X509_LOOKUP *ctx); | |
int X509_LOOKUP_meth_set_init(X509_LOOKUP_METHOD *method, | |
int (*init) (X509_LOOKUP *ctx)); | |
int (*X509_LOOKUP_meth_get_init(const X509_LOOKUP_METHOD* method)) | |
(X509_LOOKUP *ctx); | |
int X509_LOOKUP_meth_set_shutdown(X509_LOOKUP_METHOD *method, | |
int (*shutdown) (X509_LOOKUP *ctx)); | |
int (*X509_LOOKUP_meth_get_shutdown(const X509_LOOKUP_METHOD* method)) | |
(X509_LOOKUP *ctx); | |
int X509_LOOKUP_meth_set_ctrl(X509_LOOKUP_METHOD *method, | |
X509_LOOKUP_ctrl_fn ctrl_fn); | |
X509_LOOKUP_ctrl_fn X509_LOOKUP_meth_get_ctrl(const X509_LOOKUP_METHOD *method); | |
int X509_LOOKUP_meth_set_get_by_subject(X509_LOOKUP_METHOD *method, | |
X509_LOOKUP_get_by_subject_fn fn); | |
X509_LOOKUP_get_by_subject_fn X509_LOOKUP_meth_get_get_by_subject( | |
const X509_LOOKUP_METHOD *method); | |
int X509_LOOKUP_meth_set_get_by_issuer_serial(X509_LOOKUP_METHOD *method, | |
X509_LOOKUP_get_by_issuer_serial_fn fn); | |
X509_LOOKUP_get_by_issuer_serial_fn X509_LOOKUP_meth_get_get_by_issuer_serial( | |
const X509_LOOKUP_METHOD *method); | |
int X509_LOOKUP_meth_set_get_by_fingerprint(X509_LOOKUP_METHOD *method, | |
X509_LOOKUP_get_by_fingerprint_fn fn); | |
X509_LOOKUP_get_by_fingerprint_fn X509_LOOKUP_meth_get_get_by_fingerprint( | |
const X509_LOOKUP_METHOD *method); | |
int X509_LOOKUP_meth_set_get_by_alias(X509_LOOKUP_METHOD *method, | |
X509_LOOKUP_get_by_alias_fn fn); | |
X509_LOOKUP_get_by_alias_fn X509_LOOKUP_meth_get_get_by_alias( | |
const X509_LOOKUP_METHOD *method); | |
int X509_STORE_add_cert(X509_STORE *ctx, X509 *x); | |
int X509_STORE_add_crl(X509_STORE *ctx, X509_CRL *x); | |
int X509_STORE_CTX_get_by_subject(X509_STORE_CTX *vs, X509_LOOKUP_TYPE type, | |
X509_NAME *name, X509_OBJECT *ret); | |
X509_OBJECT *X509_STORE_CTX_get_obj_by_subject(X509_STORE_CTX *vs, | |
X509_LOOKUP_TYPE type, | |
X509_NAME *name); | |
int X509_LOOKUP_ctrl(X509_LOOKUP *ctx, int cmd, const char *argc, | |
long argl, char **ret); | |
int X509_load_cert_file(X509_LOOKUP *ctx, const char *file, int type); | |
int X509_load_crl_file(X509_LOOKUP *ctx, const char *file, int type); | |
int X509_load_cert_crl_file(X509_LOOKUP *ctx, const char *file, int type); | |
X509_LOOKUP *X509_LOOKUP_new(X509_LOOKUP_METHOD *method); | |
void X509_LOOKUP_free(X509_LOOKUP *ctx); | |
int X509_LOOKUP_init(X509_LOOKUP *ctx); | |
int X509_LOOKUP_by_subject(X509_LOOKUP *ctx, X509_LOOKUP_TYPE type, | |
X509_NAME *name, X509_OBJECT *ret); | |
int X509_LOOKUP_by_issuer_serial(X509_LOOKUP *ctx, X509_LOOKUP_TYPE type, | |
X509_NAME *name, ASN1_INTEGER *serial, | |
X509_OBJECT *ret); | |
int X509_LOOKUP_by_fingerprint(X509_LOOKUP *ctx, X509_LOOKUP_TYPE type, | |
const unsigned char *bytes, int len, | |
X509_OBJECT *ret); | |
int X509_LOOKUP_by_alias(X509_LOOKUP *ctx, X509_LOOKUP_TYPE type, | |
const char *str, int len, X509_OBJECT *ret); | |
int X509_LOOKUP_set_method_data(X509_LOOKUP *ctx, void *data); | |
void *X509_LOOKUP_get_method_data(const X509_LOOKUP *ctx); | |
X509_STORE *X509_LOOKUP_get_store(const X509_LOOKUP *ctx); | |
int X509_LOOKUP_shutdown(X509_LOOKUP *ctx); | |
int X509_STORE_load_locations(X509_STORE *ctx, | |
const char *file, const char *dir); | |
int X509_STORE_set_default_paths(X509_STORE *ctx); | |
int X509_STORE_CTX_set_ex_data(X509_STORE_CTX *ctx, int idx, void *data); | |
void *X509_STORE_CTX_get_ex_data(X509_STORE_CTX *ctx, int idx); | |
int X509_STORE_CTX_get_error(X509_STORE_CTX *ctx); | |
void X509_STORE_CTX_set_error(X509_STORE_CTX *ctx, int s); | |
int X509_STORE_CTX_get_error_depth(X509_STORE_CTX *ctx); | |
void X509_STORE_CTX_set_error_depth(X509_STORE_CTX *ctx, int depth); | |
X509 *X509_STORE_CTX_get_current_cert(X509_STORE_CTX *ctx); | |
void X509_STORE_CTX_set_current_cert(X509_STORE_CTX *ctx, X509 *x); | |
X509 *X509_STORE_CTX_get0_current_issuer(X509_STORE_CTX *ctx); | |
X509_CRL *X509_STORE_CTX_get0_current_crl(X509_STORE_CTX *ctx); | |
X509_STORE_CTX *X509_STORE_CTX_get0_parent_ctx(X509_STORE_CTX *ctx); | |
struct stack_st_X509 *X509_STORE_CTX_get0_chain(X509_STORE_CTX *ctx); | |
struct stack_st_X509 *X509_STORE_CTX_get1_chain(X509_STORE_CTX *ctx); | |
void X509_STORE_CTX_set_cert(X509_STORE_CTX *c, X509 *x); | |
void X509_STORE_CTX_set0_verified_chain(X509_STORE_CTX *c, struct stack_st_X509 *sk); | |
void X509_STORE_CTX_set0_crls(X509_STORE_CTX *c, struct stack_st_X509_CRL *sk); | |
int X509_STORE_CTX_set_purpose(X509_STORE_CTX *ctx, int purpose); | |
int X509_STORE_CTX_set_trust(X509_STORE_CTX *ctx, int trust); | |
int X509_STORE_CTX_purpose_inherit(X509_STORE_CTX *ctx, int def_purpose, | |
int purpose, int trust); | |
void X509_STORE_CTX_set_flags(X509_STORE_CTX *ctx, unsigned long flags); | |
void X509_STORE_CTX_set_time(X509_STORE_CTX *ctx, unsigned long flags, | |
time_t t); | |
X509_POLICY_TREE *X509_STORE_CTX_get0_policy_tree(X509_STORE_CTX *ctx); | |
int X509_STORE_CTX_get_explicit_policy(X509_STORE_CTX *ctx); | |
int X509_STORE_CTX_get_num_untrusted(X509_STORE_CTX *ctx); | |
X509_VERIFY_PARAM *X509_STORE_CTX_get0_param(X509_STORE_CTX *ctx); | |
void X509_STORE_CTX_set0_param(X509_STORE_CTX *ctx, X509_VERIFY_PARAM *param); | |
int X509_STORE_CTX_set_default(X509_STORE_CTX *ctx, const char *name); | |
void X509_STORE_CTX_set0_dane(X509_STORE_CTX *ctx, SSL_DANE *dane); | |
X509_VERIFY_PARAM *X509_VERIFY_PARAM_new(void); | |
void X509_VERIFY_PARAM_free(X509_VERIFY_PARAM *param); | |
int X509_VERIFY_PARAM_inherit(X509_VERIFY_PARAM *to, | |
const X509_VERIFY_PARAM *from); | |
int X509_VERIFY_PARAM_set1(X509_VERIFY_PARAM *to, | |
const X509_VERIFY_PARAM *from); | |
int X509_VERIFY_PARAM_set1_name(X509_VERIFY_PARAM *param, const char *name); | |
int X509_VERIFY_PARAM_set_flags(X509_VERIFY_PARAM *param, | |
unsigned long flags); | |
int X509_VERIFY_PARAM_clear_flags(X509_VERIFY_PARAM *param, | |
unsigned long flags); | |
unsigned long X509_VERIFY_PARAM_get_flags(X509_VERIFY_PARAM *param); | |
int X509_VERIFY_PARAM_set_purpose(X509_VERIFY_PARAM *param, int purpose); | |
int X509_VERIFY_PARAM_set_trust(X509_VERIFY_PARAM *param, int trust); | |
void X509_VERIFY_PARAM_set_depth(X509_VERIFY_PARAM *param, int depth); | |
void X509_VERIFY_PARAM_set_auth_level(X509_VERIFY_PARAM *param, int auth_level); | |
time_t X509_VERIFY_PARAM_get_time(const X509_VERIFY_PARAM *param); | |
void X509_VERIFY_PARAM_set_time(X509_VERIFY_PARAM *param, time_t t); | |
int X509_VERIFY_PARAM_add0_policy(X509_VERIFY_PARAM *param, | |
ASN1_OBJECT *policy); | |
int X509_VERIFY_PARAM_set1_policies(X509_VERIFY_PARAM *param, | |
struct stack_st_ASN1_OBJECT *policies); | |
int X509_VERIFY_PARAM_set_inh_flags(X509_VERIFY_PARAM *param, | |
uint32_t flags); | |
uint32_t X509_VERIFY_PARAM_get_inh_flags(const X509_VERIFY_PARAM *param); | |
int X509_VERIFY_PARAM_set1_host(X509_VERIFY_PARAM *param, | |
const char *name, size_t namelen); | |
int X509_VERIFY_PARAM_add1_host(X509_VERIFY_PARAM *param, | |
const char *name, size_t namelen); | |
void X509_VERIFY_PARAM_set_hostflags(X509_VERIFY_PARAM *param, | |
unsigned int flags); | |
unsigned int X509_VERIFY_PARAM_get_hostflags(const X509_VERIFY_PARAM *param); | |
char *X509_VERIFY_PARAM_get0_peername(X509_VERIFY_PARAM *); | |
void X509_VERIFY_PARAM_move_peername(X509_VERIFY_PARAM *, X509_VERIFY_PARAM *); | |
int X509_VERIFY_PARAM_set1_email(X509_VERIFY_PARAM *param, | |
const char *email, size_t emaillen); | |
int X509_VERIFY_PARAM_set1_ip(X509_VERIFY_PARAM *param, | |
const unsigned char *ip, size_t iplen); | |
int X509_VERIFY_PARAM_set1_ip_asc(X509_VERIFY_PARAM *param, | |
const char *ipasc); | |
int X509_VERIFY_PARAM_get_depth(const X509_VERIFY_PARAM *param); | |
int X509_VERIFY_PARAM_get_auth_level(const X509_VERIFY_PARAM *param); | |
const char *X509_VERIFY_PARAM_get0_name(const X509_VERIFY_PARAM *param); | |
int X509_VERIFY_PARAM_add0_table(X509_VERIFY_PARAM *param); | |
int X509_VERIFY_PARAM_get_count(void); | |
const X509_VERIFY_PARAM *X509_VERIFY_PARAM_get0(int id); | |
const X509_VERIFY_PARAM *X509_VERIFY_PARAM_lookup(const char *name); | |
void X509_VERIFY_PARAM_table_cleanup(void); | |
# 594 "/usr/include/openssl/x509_vfy.h" 3 4 | |
int X509_policy_check(X509_POLICY_TREE **ptree, int *pexplicit_policy, | |
struct stack_st_X509 *certs, | |
struct stack_st_ASN1_OBJECT *policy_oids, unsigned int flags); | |
void X509_policy_tree_free(X509_POLICY_TREE *tree); | |
int X509_policy_tree_level_count(const X509_POLICY_TREE *tree); | |
X509_POLICY_LEVEL *X509_policy_tree_get0_level(const X509_POLICY_TREE *tree, | |
int i); | |
struct stack_st_X509_POLICY_NODE *X509_policy_tree_get0_policies(const | |
X509_POLICY_TREE | |
*tree); | |
struct stack_st_X509_POLICY_NODE *X509_policy_tree_get0_user_policies(const | |
X509_POLICY_TREE | |
*tree); | |
int X509_policy_level_node_count(X509_POLICY_LEVEL *level); | |
X509_POLICY_NODE *X509_policy_level_get0_node(X509_POLICY_LEVEL *level, | |
int i); | |
const ASN1_OBJECT *X509_policy_node_get0_policy(const X509_POLICY_NODE *node); | |
struct stack_st_POLICYQUALINFO *X509_policy_node_get0_qualifiers(const | |
X509_POLICY_NODE | |
*node); | |
const X509_POLICY_NODE *X509_policy_node_get0_parent(const X509_POLICY_NODE | |
*node); | |
# 321 "/usr/include/openssl/x509.h" 2 3 4 | |
# 1 "/usr/include/openssl/pkcs7.h" 1 3 4 | |
# 19 "/usr/include/openssl/pkcs7.h" 3 4 | |
# 1 "/usr/include/openssl/pkcs7err.h" 1 3 4 | |
# 21 "/usr/include/openssl/pkcs7err.h" 3 4 | |
int ERR_load_PKCS7_strings(void); | |
# 20 "/usr/include/openssl/pkcs7.h" 2 3 4 | |
# 32 "/usr/include/openssl/pkcs7.h" 3 4 | |
typedef struct pkcs7_issuer_and_serial_st { | |
X509_NAME *issuer; | |
ASN1_INTEGER *serial; | |
} PKCS7_ISSUER_AND_SERIAL; | |
typedef struct pkcs7_signer_info_st { | |
ASN1_INTEGER *version; | |
PKCS7_ISSUER_AND_SERIAL *issuer_and_serial; | |
X509_ALGOR *digest_alg; | |
struct stack_st_X509_ATTRIBUTE *auth_attr; | |
X509_ALGOR *digest_enc_alg; | |
ASN1_OCTET_STRING *enc_digest; | |
struct stack_st_X509_ATTRIBUTE *unauth_attr; | |
EVP_PKEY *pkey; | |
} PKCS7_SIGNER_INFO; | |
struct stack_st_PKCS7_SIGNER_INFO; typedef int (*sk_PKCS7_SIGNER_INFO_compfunc)(const PKCS7_SIGNER_INFO * const *a, const PKCS7_SIGNER_INFO *const *b); typedef void (*sk_PKCS7_SIGNER_INFO_freefunc)(PKCS7_SIGNER_INFO *a); typedef PKCS7_SIGNER_INFO * (*sk_PKCS7_SIGNER_INFO_copyfunc)(const PKCS7_SIGNER_INFO *a); static __attribute__((unused)) inline int sk_PKCS7_SIGNER_INFO_num(const struct stack_st_PKCS7_SIGNER_INFO *sk) { return OPENSSL_sk_num((const OPENSSL_STACK *)sk); } static __attribute__((unused)) inline PKCS7_SIGNER_INFO *sk_PKCS7_SIGNER_INFO_value(const struct stack_st_PKCS7_SIGNER_INFO *sk, int idx) { return (PKCS7_SIGNER_INFO *)OPENSSL_sk_value((const OPENSSL_STACK *)sk, idx); } static __attribute__((unused)) inline struct stack_st_PKCS7_SIGNER_INFO *sk_PKCS7_SIGNER_INFO_new(sk_PKCS7_SIGNER_INFO_compfunc compare) { return (struct stack_st_PKCS7_SIGNER_INFO *)OPENSSL_sk_new((OPENSSL_sk_compfunc)compare); } static __attribute__((unused)) inline struct stack_st_PKCS7_SIGNER_INFO *sk_PKCS7_SIGNER_INFO_new_null(void) { return (struct stack_st_PKCS7_SIGNER_INFO *)OPENSSL_sk_new_null(); } static __attribute__((unused)) inline struct stack_st_PKCS7_SIGNER_INFO *sk_PKCS7_SIGNER_INFO_new_reserve(sk_PKCS7_SIGNER_INFO_compfunc compare, int n) { return (struct stack_st_PKCS7_SIGNER_INFO *)OPENSSL_sk_new_reserve((OPENSSL_sk_compfunc)compare, n); } static __attribute__((unused)) inline int sk_PKCS7_SIGNER_INFO_reserve(struct stack_st_PKCS7_SIGNER_INFO *sk, int n) { return OPENSSL_sk_reserve((OPENSSL_STACK *)sk, n); } static __attribute__((unused)) inline void sk_PKCS7_SIGNER_INFO_free(struct stack_st_PKCS7_SIGNER_INFO *sk) { OPENSSL_sk_free((OPENSSL_STACK *)sk); } static __attribute__((unused)) inline void sk_PKCS7_SIGNER_INFO_zero(struct stack_st_PKCS7_SIGNER_INFO *sk) { OPENSSL_sk_zero((OPENSSL_STACK *)sk); } static __attribute__((unused)) inline PKCS7_SIGNER_INFO *sk_PKCS7_SIGNER_INFO_delete(struct stack_st_PKCS7_SIGNER_INFO *sk, int i) { return (PKCS7_SIGNER_INFO *)OPENSSL_sk_delete((OPENSSL_STACK *)sk, i); } static __attribute__((unused)) inline PKCS7_SIGNER_INFO *sk_PKCS7_SIGNER_INFO_delete_ptr(struct stack_st_PKCS7_SIGNER_INFO *sk, PKCS7_SIGNER_INFO *ptr) { return (PKCS7_SIGNER_INFO *)OPENSSL_sk_delete_ptr((OPENSSL_STACK *)sk, (const void *)ptr); } static __attribute__((unused)) inline int sk_PKCS7_SIGNER_INFO_push(struct stack_st_PKCS7_SIGNER_INFO *sk, PKCS7_SIGNER_INFO *ptr) { return OPENSSL_sk_push((OPENSSL_STACK *)sk, (const void *)ptr); } static __attribute__((unused)) inline int sk_PKCS7_SIGNER_INFO_unshift(struct stack_st_PKCS7_SIGNER_INFO *sk, PKCS7_SIGNER_INFO *ptr) { return OPENSSL_sk_unshift((OPENSSL_STACK *)sk, (const void *)ptr); } static __attribute__((unused)) inline PKCS7_SIGNER_INFO *sk_PKCS7_SIGNER_INFO_pop(struct stack_st_PKCS7_SIGNER_INFO *sk) { return (PKCS7_SIGNER_INFO *)OPENSSL_sk_pop((OPENSSL_STACK *)sk); } static __attribute__((unused)) inline PKCS7_SIGNER_INFO *sk_PKCS7_SIGNER_INFO_shift(struct stack_st_PKCS7_SIGNER_INFO *sk) { return (PKCS7_SIGNER_INFO *)OPENSSL_sk_shift((OPENSSL_STACK *)sk); } static __attribute__((unused)) inline void sk_PKCS7_SIGNER_INFO_pop_free(struct stack_st_PKCS7_SIGNER_INFO *sk, sk_PKCS7_SIGNER_INFO_freefunc freefunc) { OPENSSL_sk_pop_free((OPENSSL_STACK *)sk, (OPENSSL_sk_freefunc)freefunc); } static __attribute__((unused)) inline int sk_PKCS7_SIGNER_INFO_insert(struct stack_st_PKCS7_SIGNER_INFO *sk, PKCS7_SIGNER_INFO *ptr, int idx) { return OPENSSL_sk_insert((OPENSSL_STACK *)sk, (const void *)ptr, idx); } static __attribute__((unused)) inline PKCS7_SIGNER_INFO *sk_PKCS7_SIGNER_INFO_set(struct stack_st_PKCS7_SIGNER_INFO *sk, int idx, PKCS7_SIGNER_INFO *ptr) { return (PKCS7_SIGNER_INFO *)OPENSSL_sk_set((OPENSSL_STACK *)sk, idx, (const void *)ptr); } static __attribute__((unused)) inline int sk_PKCS7_SIGNER_INFO_find(struct stack_st_PKCS7_SIGNER_INFO *sk, PKCS7_SIGNER_INFO *ptr) { return OPENSSL_sk_find((OPENSSL_STACK *)sk, (const void *)ptr); } static __attribute__((unused)) inline int sk_PKCS7_SIGNER_INFO_find_ex(struct stack_st_PKCS7_SIGNER_INFO *sk, PKCS7_SIGNER_INFO *ptr) { return OPENSSL_sk_find_ex((OPENSSL_STACK *)sk, (const void *)ptr); } static __attribute__((unused)) inline void sk_PKCS7_SIGNER_INFO_sort(struct stack_st_PKCS7_SIGNER_INFO *sk) { OPENSSL_sk_sort((OPENSSL_STACK *)sk); } static __attribute__((unused)) inline int sk_PKCS7_SIGNER_INFO_is_sorted(const struct stack_st_PKCS7_SIGNER_INFO *sk) { return OPENSSL_sk_is_sorted((const OPENSSL_STACK *)sk); } static __attribute__((unused)) inline struct stack_st_PKCS7_SIGNER_INFO * sk_PKCS7_SIGNER_INFO_dup(const struct stack_st_PKCS7_SIGNER_INFO *sk) { return (struct stack_st_PKCS7_SIGNER_INFO *)OPENSSL_sk_dup((const OPENSSL_STACK *)sk); } static __attribute__((unused)) inline struct stack_st_PKCS7_SIGNER_INFO *sk_PKCS7_SIGNER_INFO_deep_copy(const struct stack_st_PKCS7_SIGNER_INFO *sk, sk_PKCS7_SIGNER_INFO_copyfunc copyfunc, sk_PKCS7_SIGNER_INFO_freefunc freefunc) { return (struct stack_st_PKCS7_SIGNER_INFO *)OPENSSL_sk_deep_copy((const OPENSSL_STACK *)sk, (OPENSSL_sk_copyfunc)copyfunc, (OPENSSL_sk_freefunc)freefunc); } static __attribute__((unused)) inline sk_PKCS7_SIGNER_INFO_compfunc sk_PKCS7_SIGNER_INFO_set_cmp_func(struct stack_st_PKCS7_SIGNER_INFO *sk, sk_PKCS7_SIGNER_INFO_compfunc compare) { return (sk_PKCS7_SIGNER_INFO_compfunc)OPENSSL_sk_set_cmp_func((OPENSSL_STACK *)sk, (OPENSSL_sk_compfunc)compare); } | |
typedef struct pkcs7_recip_info_st { | |
ASN1_INTEGER *version; | |
PKCS7_ISSUER_AND_SERIAL *issuer_and_serial; | |
X509_ALGOR *key_enc_algor; | |
ASN1_OCTET_STRING *enc_key; | |
X509 *cert; | |
} PKCS7_RECIP_INFO; | |
struct stack_st_PKCS7_RECIP_INFO; typedef int (*sk_PKCS7_RECIP_INFO_compfunc)(const PKCS7_RECIP_INFO * const *a, const PKCS7_RECIP_INFO *const *b); typedef void (*sk_PKCS7_RECIP_INFO_freefunc)(PKCS7_RECIP_INFO *a); typedef PKCS7_RECIP_INFO * (*sk_PKCS7_RECIP_INFO_copyfunc)(const PKCS7_RECIP_INFO *a); static __attribute__((unused)) inline int sk_PKCS7_RECIP_INFO_num(const struct stack_st_PKCS7_RECIP_INFO *sk) { return OPENSSL_sk_num((const OPENSSL_STACK *)sk); } static __attribute__((unused)) inline PKCS7_RECIP_INFO *sk_PKCS7_RECIP_INFO_value(const struct stack_st_PKCS7_RECIP_INFO *sk, int idx) { return (PKCS7_RECIP_INFO *)OPENSSL_sk_value((const OPENSSL_STACK *)sk, idx); } static __attribute__((unused)) inline struct stack_st_PKCS7_RECIP_INFO *sk_PKCS7_RECIP_INFO_new(sk_PKCS7_RECIP_INFO_compfunc compare) { return (struct stack_st_PKCS7_RECIP_INFO *)OPENSSL_sk_new((OPENSSL_sk_compfunc)compare); } static __attribute__((unused)) inline struct stack_st_PKCS7_RECIP_INFO *sk_PKCS7_RECIP_INFO_new_null(void) { return (struct stack_st_PKCS7_RECIP_INFO *)OPENSSL_sk_new_null(); } static __attribute__((unused)) inline struct stack_st_PKCS7_RECIP_INFO *sk_PKCS7_RECIP_INFO_new_reserve(sk_PKCS7_RECIP_INFO_compfunc compare, int n) { return (struct stack_st_PKCS7_RECIP_INFO *)OPENSSL_sk_new_reserve((OPENSSL_sk_compfunc)compare, n); } static __attribute__((unused)) inline int sk_PKCS7_RECIP_INFO_reserve(struct stack_st_PKCS7_RECIP_INFO *sk, int n) { return OPENSSL_sk_reserve((OPENSSL_STACK *)sk, n); } static __attribute__((unused)) inline void sk_PKCS7_RECIP_INFO_free(struct stack_st_PKCS7_RECIP_INFO *sk) { OPENSSL_sk_free((OPENSSL_STACK *)sk); } static __attribute__((unused)) inline void sk_PKCS7_RECIP_INFO_zero(struct stack_st_PKCS7_RECIP_INFO *sk) { OPENSSL_sk_zero((OPENSSL_STACK *)sk); } static __attribute__((unused)) inline PKCS7_RECIP_INFO *sk_PKCS7_RECIP_INFO_delete(struct stack_st_PKCS7_RECIP_INFO *sk, int i) { return (PKCS7_RECIP_INFO *)OPENSSL_sk_delete((OPENSSL_STACK *)sk, i); } static __attribute__((unused)) inline PKCS7_RECIP_INFO *sk_PKCS7_RECIP_INFO_delete_ptr(struct stack_st_PKCS7_RECIP_INFO *sk, PKCS7_RECIP_INFO *ptr) { return (PKCS7_RECIP_INFO *)OPENSSL_sk_delete_ptr((OPENSSL_STACK *)sk, (const void *)ptr); } static __attribute__((unused)) inline int sk_PKCS7_RECIP_INFO_push(struct stack_st_PKCS7_RECIP_INFO *sk, PKCS7_RECIP_INFO *ptr) { return OPENSSL_sk_push((OPENSSL_STACK *)sk, (const void *)ptr); } static __attribute__((unused)) inline int sk_PKCS7_RECIP_INFO_unshift(struct stack_st_PKCS7_RECIP_INFO *sk, PKCS7_RECIP_INFO *ptr) { return OPENSSL_sk_unshift((OPENSSL_STACK *)sk, (const void *)ptr); } static __attribute__((unused)) inline PKCS7_RECIP_INFO *sk_PKCS7_RECIP_INFO_pop(struct stack_st_PKCS7_RECIP_INFO *sk) { return (PKCS7_RECIP_INFO *)OPENSSL_sk_pop((OPENSSL_STACK *)sk); } static __attribute__((unused)) inline PKCS7_RECIP_INFO *sk_PKCS7_RECIP_INFO_shift(struct stack_st_PKCS7_RECIP_INFO *sk) { return (PKCS7_RECIP_INFO *)OPENSSL_sk_shift((OPENSSL_STACK *)sk); } static __attribute__((unused)) inline void sk_PKCS7_RECIP_INFO_pop_free(struct stack_st_PKCS7_RECIP_INFO *sk, sk_PKCS7_RECIP_INFO_freefunc freefunc) { OPENSSL_sk_pop_free((OPENSSL_STACK *)sk, (OPENSSL_sk_freefunc)freefunc); } static __attribute__((unused)) inline int sk_PKCS7_RECIP_INFO_insert(struct stack_st_PKCS7_RECIP_INFO *sk, PKCS7_RECIP_INFO *ptr, int idx) { return OPENSSL_sk_insert((OPENSSL_STACK *)sk, (const void *)ptr, idx); } static __attribute__((unused)) inline PKCS7_RECIP_INFO *sk_PKCS7_RECIP_INFO_set(struct stack_st_PKCS7_RECIP_INFO *sk, int idx, PKCS7_RECIP_INFO *ptr) { return (PKCS7_RECIP_INFO *)OPENSSL_sk_set((OPENSSL_STACK *)sk, idx, (const void *)ptr); } static __attribute__((unused)) inline int sk_PKCS7_RECIP_INFO_find(struct stack_st_PKCS7_RECIP_INFO *sk, PKCS7_RECIP_INFO *ptr) { return OPENSSL_sk_find((OPENSSL_STACK *)sk, (const void *)ptr); } static __attribute__((unused)) inline int sk_PKCS7_RECIP_INFO_find_ex(struct stack_st_PKCS7_RECIP_INFO *sk, PKCS7_RECIP_INFO *ptr) { return OPENSSL_sk_find_ex((OPENSSL_STACK *)sk, (const void *)ptr); } static __attribute__((unused)) inline void sk_PKCS7_RECIP_INFO_sort(struct stack_st_PKCS7_RECIP_INFO *sk) { OPENSSL_sk_sort((OPENSSL_STACK *)sk); } static __attribute__((unused)) inline int sk_PKCS7_RECIP_INFO_is_sorted(const struct stack_st_PKCS7_RECIP_INFO *sk) { return OPENSSL_sk_is_sorted((const OPENSSL_STACK *)sk); } static __attribute__((unused)) inline struct stack_st_PKCS7_RECIP_INFO * sk_PKCS7_RECIP_INFO_dup(const struct stack_st_PKCS7_RECIP_INFO *sk) { return (struct stack_st_PKCS7_RECIP_INFO *)OPENSSL_sk_dup((const OPENSSL_STACK *)sk); } static __attribute__((unused)) inline struct stack_st_PKCS7_RECIP_INFO *sk_PKCS7_RECIP_INFO_deep_copy(const struct stack_st_PKCS7_RECIP_INFO *sk, sk_PKCS7_RECIP_INFO_copyfunc copyfunc, sk_PKCS7_RECIP_INFO_freefunc freefunc) { return (struct stack_st_PKCS7_RECIP_INFO *)OPENSSL_sk_deep_copy((const OPENSSL_STACK *)sk, (OPENSSL_sk_copyfunc)copyfunc, (OPENSSL_sk_freefunc)freefunc); } static __attribute__((unused)) inline sk_PKCS7_RECIP_INFO_compfunc sk_PKCS7_RECIP_INFO_set_cmp_func(struct stack_st_PKCS7_RECIP_INFO *sk, sk_PKCS7_RECIP_INFO_compfunc compare) { return (sk_PKCS7_RECIP_INFO_compfunc)OPENSSL_sk_set_cmp_func((OPENSSL_STACK *)sk, (OPENSSL_sk_compfunc)compare); } | |
typedef struct pkcs7_signed_st { | |
ASN1_INTEGER *version; | |
struct stack_st_X509_ALGOR *md_algs; | |
struct stack_st_X509 *cert; | |
struct stack_st_X509_CRL *crl; | |
struct stack_st_PKCS7_SIGNER_INFO *signer_info; | |
struct pkcs7_st *contents; | |
} PKCS7_SIGNED; | |
typedef struct pkcs7_enc_content_st { | |
ASN1_OBJECT *content_type; | |
X509_ALGOR *algorithm; | |
ASN1_OCTET_STRING *enc_data; | |
const EVP_CIPHER *cipher; | |
} PKCS7_ENC_CONTENT; | |
typedef struct pkcs7_enveloped_st { | |
ASN1_INTEGER *version; | |
struct stack_st_PKCS7_RECIP_INFO *recipientinfo; | |
PKCS7_ENC_CONTENT *enc_data; | |
} PKCS7_ENVELOPE; | |
typedef struct pkcs7_signedandenveloped_st { | |
ASN1_INTEGER *version; | |
struct stack_st_X509_ALGOR *md_algs; | |
struct stack_st_X509 *cert; | |
struct stack_st_X509_CRL *crl; | |
struct stack_st_PKCS7_SIGNER_INFO *signer_info; | |
PKCS7_ENC_CONTENT *enc_data; | |
struct stack_st_PKCS7_RECIP_INFO *recipientinfo; | |
} PKCS7_SIGN_ENVELOPE; | |
typedef struct pkcs7_digest_st { | |
ASN1_INTEGER *version; | |
X509_ALGOR *md; | |
struct pkcs7_st *contents; | |
ASN1_OCTET_STRING *digest; | |
} PKCS7_DIGEST; | |
typedef struct pkcs7_encrypted_st { | |
ASN1_INTEGER *version; | |
PKCS7_ENC_CONTENT *enc_data; | |
} PKCS7_ENCRYPT; | |
typedef struct pkcs7_st { | |
unsigned char *asn1; | |
long length; | |
int state; | |
int detached; | |
ASN1_OBJECT *type; | |
union { | |
char *ptr; | |
ASN1_OCTET_STRING *data; | |
PKCS7_SIGNED *sign; | |
PKCS7_ENVELOPE *enveloped; | |
PKCS7_SIGN_ENVELOPE *signed_and_enveloped; | |
PKCS7_DIGEST *digest; | |
PKCS7_ENCRYPT *encrypted; | |
ASN1_TYPE *other; | |
} d; | |
} PKCS7; | |
struct stack_st_PKCS7; typedef int (*sk_PKCS7_compfunc)(const PKCS7 * const *a, const PKCS7 *const *b); typedef void (*sk_PKCS7_freefunc)(PKCS7 *a); typedef PKCS7 * (*sk_PKCS7_copyfunc)(const PKCS7 *a); static __attribute__((unused)) inline int sk_PKCS7_num(const struct stack_st_PKCS7 *sk) { return OPENSSL_sk_num((const OPENSSL_STACK *)sk); } static __attribute__((unused)) inline PKCS7 *sk_PKCS7_value(const struct stack_st_PKCS7 *sk, int idx) { return (PKCS7 *)OPENSSL_sk_value((const OPENSSL_STACK *)sk, idx); } static __attribute__((unused)) inline struct stack_st_PKCS7 *sk_PKCS7_new(sk_PKCS7_compfunc compare) { return (struct stack_st_PKCS7 *)OPENSSL_sk_new((OPENSSL_sk_compfunc)compare); } static __attribute__((unused)) inline struct stack_st_PKCS7 *sk_PKCS7_new_null(void) { return (struct stack_st_PKCS7 *)OPENSSL_sk_new_null(); } static __attribute__((unused)) inline struct stack_st_PKCS7 *sk_PKCS7_new_reserve(sk_PKCS7_compfunc compare, int n) { return (struct stack_st_PKCS7 *)OPENSSL_sk_new_reserve((OPENSSL_sk_compfunc)compare, n); } static __attribute__((unused)) inline int sk_PKCS7_reserve(struct stack_st_PKCS7 *sk, int n) { return OPENSSL_sk_reserve((OPENSSL_STACK *)sk, n); } static __attribute__((unused)) inline void sk_PKCS7_free(struct stack_st_PKCS7 *sk) { OPENSSL_sk_free((OPENSSL_STACK *)sk); } static __attribute__((unused)) inline void sk_PKCS7_zero(struct stack_st_PKCS7 *sk) { OPENSSL_sk_zero((OPENSSL_STACK *)sk); } static __attribute__((unused)) inline PKCS7 *sk_PKCS7_delete(struct stack_st_PKCS7 *sk, int i) { return (PKCS7 *)OPENSSL_sk_delete((OPENSSL_STACK *)sk, i); } static __attribute__((unused)) inline PKCS7 *sk_PKCS7_delete_ptr(struct stack_st_PKCS7 *sk, PKCS7 *ptr) { return (PKCS7 *)OPENSSL_sk_delete_ptr((OPENSSL_STACK *)sk, (const void *)ptr); } static __attribute__((unused)) inline int sk_PKCS7_push(struct stack_st_PKCS7 *sk, PKCS7 *ptr) { return OPENSSL_sk_push((OPENSSL_STACK *)sk, (const void *)ptr); } static __attribute__((unused)) inline int sk_PKCS7_unshift(struct stack_st_PKCS7 *sk, PKCS7 *ptr) { return OPENSSL_sk_unshift((OPENSSL_STACK *)sk, (const void *)ptr); } static __attribute__((unused)) inline PKCS7 *sk_PKCS7_pop(struct stack_st_PKCS7 *sk) { return (PKCS7 *)OPENSSL_sk_pop((OPENSSL_STACK *)sk); } static __attribute__((unused)) inline PKCS7 *sk_PKCS7_shift(struct stack_st_PKCS7 *sk) { return (PKCS7 *)OPENSSL_sk_shift((OPENSSL_STACK *)sk); } static __attribute__((unused)) inline void sk_PKCS7_pop_free(struct stack_st_PKCS7 *sk, sk_PKCS7_freefunc freefunc) { OPENSSL_sk_pop_free((OPENSSL_STACK *)sk, (OPENSSL_sk_freefunc)freefunc); } static __attribute__((unused)) inline int sk_PKCS7_insert(struct stack_st_PKCS7 *sk, PKCS7 *ptr, int idx) { return OPENSSL_sk_insert((OPENSSL_STACK *)sk, (const void *)ptr, idx); } static __attribute__((unused)) inline PKCS7 *sk_PKCS7_set(struct stack_st_PKCS7 *sk, int idx, PKCS7 *ptr) { return (PKCS7 *)OPENSSL_sk_set((OPENSSL_STACK *)sk, idx, (const void *)ptr); } static __attribute__((unused)) inline int sk_PKCS7_find(struct stack_st_PKCS7 *sk, PKCS7 *ptr) { return OPENSSL_sk_find((OPENSSL_STACK *)sk, (const void *)ptr); } static __attribute__((unused)) inline int sk_PKCS7_find_ex(struct stack_st_PKCS7 *sk, PKCS7 *ptr) { return OPENSSL_sk_find_ex((OPENSSL_STACK *)sk, (const void *)ptr); } static __attribute__((unused)) inline void sk_PKCS7_sort(struct stack_st_PKCS7 *sk) { OPENSSL_sk_sort((OPENSSL_STACK *)sk); } static __attribute__((unused)) inline int sk_PKCS7_is_sorted(const struct stack_st_PKCS7 *sk) { return OPENSSL_sk_is_sorted((const OPENSSL_STACK *)sk); } static __attribute__((unused)) inline struct stack_st_PKCS7 * sk_PKCS7_dup(const struct stack_st_PKCS7 *sk) { return (struct stack_st_PKCS7 *)OPENSSL_sk_dup((const OPENSSL_STACK *)sk); } static __attribute__((unused)) inline struct stack_st_PKCS7 *sk_PKCS7_deep_copy(const struct stack_st_PKCS7 *sk, sk_PKCS7_copyfunc copyfunc, sk_PKCS7_freefunc freefunc) { return (struct stack_st_PKCS7 *)OPENSSL_sk_deep_copy((const OPENSSL_STACK *)sk, (OPENSSL_sk_copyfunc)copyfunc, (OPENSSL_sk_freefunc)freefunc); } static __attribute__((unused)) inline sk_PKCS7_compfunc sk_PKCS7_set_cmp_func(struct stack_st_PKCS7 *sk, sk_PKCS7_compfunc compare) { return (sk_PKCS7_compfunc)OPENSSL_sk_set_cmp_func((OPENSSL_STACK *)sk, (OPENSSL_sk_compfunc)compare); } | |
# 204 "/usr/include/openssl/pkcs7.h" 3 4 | |
PKCS7_ISSUER_AND_SERIAL *PKCS7_ISSUER_AND_SERIAL_new(void); void PKCS7_ISSUER_AND_SERIAL_free(PKCS7_ISSUER_AND_SERIAL *a); PKCS7_ISSUER_AND_SERIAL *d2i_PKCS7_ISSUER_AND_SERIAL(PKCS7_ISSUER_AND_SERIAL **a, const unsigned char **in, long len); int i2d_PKCS7_ISSUER_AND_SERIAL(PKCS7_ISSUER_AND_SERIAL *a, unsigned char **out); extern const ASN1_ITEM PKCS7_ISSUER_AND_SERIAL_it; | |
int PKCS7_ISSUER_AND_SERIAL_digest(PKCS7_ISSUER_AND_SERIAL *data, | |
const EVP_MD *type, unsigned char *md, | |
unsigned int *len); | |
PKCS7 *d2i_PKCS7_fp(FILE *fp, PKCS7 **p7); | |
int i2d_PKCS7_fp(FILE *fp, PKCS7 *p7); | |
PKCS7 *PKCS7_dup(PKCS7 *p7); | |
PKCS7 *d2i_PKCS7_bio(BIO *bp, PKCS7 **p7); | |
int i2d_PKCS7_bio(BIO *bp, PKCS7 *p7); | |
int i2d_PKCS7_bio_stream(BIO *out, PKCS7 *p7, BIO *in, int flags); | |
int PEM_write_bio_PKCS7_stream(BIO *out, PKCS7 *p7, BIO *in, int flags); | |
PKCS7_SIGNER_INFO *PKCS7_SIGNER_INFO_new(void); void PKCS7_SIGNER_INFO_free(PKCS7_SIGNER_INFO *a); PKCS7_SIGNER_INFO *d2i_PKCS7_SIGNER_INFO(PKCS7_SIGNER_INFO **a, const unsigned char **in, long len); int i2d_PKCS7_SIGNER_INFO(PKCS7_SIGNER_INFO *a, unsigned char **out); extern const ASN1_ITEM PKCS7_SIGNER_INFO_it; | |
PKCS7_RECIP_INFO *PKCS7_RECIP_INFO_new(void); void PKCS7_RECIP_INFO_free(PKCS7_RECIP_INFO *a); PKCS7_RECIP_INFO *d2i_PKCS7_RECIP_INFO(PKCS7_RECIP_INFO **a, const unsigned char **in, long len); int i2d_PKCS7_RECIP_INFO(PKCS7_RECIP_INFO *a, unsigned char **out); extern const ASN1_ITEM PKCS7_RECIP_INFO_it; | |
PKCS7_SIGNED *PKCS7_SIGNED_new(void); void PKCS7_SIGNED_free(PKCS7_SIGNED *a); PKCS7_SIGNED *d2i_PKCS7_SIGNED(PKCS7_SIGNED **a, const unsigned char **in, long len); int i2d_PKCS7_SIGNED(PKCS7_SIGNED *a, unsigned char **out); extern const ASN1_ITEM PKCS7_SIGNED_it; | |
PKCS7_ENC_CONTENT *PKCS7_ENC_CONTENT_new(void); void PKCS7_ENC_CONTENT_free(PKCS7_ENC_CONTENT *a); PKCS7_ENC_CONTENT *d2i_PKCS7_ENC_CONTENT(PKCS7_ENC_CONTENT **a, const unsigned char **in, long len); int i2d_PKCS7_ENC_CONTENT(PKCS7_ENC_CONTENT *a, unsigned char **out); extern const ASN1_ITEM PKCS7_ENC_CONTENT_it; | |
PKCS7_ENVELOPE *PKCS7_ENVELOPE_new(void); void PKCS7_ENVELOPE_free(PKCS7_ENVELOPE *a); PKCS7_ENVELOPE *d2i_PKCS7_ENVELOPE(PKCS7_ENVELOPE **a, const unsigned char **in, long len); int i2d_PKCS7_ENVELOPE(PKCS7_ENVELOPE *a, unsigned char **out); extern const ASN1_ITEM PKCS7_ENVELOPE_it; | |
PKCS7_SIGN_ENVELOPE *PKCS7_SIGN_ENVELOPE_new(void); void PKCS7_SIGN_ENVELOPE_free(PKCS7_SIGN_ENVELOPE *a); PKCS7_SIGN_ENVELOPE *d2i_PKCS7_SIGN_ENVELOPE(PKCS7_SIGN_ENVELOPE **a, const unsigned char **in, long len); int i2d_PKCS7_SIGN_ENVELOPE(PKCS7_SIGN_ENVELOPE *a, unsigned char **out); extern const ASN1_ITEM PKCS7_SIGN_ENVELOPE_it; | |
PKCS7_DIGEST *PKCS7_DIGEST_new(void); void PKCS7_DIGEST_free(PKCS7_DIGEST *a); PKCS7_DIGEST *d2i_PKCS7_DIGEST(PKCS7_DIGEST **a, const unsigned char **in, long len); int i2d_PKCS7_DIGEST(PKCS7_DIGEST *a, unsigned char **out); extern const ASN1_ITEM PKCS7_DIGEST_it; | |
PKCS7_ENCRYPT *PKCS7_ENCRYPT_new(void); void PKCS7_ENCRYPT_free(PKCS7_ENCRYPT *a); PKCS7_ENCRYPT *d2i_PKCS7_ENCRYPT(PKCS7_ENCRYPT **a, const unsigned char **in, long len); int i2d_PKCS7_ENCRYPT(PKCS7_ENCRYPT *a, unsigned char **out); extern const ASN1_ITEM PKCS7_ENCRYPT_it; | |
PKCS7 *PKCS7_new(void); void PKCS7_free(PKCS7 *a); PKCS7 *d2i_PKCS7(PKCS7 **a, const unsigned char **in, long len); int i2d_PKCS7(PKCS7 *a, unsigned char **out); extern const ASN1_ITEM PKCS7_it; | |
extern const ASN1_ITEM PKCS7_ATTR_SIGN_it; | |
extern const ASN1_ITEM PKCS7_ATTR_VERIFY_it; | |
int i2d_PKCS7_NDEF(PKCS7 *a, unsigned char **out); | |
int PKCS7_print_ctx(BIO *out, PKCS7 *x, int indent, const ASN1_PCTX *pctx); | |
long PKCS7_ctrl(PKCS7 *p7, int cmd, long larg, char *parg); | |
int PKCS7_set_type(PKCS7 *p7, int type); | |
int PKCS7_set0_type_other(PKCS7 *p7, int type, ASN1_TYPE *other); | |
int PKCS7_set_content(PKCS7 *p7, PKCS7 *p7_data); | |
int PKCS7_SIGNER_INFO_set(PKCS7_SIGNER_INFO *p7i, X509 *x509, EVP_PKEY *pkey, | |
const EVP_MD *dgst); | |
int PKCS7_SIGNER_INFO_sign(PKCS7_SIGNER_INFO *si); | |
int PKCS7_add_signer(PKCS7 *p7, PKCS7_SIGNER_INFO *p7i); | |
int PKCS7_add_certificate(PKCS7 *p7, X509 *x509); | |
int PKCS7_add_crl(PKCS7 *p7, X509_CRL *x509); | |
int PKCS7_content_new(PKCS7 *p7, int nid); | |
int PKCS7_dataVerify(X509_STORE *cert_store, X509_STORE_CTX *ctx, | |
BIO *bio, PKCS7 *p7, PKCS7_SIGNER_INFO *si); | |
int PKCS7_signatureVerify(BIO *bio, PKCS7 *p7, PKCS7_SIGNER_INFO *si, | |
X509 *x509); | |
BIO *PKCS7_dataInit(PKCS7 *p7, BIO *bio); | |
int PKCS7_dataFinal(PKCS7 *p7, BIO *bio); | |
BIO *PKCS7_dataDecode(PKCS7 *p7, EVP_PKEY *pkey, BIO *in_bio, X509 *pcert); | |
PKCS7_SIGNER_INFO *PKCS7_add_signature(PKCS7 *p7, X509 *x509, | |
EVP_PKEY *pkey, const EVP_MD *dgst); | |
X509 *PKCS7_cert_from_signer_info(PKCS7 *p7, PKCS7_SIGNER_INFO *si); | |
int PKCS7_set_digest(PKCS7 *p7, const EVP_MD *md); | |
struct stack_st_PKCS7_SIGNER_INFO *PKCS7_get_signer_info(PKCS7 *p7); | |
PKCS7_RECIP_INFO *PKCS7_add_recipient(PKCS7 *p7, X509 *x509); | |
void PKCS7_SIGNER_INFO_get0_algs(PKCS7_SIGNER_INFO *si, EVP_PKEY **pk, | |
X509_ALGOR **pdig, X509_ALGOR **psig); | |
void PKCS7_RECIP_INFO_get0_alg(PKCS7_RECIP_INFO *ri, X509_ALGOR **penc); | |
int PKCS7_add_recipient_info(PKCS7 *p7, PKCS7_RECIP_INFO *ri); | |
int PKCS7_RECIP_INFO_set(PKCS7_RECIP_INFO *p7i, X509 *x509); | |
int PKCS7_set_cipher(PKCS7 *p7, const EVP_CIPHER *cipher); | |
int PKCS7_stream(unsigned char ***boundary, PKCS7 *p7); | |
PKCS7_ISSUER_AND_SERIAL *PKCS7_get_issuer_and_serial(PKCS7 *p7, int idx); | |
ASN1_OCTET_STRING *PKCS7_digest_from_attributes(struct stack_st_X509_ATTRIBUTE *sk); | |
int PKCS7_add_signed_attribute(PKCS7_SIGNER_INFO *p7si, int nid, int type, | |
void *data); | |
int PKCS7_add_attribute(PKCS7_SIGNER_INFO *p7si, int nid, int atrtype, | |
void *value); | |
ASN1_TYPE *PKCS7_get_attribute(PKCS7_SIGNER_INFO *si, int nid); | |
ASN1_TYPE *PKCS7_get_signed_attribute(PKCS7_SIGNER_INFO *si, int nid); | |
int PKCS7_set_signed_attributes(PKCS7_SIGNER_INFO *p7si, | |
struct stack_st_X509_ATTRIBUTE *sk); | |
int PKCS7_set_attributes(PKCS7_SIGNER_INFO *p7si, | |
struct stack_st_X509_ATTRIBUTE *sk); | |
PKCS7 *PKCS7_sign(X509 *signcert, EVP_PKEY *pkey, struct stack_st_X509 *certs, | |
BIO *data, int flags); | |
PKCS7_SIGNER_INFO *PKCS7_sign_add_signer(PKCS7 *p7, | |
X509 *signcert, EVP_PKEY *pkey, | |
const EVP_MD *md, int flags); | |
int PKCS7_final(PKCS7 *p7, BIO *data, int flags); | |
int PKCS7_verify(PKCS7 *p7, struct stack_st_X509 *certs, X509_STORE *store, | |
BIO *indata, BIO *out, int flags); | |
struct stack_st_X509 *PKCS7_get0_signers(PKCS7 *p7, struct stack_st_X509 *certs, | |
int flags); | |
PKCS7 *PKCS7_encrypt(struct stack_st_X509 *certs, BIO *in, const EVP_CIPHER *cipher, | |
int flags); | |
int PKCS7_decrypt(PKCS7 *p7, EVP_PKEY *pkey, X509 *cert, BIO *data, | |
int flags); | |
int PKCS7_add_attrib_smimecap(PKCS7_SIGNER_INFO *si, | |
struct stack_st_X509_ALGOR *cap); | |
struct stack_st_X509_ALGOR *PKCS7_get_smimecap(PKCS7_SIGNER_INFO *si); | |
int PKCS7_simple_smimecap(struct stack_st_X509_ALGOR *sk, int nid, int arg); | |
int PKCS7_add_attrib_content_type(PKCS7_SIGNER_INFO *si, ASN1_OBJECT *coid); | |
int PKCS7_add0_attrib_signing_time(PKCS7_SIGNER_INFO *si, ASN1_TIME *t); | |
int PKCS7_add1_attrib_digest(PKCS7_SIGNER_INFO *si, | |
const unsigned char *md, int mdlen); | |
int SMIME_write_PKCS7(BIO *bio, PKCS7 *p7, BIO *data, int flags); | |
PKCS7 *SMIME_read_PKCS7(BIO *bio, BIO **bcont); | |
BIO *BIO_new_PKCS7(BIO *out, PKCS7 *p7); | |
# 322 "/usr/include/openssl/x509.h" 2 3 4 | |
# 334 "/usr/include/openssl/x509.h" 3 4 | |
void X509_CRL_set_default_method(const X509_CRL_METHOD *meth); | |
X509_CRL_METHOD *X509_CRL_METHOD_new(int (*crl_init) (X509_CRL *crl), | |
int (*crl_free) (X509_CRL *crl), | |
int (*crl_lookup) (X509_CRL *crl, | |
X509_REVOKED **ret, | |
ASN1_INTEGER *ser, | |
X509_NAME *issuer), | |
int (*crl_verify) (X509_CRL *crl, | |
EVP_PKEY *pk)); | |
void X509_CRL_METHOD_free(X509_CRL_METHOD *m); | |
void X509_CRL_set_meth_data(X509_CRL *crl, void *dat); | |
void *X509_CRL_get_meth_data(X509_CRL *crl); | |
const char *X509_verify_cert_error_string(long n); | |
int X509_verify(X509 *a, EVP_PKEY *r); | |
int X509_REQ_verify(X509_REQ *a, EVP_PKEY *r); | |
int X509_CRL_verify(X509_CRL *a, EVP_PKEY *r); | |
int NETSCAPE_SPKI_verify(NETSCAPE_SPKI *a, EVP_PKEY *r); | |
NETSCAPE_SPKI *NETSCAPE_SPKI_b64_decode(const char *str, int len); | |
char *NETSCAPE_SPKI_b64_encode(NETSCAPE_SPKI *x); | |
EVP_PKEY *NETSCAPE_SPKI_get_pubkey(NETSCAPE_SPKI *x); | |
int NETSCAPE_SPKI_set_pubkey(NETSCAPE_SPKI *x, EVP_PKEY *pkey); | |
int NETSCAPE_SPKI_print(BIO *out, NETSCAPE_SPKI *spki); | |
int X509_signature_dump(BIO *bp, const ASN1_STRING *sig, int indent); | |
int X509_signature_print(BIO *bp, const X509_ALGOR *alg, | |
const ASN1_STRING *sig); | |
int X509_sign(X509 *x, EVP_PKEY *pkey, const EVP_MD *md); | |
int X509_sign_ctx(X509 *x, EVP_MD_CTX *ctx); | |
int X509_http_nbio(OCSP_REQ_CTX *rctx, X509 **pcert); | |
int X509_REQ_sign(X509_REQ *x, EVP_PKEY *pkey, const EVP_MD *md); | |
int X509_REQ_sign_ctx(X509_REQ *x, EVP_MD_CTX *ctx); | |
int X509_CRL_sign(X509_CRL *x, EVP_PKEY *pkey, const EVP_MD *md); | |
int X509_CRL_sign_ctx(X509_CRL *x, EVP_MD_CTX *ctx); | |
int X509_CRL_http_nbio(OCSP_REQ_CTX *rctx, X509_CRL **pcrl); | |
int NETSCAPE_SPKI_sign(NETSCAPE_SPKI *x, EVP_PKEY *pkey, const EVP_MD *md); | |
int X509_pubkey_digest(const X509 *data, const EVP_MD *type, | |
unsigned char *md, unsigned int *len); | |
int X509_digest(const X509 *data, const EVP_MD *type, | |
unsigned char *md, unsigned int *len); | |
int X509_CRL_digest(const X509_CRL *data, const EVP_MD *type, | |
unsigned char *md, unsigned int *len); | |
int X509_REQ_digest(const X509_REQ *data, const EVP_MD *type, | |
unsigned char *md, unsigned int *len); | |
int X509_NAME_digest(const X509_NAME *data, const EVP_MD *type, | |
unsigned char *md, unsigned int *len); | |
X509 *d2i_X509_fp(FILE *fp, X509 **x509); | |
int i2d_X509_fp(FILE *fp, X509 *x509); | |
X509_CRL *d2i_X509_CRL_fp(FILE *fp, X509_CRL **crl); | |
int i2d_X509_CRL_fp(FILE *fp, X509_CRL *crl); | |
X509_REQ *d2i_X509_REQ_fp(FILE *fp, X509_REQ **req); | |
int i2d_X509_REQ_fp(FILE *fp, X509_REQ *req); | |
RSA *d2i_RSAPrivateKey_fp(FILE *fp, RSA **rsa); | |
int i2d_RSAPrivateKey_fp(FILE *fp, RSA *rsa); | |
RSA *d2i_RSAPublicKey_fp(FILE *fp, RSA **rsa); | |
int i2d_RSAPublicKey_fp(FILE *fp, RSA *rsa); | |
RSA *d2i_RSA_PUBKEY_fp(FILE *fp, RSA **rsa); | |
int i2d_RSA_PUBKEY_fp(FILE *fp, RSA *rsa); | |
DSA *d2i_DSA_PUBKEY_fp(FILE *fp, DSA **dsa); | |
int i2d_DSA_PUBKEY_fp(FILE *fp, DSA *dsa); | |
DSA *d2i_DSAPrivateKey_fp(FILE *fp, DSA **dsa); | |
int i2d_DSAPrivateKey_fp(FILE *fp, DSA *dsa); | |
EC_KEY *d2i_EC_PUBKEY_fp(FILE *fp, EC_KEY **eckey); | |
int i2d_EC_PUBKEY_fp(FILE *fp, EC_KEY *eckey); | |
EC_KEY *d2i_ECPrivateKey_fp(FILE *fp, EC_KEY **eckey); | |
int i2d_ECPrivateKey_fp(FILE *fp, EC_KEY *eckey); | |
X509_SIG *d2i_PKCS8_fp(FILE *fp, X509_SIG **p8); | |
int i2d_PKCS8_fp(FILE *fp, X509_SIG *p8); | |
PKCS8_PRIV_KEY_INFO *d2i_PKCS8_PRIV_KEY_INFO_fp(FILE *fp, | |
PKCS8_PRIV_KEY_INFO **p8inf); | |
int i2d_PKCS8_PRIV_KEY_INFO_fp(FILE *fp, PKCS8_PRIV_KEY_INFO *p8inf); | |
int i2d_PKCS8PrivateKeyInfo_fp(FILE *fp, EVP_PKEY *key); | |
int i2d_PrivateKey_fp(FILE *fp, EVP_PKEY *pkey); | |
EVP_PKEY *d2i_PrivateKey_fp(FILE *fp, EVP_PKEY **a); | |
int i2d_PUBKEY_fp(FILE *fp, EVP_PKEY *pkey); | |
EVP_PKEY *d2i_PUBKEY_fp(FILE *fp, EVP_PKEY **a); | |
X509 *d2i_X509_bio(BIO *bp, X509 **x509); | |
int i2d_X509_bio(BIO *bp, X509 *x509); | |
X509_CRL *d2i_X509_CRL_bio(BIO *bp, X509_CRL **crl); | |
int i2d_X509_CRL_bio(BIO *bp, X509_CRL *crl); | |
X509_REQ *d2i_X509_REQ_bio(BIO *bp, X509_REQ **req); | |
int i2d_X509_REQ_bio(BIO *bp, X509_REQ *req); | |
RSA *d2i_RSAPrivateKey_bio(BIO *bp, RSA **rsa); | |
int i2d_RSAPrivateKey_bio(BIO *bp, RSA *rsa); | |
RSA *d2i_RSAPublicKey_bio(BIO *bp, RSA **rsa); | |
int i2d_RSAPublicKey_bio(BIO *bp, RSA *rsa); | |
RSA *d2i_RSA_PUBKEY_bio(BIO *bp, RSA **rsa); | |
int i2d_RSA_PUBKEY_bio(BIO *bp, RSA *rsa); | |
DSA *d2i_DSA_PUBKEY_bio(BIO *bp, DSA **dsa); | |
int i2d_DSA_PUBKEY_bio(BIO *bp, DSA *dsa); | |
DSA *d2i_DSAPrivateKey_bio(BIO *bp, DSA **dsa); | |
int i2d_DSAPrivateKey_bio(BIO *bp, DSA *dsa); | |
EC_KEY *d2i_EC_PUBKEY_bio(BIO *bp, EC_KEY **eckey); | |
int i2d_EC_PUBKEY_bio(BIO *bp, EC_KEY *eckey); | |
EC_KEY *d2i_ECPrivateKey_bio(BIO *bp, EC_KEY **eckey); | |
int i2d_ECPrivateKey_bio(BIO *bp, EC_KEY *eckey); | |
X509_SIG *d2i_PKCS8_bio(BIO *bp, X509_SIG **p8); | |
int i2d_PKCS8_bio(BIO *bp, X509_SIG *p8); | |
PKCS8_PRIV_KEY_INFO *d2i_PKCS8_PRIV_KEY_INFO_bio(BIO *bp, | |
PKCS8_PRIV_KEY_INFO **p8inf); | |
int i2d_PKCS8_PRIV_KEY_INFO_bio(BIO *bp, PKCS8_PRIV_KEY_INFO *p8inf); | |
int i2d_PKCS8PrivateKeyInfo_bio(BIO *bp, EVP_PKEY *key); | |
int i2d_PrivateKey_bio(BIO *bp, EVP_PKEY *pkey); | |
EVP_PKEY *d2i_PrivateKey_bio(BIO *bp, EVP_PKEY **a); | |
int i2d_PUBKEY_bio(BIO *bp, EVP_PKEY *pkey); | |
EVP_PKEY *d2i_PUBKEY_bio(BIO *bp, EVP_PKEY **a); | |
X509 *X509_dup(X509 *x509); | |
X509_ATTRIBUTE *X509_ATTRIBUTE_dup(X509_ATTRIBUTE *xa); | |
X509_EXTENSION *X509_EXTENSION_dup(X509_EXTENSION *ex); | |
X509_CRL *X509_CRL_dup(X509_CRL *crl); | |
X509_REVOKED *X509_REVOKED_dup(X509_REVOKED *rev); | |
X509_REQ *X509_REQ_dup(X509_REQ *req); | |
X509_ALGOR *X509_ALGOR_dup(X509_ALGOR *xn); | |
int X509_ALGOR_set0(X509_ALGOR *alg, ASN1_OBJECT *aobj, int ptype, | |
void *pval); | |
void X509_ALGOR_get0(const ASN1_OBJECT **paobj, int *pptype, | |
const void **ppval, const X509_ALGOR *algor); | |
void X509_ALGOR_set_md(X509_ALGOR *alg, const EVP_MD *md); | |
int X509_ALGOR_cmp(const X509_ALGOR *a, const X509_ALGOR *b); | |
X509_NAME *X509_NAME_dup(X509_NAME *xn); | |
X509_NAME_ENTRY *X509_NAME_ENTRY_dup(X509_NAME_ENTRY *ne); | |
int X509_cmp_time(const ASN1_TIME *s, time_t *t); | |
int X509_cmp_current_time(const ASN1_TIME *s); | |
ASN1_TIME *X509_time_adj(ASN1_TIME *s, long adj, time_t *t); | |
ASN1_TIME *X509_time_adj_ex(ASN1_TIME *s, | |
int offset_day, long offset_sec, time_t *t); | |
ASN1_TIME *X509_gmtime_adj(ASN1_TIME *s, long adj); | |
const char *X509_get_default_cert_area(void); | |
const char *X509_get_default_cert_dir(void); | |
const char *X509_get_default_cert_file(void); | |
const char *X509_get_default_cert_dir_env(void); | |
const char *X509_get_default_cert_file_env(void); | |
const char *X509_get_default_private_dir(void); | |
X509_REQ *X509_to_X509_REQ(X509 *x, EVP_PKEY *pkey, const EVP_MD *md); | |
X509 *X509_REQ_to_X509(X509_REQ *r, int days, EVP_PKEY *pkey); | |
X509_ALGOR *X509_ALGOR_new(void); void X509_ALGOR_free(X509_ALGOR *a); X509_ALGOR *d2i_X509_ALGOR(X509_ALGOR **a, const unsigned char **in, long len); int i2d_X509_ALGOR(X509_ALGOR *a, unsigned char **out); extern const ASN1_ITEM X509_ALGOR_it; | |
X509_ALGORS *d2i_X509_ALGORS(X509_ALGORS **a, const unsigned char **in, long len); int i2d_X509_ALGORS(X509_ALGORS *a, unsigned char **out); extern const ASN1_ITEM X509_ALGORS_it; | |
X509_VAL *X509_VAL_new(void); void X509_VAL_free(X509_VAL *a); X509_VAL *d2i_X509_VAL(X509_VAL **a, const unsigned char **in, long len); int i2d_X509_VAL(X509_VAL *a, unsigned char **out); extern const ASN1_ITEM X509_VAL_it; | |
X509_PUBKEY *X509_PUBKEY_new(void); void X509_PUBKEY_free(X509_PUBKEY *a); X509_PUBKEY *d2i_X509_PUBKEY(X509_PUBKEY **a, const unsigned char **in, long len); int i2d_X509_PUBKEY(X509_PUBKEY *a, unsigned char **out); extern const ASN1_ITEM X509_PUBKEY_it; | |
int X509_PUBKEY_set(X509_PUBKEY **x, EVP_PKEY *pkey); | |
EVP_PKEY *X509_PUBKEY_get0(X509_PUBKEY *key); | |
EVP_PKEY *X509_PUBKEY_get(X509_PUBKEY *key); | |
int X509_get_pubkey_parameters(EVP_PKEY *pkey, struct stack_st_X509 *chain); | |
long X509_get_pathlen(X509 *x); | |
int i2d_PUBKEY(EVP_PKEY *a, unsigned char **pp); | |
EVP_PKEY *d2i_PUBKEY(EVP_PKEY **a, const unsigned char **pp, long length); | |
int i2d_RSA_PUBKEY(RSA *a, unsigned char **pp); | |
RSA *d2i_RSA_PUBKEY(RSA **a, const unsigned char **pp, long length); | |
int i2d_DSA_PUBKEY(DSA *a, unsigned char **pp); | |
DSA *d2i_DSA_PUBKEY(DSA **a, const unsigned char **pp, long length); | |
int i2d_EC_PUBKEY(EC_KEY *a, unsigned char **pp); | |
EC_KEY *d2i_EC_PUBKEY(EC_KEY **a, const unsigned char **pp, long length); | |
X509_SIG *X509_SIG_new(void); void X509_SIG_free(X509_SIG *a); X509_SIG *d2i_X509_SIG(X509_SIG **a, const unsigned char **in, long len); int i2d_X509_SIG(X509_SIG *a, unsigned char **out); extern const ASN1_ITEM X509_SIG_it; | |
void X509_SIG_get0(const X509_SIG *sig, const X509_ALGOR **palg, | |
const ASN1_OCTET_STRING **pdigest); | |
void X509_SIG_getm(X509_SIG *sig, X509_ALGOR **palg, | |
ASN1_OCTET_STRING **pdigest); | |
X509_REQ_INFO *X509_REQ_INFO_new(void); void X509_REQ_INFO_free(X509_REQ_INFO *a); X509_REQ_INFO *d2i_X509_REQ_INFO(X509_REQ_INFO **a, const unsigned char **in, long len); int i2d_X509_REQ_INFO(X509_REQ_INFO *a, unsigned char **out); extern const ASN1_ITEM X509_REQ_INFO_it; | |
X509_REQ *X509_REQ_new(void); void X509_REQ_free(X509_REQ *a); X509_REQ *d2i_X509_REQ(X509_REQ **a, const unsigned char **in, long len); int i2d_X509_REQ(X509_REQ *a, unsigned char **out); extern const ASN1_ITEM X509_REQ_it; | |
X509_ATTRIBUTE *X509_ATTRIBUTE_new(void); void X509_ATTRIBUTE_free(X509_ATTRIBUTE *a); X509_ATTRIBUTE *d2i_X509_ATTRIBUTE(X509_ATTRIBUTE **a, const unsigned char **in, long len); int i2d_X509_ATTRIBUTE(X509_ATTRIBUTE *a, unsigned char **out); extern const ASN1_ITEM X509_ATTRIBUTE_it; | |
X509_ATTRIBUTE *X509_ATTRIBUTE_create(int nid, int atrtype, void *value); | |
X509_EXTENSION *X509_EXTENSION_new(void); void X509_EXTENSION_free(X509_EXTENSION *a); X509_EXTENSION *d2i_X509_EXTENSION(X509_EXTENSION **a, const unsigned char **in, long len); int i2d_X509_EXTENSION(X509_EXTENSION *a, unsigned char **out); extern const ASN1_ITEM X509_EXTENSION_it; | |
X509_EXTENSIONS *d2i_X509_EXTENSIONS(X509_EXTENSIONS **a, const unsigned char **in, long len); int i2d_X509_EXTENSIONS(X509_EXTENSIONS *a, unsigned char **out); extern const ASN1_ITEM X509_EXTENSIONS_it; | |
X509_NAME_ENTRY *X509_NAME_ENTRY_new(void); void X509_NAME_ENTRY_free(X509_NAME_ENTRY *a); X509_NAME_ENTRY *d2i_X509_NAME_ENTRY(X509_NAME_ENTRY **a, const unsigned char **in, long len); int i2d_X509_NAME_ENTRY(X509_NAME_ENTRY *a, unsigned char **out); extern const ASN1_ITEM X509_NAME_ENTRY_it; | |
X509_NAME *X509_NAME_new(void); void X509_NAME_free(X509_NAME *a); X509_NAME *d2i_X509_NAME(X509_NAME **a, const unsigned char **in, long len); int i2d_X509_NAME(X509_NAME *a, unsigned char **out); extern const ASN1_ITEM X509_NAME_it; | |
int X509_NAME_set(X509_NAME **xn, X509_NAME *name); | |
X509_CINF *X509_CINF_new(void); void X509_CINF_free(X509_CINF *a); X509_CINF *d2i_X509_CINF(X509_CINF **a, const unsigned char **in, long len); int i2d_X509_CINF(X509_CINF *a, unsigned char **out); extern const ASN1_ITEM X509_CINF_it; | |
X509 *X509_new(void); void X509_free(X509 *a); X509 *d2i_X509(X509 **a, const unsigned char **in, long len); int i2d_X509(X509 *a, unsigned char **out); extern const ASN1_ITEM X509_it; | |
X509_CERT_AUX *X509_CERT_AUX_new(void); void X509_CERT_AUX_free(X509_CERT_AUX *a); X509_CERT_AUX *d2i_X509_CERT_AUX(X509_CERT_AUX **a, const unsigned char **in, long len); int i2d_X509_CERT_AUX(X509_CERT_AUX *a, unsigned char **out); extern const ASN1_ITEM X509_CERT_AUX_it; | |
int X509_set_ex_data(X509 *r, int idx, void *arg); | |
void *X509_get_ex_data(X509 *r, int idx); | |
int i2d_X509_AUX(X509 *a, unsigned char **pp); | |
X509 *d2i_X509_AUX(X509 **a, const unsigned char **pp, long length); | |
int i2d_re_X509_tbs(X509 *x, unsigned char **pp); | |
int X509_SIG_INFO_get(const X509_SIG_INFO *siginf, int *mdnid, int *pknid, | |
int *secbits, uint32_t *flags); | |
void X509_SIG_INFO_set(X509_SIG_INFO *siginf, int mdnid, int pknid, | |
int secbits, uint32_t flags); | |
int X509_get_signature_info(X509 *x, int *mdnid, int *pknid, int *secbits, | |
uint32_t *flags); | |
void X509_get0_signature(const ASN1_BIT_STRING **psig, | |
const X509_ALGOR **palg, const X509 *x); | |
int X509_get_signature_nid(const X509 *x); | |
int X509_trusted(const X509 *x); | |
int X509_alias_set1(X509 *x, const unsigned char *name, int len); | |
int X509_keyid_set1(X509 *x, const unsigned char *id, int len); | |
unsigned char *X509_alias_get0(X509 *x, int *len); | |
unsigned char *X509_keyid_get0(X509 *x, int *len); | |
int (*X509_TRUST_set_default(int (*trust) (int, X509 *, int))) (int, X509 *, | |
int); | |
int X509_TRUST_set(int *t, int trust); | |
int X509_add1_trust_object(X509 *x, const ASN1_OBJECT *obj); | |
int X509_add1_reject_object(X509 *x, const ASN1_OBJECT *obj); | |
void X509_trust_clear(X509 *x); | |
void X509_reject_clear(X509 *x); | |
struct stack_st_ASN1_OBJECT *X509_get0_trust_objects(X509 *x); | |
struct stack_st_ASN1_OBJECT *X509_get0_reject_objects(X509 *x); | |
X509_REVOKED *X509_REVOKED_new(void); void X509_REVOKED_free(X509_REVOKED *a); X509_REVOKED *d2i_X509_REVOKED(X509_REVOKED **a, const unsigned char **in, long len); int i2d_X509_REVOKED(X509_REVOKED *a, unsigned char **out); extern const ASN1_ITEM X509_REVOKED_it; | |
X509_CRL_INFO *X509_CRL_INFO_new(void); void X509_CRL_INFO_free(X509_CRL_INFO *a); X509_CRL_INFO *d2i_X509_CRL_INFO(X509_CRL_INFO **a, const unsigned char **in, long len); int i2d_X509_CRL_INFO(X509_CRL_INFO *a, unsigned char **out); extern const ASN1_ITEM X509_CRL_INFO_it; | |
X509_CRL *X509_CRL_new(void); void X509_CRL_free(X509_CRL *a); X509_CRL *d2i_X509_CRL(X509_CRL **a, const unsigned char **in, long len); int i2d_X509_CRL(X509_CRL *a, unsigned char **out); extern const ASN1_ITEM X509_CRL_it; | |
int X509_CRL_add0_revoked(X509_CRL *crl, X509_REVOKED *rev); | |
int X509_CRL_get0_by_serial(X509_CRL *crl, | |
X509_REVOKED **ret, ASN1_INTEGER *serial); | |
int X509_CRL_get0_by_cert(X509_CRL *crl, X509_REVOKED **ret, X509 *x); | |
X509_PKEY *X509_PKEY_new(void); | |
void X509_PKEY_free(X509_PKEY *a); | |
NETSCAPE_SPKI *NETSCAPE_SPKI_new(void); void NETSCAPE_SPKI_free(NETSCAPE_SPKI *a); NETSCAPE_SPKI *d2i_NETSCAPE_SPKI(NETSCAPE_SPKI **a, const unsigned char **in, long len); int i2d_NETSCAPE_SPKI(NETSCAPE_SPKI *a, unsigned char **out); extern const ASN1_ITEM NETSCAPE_SPKI_it; | |
NETSCAPE_SPKAC *NETSCAPE_SPKAC_new(void); void NETSCAPE_SPKAC_free(NETSCAPE_SPKAC *a); NETSCAPE_SPKAC *d2i_NETSCAPE_SPKAC(NETSCAPE_SPKAC **a, const unsigned char **in, long len); int i2d_NETSCAPE_SPKAC(NETSCAPE_SPKAC *a, unsigned char **out); extern const ASN1_ITEM NETSCAPE_SPKAC_it; | |
NETSCAPE_CERT_SEQUENCE *NETSCAPE_CERT_SEQUENCE_new(void); void NETSCAPE_CERT_SEQUENCE_free(NETSCAPE_CERT_SEQUENCE *a); NETSCAPE_CERT_SEQUENCE *d2i_NETSCAPE_CERT_SEQUENCE(NETSCAPE_CERT_SEQUENCE **a, const unsigned char **in, long len); int i2d_NETSCAPE_CERT_SEQUENCE(NETSCAPE_CERT_SEQUENCE *a, unsigned char **out); extern const ASN1_ITEM NETSCAPE_CERT_SEQUENCE_it; | |
X509_INFO *X509_INFO_new(void); | |
void X509_INFO_free(X509_INFO *a); | |
char *X509_NAME_oneline(const X509_NAME *a, char *buf, int size); | |
int ASN1_verify(i2d_of_void *i2d, X509_ALGOR *algor1, | |
ASN1_BIT_STRING *signature, char *data, EVP_PKEY *pkey); | |
int ASN1_digest(i2d_of_void *i2d, const EVP_MD *type, char *data, | |
unsigned char *md, unsigned int *len); | |
int ASN1_sign(i2d_of_void *i2d, X509_ALGOR *algor1, | |
X509_ALGOR *algor2, ASN1_BIT_STRING *signature, | |
char *data, EVP_PKEY *pkey, const EVP_MD *type); | |
int ASN1_item_digest(const ASN1_ITEM *it, const EVP_MD *type, void *data, | |
unsigned char *md, unsigned int *len); | |
int ASN1_item_verify(const ASN1_ITEM *it, X509_ALGOR *algor1, | |
ASN1_BIT_STRING *signature, void *data, EVP_PKEY *pkey); | |
int ASN1_item_sign(const ASN1_ITEM *it, X509_ALGOR *algor1, | |
X509_ALGOR *algor2, ASN1_BIT_STRING *signature, void *data, | |
EVP_PKEY *pkey, const EVP_MD *type); | |
int ASN1_item_sign_ctx(const ASN1_ITEM *it, X509_ALGOR *algor1, | |
X509_ALGOR *algor2, ASN1_BIT_STRING *signature, | |
void *asn, EVP_MD_CTX *ctx); | |
long X509_get_version(const X509 *x); | |
int X509_set_version(X509 *x, long version); | |
int X509_set_serialNumber(X509 *x, ASN1_INTEGER *serial); | |
ASN1_INTEGER *X509_get_serialNumber(X509 *x); | |
const ASN1_INTEGER *X509_get0_serialNumber(const X509 *x); | |
int X509_set_issuer_name(X509 *x, X509_NAME *name); | |
X509_NAME *X509_get_issuer_name(const X509 *a); | |
int X509_set_subject_name(X509 *x, X509_NAME *name); | |
X509_NAME *X509_get_subject_name(const X509 *a); | |
const ASN1_TIME * X509_get0_notBefore(const X509 *x); | |
ASN1_TIME *X509_getm_notBefore(const X509 *x); | |
int X509_set1_notBefore(X509 *x, const ASN1_TIME *tm); | |
const ASN1_TIME *X509_get0_notAfter(const X509 *x); | |
ASN1_TIME *X509_getm_notAfter(const X509 *x); | |
int X509_set1_notAfter(X509 *x, const ASN1_TIME *tm); | |
int X509_set_pubkey(X509 *x, EVP_PKEY *pkey); | |
int X509_up_ref(X509 *x); | |
int X509_get_signature_type(const X509 *x); | |
# 665 "/usr/include/openssl/x509.h" 3 4 | |
X509_PUBKEY *X509_get_X509_PUBKEY(const X509 *x); | |
const struct stack_st_X509_EXTENSION *X509_get0_extensions(const X509 *x); | |
void X509_get0_uids(const X509 *x, const ASN1_BIT_STRING **piuid, | |
const ASN1_BIT_STRING **psuid); | |
const X509_ALGOR *X509_get0_tbs_sigalg(const X509 *x); | |
EVP_PKEY *X509_get0_pubkey(const X509 *x); | |
EVP_PKEY *X509_get_pubkey(X509 *x); | |
ASN1_BIT_STRING *X509_get0_pubkey_bitstr(const X509 *x); | |
int X509_certificate_type(const X509 *x, const EVP_PKEY *pubkey); | |
long X509_REQ_get_version(const X509_REQ *req); | |
int X509_REQ_set_version(X509_REQ *x, long version); | |
X509_NAME *X509_REQ_get_subject_name(const X509_REQ *req); | |
int X509_REQ_set_subject_name(X509_REQ *req, X509_NAME *name); | |
void X509_REQ_get0_signature(const X509_REQ *req, const ASN1_BIT_STRING **psig, | |
const X509_ALGOR **palg); | |
int X509_REQ_get_signature_nid(const X509_REQ *req); | |
int i2d_re_X509_REQ_tbs(X509_REQ *req, unsigned char **pp); | |
int X509_REQ_set_pubkey(X509_REQ *x, EVP_PKEY *pkey); | |
EVP_PKEY *X509_REQ_get_pubkey(X509_REQ *req); | |
EVP_PKEY *X509_REQ_get0_pubkey(X509_REQ *req); | |
X509_PUBKEY *X509_REQ_get_X509_PUBKEY(X509_REQ *req); | |
int X509_REQ_extension_nid(int nid); | |
int *X509_REQ_get_extension_nids(void); | |
void X509_REQ_set_extension_nids(int *nids); | |
struct stack_st_X509_EXTENSION *X509_REQ_get_extensions(X509_REQ *req); | |
int X509_REQ_add_extensions_nid(X509_REQ *req, struct stack_st_X509_EXTENSION *exts, | |
int nid); | |
int X509_REQ_add_extensions(X509_REQ *req, struct stack_st_X509_EXTENSION *exts); | |
int X509_REQ_get_attr_count(const X509_REQ *req); | |
int X509_REQ_get_attr_by_NID(const X509_REQ *req, int nid, int lastpos); | |
int X509_REQ_get_attr_by_OBJ(const X509_REQ *req, const ASN1_OBJECT *obj, | |
int lastpos); | |
X509_ATTRIBUTE *X509_REQ_get_attr(const X509_REQ *req, int loc); | |
X509_ATTRIBUTE *X509_REQ_delete_attr(X509_REQ *req, int loc); | |
int X509_REQ_add1_attr(X509_REQ *req, X509_ATTRIBUTE *attr); | |
int X509_REQ_add1_attr_by_OBJ(X509_REQ *req, | |
const ASN1_OBJECT *obj, int type, | |
const unsigned char *bytes, int len); | |
int X509_REQ_add1_attr_by_NID(X509_REQ *req, | |
int nid, int type, | |
const unsigned char *bytes, int len); | |
int X509_REQ_add1_attr_by_txt(X509_REQ *req, | |
const char *attrname, int type, | |
const unsigned char *bytes, int len); | |
int X509_CRL_set_version(X509_CRL *x, long version); | |
int X509_CRL_set_issuer_name(X509_CRL *x, X509_NAME *name); | |
int X509_CRL_set1_lastUpdate(X509_CRL *x, const ASN1_TIME *tm); | |
int X509_CRL_set1_nextUpdate(X509_CRL *x, const ASN1_TIME *tm); | |
int X509_CRL_sort(X509_CRL *crl); | |
int X509_CRL_up_ref(X509_CRL *crl); | |
long X509_CRL_get_version(const X509_CRL *crl); | |
const ASN1_TIME *X509_CRL_get0_lastUpdate(const X509_CRL *crl); | |
const ASN1_TIME *X509_CRL_get0_nextUpdate(const X509_CRL *crl); | |
ASN1_TIME *X509_CRL_get_lastUpdate(X509_CRL *crl) __attribute__ ((deprecated)); | |
ASN1_TIME *X509_CRL_get_nextUpdate(X509_CRL *crl) __attribute__ ((deprecated)); | |
X509_NAME *X509_CRL_get_issuer(const X509_CRL *crl); | |
const struct stack_st_X509_EXTENSION *X509_CRL_get0_extensions(const X509_CRL *crl); | |
struct stack_st_X509_REVOKED *X509_CRL_get_REVOKED(X509_CRL *crl); | |
void X509_CRL_get0_signature(const X509_CRL *crl, const ASN1_BIT_STRING **psig, | |
const X509_ALGOR **palg); | |
int X509_CRL_get_signature_nid(const X509_CRL *crl); | |
int i2d_re_X509_CRL_tbs(X509_CRL *req, unsigned char **pp); | |
const ASN1_INTEGER *X509_REVOKED_get0_serialNumber(const X509_REVOKED *x); | |
int X509_REVOKED_set_serialNumber(X509_REVOKED *x, ASN1_INTEGER *serial); | |
const ASN1_TIME *X509_REVOKED_get0_revocationDate(const X509_REVOKED *x); | |
int X509_REVOKED_set_revocationDate(X509_REVOKED *r, ASN1_TIME *tm); | |
const struct stack_st_X509_EXTENSION * | |
X509_REVOKED_get0_extensions(const X509_REVOKED *r); | |
X509_CRL *X509_CRL_diff(X509_CRL *base, X509_CRL *newer, | |
EVP_PKEY *skey, const EVP_MD *md, unsigned int flags); | |
int X509_REQ_check_private_key(X509_REQ *x509, EVP_PKEY *pkey); | |
int X509_check_private_key(const X509 *x509, const EVP_PKEY *pkey); | |
int X509_chain_check_suiteb(int *perror_depth, | |
X509 *x, struct stack_st_X509 *chain, | |
unsigned long flags); | |
int X509_CRL_check_suiteb(X509_CRL *crl, EVP_PKEY *pk, unsigned long flags); | |
struct stack_st_X509 *X509_chain_up_ref(struct stack_st_X509 *chain); | |
int X509_issuer_and_serial_cmp(const X509 *a, const X509 *b); | |
unsigned long X509_issuer_and_serial_hash(X509 *a); | |
int X509_issuer_name_cmp(const X509 *a, const X509 *b); | |
unsigned long X509_issuer_name_hash(X509 *a); | |
int X509_subject_name_cmp(const X509 *a, const X509 *b); | |
unsigned long X509_subject_name_hash(X509 *x); | |
unsigned long X509_issuer_name_hash_old(X509 *a); | |
unsigned long X509_subject_name_hash_old(X509 *x); | |
int X509_cmp(const X509 *a, const X509 *b); | |
int X509_NAME_cmp(const X509_NAME *a, const X509_NAME *b); | |
unsigned long X509_NAME_hash(X509_NAME *x); | |
unsigned long X509_NAME_hash_old(X509_NAME *x); | |
int X509_CRL_cmp(const X509_CRL *a, const X509_CRL *b); | |
int X509_CRL_match(const X509_CRL *a, const X509_CRL *b); | |
int X509_aux_print(BIO *out, X509 *x, int indent); | |
int X509_print_ex_fp(FILE *bp, X509 *x, unsigned long nmflag, | |
unsigned long cflag); | |
int X509_print_fp(FILE *bp, X509 *x); | |
int X509_CRL_print_fp(FILE *bp, X509_CRL *x); | |
int X509_REQ_print_fp(FILE *bp, X509_REQ *req); | |
int X509_NAME_print_ex_fp(FILE *fp, const X509_NAME *nm, int indent, | |
unsigned long flags); | |
int X509_NAME_print(BIO *bp, const X509_NAME *name, int obase); | |
int X509_NAME_print_ex(BIO *out, const X509_NAME *nm, int indent, | |
unsigned long flags); | |
int X509_print_ex(BIO *bp, X509 *x, unsigned long nmflag, | |
unsigned long cflag); | |
int X509_print(BIO *bp, X509 *x); | |
int X509_ocspid_print(BIO *bp, X509 *x); | |
int X509_CRL_print_ex(BIO *out, X509_CRL *x, unsigned long nmflag); | |
int X509_CRL_print(BIO *bp, X509_CRL *x); | |
int X509_REQ_print_ex(BIO *bp, X509_REQ *x, unsigned long nmflag, | |
unsigned long cflag); | |
int X509_REQ_print(BIO *bp, X509_REQ *req); | |
int X509_NAME_entry_count(const X509_NAME *name); | |
int X509_NAME_get_text_by_NID(X509_NAME *name, int nid, char *buf, int len); | |
int X509_NAME_get_text_by_OBJ(X509_NAME *name, const ASN1_OBJECT *obj, | |
char *buf, int len); | |
int X509_NAME_get_index_by_NID(X509_NAME *name, int nid, int lastpos); | |
int X509_NAME_get_index_by_OBJ(X509_NAME *name, const ASN1_OBJECT *obj, | |
int lastpos); | |
X509_NAME_ENTRY *X509_NAME_get_entry(const X509_NAME *name, int loc); | |
X509_NAME_ENTRY *X509_NAME_delete_entry(X509_NAME *name, int loc); | |
int X509_NAME_add_entry(X509_NAME *name, const X509_NAME_ENTRY *ne, | |
int loc, int set); | |
int X509_NAME_add_entry_by_OBJ(X509_NAME *name, const ASN1_OBJECT *obj, int type, | |
const unsigned char *bytes, int len, int loc, | |
int set); | |
int X509_NAME_add_entry_by_NID(X509_NAME *name, int nid, int type, | |
const unsigned char *bytes, int len, int loc, | |
int set); | |
X509_NAME_ENTRY *X509_NAME_ENTRY_create_by_txt(X509_NAME_ENTRY **ne, | |
const char *field, int type, | |
const unsigned char *bytes, | |
int len); | |
X509_NAME_ENTRY *X509_NAME_ENTRY_create_by_NID(X509_NAME_ENTRY **ne, int nid, | |
int type, | |
const unsigned char *bytes, | |
int len); | |
int X509_NAME_add_entry_by_txt(X509_NAME *name, const char *field, int type, | |
const unsigned char *bytes, int len, int loc, | |
int set); | |
X509_NAME_ENTRY *X509_NAME_ENTRY_create_by_OBJ(X509_NAME_ENTRY **ne, | |
const ASN1_OBJECT *obj, int type, | |
const unsigned char *bytes, | |
int len); | |
int X509_NAME_ENTRY_set_object(X509_NAME_ENTRY *ne, const ASN1_OBJECT *obj); | |
int X509_NAME_ENTRY_set_data(X509_NAME_ENTRY *ne, int type, | |
const unsigned char *bytes, int len); | |
ASN1_OBJECT *X509_NAME_ENTRY_get_object(const X509_NAME_ENTRY *ne); | |
ASN1_STRING * X509_NAME_ENTRY_get_data(const X509_NAME_ENTRY *ne); | |
int X509_NAME_ENTRY_set(const X509_NAME_ENTRY *ne); | |
int X509_NAME_get0_der(X509_NAME *nm, const unsigned char **pder, | |
size_t *pderlen); | |
int X509v3_get_ext_count(const struct stack_st_X509_EXTENSION *x); | |
int X509v3_get_ext_by_NID(const struct stack_st_X509_EXTENSION *x, | |
int nid, int lastpos); | |
int X509v3_get_ext_by_OBJ(const struct stack_st_X509_EXTENSION *x, | |
const ASN1_OBJECT *obj, int lastpos); | |
int X509v3_get_ext_by_critical(const struct stack_st_X509_EXTENSION *x, | |
int crit, int lastpos); | |
X509_EXTENSION *X509v3_get_ext(const struct stack_st_X509_EXTENSION *x, int loc); | |
X509_EXTENSION *X509v3_delete_ext(struct stack_st_X509_EXTENSION *x, int loc); | |
struct stack_st_X509_EXTENSION *X509v3_add_ext(struct stack_st_X509_EXTENSION **x, | |
X509_EXTENSION *ex, int loc); | |
int X509_get_ext_count(const X509 *x); | |
int X509_get_ext_by_NID(const X509 *x, int nid, int lastpos); | |
int X509_get_ext_by_OBJ(const X509 *x, const ASN1_OBJECT *obj, int lastpos); | |
int X509_get_ext_by_critical(const X509 *x, int crit, int lastpos); | |
X509_EXTENSION *X509_get_ext(const X509 *x, int loc); | |
X509_EXTENSION *X509_delete_ext(X509 *x, int loc); | |
int X509_add_ext(X509 *x, X509_EXTENSION *ex, int loc); | |
void *X509_get_ext_d2i(const X509 *x, int nid, int *crit, int *idx); | |
int X509_add1_ext_i2d(X509 *x, int nid, void *value, int crit, | |
unsigned long flags); | |
int X509_CRL_get_ext_count(const X509_CRL *x); | |
int X509_CRL_get_ext_by_NID(const X509_CRL *x, int nid, int lastpos); | |
int X509_CRL_get_ext_by_OBJ(const X509_CRL *x, const ASN1_OBJECT *obj, | |
int lastpos); | |
int X509_CRL_get_ext_by_critical(const X509_CRL *x, int crit, int lastpos); | |
X509_EXTENSION *X509_CRL_get_ext(const X509_CRL *x, int loc); | |
X509_EXTENSION *X509_CRL_delete_ext(X509_CRL *x, int loc); | |
int X509_CRL_add_ext(X509_CRL *x, X509_EXTENSION *ex, int loc); | |
void *X509_CRL_get_ext_d2i(const X509_CRL *x, int nid, int *crit, int *idx); | |
int X509_CRL_add1_ext_i2d(X509_CRL *x, int nid, void *value, int crit, | |
unsigned long flags); | |
int X509_REVOKED_get_ext_count(const X509_REVOKED *x); | |
int X509_REVOKED_get_ext_by_NID(const X509_REVOKED *x, int nid, int lastpos); | |
int X509_REVOKED_get_ext_by_OBJ(const X509_REVOKED *x, const ASN1_OBJECT *obj, | |
int lastpos); | |
int X509_REVOKED_get_ext_by_critical(const X509_REVOKED *x, int crit, | |
int lastpos); | |
X509_EXTENSION *X509_REVOKED_get_ext(const X509_REVOKED *x, int loc); | |
X509_EXTENSION *X509_REVOKED_delete_ext(X509_REVOKED *x, int loc); | |
int X509_REVOKED_add_ext(X509_REVOKED *x, X509_EXTENSION *ex, int loc); | |
void *X509_REVOKED_get_ext_d2i(const X509_REVOKED *x, int nid, int *crit, | |
int *idx); | |
int X509_REVOKED_add1_ext_i2d(X509_REVOKED *x, int nid, void *value, int crit, | |
unsigned long flags); | |
X509_EXTENSION *X509_EXTENSION_create_by_NID(X509_EXTENSION **ex, | |
int nid, int crit, | |
ASN1_OCTET_STRING *data); | |
X509_EXTENSION *X509_EXTENSION_create_by_OBJ(X509_EXTENSION **ex, | |
const ASN1_OBJECT *obj, int crit, | |
ASN1_OCTET_STRING *data); | |
int X509_EXTENSION_set_object(X509_EXTENSION *ex, const ASN1_OBJECT *obj); | |
int X509_EXTENSION_set_critical(X509_EXTENSION *ex, int crit); | |
int X509_EXTENSION_set_data(X509_EXTENSION *ex, ASN1_OCTET_STRING *data); | |
ASN1_OBJECT *X509_EXTENSION_get_object(X509_EXTENSION *ex); | |
ASN1_OCTET_STRING *X509_EXTENSION_get_data(X509_EXTENSION *ne); | |
int X509_EXTENSION_get_critical(const X509_EXTENSION *ex); | |
int X509at_get_attr_count(const struct stack_st_X509_ATTRIBUTE *x); | |
int X509at_get_attr_by_NID(const struct stack_st_X509_ATTRIBUTE *x, int nid, | |
int lastpos); | |
int X509at_get_attr_by_OBJ(const struct stack_st_X509_ATTRIBUTE *sk, | |
const ASN1_OBJECT *obj, int lastpos); | |
X509_ATTRIBUTE *X509at_get_attr(const struct stack_st_X509_ATTRIBUTE *x, int loc); | |
X509_ATTRIBUTE *X509at_delete_attr(struct stack_st_X509_ATTRIBUTE *x, int loc); | |
struct stack_st_X509_ATTRIBUTE *X509at_add1_attr(struct stack_st_X509_ATTRIBUTE **x, | |
X509_ATTRIBUTE *attr); | |
struct stack_st_X509_ATTRIBUTE *X509at_add1_attr_by_OBJ(struct stack_st_X509_ATTRIBUTE | |
**x, const ASN1_OBJECT *obj, | |
int type, | |
const unsigned char *bytes, | |
int len); | |
struct stack_st_X509_ATTRIBUTE *X509at_add1_attr_by_NID(struct stack_st_X509_ATTRIBUTE | |
**x, int nid, int type, | |
const unsigned char *bytes, | |
int len); | |
struct stack_st_X509_ATTRIBUTE *X509at_add1_attr_by_txt(struct stack_st_X509_ATTRIBUTE | |
**x, const char *attrname, | |
int type, | |
const unsigned char *bytes, | |
int len); | |
void *X509at_get0_data_by_OBJ(struct stack_st_X509_ATTRIBUTE *x, | |
const ASN1_OBJECT *obj, int lastpos, int type); | |
X509_ATTRIBUTE *X509_ATTRIBUTE_create_by_NID(X509_ATTRIBUTE **attr, int nid, | |
int atrtype, const void *data, | |
int len); | |
X509_ATTRIBUTE *X509_ATTRIBUTE_create_by_OBJ(X509_ATTRIBUTE **attr, | |
const ASN1_OBJECT *obj, | |
int atrtype, const void *data, | |
int len); | |
X509_ATTRIBUTE *X509_ATTRIBUTE_create_by_txt(X509_ATTRIBUTE **attr, | |
const char *atrname, int type, | |
const unsigned char *bytes, | |
int len); | |
int X509_ATTRIBUTE_set1_object(X509_ATTRIBUTE *attr, const ASN1_OBJECT *obj); | |
int X509_ATTRIBUTE_set1_data(X509_ATTRIBUTE *attr, int attrtype, | |
const void *data, int len); | |
void *X509_ATTRIBUTE_get0_data(X509_ATTRIBUTE *attr, int idx, int atrtype, | |
void *data); | |
int X509_ATTRIBUTE_count(const X509_ATTRIBUTE *attr); | |
ASN1_OBJECT *X509_ATTRIBUTE_get0_object(X509_ATTRIBUTE *attr); | |
ASN1_TYPE *X509_ATTRIBUTE_get0_type(X509_ATTRIBUTE *attr, int idx); | |
int EVP_PKEY_get_attr_count(const EVP_PKEY *key); | |
int EVP_PKEY_get_attr_by_NID(const EVP_PKEY *key, int nid, int lastpos); | |
int EVP_PKEY_get_attr_by_OBJ(const EVP_PKEY *key, const ASN1_OBJECT *obj, | |
int lastpos); | |
X509_ATTRIBUTE *EVP_PKEY_get_attr(const EVP_PKEY *key, int loc); | |
X509_ATTRIBUTE *EVP_PKEY_delete_attr(EVP_PKEY *key, int loc); | |
int EVP_PKEY_add1_attr(EVP_PKEY *key, X509_ATTRIBUTE *attr); | |
int EVP_PKEY_add1_attr_by_OBJ(EVP_PKEY *key, | |
const ASN1_OBJECT *obj, int type, | |
const unsigned char *bytes, int len); | |
int EVP_PKEY_add1_attr_by_NID(EVP_PKEY *key, | |
int nid, int type, | |
const unsigned char *bytes, int len); | |
int EVP_PKEY_add1_attr_by_txt(EVP_PKEY *key, | |
const char *attrname, int type, | |
const unsigned char *bytes, int len); | |
int X509_verify_cert(X509_STORE_CTX *ctx); | |
X509 *X509_find_by_issuer_and_serial(struct stack_st_X509 *sk, X509_NAME *name, | |
ASN1_INTEGER *serial); | |
X509 *X509_find_by_subject(struct stack_st_X509 *sk, X509_NAME *name); | |
PBEPARAM *PBEPARAM_new(void); void PBEPARAM_free(PBEPARAM *a); PBEPARAM *d2i_PBEPARAM(PBEPARAM **a, const unsigned char **in, long len); int i2d_PBEPARAM(PBEPARAM *a, unsigned char **out); extern const ASN1_ITEM PBEPARAM_it; | |
PBE2PARAM *PBE2PARAM_new(void); void PBE2PARAM_free(PBE2PARAM *a); PBE2PARAM *d2i_PBE2PARAM(PBE2PARAM **a, const unsigned char **in, long len); int i2d_PBE2PARAM(PBE2PARAM *a, unsigned char **out); extern const ASN1_ITEM PBE2PARAM_it; | |
PBKDF2PARAM *PBKDF2PARAM_new(void); void PBKDF2PARAM_free(PBKDF2PARAM *a); PBKDF2PARAM *d2i_PBKDF2PARAM(PBKDF2PARAM **a, const unsigned char **in, long len); int i2d_PBKDF2PARAM(PBKDF2PARAM *a, unsigned char **out); extern const ASN1_ITEM PBKDF2PARAM_it; | |
SCRYPT_PARAMS *SCRYPT_PARAMS_new(void); void SCRYPT_PARAMS_free(SCRYPT_PARAMS *a); SCRYPT_PARAMS *d2i_SCRYPT_PARAMS(SCRYPT_PARAMS **a, const unsigned char **in, long len); int i2d_SCRYPT_PARAMS(SCRYPT_PARAMS *a, unsigned char **out); extern const ASN1_ITEM SCRYPT_PARAMS_it; | |
int PKCS5_pbe_set0_algor(X509_ALGOR *algor, int alg, int iter, | |
const unsigned char *salt, int saltlen); | |
X509_ALGOR *PKCS5_pbe_set(int alg, int iter, | |
const unsigned char *salt, int saltlen); | |
X509_ALGOR *PKCS5_pbe2_set(const EVP_CIPHER *cipher, int iter, | |
unsigned char *salt, int saltlen); | |
X509_ALGOR *PKCS5_pbe2_set_iv(const EVP_CIPHER *cipher, int iter, | |
unsigned char *salt, int saltlen, | |
unsigned char *aiv, int prf_nid); | |
X509_ALGOR *PKCS5_pbe2_set_scrypt(const EVP_CIPHER *cipher, | |
const unsigned char *salt, int saltlen, | |
unsigned char *aiv, uint64_t N, uint64_t r, | |
uint64_t p); | |
X509_ALGOR *PKCS5_pbkdf2_set(int iter, unsigned char *salt, int saltlen, | |
int prf_nid, int keylen); | |
PKCS8_PRIV_KEY_INFO *PKCS8_PRIV_KEY_INFO_new(void); void PKCS8_PRIV_KEY_INFO_free(PKCS8_PRIV_KEY_INFO *a); PKCS8_PRIV_KEY_INFO *d2i_PKCS8_PRIV_KEY_INFO(PKCS8_PRIV_KEY_INFO **a, const unsigned char **in, long len); int i2d_PKCS8_PRIV_KEY_INFO(PKCS8_PRIV_KEY_INFO *a, unsigned char **out); extern const ASN1_ITEM PKCS8_PRIV_KEY_INFO_it; | |
EVP_PKEY *EVP_PKCS82PKEY(const PKCS8_PRIV_KEY_INFO *p8); | |
PKCS8_PRIV_KEY_INFO *EVP_PKEY2PKCS8(EVP_PKEY *pkey); | |
int PKCS8_pkey_set0(PKCS8_PRIV_KEY_INFO *priv, ASN1_OBJECT *aobj, | |
int version, int ptype, void *pval, | |
unsigned char *penc, int penclen); | |
int PKCS8_pkey_get0(const ASN1_OBJECT **ppkalg, | |
const unsigned char **pk, int *ppklen, | |
const X509_ALGOR **pa, const PKCS8_PRIV_KEY_INFO *p8); | |
const struct stack_st_X509_ATTRIBUTE * | |
PKCS8_pkey_get0_attrs(const PKCS8_PRIV_KEY_INFO *p8); | |
int PKCS8_pkey_add1_attr_by_NID(PKCS8_PRIV_KEY_INFO *p8, int nid, int type, | |
const unsigned char *bytes, int len); | |
int X509_PUBKEY_set0_param(X509_PUBKEY *pub, ASN1_OBJECT *aobj, | |
int ptype, void *pval, | |
unsigned char *penc, int penclen); | |
int X509_PUBKEY_get0_param(ASN1_OBJECT **ppkalg, | |
const unsigned char **pk, int *ppklen, | |
X509_ALGOR **pa, X509_PUBKEY *pub); | |
int X509_check_trust(X509 *x, int id, int flags); | |
int X509_TRUST_get_count(void); | |
X509_TRUST *X509_TRUST_get0(int idx); | |
int X509_TRUST_get_by_id(int id); | |
int X509_TRUST_add(int id, int flags, int (*ck) (X509_TRUST *, X509 *, int), | |
const char *name, int arg1, void *arg2); | |
void X509_TRUST_cleanup(void); | |
int X509_TRUST_get_flags(const X509_TRUST *xp); | |
char *X509_TRUST_get0_name(const X509_TRUST *xp); | |
int X509_TRUST_get_trust(const X509_TRUST *xp); | |
# 21 "/usr/include/openssl/ssl.h" 2 3 4 | |
# 1 "/usr/include/openssl/pem.h" 1 3 4 | |
# 18 "/usr/include/openssl/pem.h" 3 4 | |
# 1 "/usr/include/openssl/pemerr.h" 1 3 4 | |
# 21 "/usr/include/openssl/pemerr.h" 3 4 | |
int ERR_load_PEM_strings(void); | |
# 19 "/usr/include/openssl/pem.h" 2 3 4 | |
# 231 "/usr/include/openssl/pem.h" 3 4 | |
typedef int pem_password_cb (char *buf, int size, int rwflag, void *userdata); | |
int PEM_get_EVP_CIPHER_INFO(char *header, EVP_CIPHER_INFO *cipher); | |
int PEM_do_header(EVP_CIPHER_INFO *cipher, unsigned char *data, long *len, | |
pem_password_cb *callback, void *u); | |
int PEM_read_bio(BIO *bp, char **name, char **header, | |
unsigned char **data, long *len); | |
int PEM_read_bio_ex(BIO *bp, char **name, char **header, | |
unsigned char **data, long *len, unsigned int flags); | |
int PEM_bytes_read_bio_secmem(unsigned char **pdata, long *plen, char **pnm, | |
const char *name, BIO *bp, pem_password_cb *cb, | |
void *u); | |
int PEM_write_bio(BIO *bp, const char *name, const char *hdr, | |
const unsigned char *data, long len); | |
int PEM_bytes_read_bio(unsigned char **pdata, long *plen, char **pnm, | |
const char *name, BIO *bp, pem_password_cb *cb, | |
void *u); | |
void *PEM_ASN1_read_bio(d2i_of_void *d2i, const char *name, BIO *bp, void **x, | |
pem_password_cb *cb, void *u); | |
int PEM_ASN1_write_bio(i2d_of_void *i2d, const char *name, BIO *bp, void *x, | |
const EVP_CIPHER *enc, unsigned char *kstr, int klen, | |
pem_password_cb *cb, void *u); | |
struct stack_st_X509_INFO *PEM_X509_INFO_read_bio(BIO *bp, struct stack_st_X509_INFO *sk, | |
pem_password_cb *cb, void *u); | |
int PEM_X509_INFO_write_bio(BIO *bp, X509_INFO *xi, EVP_CIPHER *enc, | |
unsigned char *kstr, int klen, | |
pem_password_cb *cd, void *u); | |
int PEM_read(FILE *fp, char **name, char **header, | |
unsigned char **data, long *len); | |
int PEM_write(FILE *fp, const char *name, const char *hdr, | |
const unsigned char *data, long len); | |
void *PEM_ASN1_read(d2i_of_void *d2i, const char *name, FILE *fp, void **x, | |
pem_password_cb *cb, void *u); | |
int PEM_ASN1_write(i2d_of_void *i2d, const char *name, FILE *fp, | |
void *x, const EVP_CIPHER *enc, unsigned char *kstr, | |
int klen, pem_password_cb *callback, void *u); | |
struct stack_st_X509_INFO *PEM_X509_INFO_read(FILE *fp, struct stack_st_X509_INFO *sk, | |
pem_password_cb *cb, void *u); | |
int PEM_SignInit(EVP_MD_CTX *ctx, EVP_MD *type); | |
int PEM_SignUpdate(EVP_MD_CTX *ctx, unsigned char *d, unsigned int cnt); | |
int PEM_SignFinal(EVP_MD_CTX *ctx, unsigned char *sigret, | |
unsigned int *siglen, EVP_PKEY *pkey); | |
int PEM_def_callback(char *buf, int num, int rwflag, void *userdata); | |
void PEM_proc_type(char *buf, int type); | |
void PEM_dek_info(char *buf, const char *type, int len, char *str); | |
X509 *PEM_read_bio_X509(BIO *bp, X509 **x, pem_password_cb *cb, void *u); X509 *PEM_read_X509(FILE *fp, X509 **x, pem_password_cb *cb, void *u); int PEM_write_bio_X509(BIO *bp, X509 *x); int PEM_write_X509(FILE *fp, X509 *x); | |
X509 *PEM_read_bio_X509_AUX(BIO *bp, X509 **x, pem_password_cb *cb, void *u); X509 *PEM_read_X509_AUX(FILE *fp, X509 **x, pem_password_cb *cb, void *u); int PEM_write_bio_X509_AUX(BIO *bp, X509 *x); int PEM_write_X509_AUX(FILE *fp, X509 *x); | |
X509_REQ *PEM_read_bio_X509_REQ(BIO *bp, X509_REQ **x, pem_password_cb *cb, void *u); X509_REQ *PEM_read_X509_REQ(FILE *fp, X509_REQ **x, pem_password_cb *cb, void *u); int PEM_write_bio_X509_REQ(BIO *bp, X509_REQ *x); int PEM_write_X509_REQ(FILE *fp, X509_REQ *x); | |
int PEM_write_bio_X509_REQ_NEW(BIO *bp, X509_REQ *x); int PEM_write_X509_REQ_NEW(FILE *fp, X509_REQ *x); | |
X509_CRL *PEM_read_bio_X509_CRL(BIO *bp, X509_CRL **x, pem_password_cb *cb, void *u); X509_CRL *PEM_read_X509_CRL(FILE *fp, X509_CRL **x, pem_password_cb *cb, void *u); int PEM_write_bio_X509_CRL(BIO *bp, X509_CRL *x); int PEM_write_X509_CRL(FILE *fp, X509_CRL *x); | |
PKCS7 *PEM_read_bio_PKCS7(BIO *bp, PKCS7 **x, pem_password_cb *cb, void *u); PKCS7 *PEM_read_PKCS7(FILE *fp, PKCS7 **x, pem_password_cb *cb, void *u); int PEM_write_bio_PKCS7(BIO *bp, PKCS7 *x); int PEM_write_PKCS7(FILE *fp, PKCS7 *x); | |
NETSCAPE_CERT_SEQUENCE *PEM_read_bio_NETSCAPE_CERT_SEQUENCE(BIO *bp, NETSCAPE_CERT_SEQUENCE **x, pem_password_cb *cb, void *u); NETSCAPE_CERT_SEQUENCE *PEM_read_NETSCAPE_CERT_SEQUENCE(FILE *fp, NETSCAPE_CERT_SEQUENCE **x, pem_password_cb *cb, void *u); int PEM_write_bio_NETSCAPE_CERT_SEQUENCE(BIO *bp, NETSCAPE_CERT_SEQUENCE *x); int PEM_write_NETSCAPE_CERT_SEQUENCE(FILE *fp, NETSCAPE_CERT_SEQUENCE *x); | |
X509_SIG *PEM_read_bio_PKCS8(BIO *bp, X509_SIG **x, pem_password_cb *cb, void *u); X509_SIG *PEM_read_PKCS8(FILE *fp, X509_SIG **x, pem_password_cb *cb, void *u); int PEM_write_bio_PKCS8(BIO *bp, X509_SIG *x); int PEM_write_PKCS8(FILE *fp, X509_SIG *x); | |
PKCS8_PRIV_KEY_INFO *PEM_read_bio_PKCS8_PRIV_KEY_INFO(BIO *bp, PKCS8_PRIV_KEY_INFO **x, pem_password_cb *cb, void *u); PKCS8_PRIV_KEY_INFO *PEM_read_PKCS8_PRIV_KEY_INFO(FILE *fp, PKCS8_PRIV_KEY_INFO **x, pem_password_cb *cb, void *u); int PEM_write_bio_PKCS8_PRIV_KEY_INFO(BIO *bp, PKCS8_PRIV_KEY_INFO *x); int PEM_write_PKCS8_PRIV_KEY_INFO(FILE *fp, PKCS8_PRIV_KEY_INFO *x); | |
RSA *PEM_read_bio_RSAPrivateKey(BIO *bp, RSA **x, pem_password_cb *cb, void *u); RSA *PEM_read_RSAPrivateKey(FILE *fp, RSA **x, pem_password_cb *cb, void *u); int PEM_write_bio_RSAPrivateKey(BIO *bp, RSA *x, const EVP_CIPHER *enc, unsigned char *kstr, int klen, pem_password_cb *cb, void *u); int PEM_write_RSAPrivateKey(FILE *fp, RSA *x, const EVP_CIPHER *enc, unsigned char *kstr, int klen, pem_password_cb *cb, void *u); | |
RSA *PEM_read_bio_RSAPublicKey(BIO *bp, RSA **x, pem_password_cb *cb, void *u); RSA *PEM_read_RSAPublicKey(FILE *fp, RSA **x, pem_password_cb *cb, void *u); int PEM_write_bio_RSAPublicKey(BIO *bp, const RSA *x); int PEM_write_RSAPublicKey(FILE *fp, const RSA *x); | |
RSA *PEM_read_bio_RSA_PUBKEY(BIO *bp, RSA **x, pem_password_cb *cb, void *u); RSA *PEM_read_RSA_PUBKEY(FILE *fp, RSA **x, pem_password_cb *cb, void *u); int PEM_write_bio_RSA_PUBKEY(BIO *bp, RSA *x); int PEM_write_RSA_PUBKEY(FILE *fp, RSA *x); | |
DSA *PEM_read_bio_DSAPrivateKey(BIO *bp, DSA **x, pem_password_cb *cb, void *u); DSA *PEM_read_DSAPrivateKey(FILE *fp, DSA **x, pem_password_cb *cb, void *u); int PEM_write_bio_DSAPrivateKey(BIO *bp, DSA *x, const EVP_CIPHER *enc, unsigned char *kstr, int klen, pem_password_cb *cb, void *u); int PEM_write_DSAPrivateKey(FILE *fp, DSA *x, const EVP_CIPHER *enc, unsigned char *kstr, int klen, pem_password_cb *cb, void *u); | |
DSA *PEM_read_bio_DSA_PUBKEY(BIO *bp, DSA **x, pem_password_cb *cb, void *u); DSA *PEM_read_DSA_PUBKEY(FILE *fp, DSA **x, pem_password_cb *cb, void *u); int PEM_write_bio_DSA_PUBKEY(BIO *bp, DSA *x); int PEM_write_DSA_PUBKEY(FILE *fp, DSA *x); | |
DSA *PEM_read_bio_DSAparams(BIO *bp, DSA **x, pem_password_cb *cb, void *u); DSA *PEM_read_DSAparams(FILE *fp, DSA **x, pem_password_cb *cb, void *u); int PEM_write_bio_DSAparams(BIO *bp, const DSA *x); int PEM_write_DSAparams(FILE *fp, const DSA *x); | |
EC_GROUP *PEM_read_bio_ECPKParameters(BIO *bp, EC_GROUP **x, pem_password_cb *cb, void *u); EC_GROUP *PEM_read_ECPKParameters(FILE *fp, EC_GROUP **x, pem_password_cb *cb, void *u); int PEM_write_bio_ECPKParameters(BIO *bp, const EC_GROUP *x); int PEM_write_ECPKParameters(FILE *fp, const EC_GROUP *x); | |
EC_KEY *PEM_read_bio_ECPrivateKey(BIO *bp, EC_KEY **x, pem_password_cb *cb, void *u); EC_KEY *PEM_read_ECPrivateKey(FILE *fp, EC_KEY **x, pem_password_cb *cb, void *u); int PEM_write_bio_ECPrivateKey(BIO *bp, EC_KEY *x, const EVP_CIPHER *enc, unsigned char *kstr, int klen, pem_password_cb *cb, void *u); int PEM_write_ECPrivateKey(FILE *fp, EC_KEY *x, const EVP_CIPHER *enc, unsigned char *kstr, int klen, pem_password_cb *cb, void *u); | |
EC_KEY *PEM_read_bio_EC_PUBKEY(BIO *bp, EC_KEY **x, pem_password_cb *cb, void *u); EC_KEY *PEM_read_EC_PUBKEY(FILE *fp, EC_KEY **x, pem_password_cb *cb, void *u); int PEM_write_bio_EC_PUBKEY(BIO *bp, EC_KEY *x); int PEM_write_EC_PUBKEY(FILE *fp, EC_KEY *x); | |
DH *PEM_read_bio_DHparams(BIO *bp, DH **x, pem_password_cb *cb, void *u); DH *PEM_read_DHparams(FILE *fp, DH **x, pem_password_cb *cb, void *u); int PEM_write_bio_DHparams(BIO *bp, const DH *x); int PEM_write_DHparams(FILE *fp, const DH *x); | |
int PEM_write_bio_DHxparams(BIO *bp, const DH *x); int PEM_write_DHxparams(FILE *fp, const DH *x); | |
EVP_PKEY *PEM_read_bio_PrivateKey(BIO *bp, EVP_PKEY **x, pem_password_cb *cb, void *u); EVP_PKEY *PEM_read_PrivateKey(FILE *fp, EVP_PKEY **x, pem_password_cb *cb, void *u); int PEM_write_bio_PrivateKey(BIO *bp, EVP_PKEY *x, const EVP_CIPHER *enc, unsigned char *kstr, int klen, pem_password_cb *cb, void *u); int PEM_write_PrivateKey(FILE *fp, EVP_PKEY *x, const EVP_CIPHER *enc, unsigned char *kstr, int klen, pem_password_cb *cb, void *u); | |
EVP_PKEY *PEM_read_bio_PUBKEY(BIO *bp, EVP_PKEY **x, pem_password_cb *cb, void *u); EVP_PKEY *PEM_read_PUBKEY(FILE *fp, EVP_PKEY **x, pem_password_cb *cb, void *u); int PEM_write_bio_PUBKEY(BIO *bp, EVP_PKEY *x); int PEM_write_PUBKEY(FILE *fp, EVP_PKEY *x); | |
int PEM_write_bio_PrivateKey_traditional(BIO *bp, EVP_PKEY *x, | |
const EVP_CIPHER *enc, | |
unsigned char *kstr, int klen, | |
pem_password_cb *cb, void *u); | |
int PEM_write_bio_PKCS8PrivateKey_nid(BIO *bp, EVP_PKEY *x, int nid, | |
char *kstr, int klen, | |
pem_password_cb *cb, void *u); | |
int PEM_write_bio_PKCS8PrivateKey(BIO *, EVP_PKEY *, const EVP_CIPHER *, | |
char *, int, pem_password_cb *, void *); | |
int i2d_PKCS8PrivateKey_bio(BIO *bp, EVP_PKEY *x, const EVP_CIPHER *enc, | |
char *kstr, int klen, | |
pem_password_cb *cb, void *u); | |
int i2d_PKCS8PrivateKey_nid_bio(BIO *bp, EVP_PKEY *x, int nid, | |
char *kstr, int klen, | |
pem_password_cb *cb, void *u); | |
EVP_PKEY *d2i_PKCS8PrivateKey_bio(BIO *bp, EVP_PKEY **x, pem_password_cb *cb, | |
void *u); | |
int i2d_PKCS8PrivateKey_fp(FILE *fp, EVP_PKEY *x, const EVP_CIPHER *enc, | |
char *kstr, int klen, | |
pem_password_cb *cb, void *u); | |
int i2d_PKCS8PrivateKey_nid_fp(FILE *fp, EVP_PKEY *x, int nid, | |
char *kstr, int klen, | |
pem_password_cb *cb, void *u); | |
int PEM_write_PKCS8PrivateKey_nid(FILE *fp, EVP_PKEY *x, int nid, | |
char *kstr, int klen, | |
pem_password_cb *cb, void *u); | |
EVP_PKEY *d2i_PKCS8PrivateKey_fp(FILE *fp, EVP_PKEY **x, pem_password_cb *cb, | |
void *u); | |
int PEM_write_PKCS8PrivateKey(FILE *fp, EVP_PKEY *x, const EVP_CIPHER *enc, | |
char *kstr, int klen, pem_password_cb *cd, | |
void *u); | |
EVP_PKEY *PEM_read_bio_Parameters(BIO *bp, EVP_PKEY **x); | |
int PEM_write_bio_Parameters(BIO *bp, EVP_PKEY *x); | |
EVP_PKEY *b2i_PrivateKey(const unsigned char **in, long length); | |
EVP_PKEY *b2i_PublicKey(const unsigned char **in, long length); | |
EVP_PKEY *b2i_PrivateKey_bio(BIO *in); | |
EVP_PKEY *b2i_PublicKey_bio(BIO *in); | |
int i2b_PrivateKey_bio(BIO *out, EVP_PKEY *pk); | |
int i2b_PublicKey_bio(BIO *out, EVP_PKEY *pk); | |
EVP_PKEY *b2i_PVK_bio(BIO *in, pem_password_cb *cb, void *u); | |
int i2b_PVK_bio(BIO *out, EVP_PKEY *pk, int enclevel, | |
pem_password_cb *cb, void *u); | |
# 26 "/usr/include/openssl/ssl.h" 2 3 4 | |
# 1 "/usr/include/openssl/hmac.h" 1 3 4 | |
# 13 "/usr/include/openssl/hmac.h" 3 4 | |
# 1 "/usr/include/arm-linux-gnueabihf/openssl/opensslconf.h" 1 3 4 | |
# 14 "/usr/include/openssl/hmac.h" 2 3 4 | |
# 25 "/usr/include/openssl/hmac.h" 3 4 | |
size_t HMAC_size(const HMAC_CTX *e); | |
HMAC_CTX *HMAC_CTX_new(void); | |
int HMAC_CTX_reset(HMAC_CTX *ctx); | |
void HMAC_CTX_free(HMAC_CTX *ctx); | |
int HMAC_Init(HMAC_CTX *ctx, const void *key, int len, const EVP_MD *md) __attribute__ ((deprecated)); | |
int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | |
const EVP_MD *md, ENGINE *impl); | |
int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | |
size_t len); | |
int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | |
unsigned int *len); | |
unsigned char *HMAC(const EVP_MD *evp_md, const void *key, int key_len, | |
const unsigned char *d, size_t n, unsigned char *md, | |
unsigned int *md_len); | |
int HMAC_CTX_copy(HMAC_CTX *dctx, HMAC_CTX *sctx); | |
void HMAC_CTX_set_flags(HMAC_CTX *ctx, unsigned long flags); | |
const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | |
# 27 "/usr/include/openssl/ssl.h" 2 3 4 | |
# 1 "/usr/include/openssl/async.h" 1 3 4 | |
# 25 "/usr/include/openssl/async.h" 3 4 | |
# 1 "/usr/include/openssl/asyncerr.h" 1 3 4 | |
# 21 "/usr/include/openssl/asyncerr.h" 3 4 | |
int ERR_load_ASYNC_strings(void); | |
# 26 "/usr/include/openssl/async.h" 2 3 4 | |
typedef struct async_job_st ASYNC_JOB; | |
typedef struct async_wait_ctx_st ASYNC_WAIT_CTX; | |
int ASYNC_init_thread(size_t max_size, size_t init_size); | |
void ASYNC_cleanup_thread(void); | |
ASYNC_WAIT_CTX *ASYNC_WAIT_CTX_new(void); | |
void ASYNC_WAIT_CTX_free(ASYNC_WAIT_CTX *ctx); | |
int ASYNC_WAIT_CTX_set_wait_fd(ASYNC_WAIT_CTX *ctx, const void *key, | |
int fd, | |
void *custom_data, | |
void (*cleanup)(ASYNC_WAIT_CTX *, const void *, | |
int, void *)); | |
int ASYNC_WAIT_CTX_get_fd(ASYNC_WAIT_CTX *ctx, const void *key, | |
int *fd, void **custom_data); | |
int ASYNC_WAIT_CTX_get_all_fds(ASYNC_WAIT_CTX *ctx, int *fd, | |
size_t *numfds); | |
int ASYNC_WAIT_CTX_get_changed_fds(ASYNC_WAIT_CTX *ctx, int *addfd, | |
size_t *numaddfds, int *delfd, | |
size_t *numdelfds); | |
int ASYNC_WAIT_CTX_clear_fd(ASYNC_WAIT_CTX *ctx, const void *key); | |
int ASYNC_is_capable(void); | |
int ASYNC_start_job(ASYNC_JOB **job, ASYNC_WAIT_CTX *ctx, int *ret, | |
int (*func)(void *), void *args, size_t size); | |
int ASYNC_pause_job(void); | |
ASYNC_JOB *ASYNC_get_current_job(void); | |
ASYNC_WAIT_CTX *ASYNC_get_wait_ctx(ASYNC_JOB *job); | |
void ASYNC_block_pause(void); | |
void ASYNC_unblock_pause(void); | |
# 28 "/usr/include/openssl/ssl.h" 2 3 4 | |
# 1 "/usr/include/openssl/ct.h" 1 3 4 | |
# 13 "/usr/include/openssl/ct.h" 3 4 | |
# 1 "/usr/include/arm-linux-gnueabihf/openssl/opensslconf.h" 1 3 4 | |
# 14 "/usr/include/openssl/ct.h" 2 3 4 | |
# 1 "/usr/include/openssl/cterr.h" 1 3 4 | |
# 18 "/usr/include/openssl/cterr.h" 3 4 | |
# 1 "/usr/include/arm-linux-gnueabihf/openssl/opensslconf.h" 1 3 4 | |
# 19 "/usr/include/openssl/cterr.h" 2 3 4 | |
int ERR_load_CT_strings(void); | |
# 20 "/usr/include/openssl/ct.h" 2 3 4 | |
# 31 "/usr/include/openssl/ct.h" 3 4 | |
typedef enum { | |
CT_LOG_ENTRY_TYPE_NOT_SET = -1, | |
CT_LOG_ENTRY_TYPE_X509 = 0, | |
CT_LOG_ENTRY_TYPE_PRECERT = 1 | |
} ct_log_entry_type_t; | |
typedef enum { | |
SCT_VERSION_NOT_SET = -1, | |
SCT_VERSION_V1 = 0 | |
} sct_version_t; | |
typedef enum { | |
SCT_SOURCE_UNKNOWN, | |
SCT_SOURCE_TLS_EXTENSION, | |
SCT_SOURCE_X509V3_EXTENSION, | |
SCT_SOURCE_OCSP_STAPLED_RESPONSE | |
} sct_source_t; | |
typedef enum { | |
SCT_VALIDATION_STATUS_NOT_SET, | |
SCT_VALIDATION_STATUS_UNKNOWN_LOG, | |
SCT_VALIDATION_STATUS_VALID, | |
SCT_VALIDATION_STATUS_INVALID, | |
SCT_VALIDATION_STATUS_UNVERIFIED, | |
SCT_VALIDATION_STATUS_UNKNOWN_VERSION | |
} sct_validation_status_t; | |
struct stack_st_SCT; typedef int (*sk_SCT_compfunc)(const SCT * const *a, const SCT *const *b); typedef void (*sk_SCT_freefunc)(SCT *a); typedef SCT * (*sk_SCT_copyfunc)(const SCT *a); static __attribute__((unused)) inline int sk_SCT_num(const struct stack_st_SCT *sk) { return OPENSSL_sk_num((const OPENSSL_STACK *)sk); } static __attribute__((unused)) inline SCT *sk_SCT_value(const struct stack_st_SCT *sk, int idx) { return (SCT *)OPENSSL_sk_value((const OPENSSL_STACK *)sk, idx); } static __attribute__((unused)) inline struct stack_st_SCT *sk_SCT_new(sk_SCT_compfunc compare) { return (struct stack_st_SCT *)OPENSSL_sk_new((OPENSSL_sk_compfunc)compare); } static __attribute__((unused)) inline struct stack_st_SCT *sk_SCT_new_null(void) { return (struct stack_st_SCT *)OPENSSL_sk_new_null(); } static __attribute__((unused)) inline struct stack_st_SCT *sk_SCT_new_reserve(sk_SCT_compfunc compare, int n) { return (struct stack_st_SCT *)OPENSSL_sk_new_reserve((OPENSSL_sk_compfunc)compare, n); } static __attribute__((unused)) inline int sk_SCT_reserve(struct stack_st_SCT *sk, int n) { return OPENSSL_sk_reserve((OPENSSL_STACK *)sk, n); } static __attribute__((unused)) inline void sk_SCT_free(struct stack_st_SCT *sk) { OPENSSL_sk_free((OPENSSL_STACK *)sk); } static __attribute__((unused)) inline void sk_SCT_zero(struct stack_st_SCT *sk) { OPENSSL_sk_zero((OPENSSL_STACK *)sk); } static __attribute__((unused)) inline SCT *sk_SCT_delete(struct stack_st_SCT *sk, int i) { return (SCT *)OPENSSL_sk_delete((OPENSSL_STACK *)sk, i); } static __attribute__((unused)) inline SCT *sk_SCT_delete_ptr(struct stack_st_SCT *sk, SCT *ptr) { return (SCT *)OPENSSL_sk_delete_ptr((OPENSSL_STACK *)sk, (const void *)ptr); } static __attribute__((unused)) inline int sk_SCT_push(struct stack_st_SCT *sk, SCT *ptr) { return OPENSSL_sk_push((OPENSSL_STACK *)sk, (const void *)ptr); } static __attribute__((unused)) inline int sk_SCT_unshift(struct stack_st_SCT *sk, SCT *ptr) { return OPENSSL_sk_unshift((OPENSSL_STACK *)sk, (const void *)ptr); } static __attribute__((unused)) inline SCT *sk_SCT_pop(struct stack_st_SCT *sk) { return (SCT *)OPENSSL_sk_pop((OPENSSL_STACK *)sk); } static __attribute__((unused)) inline SCT *sk_SCT_shift(struct stack_st_SCT *sk) { return (SCT *)OPENSSL_sk_shift((OPENSSL_STACK *)sk); } static __attribute__((unused)) inline void sk_SCT_pop_free(struct stack_st_SCT *sk, sk_SCT_freefunc freefunc) { OPENSSL_sk_pop_free((OPENSSL_STACK *)sk, (OPENSSL_sk_freefunc)freefunc); } static __attribute__((unused)) inline int sk_SCT_insert(struct stack_st_SCT *sk, SCT *ptr, int idx) { return OPENSSL_sk_insert((OPENSSL_STACK *)sk, (const void *)ptr, idx); } static __attribute__((unused)) inline SCT *sk_SCT_set(struct stack_st_SCT *sk, int idx, SCT *ptr) { return (SCT *)OPENSSL_sk_set((OPENSSL_STACK *)sk, idx, (const void *)ptr); } static __attribute__((unused)) inline int sk_SCT_find(struct stack_st_SCT *sk, SCT *ptr) { return OPENSSL_sk_find((OPENSSL_STACK *)sk, (const void *)ptr); } static __attribute__((unused)) inline int sk_SCT_find_ex(struct stack_st_SCT *sk, SCT *ptr) { return OPENSSL_sk_find_ex((OPENSSL_STACK *)sk, (const void *)ptr); } static __attribute__((unused)) inline void sk_SCT_sort(struct stack_st_SCT *sk) { OPENSSL_sk_sort((OPENSSL_STACK *)sk); } static __attribute__((unused)) inline int sk_SCT_is_sorted(const struct stack_st_SCT *sk) { return OPENSSL_sk_is_sorted((const OPENSSL_STACK *)sk); } static __attribute__((unused)) inline struct stack_st_SCT * sk_SCT_dup(const struct stack_st_SCT *sk) { return (struct stack_st_SCT *)OPENSSL_sk_dup((const OPENSSL_STACK *)sk); } static __attribute__((unused)) inline struct stack_st_SCT *sk_SCT_deep_copy(const struct stack_st_SCT *sk, sk_SCT_copyfunc copyfunc, sk_SCT_freefunc freefunc) { return (struct stack_st_SCT *)OPENSSL_sk_deep_copy((const OPENSSL_STACK *)sk, (OPENSSL_sk_copyfunc)copyfunc, (OPENSSL_sk_freefunc)freefunc); } static __attribute__((unused)) inline sk_SCT_compfunc sk_SCT_set_cmp_func(struct stack_st_SCT *sk, sk_SCT_compfunc compare) { return (sk_SCT_compfunc)OPENSSL_sk_set_cmp_func((OPENSSL_STACK *)sk, (OPENSSL_sk_compfunc)compare); } | |
struct stack_st_CTLOG; typedef int (*sk_CTLOG_compfunc)(const CTLOG * const *a, const CTLOG *const *b); typedef void (*sk_CTLOG_freefunc)(CTLOG *a); typedef CTLOG * (*sk_CTLOG_copyfunc)(const CTLOG *a); static __attribute__((unused)) inline int sk_CTLOG_num(const struct stack_st_CTLOG *sk) { return OPENSSL_sk_num((const OPENSSL_STACK *)sk); } static __attribute__((unused)) inline CTLOG *sk_CTLOG_value(const struct stack_st_CTLOG *sk, int idx) { return (CTLOG *)OPENSSL_sk_value((const OPENSSL_STACK *)sk, idx); } static __attribute__((unused)) inline struct stack_st_CTLOG *sk_CTLOG_new(sk_CTLOG_compfunc compare) { return (struct stack_st_CTLOG *)OPENSSL_sk_new((OPENSSL_sk_compfunc)compare); } static __attribute__((unused)) inline struct stack_st_CTLOG *sk_CTLOG_new_null(void) { return (struct stack_st_CTLOG *)OPENSSL_sk_new_null(); } static __attribute__((unused)) inline struct stack_st_CTLOG *sk_CTLOG_new_reserve(sk_CTLOG_compfunc compare, int n) { return (struct stack_st_CTLOG *)OPENSSL_sk_new_reserve((OPENSSL_sk_compfunc)compare, n); } static __attribute__((unused)) inline int sk_CTLOG_reserve(struct stack_st_CTLOG *sk, int n) { return OPENSSL_sk_reserve((OPENSSL_STACK *)sk, n); } static __attribute__((unused)) inline void sk_CTLOG_free(struct stack_st_CTLOG *sk) { OPENSSL_sk_free((OPENSSL_STACK *)sk); } static __attribute__((unused)) inline void sk_CTLOG_zero(struct stack_st_CTLOG *sk) { OPENSSL_sk_zero((OPENSSL_STACK *)sk); } static __attribute__((unused)) inline CTLOG *sk_CTLOG_delete(struct stack_st_CTLOG *sk, int i) { return (CTLOG *)OPENSSL_sk_delete((OPENSSL_STACK *)sk, i); } static __attribute__((unused)) inline CTLOG *sk_CTLOG_delete_ptr(struct stack_st_CTLOG *sk, CTLOG *ptr) { return (CTLOG *)OPENSSL_sk_delete_ptr((OPENSSL_STACK *)sk, (const void *)ptr); } static __attribute__((unused)) inline int sk_CTLOG_push(struct stack_st_CTLOG *sk, CTLOG *ptr) { return OPENSSL_sk_push((OPENSSL_STACK *)sk, (const void *)ptr); } static __attribute__((unused)) inline int sk_CTLOG_unshift(struct stack_st_CTLOG *sk, CTLOG *ptr) { return OPENSSL_sk_unshift((OPENSSL_STACK *)sk, (const void *)ptr); } static __attribute__((unused)) inline CTLOG *sk_CTLOG_pop(struct stack_st_CTLOG *sk) { return (CTLOG *)OPENSSL_sk_pop((OPENSSL_STACK *)sk); } static __attribute__((unused)) inline CTLOG *sk_CTLOG_shift(struct stack_st_CTLOG *sk) { return (CTLOG *)OPENSSL_sk_shift((OPENSSL_STACK *)sk); } static __attribute__((unused)) inline void sk_CTLOG_pop_free(struct stack_st_CTLOG *sk, sk_CTLOG_freefunc freefunc) { OPENSSL_sk_pop_free((OPENSSL_STACK *)sk, (OPENSSL_sk_freefunc)freefunc); } static __attribute__((unused)) inline int sk_CTLOG_insert(struct stack_st_CTLOG *sk, CTLOG *ptr, int idx) { return OPENSSL_sk_insert((OPENSSL_STACK *)sk, (const void *)ptr, idx); } static __attribute__((unused)) inline CTLOG *sk_CTLOG_set(struct stack_st_CTLOG *sk, int idx, CTLOG *ptr) { return (CTLOG *)OPENSSL_sk_set((OPENSSL_STACK *)sk, idx, (const void *)ptr); } static __attribute__((unused)) inline int sk_CTLOG_find(struct stack_st_CTLOG *sk, CTLOG *ptr) { return OPENSSL_sk_find((OPENSSL_STACK *)sk, (const void *)ptr); } static __attribute__((unused)) inline int sk_CTLOG_find_ex(struct stack_st_CTLOG *sk, CTLOG *ptr) { return OPENSSL_sk_find_ex((OPENSSL_STACK *)sk, (const void *)ptr); } static __attribute__((unused)) inline void sk_CTLOG_sort(struct stack_st_CTLOG *sk) { OPENSSL_sk_sort((OPENSSL_STACK *)sk); } static __attribute__((unused)) inline int sk_CTLOG_is_sorted(const struct stack_st_CTLOG *sk) { return OPENSSL_sk_is_sorted((const OPENSSL_STACK *)sk); } static __attribute__((unused)) inline struct stack_st_CTLOG * sk_CTLOG_dup(const struct stack_st_CTLOG *sk) { return (struct stack_st_CTLOG *)OPENSSL_sk_dup((const OPENSSL_STACK *)sk); } static __attribute__((unused)) inline struct stack_st_CTLOG *sk_CTLOG_deep_copy(const struct stack_st_CTLOG *sk, sk_CTLOG_copyfunc copyfunc, sk_CTLOG_freefunc freefunc) { return (struct stack_st_CTLOG *)OPENSSL_sk_deep_copy((const OPENSSL_STACK *)sk, (OPENSSL_sk_copyfunc)copyfunc, (OPENSSL_sk_freefunc)freefunc); } static __attribute__((unused)) inline sk_CTLOG_compfunc sk_CTLOG_set_cmp_func(struct stack_st_CTLOG *sk, sk_CTLOG_compfunc compare) { return (sk_CTLOG_compfunc)OPENSSL_sk_set_cmp_func((OPENSSL_STACK *)sk, (OPENSSL_sk_compfunc)compare); } | |
# 70 "/usr/include/openssl/ct.h" 3 4 | |
CT_POLICY_EVAL_CTX *CT_POLICY_EVAL_CTX_new(void); | |
void CT_POLICY_EVAL_CTX_free(CT_POLICY_EVAL_CTX *ctx); | |
X509* CT_POLICY_EVAL_CTX_get0_cert(const CT_POLICY_EVAL_CTX *ctx); | |
int CT_POLICY_EVAL_CTX_set1_cert(CT_POLICY_EVAL_CTX *ctx, X509 *cert); | |
X509* CT_POLICY_EVAL_CTX_get0_issuer(const CT_POLICY_EVAL_CTX *ctx); | |
int CT_POLICY_EVAL_CTX_set1_issuer(CT_POLICY_EVAL_CTX *ctx, X509 *issuer); | |
const CTLOG_STORE *CT_POLICY_EVAL_CTX_get0_log_store(const CT_POLICY_EVAL_CTX *ctx); | |
void CT_POLICY_EVAL_CTX_set_shared_CTLOG_STORE(CT_POLICY_EVAL_CTX *ctx, | |
CTLOG_STORE *log_store); | |
uint64_t CT_POLICY_EVAL_CTX_get_time(const CT_POLICY_EVAL_CTX *ctx); | |
void CT_POLICY_EVAL_CTX_set_time(CT_POLICY_EVAL_CTX *ctx, uint64_t time_in_ms); | |
# 125 "/usr/include/openssl/ct.h" 3 4 | |
SCT *SCT_new(void); | |
SCT *SCT_new_from_base64(unsigned char version, | |
const char *logid_base64, | |
ct_log_entry_type_t entry_type, | |
uint64_t timestamp, | |
const char *extensions_base64, | |
const char *signature_base64); | |
void SCT_free(SCT *sct); | |
void SCT_LIST_free(struct stack_st_SCT *a); | |
sct_version_t SCT_get_version(const SCT *sct); | |
int SCT_set_version(SCT *sct, sct_version_t version); | |
ct_log_entry_type_t SCT_get_log_entry_type(const SCT *sct); | |
int SCT_set_log_entry_type(SCT *sct, ct_log_entry_type_t entry_type); | |
size_t SCT_get0_log_id(const SCT *sct, unsigned char **log_id); | |
int SCT_set0_log_id(SCT *sct, unsigned char *log_id, size_t log_id_len); | |
int SCT_set1_log_id(SCT *sct, const unsigned char *log_id, | |
size_t log_id_len); | |
uint64_t SCT_get_timestamp(const SCT *sct); | |
void SCT_set_timestamp(SCT *sct, uint64_t timestamp); | |
int SCT_get_signature_nid(const SCT *sct); | |
int SCT_set_signature_nid(SCT *sct, int nid); | |
size_t SCT_get0_extensions(const SCT *sct, unsigned char **ext); | |
void SCT_set0_extensions(SCT *sct, unsigned char *ext, size_t ext_len); | |
int SCT_set1_extensions(SCT *sct, const unsigned char *ext, | |
size_t ext_len); | |
size_t SCT_get0_signature(const SCT *sct, unsigned char **sig); | |
void SCT_set0_signature(SCT *sct, unsigned char *sig, size_t sig_len); | |
int SCT_set1_signature(SCT *sct, const unsigned char *sig, | |
size_t sig_len); | |
sct_source_t SCT_get_source(const SCT *sct); | |
int SCT_set_source(SCT *sct, sct_source_t source); | |
const char *SCT_validation_status_string(const SCT *sct); | |
void SCT_print(const SCT *sct, BIO *out, int indent, const CTLOG_STORE *logs); | |
# 290 "/usr/include/openssl/ct.h" 3 4 | |
void SCT_LIST_print(const struct stack_st_SCT *sct_list, BIO *out, int indent, | |
const char *separator, const CTLOG_STORE *logs); | |
sct_validation_status_t SCT_get_validation_status(const SCT *sct); | |
# 306 "/usr/include/openssl/ct.h" 3 4 | |
int SCT_validate(SCT *sct, const CT_POLICY_EVAL_CTX *ctx); | |
# 315 "/usr/include/openssl/ct.h" 3 4 | |
int SCT_LIST_validate(const struct stack_st_SCT *scts, | |
CT_POLICY_EVAL_CTX *ctx); | |
# 335 "/usr/include/openssl/ct.h" 3 4 | |
int i2o_SCT_LIST(const struct stack_st_SCT *a, unsigned char **pp); | |
# 347 "/usr/include/openssl/ct.h" 3 4 | |
struct stack_st_SCT *o2i_SCT_LIST(struct stack_st_SCT **a, const unsigned char **pp, | |
size_t len); | |
# 362 "/usr/include/openssl/ct.h" 3 4 | |
int i2d_SCT_LIST(const struct stack_st_SCT *a, unsigned char **pp); | |
# 374 "/usr/include/openssl/ct.h" 3 4 | |
struct stack_st_SCT *d2i_SCT_LIST(struct stack_st_SCT **a, const unsigned char **pp, | |
long len); | |
# 386 "/usr/include/openssl/ct.h" 3 4 | |
int i2o_SCT(const SCT *sct, unsigned char **out); | |
# 399 "/usr/include/openssl/ct.h" 3 4 | |
SCT *o2i_SCT(SCT **psct, const unsigned char **in, size_t len); | |
# 411 "/usr/include/openssl/ct.h" 3 4 | |
CTLOG *CTLOG_new(EVP_PKEY *public_key, const char *name); | |
int CTLOG_new_from_base64(CTLOG ** ct_log, | |
const char *pkey_base64, const char *name); | |
void CTLOG_free(CTLOG *log); | |
const char *CTLOG_get0_name(const CTLOG *log); | |
void CTLOG_get0_log_id(const CTLOG *log, const uint8_t **log_id, | |
size_t *log_id_len); | |
EVP_PKEY *CTLOG_get0_public_key(const CTLOG *log); | |
# 443 "/usr/include/openssl/ct.h" 3 4 | |
CTLOG_STORE *CTLOG_STORE_new(void); | |
void CTLOG_STORE_free(CTLOG_STORE *store); | |
const CTLOG *CTLOG_STORE_get0_log_by_id(const CTLOG_STORE *store, | |
const uint8_t *log_id, | |
size_t log_id_len); | |
int CTLOG_STORE_load_file(CTLOG_STORE *store, const char *file); | |
int CTLOG_STORE_load_default_file(CTLOG_STORE *store); | |
# 32 "/usr/include/openssl/ssl.h" 2 3 4 | |
# 1 "/usr/include/openssl/sslerr.h" 1 3 4 | |
# 21 "/usr/include/openssl/sslerr.h" 3 4 | |
int ERR_load_SSL_strings(void); | |
# 33 "/usr/include/openssl/ssl.h" 2 3 4 | |
# 209 "/usr/include/openssl/ssl.h" 3 4 | |
typedef struct ssl_st *ssl_crock_st; | |
typedef struct tls_session_ticket_ext_st TLS_SESSION_TICKET_EXT; | |
typedef struct ssl_method_st SSL_METHOD; | |
typedef struct ssl_cipher_st SSL_CIPHER; | |
typedef struct ssl_session_st SSL_SESSION; | |
typedef struct tls_sigalgs_st TLS_SIGALGS; | |
typedef struct ssl_conf_ctx_st SSL_CONF_CTX; | |
typedef struct ssl_comp_st SSL_COMP; | |
struct stack_st_SSL_CIPHER; | |
struct stack_st_SSL_COMP; | |
typedef struct srtp_protection_profile_st { | |
const char *name; | |
unsigned long id; | |
} SRTP_PROTECTION_PROFILE; | |
struct stack_st_SRTP_PROTECTION_PROFILE; typedef int (*sk_SRTP_PROTECTION_PROFILE_compfunc)(const SRTP_PROTECTION_PROFILE * const *a, const SRTP_PROTECTION_PROFILE *const *b); typedef void (*sk_SRTP_PROTECTION_PROFILE_freefunc)(SRTP_PROTECTION_PROFILE *a); typedef SRTP_PROTECTION_PROFILE * (*sk_SRTP_PROTECTION_PROFILE_copyfunc)(const SRTP_PROTECTION_PROFILE *a); static __attribute__((unused)) inline int sk_SRTP_PROTECTION_PROFILE_num(const struct stack_st_SRTP_PROTECTION_PROFILE *sk) { return OPENSSL_sk_num((const OPENSSL_STACK *)sk); } static __attribute__((unused)) inline SRTP_PROTECTION_PROFILE *sk_SRTP_PROTECTION_PROFILE_value(const struct stack_st_SRTP_PROTECTION_PROFILE *sk, int idx) { return (SRTP_PROTECTION_PROFILE *)OPENSSL_sk_value((const OPENSSL_STACK *)sk, idx); } static __attribute__((unused)) inline struct stack_st_SRTP_PROTECTION_PROFILE *sk_SRTP_PROTECTION_PROFILE_new(sk_SRTP_PROTECTION_PROFILE_compfunc compare) { return (struct stack_st_SRTP_PROTECTION_PROFILE *)OPENSSL_sk_new((OPENSSL_sk_compfunc)compare); } static __attribute__((unused)) inline struct stack_st_SRTP_PROTECTION_PROFILE *sk_SRTP_PROTECTION_PROFILE_new_null(void) { return (struct stack_st_SRTP_PROTECTION_PROFILE *)OPENSSL_sk_new_null(); } static __attribute__((unused)) inline struct stack_st_SRTP_PROTECTION_PROFILE *sk_SRTP_PROTECTION_PROFILE_new_reserve(sk_SRTP_PROTECTION_PROFILE_compfunc compare, int n) { return (struct stack_st_SRTP_PROTECTION_PROFILE *)OPENSSL_sk_new_reserve((OPENSSL_sk_compfunc)compare, n); } static __attribute__((unused)) inline int sk_SRTP_PROTECTION_PROFILE_reserve(struct stack_st_SRTP_PROTECTION_PROFILE *sk, int n) { return OPENSSL_sk_reserve((OPENSSL_STACK *)sk, n); } static __attribute__((unused)) inline void sk_SRTP_PROTECTION_PROFILE_free(struct stack_st_SRTP_PROTECTION_PROFILE *sk) { OPENSSL_sk_free((OPENSSL_STACK *)sk); } static __attribute__((unused)) inline void sk_SRTP_PROTECTION_PROFILE_zero(struct stack_st_SRTP_PROTECTION_PROFILE *sk) { OPENSSL_sk_zero((OPENSSL_STACK *)sk); } static __attribute__((unused)) inline SRTP_PROTECTION_PROFILE *sk_SRTP_PROTECTION_PROFILE_delete(struct stack_st_SRTP_PROTECTION_PROFILE *sk, int i) { return (SRTP_PROTECTION_PROFILE *)OPENSSL_sk_delete((OPENSSL_STACK *)sk, i); } static __attribute__((unused)) inline SRTP_PROTECTION_PROFILE *sk_SRTP_PROTECTION_PROFILE_delete_ptr(struct stack_st_SRTP_PROTECTION_PROFILE *sk, SRTP_PROTECTION_PROFILE *ptr) { return (SRTP_PROTECTION_PROFILE *)OPENSSL_sk_delete_ptr((OPENSSL_STACK *)sk, (const void *)ptr); } static __attribute__((unused)) inline int sk_SRTP_PROTECTION_PROFILE_push(struct stack_st_SRTP_PROTECTION_PROFILE *sk, SRTP_PROTECTION_PROFILE *ptr) { return OPENSSL_sk_push((OPENSSL_STACK *)sk, (const void *)ptr); } static __attribute__((unused)) inline int sk_SRTP_PROTECTION_PROFILE_unshift(struct stack_st_SRTP_PROTECTION_PROFILE *sk, SRTP_PROTECTION_PROFILE *ptr) { return OPENSSL_sk_unshift((OPENSSL_STACK *)sk, (const void *)ptr); } static __attribute__((unused)) inline SRTP_PROTECTION_PROFILE *sk_SRTP_PROTECTION_PROFILE_pop(struct stack_st_SRTP_PROTECTION_PROFILE *sk) { return (SRTP_PROTECTION_PROFILE *)OPENSSL_sk_pop((OPENSSL_STACK *)sk); } static __attribute__((unused)) inline SRTP_PROTECTION_PROFILE *sk_SRTP_PROTECTION_PROFILE_shift(struct stack_st_SRTP_PROTECTION_PROFILE *sk) { return (SRTP_PROTECTION_PROFILE *)OPENSSL_sk_shift((OPENSSL_STACK *)sk); } static __attribute__((unused)) inline void sk_SRTP_PROTECTION_PROFILE_pop_free(struct stack_st_SRTP_PROTECTION_PROFILE *sk, sk_SRTP_PROTECTION_PROFILE_freefunc freefunc) { OPENSSL_sk_pop_free((OPENSSL_STACK *)sk, (OPENSSL_sk_freefunc)freefunc); } static __attribute__((unused)) inline int sk_SRTP_PROTECTION_PROFILE_insert(struct stack_st_SRTP_PROTECTION_PROFILE *sk, SRTP_PROTECTION_PROFILE *ptr, int idx) { return OPENSSL_sk_insert((OPENSSL_STACK *)sk, (const void *)ptr, idx); } static __attribute__((unused)) inline SRTP_PROTECTION_PROFILE *sk_SRTP_PROTECTION_PROFILE_set(struct stack_st_SRTP_PROTECTION_PROFILE *sk, int idx, SRTP_PROTECTION_PROFILE *ptr) { return (SRTP_PROTECTION_PROFILE *)OPENSSL_sk_set((OPENSSL_STACK *)sk, idx, (const void *)ptr); } static __attribute__((unused)) inline int sk_SRTP_PROTECTION_PROFILE_find(struct stack_st_SRTP_PROTECTION_PROFILE *sk, SRTP_PROTECTION_PROFILE *ptr) { return OPENSSL_sk_find((OPENSSL_STACK *)sk, (const void *)ptr); } static __attribute__((unused)) inline int sk_SRTP_PROTECTION_PROFILE_find_ex(struct stack_st_SRTP_PROTECTION_PROFILE *sk, SRTP_PROTECTION_PROFILE *ptr) { return OPENSSL_sk_find_ex((OPENSSL_STACK *)sk, (const void *)ptr); } static __attribute__((unused)) inline void sk_SRTP_PROTECTION_PROFILE_sort(struct stack_st_SRTP_PROTECTION_PROFILE *sk) { OPENSSL_sk_sort((OPENSSL_STACK *)sk); } static __attribute__((unused)) inline int sk_SRTP_PROTECTION_PROFILE_is_sorted(const struct stack_st_SRTP_PROTECTION_PROFILE *sk) { return OPENSSL_sk_is_sorted((const OPENSSL_STACK *)sk); } static __attribute__((unused)) inline struct stack_st_SRTP_PROTECTION_PROFILE * sk_SRTP_PROTECTION_PROFILE_dup(const struct stack_st_SRTP_PROTECTION_PROFILE *sk) { return (struct stack_st_SRTP_PROTECTION_PROFILE *)OPENSSL_sk_dup((const OPENSSL_STACK *)sk); } static __attribute__((unused)) inline struct stack_st_SRTP_PROTECTION_PROFILE *sk_SRTP_PROTECTION_PROFILE_deep_copy(const struct stack_st_SRTP_PROTECTION_PROFILE *sk, sk_SRTP_PROTECTION_PROFILE_copyfunc copyfunc, sk_SRTP_PROTECTION_PROFILE_freefunc freefunc) { return (struct stack_st_SRTP_PROTECTION_PROFILE *)OPENSSL_sk_deep_copy((const OPENSSL_STACK *)sk, (OPENSSL_sk_copyfunc)copyfunc, (OPENSSL_sk_freefunc)freefunc); } static __attribute__((unused)) inline sk_SRTP_PROTECTION_PROFILE_compfunc sk_SRTP_PROTECTION_PROFILE_set_cmp_func(struct stack_st_SRTP_PROTECTION_PROFILE *sk, sk_SRTP_PROTECTION_PROFILE_compfunc compare) { return (sk_SRTP_PROTECTION_PROFILE_compfunc)OPENSSL_sk_set_cmp_func((OPENSSL_STACK *)sk, (OPENSSL_sk_compfunc)compare); } | |
typedef int (*tls_session_ticket_ext_cb_fn)(SSL *s, const unsigned char *data, | |
int len, void *arg); | |
typedef int (*tls_session_secret_cb_fn)(SSL *s, void *secret, int *secret_len, | |
struct stack_st_SSL_CIPHER *peer_ciphers, | |
const SSL_CIPHER **cipher, void *arg); | |
# 262 "/usr/include/openssl/ssl.h" 3 4 | |
typedef int (*custom_ext_add_cb)(SSL *s, unsigned int ext_type, | |
const unsigned char **out, size_t *outlen, | |
int *al, void *add_arg); | |
typedef void (*custom_ext_free_cb)(SSL *s, unsigned int ext_type, | |
const unsigned char *out, void *add_arg); | |
typedef int (*custom_ext_parse_cb)(SSL *s, unsigned int ext_type, | |
const unsigned char *in, size_t inlen, | |
int *al, void *parse_arg); | |
typedef int (*SSL_custom_ext_add_cb_ex)(SSL *s, unsigned int ext_type, | |
unsigned int context, | |
const unsigned char **out, | |
size_t *outlen, X509 *x, | |
size_t chainidx, | |
int *al, void *add_arg); | |
typedef void (*SSL_custom_ext_free_cb_ex)(SSL *s, unsigned int ext_type, | |
unsigned int context, | |
const unsigned char *out, | |
void *add_arg); | |
typedef int (*SSL_custom_ext_parse_cb_ex)(SSL *s, unsigned int ext_type, | |
unsigned int context, | |
const unsigned char *in, | |
size_t inlen, X509 *x, | |
size_t chainidx, | |
int *al, void *parse_arg); | |
typedef int (*SSL_verify_cb)(int preverify_ok, X509_STORE_CTX *x509_ctx); | |
# 583 "/usr/include/openssl/ssl.h" 3 4 | |
unsigned long SSL_CTX_get_options(const SSL_CTX *ctx); | |
unsigned long SSL_get_options(const SSL *s); | |
unsigned long SSL_CTX_clear_options(SSL_CTX *ctx, unsigned long op); | |
unsigned long SSL_clear_options(SSL *s, unsigned long op); | |
unsigned long SSL_CTX_set_options(SSL_CTX *ctx, unsigned long op); | |
unsigned long SSL_set_options(SSL *s, unsigned long op); | |
# 626 "/usr/include/openssl/ssl.h" 3 4 | |
void SSL_CTX_set_msg_callback(SSL_CTX *ctx, | |
void (*cb) (int write_p, int version, | |
int content_type, const void *buf, | |
size_t len, SSL *ssl, void *arg)); | |
void SSL_set_msg_callback(SSL *ssl, | |
void (*cb) (int write_p, int version, | |
int content_type, const void *buf, | |
size_t len, SSL *ssl, void *arg)); | |
# 643 "/usr/include/openssl/ssl.h" 3 4 | |
int SSL_SRP_CTX_init(SSL *s); | |
int SSL_CTX_SRP_CTX_init(SSL_CTX *ctx); | |
int SSL_SRP_CTX_free(SSL *ctx); | |
int SSL_CTX_SRP_CTX_free(SSL_CTX *ctx); | |
int SSL_srp_server_param_with_username(SSL *s, int *ad); | |
int SRP_Calc_A_param(SSL *s); | |
# 669 "/usr/include/openssl/ssl.h" 3 4 | |
typedef int (*GEN_SESSION_CB) (SSL *ssl, unsigned char *id, | |
unsigned int *id_len); | |
# 683 "/usr/include/openssl/ssl.h" 3 4 | |
struct lhash_st_SSL_SESSION *SSL_CTX_sessions(SSL_CTX *ctx); | |
# 709 "/usr/include/openssl/ssl.h" 3 4 | |
void SSL_CTX_sess_set_new_cb(SSL_CTX *ctx, | |
int (*new_session_cb) (struct ssl_st *ssl, | |
SSL_SESSION *sess)); | |
int (*SSL_CTX_sess_get_new_cb(SSL_CTX *ctx)) (struct ssl_st *ssl, | |
SSL_SESSION *sess); | |
void SSL_CTX_sess_set_remove_cb(SSL_CTX *ctx, | |
void (*remove_session_cb) (struct ssl_ctx_st | |
*ctx, | |
SSL_SESSION *sess)); | |
void (*SSL_CTX_sess_get_remove_cb(SSL_CTX *ctx)) (struct ssl_ctx_st *ctx, | |
SSL_SESSION *sess); | |
void SSL_CTX_sess_set_get_cb(SSL_CTX *ctx, | |
SSL_SESSION *(*get_session_cb) (struct ssl_st | |
*ssl, | |
const unsigned char | |
*data, int len, | |
int *copy)); | |
SSL_SESSION *(*SSL_CTX_sess_get_get_cb(SSL_CTX *ctx)) (struct ssl_st *ssl, | |
const unsigned char *data, | |
int len, int *copy); | |
void SSL_CTX_set_info_callback(SSL_CTX *ctx, | |
void (*cb) (const SSL *ssl, int type, int val)); | |
void (*SSL_CTX_get_info_callback(SSL_CTX *ctx)) (const SSL *ssl, int type, | |
int val); | |
void SSL_CTX_set_client_cert_cb(SSL_CTX *ctx, | |
int (*client_cert_cb) (SSL *ssl, X509 **x509, | |
EVP_PKEY **pkey)); | |
int (*SSL_CTX_get_client_cert_cb(SSL_CTX *ctx)) (SSL *ssl, X509 **x509, | |
EVP_PKEY **pkey); | |
int SSL_CTX_set_client_cert_engine(SSL_CTX *ctx, ENGINE *e); | |
void SSL_CTX_set_cookie_generate_cb(SSL_CTX *ctx, | |
int (*app_gen_cookie_cb) (SSL *ssl, | |
unsigned char | |
*cookie, | |
unsigned int | |
*cookie_len)); | |
void SSL_CTX_set_cookie_verify_cb(SSL_CTX *ctx, | |
int (*app_verify_cookie_cb) (SSL *ssl, | |
const unsigned | |
char *cookie, | |
unsigned int | |
cookie_len)); | |
void SSL_CTX_set_stateless_cookie_generate_cb( | |
SSL_CTX *ctx, | |
int (*gen_stateless_cookie_cb) (SSL *ssl, | |
unsigned char *cookie, | |
size_t *cookie_len)); | |
void SSL_CTX_set_stateless_cookie_verify_cb( | |
SSL_CTX *ctx, | |
int (*verify_stateless_cookie_cb) (SSL *ssl, | |
const unsigned char *cookie, | |
size_t cookie_len)); | |
typedef int (*SSL_CTX_npn_advertised_cb_func)(SSL *ssl, | |
const unsigned char **out, | |
unsigned int *outlen, | |
void *arg); | |
void SSL_CTX_set_next_protos_advertised_cb(SSL_CTX *s, | |
SSL_CTX_npn_advertised_cb_func cb, | |
void *arg); | |
typedef int (*SSL_CTX_npn_select_cb_func)(SSL *s, | |
unsigned char **out, | |
unsigned char *outlen, | |
const unsigned char *in, | |
unsigned int inlen, | |
void *arg); | |
void SSL_CTX_set_next_proto_select_cb(SSL_CTX *s, | |
SSL_CTX_npn_select_cb_func cb, | |
void *arg); | |
void SSL_get0_next_proto_negotiated(const SSL *s, const unsigned char **data, | |
unsigned *len); | |
int SSL_select_next_proto(unsigned char **out, unsigned char *outlen, | |
const unsigned char *in, unsigned int inlen, | |
const unsigned char *client, | |
unsigned int client_len); | |
int SSL_CTX_set_alpn_protos(SSL_CTX *ctx, const unsigned char *protos, | |
unsigned int protos_len); | |
int SSL_set_alpn_protos(SSL *ssl, const unsigned char *protos, | |
unsigned int protos_len); | |
typedef int (*SSL_CTX_alpn_select_cb_func)(SSL *ssl, | |
const unsigned char **out, | |
unsigned char *outlen, | |
const unsigned char *in, | |
unsigned int inlen, | |
void *arg); | |
void SSL_CTX_set_alpn_select_cb(SSL_CTX *ctx, | |
SSL_CTX_alpn_select_cb_func cb, | |
void *arg); | |
void SSL_get0_alpn_selected(const SSL *ssl, const unsigned char **data, | |
unsigned int *len); | |
# 823 "/usr/include/openssl/ssl.h" 3 4 | |
typedef unsigned int (*SSL_psk_client_cb_func)(SSL *ssl, | |
const char *hint, | |
char *identity, | |
unsigned int max_identity_len, | |
unsigned char *psk, | |
unsigned int max_psk_len); | |
void SSL_CTX_set_psk_client_callback(SSL_CTX *ctx, SSL_psk_client_cb_func cb); | |
void SSL_set_psk_client_callback(SSL *ssl, SSL_psk_client_cb_func cb); | |
typedef unsigned int (*SSL_psk_server_cb_func)(SSL *ssl, | |
const char *identity, | |
unsigned char *psk, | |
unsigned int max_psk_len); | |
void SSL_CTX_set_psk_server_callback(SSL_CTX *ctx, SSL_psk_server_cb_func cb); | |
void SSL_set_psk_server_callback(SSL *ssl, SSL_psk_server_cb_func cb); | |
int SSL_CTX_use_psk_identity_hint(SSL_CTX *ctx, const char *identity_hint); | |
int SSL_use_psk_identity_hint(SSL *s, const char *identity_hint); | |
const char *SSL_get_psk_identity_hint(const SSL *s); | |
const char *SSL_get_psk_identity(const SSL *s); | |
typedef int (*SSL_psk_find_session_cb_func)(SSL *ssl, | |
const unsigned char *identity, | |
size_t identity_len, | |
SSL_SESSION **sess); | |
typedef int (*SSL_psk_use_session_cb_func)(SSL *ssl, const EVP_MD *md, | |
const unsigned char **id, | |
size_t *idlen, | |
SSL_SESSION **sess); | |
void SSL_set_psk_find_session_callback(SSL *s, SSL_psk_find_session_cb_func cb); | |
void SSL_CTX_set_psk_find_session_callback(SSL_CTX *ctx, | |
SSL_psk_find_session_cb_func cb); | |
void SSL_set_psk_use_session_callback(SSL *s, SSL_psk_use_session_cb_func cb); | |
void SSL_CTX_set_psk_use_session_callback(SSL_CTX *ctx, | |
SSL_psk_use_session_cb_func cb); | |
int SSL_CTX_has_client_custom_ext(const SSL_CTX *ctx, | |
unsigned int ext_type); | |
int SSL_CTX_add_client_custom_ext(SSL_CTX *ctx, | |
unsigned int ext_type, | |
custom_ext_add_cb add_cb, | |
custom_ext_free_cb free_cb, | |
void *add_arg, | |
custom_ext_parse_cb parse_cb, | |
void *parse_arg); | |
int SSL_CTX_add_server_custom_ext(SSL_CTX *ctx, | |
unsigned int ext_type, | |
custom_ext_add_cb add_cb, | |
custom_ext_free_cb free_cb, | |
void *add_arg, | |
custom_ext_parse_cb parse_cb, | |
void *parse_arg); | |
int SSL_CTX_add_custom_ext(SSL_CTX *ctx, unsigned int ext_type, | |
unsigned int context, | |
SSL_custom_ext_add_cb_ex add_cb, | |
SSL_custom_ext_free_cb_ex free_cb, | |
void *add_arg, | |
SSL_custom_ext_parse_cb_ex parse_cb, | |
void *parse_arg); | |
int SSL_extension_supported(unsigned int ext_type); | |
# 916 "/usr/include/openssl/ssl.h" 3 4 | |
typedef void (*SSL_CTX_keylog_cb_func)(const SSL *ssl, const char *line); | |
void SSL_CTX_set_keylog_callback(SSL_CTX *ctx, SSL_CTX_keylog_cb_func cb); | |
SSL_CTX_keylog_cb_func SSL_CTX_get_keylog_callback(const SSL_CTX *ctx); | |
int SSL_CTX_set_max_early_data(SSL_CTX *ctx, uint32_t max_early_data); | |
uint32_t SSL_CTX_get_max_early_data(const SSL_CTX *ctx); | |
int SSL_set_max_early_data(SSL *s, uint32_t max_early_data); | |
uint32_t SSL_get_max_early_data(const SSL *s); | |
int SSL_CTX_set_recv_max_early_data(SSL_CTX *ctx, uint32_t recv_max_early_data); | |
uint32_t SSL_CTX_get_recv_max_early_data(const SSL_CTX *ctx); | |
int SSL_set_recv_max_early_data(SSL *s, uint32_t recv_max_early_data); | |
uint32_t SSL_get_recv_max_early_data(const SSL *s); | |
# 1 "/usr/include/openssl/ssl2.h" 1 3 4 | |
# 945 "/usr/include/openssl/ssl.h" 2 3 4 | |
# 1 "/usr/include/openssl/ssl3.h" 1 3 4 | |
# 17 "/usr/include/openssl/ssl3.h" 3 4 | |
# 1 "/usr/include/openssl/ssl.h" 1 3 4 | |
# 18 "/usr/include/openssl/ssl3.h" 2 3 4 | |
# 946 "/usr/include/openssl/ssl.h" 2 3 4 | |
# 1 "/usr/include/openssl/tls1.h" 1 3 4 | |
# 211 "/usr/include/openssl/tls1.h" 3 4 | |
int SSL_CTX_set_tlsext_max_fragment_length(SSL_CTX *ctx, uint8_t mode); | |
int SSL_set_tlsext_max_fragment_length(SSL *ssl, uint8_t mode); | |
const char *SSL_get_servername(const SSL *s, const int type); | |
int SSL_get_servername_type(const SSL *s); | |
int SSL_export_keying_material(SSL *s, unsigned char *out, size_t olen, | |
const char *label, size_t llen, | |
const unsigned char *context, | |
size_t contextlen, int use_context); | |
# 237 "/usr/include/openssl/tls1.h" 3 4 | |
int SSL_export_keying_material_early(SSL *s, unsigned char *out, | |
size_t olen, const char *label, | |
size_t llen, | |
const unsigned char *context, | |
size_t contextlen); | |
int SSL_get_peer_signature_type_nid(const SSL *s, int *pnid); | |
int SSL_get_signature_type_nid(const SSL *s, int *pnid); | |
int SSL_get_sigalgs(SSL *s, int idx, | |
int *psign, int *phash, int *psignandhash, | |
unsigned char *rsig, unsigned char *rhash); | |
int SSL_get_shared_sigalgs(SSL *s, int idx, | |
int *psign, int *phash, int *psignandhash, | |
unsigned char *rsig, unsigned char *rhash); | |
int SSL_check_chain(SSL *s, X509 *x, EVP_PKEY *pk, struct stack_st_X509 *chain); | |
# 1229 "/usr/include/openssl/tls1.h" 3 4 | |
struct tls_session_ticket_ext_st { | |
unsigned short length; | |
void *data; | |
}; | |
# 947 "/usr/include/openssl/ssl.h" 2 3 4 | |
# 1 "/usr/include/openssl/dtls1.h" 1 3 4 | |
# 948 "/usr/include/openssl/ssl.h" 2 3 4 | |
# 1 "/usr/include/openssl/srtp.h" 1 3 4 | |
# 38 "/usr/include/openssl/srtp.h" 3 4 | |
int SSL_CTX_set_tlsext_use_srtp(SSL_CTX *ctx, const char *profiles); | |
int SSL_set_tlsext_use_srtp(SSL *ssl, const char *profiles); | |
struct stack_st_SRTP_PROTECTION_PROFILE *SSL_get_srtp_profiles(SSL *ssl); | |
SRTP_PROTECTION_PROFILE *SSL_get_selected_srtp_profile(SSL *s); | |
# 949 "/usr/include/openssl/ssl.h" 2 3 4 | |
# 958 "/usr/include/openssl/ssl.h" 3 4 | |
struct stack_st_SSL_CIPHER; typedef int (*sk_SSL_CIPHER_compfunc)(const SSL_CIPHER * const *a, const SSL_CIPHER *const *b); typedef void (*sk_SSL_CIPHER_freefunc)(SSL_CIPHER *a); typedef SSL_CIPHER * (*sk_SSL_CIPHER_copyfunc)(const SSL_CIPHER *a); static __attribute__((unused)) inline int sk_SSL_CIPHER_num(const struct stack_st_SSL_CIPHER *sk) { return OPENSSL_sk_num((const OPENSSL_STACK *)sk); } static __attribute__((unused)) inline const SSL_CIPHER *sk_SSL_CIPHER_value(const struct stack_st_SSL_CIPHER *sk, int idx) { return (const SSL_CIPHER *)OPENSSL_sk_value((const OPENSSL_STACK *)sk, idx); } static __attribute__((unused)) inline struct stack_st_SSL_CIPHER *sk_SSL_CIPHER_new(sk_SSL_CIPHER_compfunc compare) { return (struct stack_st_SSL_CIPHER *)OPENSSL_sk_new((OPENSSL_sk_compfunc)compare); } static __attribute__((unused)) inline struct stack_st_SSL_CIPHER *sk_SSL_CIPHER_new_null(void) { return (struct stack_st_SSL_CIPHER *)OPENSSL_sk_new_null(); } static __attribute__((unused)) inline struct stack_st_SSL_CIPHER *sk_SSL_CIPHER_new_reserve(sk_SSL_CIPHER_compfunc compare, int n) { return (struct stack_st_SSL_CIPHER *)OPENSSL_sk_new_reserve((OPENSSL_sk_compfunc)compare, n); } static __attribute__((unused)) inline int sk_SSL_CIPHER_reserve(struct stack_st_SSL_CIPHER *sk, int n) { return OPENSSL_sk_reserve((OPENSSL_STACK *)sk, n); } static __attribute__((unused)) inline void sk_SSL_CIPHER_free(struct stack_st_SSL_CIPHER *sk) { OPENSSL_sk_free((OPENSSL_STACK *)sk); } static __attribute__((unused)) inline void sk_SSL_CIPHER_zero(struct stack_st_SSL_CIPHER *sk) { OPENSSL_sk_zero((OPENSSL_STACK *)sk); } static __attribute__((unused)) inline const SSL_CIPHER *sk_SSL_CIPHER_delete(struct stack_st_SSL_CIPHER *sk, int i) { return (const SSL_CIPHER *)OPENSSL_sk_delete((OPENSSL_STACK *)sk, i); } static __attribute__((unused)) inline const SSL_CIPHER *sk_SSL_CIPHER_delete_ptr(struct stack_st_SSL_CIPHER *sk, const SSL_CIPHER *ptr) { return (const SSL_CIPHER *)OPENSSL_sk_delete_ptr((OPENSSL_STACK *)sk, (const void *)ptr); } static __attribute__((unused)) inline int sk_SSL_CIPHER_push(struct stack_st_SSL_CIPHER *sk, const SSL_CIPHER *ptr) { return OPENSSL_sk_push((OPENSSL_STACK *)sk, (const void *)ptr); } static __attribute__((unused)) inline int sk_SSL_CIPHER_unshift(struct stack_st_SSL_CIPHER *sk, const SSL_CIPHER *ptr) { return OPENSSL_sk_unshift((OPENSSL_STACK *)sk, (const void *)ptr); } static __attribute__((unused)) inline const SSL_CIPHER *sk_SSL_CIPHER_pop(struct stack_st_SSL_CIPHER *sk) { return (const SSL_CIPHER *)OPENSSL_sk_pop((OPENSSL_STACK *)sk); } static __attribute__((unused)) inline const SSL_CIPHER *sk_SSL_CIPHER_shift(struct stack_st_SSL_CIPHER *sk) { return (const SSL_CIPHER *)OPENSSL_sk_shift((OPENSSL_STACK *)sk); } static __attribute__((unused)) inline void sk_SSL_CIPHER_pop_free(struct stack_st_SSL_CIPHER *sk, sk_SSL_CIPHER_freefunc freefunc) { OPENSSL_sk_pop_free((OPENSSL_STACK *)sk, (OPENSSL_sk_freefunc)freefunc); } static __attribute__((unused)) inline int sk_SSL_CIPHER_insert(struct stack_st_SSL_CIPHER *sk, const SSL_CIPHER *ptr, int idx) { return OPENSSL_sk_insert((OPENSSL_STACK *)sk, (const void *)ptr, idx); } static __attribute__((unused)) inline const SSL_CIPHER *sk_SSL_CIPHER_set(struct stack_st_SSL_CIPHER *sk, int idx, const SSL_CIPHER *ptr) { return (const SSL_CIPHER *)OPENSSL_sk_set((OPENSSL_STACK *)sk, idx, (const void *)ptr); } static __attribute__((unused)) inline int sk_SSL_CIPHER_find(struct stack_st_SSL_CIPHER *sk, const SSL_CIPHER *ptr) { return OPENSSL_sk_find((OPENSSL_STACK *)sk, (const void *)ptr); } static __attribute__((unused)) inline int sk_SSL_CIPHER_find_ex(struct stack_st_SSL_CIPHER *sk, const SSL_CIPHER *ptr) { return OPENSSL_sk_find_ex((OPENSSL_STACK *)sk, (const void *)ptr); } static __attribute__((unused)) inline void sk_SSL_CIPHER_sort(struct stack_st_SSL_CIPHER *sk) { OPENSSL_sk_sort((OPENSSL_STACK *)sk); } static __attribute__((unused)) inline int sk_SSL_CIPHER_is_sorted(const struct stack_st_SSL_CIPHER *sk) { return OPENSSL_sk_is_sorted((const OPENSSL_STACK *)sk); } static __attribute__((unused)) inline struct stack_st_SSL_CIPHER * sk_SSL_CIPHER_dup(const struct stack_st_SSL_CIPHER *sk) { return (struct stack_st_SSL_CIPHER *)OPENSSL_sk_dup((const OPENSSL_STACK *)sk); } static __attribute__((unused)) inline struct stack_st_SSL_CIPHER *sk_SSL_CIPHER_deep_copy(const struct stack_st_SSL_CIPHER *sk, sk_SSL_CIPHER_copyfunc copyfunc, sk_SSL_CIPHER_freefunc freefunc) { return (struct stack_st_SSL_CIPHER *)OPENSSL_sk_deep_copy((const OPENSSL_STACK *)sk, (OPENSSL_sk_copyfunc)copyfunc, (OPENSSL_sk_freefunc)freefunc); } static __attribute__((unused)) inline sk_SSL_CIPHER_compfunc sk_SSL_CIPHER_set_cmp_func(struct stack_st_SSL_CIPHER *sk, sk_SSL_CIPHER_compfunc compare) { return (sk_SSL_CIPHER_compfunc)OPENSSL_sk_set_cmp_func((OPENSSL_STACK *)sk, (OPENSSL_sk_compfunc)compare); } | |
struct stack_st_SSL_COMP; typedef int (*sk_SSL_COMP_compfunc)(const SSL_COMP * const *a, const SSL_COMP *const *b); typedef void (*sk_SSL_COMP_freefunc)(SSL_COMP *a); typedef SSL_COMP * (*sk_SSL_COMP_copyfunc)(const SSL_COMP *a); static __attribute__((unused)) inline int sk_SSL_COMP_num(const struct stack_st_SSL_COMP *sk) { return OPENSSL_sk_num((const OPENSSL_STACK *)sk); } static __attribute__((unused)) inline SSL_COMP *sk_SSL_COMP_value(const struct stack_st_SSL_COMP *sk, int idx) { return (SSL_COMP *)OPENSSL_sk_value((const OPENSSL_STACK *)sk, idx); } static __attribute__((unused)) inline struct stack_st_SSL_COMP *sk_SSL_COMP_new(sk_SSL_COMP_compfunc compare) { return (struct stack_st_SSL_COMP *)OPENSSL_sk_new((OPENSSL_sk_compfunc)compare); } static __attribute__((unused)) inline struct stack_st_SSL_COMP *sk_SSL_COMP_new_null(void) { return (struct stack_st_SSL_COMP *)OPENSSL_sk_new_null(); } static __attribute__((unused)) inline struct stack_st_SSL_COMP *sk_SSL_COMP_new_reserve(sk_SSL_COMP_compfunc compare, int n) { return (struct stack_st_SSL_COMP *)OPENSSL_sk_new_reserve((OPENSSL_sk_compfunc)compare, n); } static __attribute__((unused)) inline int sk_SSL_COMP_reserve(struct stack_st_SSL_COMP *sk, int n) { return OPENSSL_sk_reserve((OPENSSL_STACK *)sk, n); } static __attribute__((unused)) inline void sk_SSL_COMP_free(struct stack_st_SSL_COMP *sk) { OPENSSL_sk_free((OPENSSL_STACK *)sk); } static __attribute__((unused)) inline void sk_SSL_COMP_zero(struct stack_st_SSL_COMP *sk) { OPENSSL_sk_zero((OPENSSL_STACK *)sk); } static __attribute__((unused)) inline SSL_COMP *sk_SSL_COMP_delete(struct stack_st_SSL_COMP *sk, int i) { return (SSL_COMP *)OPENSSL_sk_delete((OPENSSL_STACK *)sk, i); } static __attribute__((unused)) inline SSL_COMP *sk_SSL_COMP_delete_ptr(struct stack_st_SSL_COMP *sk, SSL_COMP *ptr) { return (SSL_COMP *)OPENSSL_sk_delete_ptr((OPENSSL_STACK *)sk, (const void *)ptr); } static __attribute__((unused)) inline int sk_SSL_COMP_push(struct stack_st_SSL_COMP *sk, SSL_COMP *ptr) { return OPENSSL_sk_push((OPENSSL_STACK *)sk, (const void *)ptr); } static __attribute__((unused)) inline int sk_SSL_COMP_unshift(struct stack_st_SSL_COMP *sk, SSL_COMP *ptr) { return OPENSSL_sk_unshift((OPENSSL_STACK *)sk, (const void *)ptr); } static __attribute__((unused)) inline SSL_COMP *sk_SSL_COMP_pop(struct stack_st_SSL_COMP *sk) { return (SSL_COMP *)OPENSSL_sk_pop((OPENSSL_STACK *)sk); } static __attribute__((unused)) inline SSL_COMP *sk_SSL_COMP_shift(struct stack_st_SSL_COMP *sk) { return (SSL_COMP *)OPENSSL_sk_shift((OPENSSL_STACK *)sk); } static __attribute__((unused)) inline void sk_SSL_COMP_pop_free(struct stack_st_SSL_COMP *sk, sk_SSL_COMP_freefunc freefunc) { OPENSSL_sk_pop_free((OPENSSL_STACK *)sk, (OPENSSL_sk_freefunc)freefunc); } static __attribute__((unused)) inline int sk_SSL_COMP_insert(struct stack_st_SSL_COMP *sk, SSL_COMP *ptr, int idx) { return OPENSSL_sk_insert((OPENSSL_STACK *)sk, (const void *)ptr, idx); } static __attribute__((unused)) inline SSL_COMP *sk_SSL_COMP_set(struct stack_st_SSL_COMP *sk, int idx, SSL_COMP *ptr) { return (SSL_COMP *)OPENSSL_sk_set((OPENSSL_STACK *)sk, idx, (const void *)ptr); } static __attribute__((unused)) inline int sk_SSL_COMP_find(struct stack_st_SSL_COMP *sk, SSL_COMP *ptr) { return OPENSSL_sk_find((OPENSSL_STACK *)sk, (const void *)ptr); } static __attribute__((unused)) inline int sk_SSL_COMP_find_ex(struct stack_st_SSL_COMP *sk, SSL_COMP *ptr) { return OPENSSL_sk_find_ex((OPENSSL_STACK *)sk, (const void *)ptr); } static __attribute__((unused)) inline void sk_SSL_COMP_sort(struct stack_st_SSL_COMP *sk) { OPENSSL_sk_sort((OPENSSL_STACK *)sk); } static __attribute__((unused)) inline int sk_SSL_COMP_is_sorted(const struct stack_st_SSL_COMP *sk) { return OPENSSL_sk_is_sorted((const OPENSSL_STACK *)sk); } static __attribute__((unused)) inline struct stack_st_SSL_COMP * sk_SSL_COMP_dup(const struct stack_st_SSL_COMP *sk) { return (struct stack_st_SSL_COMP *)OPENSSL_sk_dup((const OPENSSL_STACK *)sk); } static __attribute__((unused)) inline struct stack_st_SSL_COMP *sk_SSL_COMP_deep_copy(const struct stack_st_SSL_COMP *sk, sk_SSL_COMP_copyfunc copyfunc, sk_SSL_COMP_freefunc freefunc) { return (struct stack_st_SSL_COMP *)OPENSSL_sk_deep_copy((const OPENSSL_STACK *)sk, (OPENSSL_sk_copyfunc)copyfunc, (OPENSSL_sk_freefunc)freefunc); } static __attribute__((unused)) inline sk_SSL_COMP_compfunc sk_SSL_COMP_set_cmp_func(struct stack_st_SSL_COMP *sk, sk_SSL_COMP_compfunc compare) { return (sk_SSL_COMP_compfunc)OPENSSL_sk_set_cmp_func((OPENSSL_STACK *)sk, (OPENSSL_sk_compfunc)compare); } | |
# 970 "/usr/include/openssl/ssl.h" 3 4 | |
void SSL_set_debug(SSL *s, int debug) __attribute__ ((deprecated)); | |
# 991 "/usr/include/openssl/ssl.h" 3 4 | |
typedef enum { | |
TLS_ST_BEFORE, | |
TLS_ST_OK, | |
DTLS_ST_CR_HELLO_VERIFY_REQUEST, | |
TLS_ST_CR_SRVR_HELLO, | |
TLS_ST_CR_CERT, | |
TLS_ST_CR_CERT_STATUS, | |
TLS_ST_CR_KEY_EXCH, | |
TLS_ST_CR_CERT_REQ, | |
TLS_ST_CR_SRVR_DONE, | |
TLS_ST_CR_SESSION_TICKET, | |
TLS_ST_CR_CHANGE, | |
TLS_ST_CR_FINISHED, | |
TLS_ST_CW_CLNT_HELLO, | |
TLS_ST_CW_CERT, | |
TLS_ST_CW_KEY_EXCH, | |
TLS_ST_CW_CERT_VRFY, | |
TLS_ST_CW_CHANGE, | |
TLS_ST_CW_NEXT_PROTO, | |
TLS_ST_CW_FINISHED, | |
TLS_ST_SW_HELLO_REQ, | |
TLS_ST_SR_CLNT_HELLO, | |
DTLS_ST_SW_HELLO_VERIFY_REQUEST, | |
TLS_ST_SW_SRVR_HELLO, | |
TLS_ST_SW_CERT, | |
TLS_ST_SW_KEY_EXCH, | |
TLS_ST_SW_CERT_REQ, | |
TLS_ST_SW_SRVR_DONE, | |
TLS_ST_SR_CERT, | |
TLS_ST_SR_KEY_EXCH, | |
TLS_ST_SR_CERT_VRFY, | |
TLS_ST_SR_NEXT_PROTO, | |
TLS_ST_SR_CHANGE, | |
TLS_ST_SR_FINISHED, | |
TLS_ST_SW_SESSION_TICKET, | |
TLS_ST_SW_CERT_STATUS, | |
TLS_ST_SW_CHANGE, | |
TLS_ST_SW_FINISHED, | |
TLS_ST_SW_ENCRYPTED_EXTENSIONS, | |
TLS_ST_CR_ENCRYPTED_EXTENSIONS, | |
TLS_ST_CR_CERT_VRFY, | |
TLS_ST_SW_CERT_VRFY, | |
TLS_ST_CR_HELLO_REQ, | |
TLS_ST_SW_KEY_UPDATE, | |
TLS_ST_CW_KEY_UPDATE, | |
TLS_ST_SR_KEY_UPDATE, | |
TLS_ST_CR_KEY_UPDATE, | |
TLS_ST_EARLY_DATA, | |
TLS_ST_PENDING_EARLY_DATA_END, | |
TLS_ST_CW_END_OF_EARLY_DATA, | |
TLS_ST_SR_END_OF_EARLY_DATA | |
} OSSL_HANDSHAKE_STATE; | |
# 1074 "/usr/include/openssl/ssl.h" 3 4 | |
int SSL_in_init(const SSL *s); | |
int SSL_in_before(const SSL *s); | |
int SSL_is_init_finished(const SSL *s); | |
# 1092 "/usr/include/openssl/ssl.h" 3 4 | |
size_t SSL_get_finished(const SSL *s, void *buf, size_t count); | |
size_t SSL_get_peer_finished(const SSL *s, void *buf, size_t count); | |
# 1127 "/usr/include/openssl/ssl.h" 3 4 | |
SSL_SESSION *PEM_read_bio_SSL_SESSION(BIO *bp, SSL_SESSION **x, pem_password_cb *cb, void *u); SSL_SESSION *PEM_read_SSL_SESSION(FILE *fp, SSL_SESSION **x, pem_password_cb *cb, void *u); int PEM_write_bio_SSL_SESSION(BIO *bp, SSL_SESSION *x); int PEM_write_SSL_SESSION(FILE *fp, SSL_SESSION *x); | |
# 1495 "/usr/include/openssl/ssl.h" 3 4 | |
const BIO_METHOD *BIO_f_ssl(void); | |
BIO *BIO_new_ssl(SSL_CTX *ctx, int client); | |
BIO *BIO_new_ssl_connect(SSL_CTX *ctx); | |
BIO *BIO_new_buffer_ssl_connect(SSL_CTX *ctx); | |
int BIO_ssl_copy_session_id(BIO *to, BIO *from); | |
void BIO_ssl_shutdown(BIO *ssl_bio); | |
int SSL_CTX_set_cipher_list(SSL_CTX *, const char *str); | |
SSL_CTX *SSL_CTX_new(const SSL_METHOD *meth); | |
int SSL_CTX_up_ref(SSL_CTX *ctx); | |
void SSL_CTX_free(SSL_CTX *); | |
long SSL_CTX_set_timeout(SSL_CTX *ctx, long t); | |
long SSL_CTX_get_timeout(const SSL_CTX *ctx); | |
X509_STORE *SSL_CTX_get_cert_store(const SSL_CTX *); | |
void SSL_CTX_set_cert_store(SSL_CTX *, X509_STORE *); | |
void SSL_CTX_set1_cert_store(SSL_CTX *, X509_STORE *); | |
int SSL_want(const SSL *s); | |
int SSL_clear(SSL *s); | |
void SSL_CTX_flush_sessions(SSL_CTX *ctx, long tm); | |
const SSL_CIPHER *SSL_get_current_cipher(const SSL *s); | |
const SSL_CIPHER *SSL_get_pending_cipher(const SSL *s); | |
int SSL_CIPHER_get_bits(const SSL_CIPHER *c, int *alg_bits); | |
const char *SSL_CIPHER_get_version(const SSL_CIPHER *c); | |
const char *SSL_CIPHER_get_name(const SSL_CIPHER *c); | |
const char *SSL_CIPHER_standard_name(const SSL_CIPHER *c); | |
const char *OPENSSL_cipher_name(const char *rfc_name); | |
uint32_t SSL_CIPHER_get_id(const SSL_CIPHER *c); | |
uint16_t SSL_CIPHER_get_protocol_id(const SSL_CIPHER *c); | |
int SSL_CIPHER_get_kx_nid(const SSL_CIPHER *c); | |
int SSL_CIPHER_get_auth_nid(const SSL_CIPHER *c); | |
const EVP_MD *SSL_CIPHER_get_handshake_digest(const SSL_CIPHER *c); | |
int SSL_CIPHER_is_aead(const SSL_CIPHER *c); | |
int SSL_get_fd(const SSL *s); | |
int SSL_get_rfd(const SSL *s); | |
int SSL_get_wfd(const SSL *s); | |
const char *SSL_get_cipher_list(const SSL *s, int n); | |
char *SSL_get_shared_ciphers(const SSL *s, char *buf, int size); | |
int SSL_get_read_ahead(const SSL *s); | |
int SSL_pending(const SSL *s); | |
int SSL_has_pending(const SSL *s); | |
int SSL_set_fd(SSL *s, int fd); | |
int SSL_set_rfd(SSL *s, int fd); | |
int SSL_set_wfd(SSL *s, int fd); | |
void SSL_set0_rbio(SSL *s, BIO *rbio); | |
void SSL_set0_wbio(SSL *s, BIO *wbio); | |
void SSL_set_bio(SSL *s, BIO *rbio, BIO *wbio); | |
BIO *SSL_get_rbio(const SSL *s); | |
BIO *SSL_get_wbio(const SSL *s); | |
int SSL_set_cipher_list(SSL *s, const char *str); | |
int SSL_CTX_set_ciphersuites(SSL_CTX *ctx, const char *str); | |
int SSL_set_ciphersuites(SSL *s, const char *str); | |
void SSL_set_read_ahead(SSL *s, int yes); | |
int SSL_get_verify_mode(const SSL *s); | |
int SSL_get_verify_depth(const SSL *s); | |
SSL_verify_cb SSL_get_verify_callback(const SSL *s); | |
void SSL_set_verify(SSL *s, int mode, SSL_verify_cb callback); | |
void SSL_set_verify_depth(SSL *s, int depth); | |
void SSL_set_cert_cb(SSL *s, int (*cb) (SSL *ssl, void *arg), void *arg); | |
int SSL_use_RSAPrivateKey(SSL *ssl, RSA *rsa); | |
int SSL_use_RSAPrivateKey_ASN1(SSL *ssl, const unsigned char *d, | |
long len); | |
int SSL_use_PrivateKey(SSL *ssl, EVP_PKEY *pkey); | |
int SSL_use_PrivateKey_ASN1(int pk, SSL *ssl, const unsigned char *d, | |
long len); | |
int SSL_use_certificate(SSL *ssl, X509 *x); | |
int SSL_use_certificate_ASN1(SSL *ssl, const unsigned char *d, int len); | |
int SSL_use_cert_and_key(SSL *ssl, X509 *x509, EVP_PKEY *privatekey, | |
struct stack_st_X509 *chain, int override); | |
int SSL_CTX_use_serverinfo(SSL_CTX *ctx, const unsigned char *serverinfo, | |
size_t serverinfo_length); | |
int SSL_CTX_use_serverinfo_ex(SSL_CTX *ctx, unsigned int version, | |
const unsigned char *serverinfo, | |
size_t serverinfo_length); | |
int SSL_CTX_use_serverinfo_file(SSL_CTX *ctx, const char *file); | |
int SSL_use_RSAPrivateKey_file(SSL *ssl, const char *file, int type); | |
int SSL_use_PrivateKey_file(SSL *ssl, const char *file, int type); | |
int SSL_use_certificate_file(SSL *ssl, const char *file, int type); | |
int SSL_CTX_use_RSAPrivateKey_file(SSL_CTX *ctx, const char *file, | |
int type); | |
int SSL_CTX_use_PrivateKey_file(SSL_CTX *ctx, const char *file, | |
int type); | |
int SSL_CTX_use_certificate_file(SSL_CTX *ctx, const char *file, | |
int type); | |
int SSL_CTX_use_certificate_chain_file(SSL_CTX *ctx, const char *file); | |
int SSL_use_certificate_chain_file(SSL *ssl, const char *file); | |
struct stack_st_X509_NAME *SSL_load_client_CA_file(const char *file); | |
int SSL_add_file_cert_subjects_to_stack(struct stack_st_X509_NAME *stackCAs, | |
const char *file); | |
int SSL_add_dir_cert_subjects_to_stack(struct stack_st_X509_NAME *stackCAs, | |
const char *dir); | |
const char *SSL_state_string(const SSL *s); | |
const char *SSL_rstate_string(const SSL *s); | |
const char *SSL_state_string_long(const SSL *s); | |
const char *SSL_rstate_string_long(const SSL *s); | |
long SSL_SESSION_get_time(const SSL_SESSION *s); | |
long SSL_SESSION_set_time(SSL_SESSION *s, long t); | |
long SSL_SESSION_get_timeout(const SSL_SESSION *s); | |
long SSL_SESSION_set_timeout(SSL_SESSION *s, long t); | |
int SSL_SESSION_get_protocol_version(const SSL_SESSION *s); | |
int SSL_SESSION_set_protocol_version(SSL_SESSION *s, int version); | |
const char *SSL_SESSION_get0_hostname(const SSL_SESSION *s); | |
int SSL_SESSION_set1_hostname(SSL_SESSION *s, const char *hostname); | |
void SSL_SESSION_get0_alpn_selected(const SSL_SESSION *s, | |
const unsigned char **alpn, | |
size_t *len); | |
int SSL_SESSION_set1_alpn_selected(SSL_SESSION *s, | |
const unsigned char *alpn, | |
size_t len); | |
const SSL_CIPHER *SSL_SESSION_get0_cipher(const SSL_SESSION *s); | |
int SSL_SESSION_set_cipher(SSL_SESSION *s, const SSL_CIPHER *cipher); | |
int SSL_SESSION_has_ticket(const SSL_SESSION *s); | |
unsigned long SSL_SESSION_get_ticket_lifetime_hint(const SSL_SESSION *s); | |
void SSL_SESSION_get0_ticket(const SSL_SESSION *s, const unsigned char **tick, | |
size_t *len); | |
uint32_t SSL_SESSION_get_max_early_data(const SSL_SESSION *s); | |
int SSL_SESSION_set_max_early_data(SSL_SESSION *s, | |
uint32_t max_early_data); | |
int SSL_copy_session_id(SSL *to, const SSL *from); | |
X509 *SSL_SESSION_get0_peer(SSL_SESSION *s); | |
int SSL_SESSION_set1_id_context(SSL_SESSION *s, | |
const unsigned char *sid_ctx, | |
unsigned int sid_ctx_len); | |
int SSL_SESSION_set1_id(SSL_SESSION *s, const unsigned char *sid, | |
unsigned int sid_len); | |
int SSL_SESSION_is_resumable(const SSL_SESSION *s); | |
SSL_SESSION *SSL_SESSION_new(void); | |
SSL_SESSION *SSL_SESSION_dup(SSL_SESSION *src); | |
const unsigned char *SSL_SESSION_get_id(const SSL_SESSION *s, | |
unsigned int *len); | |
const unsigned char *SSL_SESSION_get0_id_context(const SSL_SESSION *s, | |
unsigned int *len); | |
unsigned int SSL_SESSION_get_compress_id(const SSL_SESSION *s); | |
int SSL_SESSION_print_fp(FILE *fp, const SSL_SESSION *ses); | |
int SSL_SESSION_print(BIO *fp, const SSL_SESSION *ses); | |
int SSL_SESSION_print_keylog(BIO *bp, const SSL_SESSION *x); | |
int SSL_SESSION_up_ref(SSL_SESSION *ses); | |
void SSL_SESSION_free(SSL_SESSION *ses); | |
int i2d_SSL_SESSION(SSL_SESSION *in, unsigned char **pp); | |
int SSL_set_session(SSL *to, SSL_SESSION *session); | |
int SSL_CTX_add_session(SSL_CTX *ctx, SSL_SESSION *session); | |
int SSL_CTX_remove_session(SSL_CTX *ctx, SSL_SESSION *session); | |
int SSL_CTX_set_generate_session_id(SSL_CTX *ctx, GEN_SESSION_CB cb); | |
int SSL_set_generate_session_id(SSL *s, GEN_SESSION_CB cb); | |
int SSL_has_matching_session_id(const SSL *s, | |
const unsigned char *id, | |
unsigned int id_len); | |
SSL_SESSION *d2i_SSL_SESSION(SSL_SESSION **a, const unsigned char **pp, | |
long length); | |
X509 *SSL_get_peer_certificate(const SSL *s); | |
struct stack_st_X509 *SSL_get_peer_cert_chain(const SSL *s); | |
int SSL_CTX_get_verify_mode(const SSL_CTX *ctx); | |
int SSL_CTX_get_verify_depth(const SSL_CTX *ctx); | |
SSL_verify_cb SSL_CTX_get_verify_callback(const SSL_CTX *ctx); | |
void SSL_CTX_set_verify(SSL_CTX *ctx, int mode, SSL_verify_cb callback); | |
void SSL_CTX_set_verify_depth(SSL_CTX *ctx, int depth); | |
void SSL_CTX_set_cert_verify_callback(SSL_CTX *ctx, | |
int (*cb) (X509_STORE_CTX *, void *), | |
void *arg); | |
void SSL_CTX_set_cert_cb(SSL_CTX *c, int (*cb) (SSL *ssl, void *arg), | |
void *arg); | |
int SSL_CTX_use_RSAPrivateKey(SSL_CTX *ctx, RSA *rsa); | |
int SSL_CTX_use_RSAPrivateKey_ASN1(SSL_CTX *ctx, const unsigned char *d, | |
long len); | |
int SSL_CTX_use_PrivateKey(SSL_CTX *ctx, EVP_PKEY *pkey); | |
int SSL_CTX_use_PrivateKey_ASN1(int pk, SSL_CTX *ctx, | |
const unsigned char *d, long len); | |
int SSL_CTX_use_certificate(SSL_CTX *ctx, X509 *x); | |
int SSL_CTX_use_certificate_ASN1(SSL_CTX *ctx, int len, | |
const unsigned char *d); | |
int SSL_CTX_use_cert_and_key(SSL_CTX *ctx, X509 *x509, EVP_PKEY *privatekey, | |
struct stack_st_X509 *chain, int override); | |
void SSL_CTX_set_default_passwd_cb(SSL_CTX *ctx, pem_password_cb *cb); | |
void SSL_CTX_set_default_passwd_cb_userdata(SSL_CTX *ctx, void *u); | |
pem_password_cb *SSL_CTX_get_default_passwd_cb(SSL_CTX *ctx); | |
void *SSL_CTX_get_default_passwd_cb_userdata(SSL_CTX *ctx); | |
void SSL_set_default_passwd_cb(SSL *s, pem_password_cb *cb); | |
void SSL_set_default_passwd_cb_userdata(SSL *s, void *u); | |
pem_password_cb *SSL_get_default_passwd_cb(SSL *s); | |
void *SSL_get_default_passwd_cb_userdata(SSL *s); | |
int SSL_CTX_check_private_key(const SSL_CTX *ctx); | |
int SSL_check_private_key(const SSL *ctx); | |
int SSL_CTX_set_session_id_context(SSL_CTX *ctx, | |
const unsigned char *sid_ctx, | |
unsigned int sid_ctx_len); | |
SSL *SSL_new(SSL_CTX *ctx); | |
int SSL_up_ref(SSL *s); | |
int SSL_is_dtls(const SSL *s); | |
int SSL_set_session_id_context(SSL *ssl, const unsigned char *sid_ctx, | |
unsigned int sid_ctx_len); | |
int SSL_CTX_set_purpose(SSL_CTX *ctx, int purpose); | |
int SSL_set_purpose(SSL *ssl, int purpose); | |
int SSL_CTX_set_trust(SSL_CTX *ctx, int trust); | |
int SSL_set_trust(SSL *ssl, int trust); | |
int SSL_set1_host(SSL *s, const char *hostname); | |
int SSL_add1_host(SSL *s, const char *hostname); | |
const char *SSL_get0_peername(SSL *s); | |
void SSL_set_hostflags(SSL *s, unsigned int flags); | |
int SSL_CTX_dane_enable(SSL_CTX *ctx); | |
int SSL_CTX_dane_mtype_set(SSL_CTX *ctx, const EVP_MD *md, | |
uint8_t mtype, uint8_t ord); | |
int SSL_dane_enable(SSL *s, const char *basedomain); | |
int SSL_dane_tlsa_add(SSL *s, uint8_t usage, uint8_t selector, | |
uint8_t mtype, unsigned const char *data, size_t dlen); | |
int SSL_get0_dane_authority(SSL *s, X509 **mcert, EVP_PKEY **mspki); | |
int SSL_get0_dane_tlsa(SSL *s, uint8_t *usage, uint8_t *selector, | |
uint8_t *mtype, unsigned const char **data, | |
size_t *dlen); | |
SSL_DANE *SSL_get0_dane(SSL *ssl); | |
unsigned long SSL_CTX_dane_set_flags(SSL_CTX *ctx, unsigned long flags); | |
unsigned long SSL_CTX_dane_clear_flags(SSL_CTX *ctx, unsigned long flags); | |
unsigned long SSL_dane_set_flags(SSL *ssl, unsigned long flags); | |
unsigned long SSL_dane_clear_flags(SSL *ssl, unsigned long flags); | |
int SSL_CTX_set1_param(SSL_CTX *ctx, X509_VERIFY_PARAM *vpm); | |
int SSL_set1_param(SSL *ssl, X509_VERIFY_PARAM *vpm); | |
X509_VERIFY_PARAM *SSL_CTX_get0_param(SSL_CTX *ctx); | |
X509_VERIFY_PARAM *SSL_get0_param(SSL *ssl); | |
int SSL_CTX_set_srp_username(SSL_CTX *ctx, char *name); | |
int SSL_CTX_set_srp_password(SSL_CTX *ctx, char *password); | |
int SSL_CTX_set_srp_strength(SSL_CTX *ctx, int strength); | |
int SSL_CTX_set_srp_client_pwd_callback(SSL_CTX *ctx, | |
char *(*cb) (SSL *, void *)); | |
int SSL_CTX_set_srp_verify_param_callback(SSL_CTX *ctx, | |
int (*cb) (SSL *, void *)); | |
int SSL_CTX_set_srp_username_callback(SSL_CTX *ctx, | |
int (*cb) (SSL *, int *, void *)); | |
int SSL_CTX_set_srp_cb_arg(SSL_CTX *ctx, void *arg); | |
int SSL_set_srp_server_param(SSL *s, const BIGNUM *N, const BIGNUM *g, | |
BIGNUM *sa, BIGNUM *v, char *info); | |
int SSL_set_srp_server_param_pw(SSL *s, const char *user, const char *pass, | |
const char *grp); | |
BIGNUM *SSL_get_srp_g(SSL *s); | |
BIGNUM *SSL_get_srp_N(SSL *s); | |
char *SSL_get_srp_username(SSL *s); | |
char *SSL_get_srp_userinfo(SSL *s); | |
# 1800 "/usr/include/openssl/ssl.h" 3 4 | |
typedef int (*SSL_client_hello_cb_fn) (SSL *s, int *al, void *arg); | |
void SSL_CTX_set_client_hello_cb(SSL_CTX *c, SSL_client_hello_cb_fn cb, | |
void *arg); | |
int SSL_client_hello_isv2(SSL *s); | |
unsigned int SSL_client_hello_get0_legacy_version(SSL *s); | |
size_t SSL_client_hello_get0_random(SSL *s, const unsigned char **out); | |
size_t SSL_client_hello_get0_session_id(SSL *s, const unsigned char **out); | |
size_t SSL_client_hello_get0_ciphers(SSL *s, const unsigned char **out); | |
size_t SSL_client_hello_get0_compression_methods(SSL *s, | |
const unsigned char **out); | |
int SSL_client_hello_get1_extensions_present(SSL *s, int **out, size_t *outlen); | |
int SSL_client_hello_get0_ext(SSL *s, unsigned int type, | |
const unsigned char **out, size_t *outlen); | |
void SSL_certs_clear(SSL *s); | |
void SSL_free(SSL *ssl); | |
int SSL_waiting_for_async(SSL *s); | |
int SSL_get_all_async_fds(SSL *s, int *fds, size_t *numfds); | |
int SSL_get_changed_async_fds(SSL *s, int *addfd, | |
size_t *numaddfds, int *delfd, | |
size_t *numdelfds); | |
int SSL_accept(SSL *ssl); | |
int SSL_stateless(SSL *s); | |
int SSL_connect(SSL *ssl); | |
int SSL_read(SSL *ssl, void *buf, int num); | |
int SSL_read_ex(SSL *ssl, void *buf, size_t num, size_t *readbytes); | |
int SSL_read_early_data(SSL *s, void *buf, size_t num, | |
size_t *readbytes); | |
int SSL_peek(SSL *ssl, void *buf, int num); | |
int SSL_peek_ex(SSL *ssl, void *buf, size_t num, size_t *readbytes); | |
int SSL_write(SSL *ssl, const void *buf, int num); | |
int SSL_write_ex(SSL *s, const void *buf, size_t num, size_t *written); | |
int SSL_write_early_data(SSL *s, const void *buf, size_t num, | |
size_t *written); | |
long SSL_ctrl(SSL *ssl, int cmd, long larg, void *parg); | |
long SSL_callback_ctrl(SSL *, int, void (*)(void)); | |
long SSL_CTX_ctrl(SSL_CTX *ctx, int cmd, long larg, void *parg); | |
long SSL_CTX_callback_ctrl(SSL_CTX *, int, void (*)(void)); | |
int SSL_get_early_data_status(const SSL *s); | |
int SSL_get_error(const SSL *s, int ret_code); | |
const char *SSL_get_version(const SSL *s); | |
int SSL_CTX_set_ssl_version(SSL_CTX *ctx, const SSL_METHOD *meth); | |
# 1872 "/usr/include/openssl/ssl.h" 3 4 | |
const SSL_METHOD *TLS_method(void); | |
const SSL_METHOD *TLS_server_method(void); | |
const SSL_METHOD *TLS_client_method(void); | |
const SSL_METHOD *TLSv1_method(void) __attribute__ ((deprecated)); | |
const SSL_METHOD *TLSv1_server_method(void) __attribute__ ((deprecated)); | |
const SSL_METHOD *TLSv1_client_method(void) __attribute__ ((deprecated)); | |
const SSL_METHOD *TLSv1_1_method(void) __attribute__ ((deprecated)); | |
const SSL_METHOD *TLSv1_1_server_method(void) __attribute__ ((deprecated)); | |
const SSL_METHOD *TLSv1_1_client_method(void) __attribute__ ((deprecated)); | |
const SSL_METHOD *TLSv1_2_method(void) __attribute__ ((deprecated)); | |
const SSL_METHOD *TLSv1_2_server_method(void) __attribute__ ((deprecated)); | |
const SSL_METHOD *TLSv1_2_client_method(void) __attribute__ ((deprecated)); | |
const SSL_METHOD *DTLSv1_method(void) __attribute__ ((deprecated)); | |
const SSL_METHOD *DTLSv1_server_method(void) __attribute__ ((deprecated)); | |
const SSL_METHOD *DTLSv1_client_method(void) __attribute__ ((deprecated)); | |
const SSL_METHOD *DTLSv1_2_method(void) __attribute__ ((deprecated)); | |
const SSL_METHOD *DTLSv1_2_server_method(void) __attribute__ ((deprecated)); | |
const SSL_METHOD *DTLSv1_2_client_method(void) __attribute__ ((deprecated)); | |
const SSL_METHOD *DTLS_method(void); | |
const SSL_METHOD *DTLS_server_method(void); | |
const SSL_METHOD *DTLS_client_method(void); | |
size_t DTLS_get_data_mtu(const SSL *s); | |
struct stack_st_SSL_CIPHER *SSL_get_ciphers(const SSL *s); | |
struct stack_st_SSL_CIPHER *SSL_CTX_get_ciphers(const SSL_CTX *ctx); | |
struct stack_st_SSL_CIPHER *SSL_get_client_ciphers(const SSL *s); | |
struct stack_st_SSL_CIPHER *SSL_get1_supported_ciphers(SSL *s); | |
int SSL_do_handshake(SSL *s); | |
int SSL_key_update(SSL *s, int updatetype); | |
int SSL_get_key_update_type(const SSL *s); | |
int SSL_renegotiate(SSL *s); | |
int SSL_renegotiate_abbreviated(SSL *s); | |
int SSL_renegotiate_pending(const SSL *s); | |
int SSL_shutdown(SSL *s); | |
int SSL_verify_client_post_handshake(SSL *s); | |
void SSL_CTX_set_post_handshake_auth(SSL_CTX *ctx, int val); | |
void SSL_set_post_handshake_auth(SSL *s, int val); | |
const SSL_METHOD *SSL_CTX_get_ssl_method(const SSL_CTX *ctx); | |
const SSL_METHOD *SSL_get_ssl_method(const SSL *s); | |
int SSL_set_ssl_method(SSL *s, const SSL_METHOD *method); | |
const char *SSL_alert_type_string_long(int value); | |
const char *SSL_alert_type_string(int value); | |
const char *SSL_alert_desc_string_long(int value); | |
const char *SSL_alert_desc_string(int value); | |
void SSL_set0_CA_list(SSL *s, struct stack_st_X509_NAME *name_list); | |
void SSL_CTX_set0_CA_list(SSL_CTX *ctx, struct stack_st_X509_NAME *name_list); | |
const struct stack_st_X509_NAME *SSL_get0_CA_list(const SSL *s); | |
const struct stack_st_X509_NAME *SSL_CTX_get0_CA_list(const SSL_CTX *ctx); | |
int SSL_add1_to_CA_list(SSL *ssl, const X509 *x); | |
int SSL_CTX_add1_to_CA_list(SSL_CTX *ctx, const X509 *x); | |
const struct stack_st_X509_NAME *SSL_get0_peer_CA_list(const SSL *s); | |
void SSL_set_client_CA_list(SSL *s, struct stack_st_X509_NAME *name_list); | |
void SSL_CTX_set_client_CA_list(SSL_CTX *ctx, struct stack_st_X509_NAME *name_list); | |
struct stack_st_X509_NAME *SSL_get_client_CA_list(const SSL *s); | |
struct stack_st_X509_NAME *SSL_CTX_get_client_CA_list(const SSL_CTX *s); | |
int SSL_add_client_CA(SSL *ssl, X509 *x); | |
int SSL_CTX_add_client_CA(SSL_CTX *ctx, X509 *x); | |
void SSL_set_connect_state(SSL *s); | |
void SSL_set_accept_state(SSL *s); | |
long SSL_get_default_timeout(const SSL *s); | |
char *SSL_CIPHER_description(const SSL_CIPHER *, char *buf, int size); | |
struct stack_st_X509_NAME *SSL_dup_CA_list(const struct stack_st_X509_NAME *sk); | |
SSL *SSL_dup(SSL *ssl); | |
X509 *SSL_get_certificate(const SSL *ssl); | |
struct evp_pkey_st *SSL_get_privatekey(const SSL *ssl); | |
X509 *SSL_CTX_get0_certificate(const SSL_CTX *ctx); | |
EVP_PKEY *SSL_CTX_get0_privatekey(const SSL_CTX *ctx); | |
void SSL_CTX_set_quiet_shutdown(SSL_CTX *ctx, int mode); | |
int SSL_CTX_get_quiet_shutdown(const SSL_CTX *ctx); | |
void SSL_set_quiet_shutdown(SSL *ssl, int mode); | |
int SSL_get_quiet_shutdown(const SSL *ssl); | |
void SSL_set_shutdown(SSL *ssl, int mode); | |
int SSL_get_shutdown(const SSL *ssl); | |
int SSL_version(const SSL *ssl); | |
int SSL_client_version(const SSL *s); | |
int SSL_CTX_set_default_verify_paths(SSL_CTX *ctx); | |
int SSL_CTX_set_default_verify_dir(SSL_CTX *ctx); | |
int SSL_CTX_set_default_verify_file(SSL_CTX *ctx); | |
int SSL_CTX_load_verify_locations(SSL_CTX *ctx, const char *CAfile, | |
const char *CApath); | |
SSL_SESSION *SSL_get_session(const SSL *ssl); | |
SSL_SESSION *SSL_get1_session(SSL *ssl); | |
SSL_CTX *SSL_get_SSL_CTX(const SSL *ssl); | |
SSL_CTX *SSL_set_SSL_CTX(SSL *ssl, SSL_CTX *ctx); | |
void SSL_set_info_callback(SSL *ssl, | |
void (*cb) (const SSL *ssl, int type, int val)); | |
void (*SSL_get_info_callback(const SSL *ssl)) (const SSL *ssl, int type, | |
int val); | |
OSSL_HANDSHAKE_STATE SSL_get_state(const SSL *ssl); | |
void SSL_set_verify_result(SSL *ssl, long v); | |
long SSL_get_verify_result(const SSL *ssl); | |
struct stack_st_X509 *SSL_get0_verified_chain(const SSL *s); | |
size_t SSL_get_client_random(const SSL *ssl, unsigned char *out, | |
size_t outlen); | |
size_t SSL_get_server_random(const SSL *ssl, unsigned char *out, | |
size_t outlen); | |
size_t SSL_SESSION_get_master_key(const SSL_SESSION *sess, | |
unsigned char *out, size_t outlen); | |
int SSL_SESSION_set1_master_key(SSL_SESSION *sess, | |
const unsigned char *in, size_t len); | |
uint8_t SSL_SESSION_get_max_fragment_length(const SSL_SESSION *sess); | |
int SSL_set_ex_data(SSL *ssl, int idx, void *data); | |
void *SSL_get_ex_data(const SSL *ssl, int idx); | |
int SSL_SESSION_set_ex_data(SSL_SESSION *ss, int idx, void *data); | |
void *SSL_SESSION_get_ex_data(const SSL_SESSION *ss, int idx); | |
int SSL_CTX_set_ex_data(SSL_CTX *ssl, int idx, void *data); | |
void *SSL_CTX_get_ex_data(const SSL_CTX *ssl, int idx); | |
int SSL_get_ex_data_X509_STORE_CTX_idx(void); | |
# 2065 "/usr/include/openssl/ssl.h" 3 4 | |
void SSL_CTX_set_default_read_buffer_len(SSL_CTX *ctx, size_t len); | |
void SSL_set_default_read_buffer_len(SSL *s, size_t len); | |
void SSL_CTX_set_tmp_dh_callback(SSL_CTX *ctx, | |
DH *(*dh) (SSL *ssl, int is_export, | |
int keylength)); | |
void SSL_set_tmp_dh_callback(SSL *ssl, | |
DH *(*dh) (SSL *ssl, int is_export, | |
int keylength)); | |
const COMP_METHOD *SSL_get_current_compression(const SSL *s); | |
const COMP_METHOD *SSL_get_current_expansion(const SSL *s); | |
const char *SSL_COMP_get_name(const COMP_METHOD *comp); | |
const char *SSL_COMP_get0_name(const SSL_COMP *comp); | |
int SSL_COMP_get_id(const SSL_COMP *comp); | |
struct stack_st_SSL_COMP *SSL_COMP_get_compression_methods(void); | |
struct stack_st_SSL_COMP *SSL_COMP_set0_compression_methods(struct stack_st_SSL_COMP | |
*meths); | |
int SSL_COMP_add_compression_method(int id, COMP_METHOD *cm); | |
const SSL_CIPHER *SSL_CIPHER_find(SSL *ssl, const unsigned char *ptr); | |
int SSL_CIPHER_get_cipher_nid(const SSL_CIPHER *c); | |
int SSL_CIPHER_get_digest_nid(const SSL_CIPHER *c); | |
int SSL_bytes_to_cipher_list(SSL *s, const unsigned char *bytes, size_t len, | |
int isv2format, struct stack_st_SSL_CIPHER **sk, | |
struct stack_st_SSL_CIPHER **scsvs); | |
int SSL_set_session_ticket_ext(SSL *s, void *ext_data, int ext_len); | |
int SSL_set_session_ticket_ext_cb(SSL *s, | |
tls_session_ticket_ext_cb_fn cb, | |
void *arg); | |
int SSL_set_session_secret_cb(SSL *s, | |
tls_session_secret_cb_fn session_secret_cb, | |
void *arg); | |
void SSL_CTX_set_not_resumable_session_callback(SSL_CTX *ctx, | |
int (*cb) (SSL *ssl, | |
int | |
is_forward_secure)); | |
void SSL_set_not_resumable_session_callback(SSL *ssl, | |
int (*cb) (SSL *ssl, | |
int is_forward_secure)); | |
void SSL_CTX_set_record_padding_callback(SSL_CTX *ctx, | |
size_t (*cb) (SSL *ssl, int type, | |
size_t len, void *arg)); | |
void SSL_CTX_set_record_padding_callback_arg(SSL_CTX *ctx, void *arg); | |
void *SSL_CTX_get_record_padding_callback_arg(const SSL_CTX *ctx); | |
int SSL_CTX_set_block_padding(SSL_CTX *ctx, size_t block_size); | |
void SSL_set_record_padding_callback(SSL *ssl, | |
size_t (*cb) (SSL *ssl, int type, | |
size_t len, void *arg)); | |
void SSL_set_record_padding_callback_arg(SSL *ssl, void *arg); | |
void *SSL_get_record_padding_callback_arg(const SSL *ssl); | |
int SSL_set_block_padding(SSL *ssl, size_t block_size); | |
int SSL_set_num_tickets(SSL *s, size_t num_tickets); | |
size_t SSL_get_num_tickets(const SSL *s); | |
int SSL_CTX_set_num_tickets(SSL_CTX *ctx, size_t num_tickets); | |
size_t SSL_CTX_get_num_tickets(const SSL_CTX *ctx); | |
int SSL_session_reused(const SSL *s); | |
int SSL_is_server(const SSL *s); | |
SSL_CONF_CTX *SSL_CONF_CTX_new(void); | |
int SSL_CONF_CTX_finish(SSL_CONF_CTX *cctx); | |
void SSL_CONF_CTX_free(SSL_CONF_CTX *cctx); | |
unsigned int SSL_CONF_CTX_set_flags(SSL_CONF_CTX *cctx, unsigned int flags); | |
unsigned int SSL_CONF_CTX_clear_flags(SSL_CONF_CTX *cctx, | |
unsigned int flags); | |
int SSL_CONF_CTX_set1_prefix(SSL_CONF_CTX *cctx, const char *pre); | |
void SSL_CONF_CTX_set_ssl(SSL_CONF_CTX *cctx, SSL *ssl); | |
void SSL_CONF_CTX_set_ssl_ctx(SSL_CONF_CTX *cctx, SSL_CTX *ctx); | |
int SSL_CONF_cmd(SSL_CONF_CTX *cctx, const char *cmd, const char *value); | |
int SSL_CONF_cmd_argv(SSL_CONF_CTX *cctx, int *pargc, char ***pargv); | |
int SSL_CONF_cmd_value_type(SSL_CONF_CTX *cctx, const char *cmd); | |
void SSL_add_ssl_module(void); | |
int SSL_config(SSL *s, const char *name); | |
int SSL_CTX_config(SSL_CTX *ctx, const char *name); | |
int DTLSv1_listen(SSL *s, BIO_ADDR *client); | |
# 2181 "/usr/include/openssl/ssl.h" 3 4 | |
typedef int (*ssl_ct_validation_cb)(const CT_POLICY_EVAL_CTX *ctx, | |
const struct stack_st_SCT *scts, void *arg); | |
# 2196 "/usr/include/openssl/ssl.h" 3 4 | |
int SSL_set_ct_validation_callback(SSL *s, ssl_ct_validation_cb callback, | |
void *arg); | |
int SSL_CTX_set_ct_validation_callback(SSL_CTX *ctx, | |
ssl_ct_validation_cb callback, | |
void *arg); | |
# 2211 "/usr/include/openssl/ssl.h" 3 4 | |
enum { | |
SSL_CT_VALIDATION_PERMISSIVE = 0, | |
SSL_CT_VALIDATION_STRICT | |
}; | |
# 2224 "/usr/include/openssl/ssl.h" 3 4 | |
int SSL_enable_ct(SSL *s, int validation_mode); | |
int SSL_CTX_enable_ct(SSL_CTX *ctx, int validation_mode); | |
int SSL_ct_is_enabled(const SSL *s); | |
int SSL_CTX_ct_is_enabled(const SSL_CTX *ctx); | |
const struct stack_st_SCT *SSL_get0_peer_scts(SSL *s); | |
# 2243 "/usr/include/openssl/ssl.h" 3 4 | |
int SSL_CTX_set_default_ctlog_list_file(SSL_CTX *ctx); | |
# 2252 "/usr/include/openssl/ssl.h" 3 4 | |
int SSL_CTX_set_ctlog_list_file(SSL_CTX *ctx, const char *path); | |
void SSL_CTX_set0_ctlog_store(SSL_CTX *ctx, CTLOG_STORE *logs); | |
# 2267 "/usr/include/openssl/ssl.h" 3 4 | |
const CTLOG_STORE *SSL_CTX_get0_ctlog_store(const SSL_CTX *ctx); | |
# 2329 "/usr/include/openssl/ssl.h" 3 4 | |
void SSL_set_security_level(SSL *s, int level); | |
int SSL_get_security_level(const SSL *s); | |
void SSL_set_security_callback(SSL *s, | |
int (*cb) (const SSL *s, const SSL_CTX *ctx, | |
int op, int bits, int nid, | |
void *other, void *ex)); | |
int (*SSL_get_security_callback(const SSL *s)) (const SSL *s, | |
const SSL_CTX *ctx, int op, | |
int bits, int nid, void *other, | |
void *ex); | |
void SSL_set0_security_ex_data(SSL *s, void *ex); | |
void *SSL_get0_security_ex_data(const SSL *s); | |
void SSL_CTX_set_security_level(SSL_CTX *ctx, int level); | |
int SSL_CTX_get_security_level(const SSL_CTX *ctx); | |
void SSL_CTX_set_security_callback(SSL_CTX *ctx, | |
int (*cb) (const SSL *s, const SSL_CTX *ctx, | |
int op, int bits, int nid, | |
void *other, void *ex)); | |
int (*SSL_CTX_get_security_callback(const SSL_CTX *ctx)) (const SSL *s, | |
const SSL_CTX *ctx, | |
int op, int bits, | |
int nid, | |
void *other, | |
void *ex); | |
void SSL_CTX_set0_security_ex_data(SSL_CTX *ctx, void *ex); | |
void *SSL_CTX_get0_security_ex_data(const SSL_CTX *ctx); | |
# 2364 "/usr/include/openssl/ssl.h" 3 4 | |
int OPENSSL_init_ssl(uint64_t opts, const OPENSSL_INIT_SETTINGS *settings); | |
const struct openssl_ssl_test_functions *SSL_test_functions(void); | |
int SSL_free_buffers(SSL *ssl); | |
int SSL_alloc_buffers(SSL *ssl); | |
typedef int SSL_TICKET_STATUS; | |
# 2394 "/usr/include/openssl/ssl.h" 3 4 | |
typedef int SSL_TICKET_RETURN; | |
# 2407 "/usr/include/openssl/ssl.h" 3 4 | |
typedef int (*SSL_CTX_generate_session_ticket_fn)(SSL *s, void *arg); | |
typedef SSL_TICKET_RETURN (*SSL_CTX_decrypt_session_ticket_fn)(SSL *s, SSL_SESSION *ss, | |
const unsigned char *keyname, | |
size_t keyname_length, | |
SSL_TICKET_STATUS status, | |
void *arg); | |
int SSL_CTX_set_session_ticket_cb(SSL_CTX *ctx, | |
SSL_CTX_generate_session_ticket_fn gen_cb, | |
SSL_CTX_decrypt_session_ticket_fn dec_cb, | |
void *arg); | |
int SSL_SESSION_set1_ticket_appdata(SSL_SESSION *ss, const void *data, size_t len); | |
int SSL_SESSION_get0_ticket_appdata(SSL_SESSION *ss, void **data, size_t *len); | |
extern const char SSL_version_str[]; | |
typedef unsigned int (*DTLS_timer_cb)(SSL *s, unsigned int timer_us); | |
void DTLS_set_timer_cb(SSL *s, DTLS_timer_cb cb); | |
typedef int (*SSL_allow_early_data_cb_fn)(SSL *s, void *arg); | |
void SSL_CTX_set_allow_early_data_cb(SSL_CTX *ctx, | |
SSL_allow_early_data_cb_fn cb, | |
void *arg); | |
void SSL_set_allow_early_data_cb(SSL *s, | |
SSL_allow_early_data_cb_fn cb, | |
void *arg); | |
# 33 "sslsym.c" 2 | |
# 1 "/usr/include/openssl/err.h" 1 3 4 | |
# 43 "/usr/include/openssl/err.h" 3 4 | |
typedef struct err_state_st { | |
int err_flags[16]; | |
unsigned long err_buffer[16]; | |
char *err_data[16]; | |
int err_data_flags[16]; | |
const char *err_file[16]; | |
int err_line[16]; | |
int top, bottom; | |
} ERR_STATE; | |
# 213 "/usr/include/openssl/err.h" 3 4 | |
typedef struct ERR_string_data_st { | |
unsigned long error; | |
const char *string; | |
} ERR_STRING_DATA; | |
struct lhash_st_ERR_STRING_DATA { union lh_ERR_STRING_DATA_dummy { void* d1; unsigned long d2; int d3; } dummy; }; static inline struct lhash_st_ERR_STRING_DATA * lh_ERR_STRING_DATA_new(unsigned long (*hfn)(const ERR_STRING_DATA *), int (*cfn)(const ERR_STRING_DATA *, const ERR_STRING_DATA *)) { return (struct lhash_st_ERR_STRING_DATA *) OPENSSL_LH_new((OPENSSL_LH_HASHFUNC)hfn, (OPENSSL_LH_COMPFUNC)cfn); } static __attribute__((unused)) inline void lh_ERR_STRING_DATA_free(struct lhash_st_ERR_STRING_DATA *lh) { OPENSSL_LH_free((OPENSSL_LHASH *)lh); } static __attribute__((unused)) inline ERR_STRING_DATA *lh_ERR_STRING_DATA_insert(struct lhash_st_ERR_STRING_DATA *lh, ERR_STRING_DATA *d) { return (ERR_STRING_DATA *)OPENSSL_LH_insert((OPENSSL_LHASH *)lh, d); } static __attribute__((unused)) inline ERR_STRING_DATA *lh_ERR_STRING_DATA_delete(struct lhash_st_ERR_STRING_DATA *lh, const ERR_STRING_DATA *d) { return (ERR_STRING_DATA *)OPENSSL_LH_delete((OPENSSL_LHASH *)lh, d); } static __attribute__((unused)) inline ERR_STRING_DATA *lh_ERR_STRING_DATA_retrieve(struct lhash_st_ERR_STRING_DATA *lh, const ERR_STRING_DATA *d) { return (ERR_STRING_DATA *)OPENSSL_LH_retrieve((OPENSSL_LHASH *)lh, d); } static __attribute__((unused)) inline int lh_ERR_STRING_DATA_error(struct lhash_st_ERR_STRING_DATA *lh) { return OPENSSL_LH_error((OPENSSL_LHASH *)lh); } static __attribute__((unused)) inline unsigned long lh_ERR_STRING_DATA_num_items(struct lhash_st_ERR_STRING_DATA *lh) { return OPENSSL_LH_num_items((OPENSSL_LHASH *)lh); } static __attribute__((unused)) inline void lh_ERR_STRING_DATA_node_stats_bio(const struct lhash_st_ERR_STRING_DATA *lh, BIO *out) { OPENSSL_LH_node_stats_bio((const OPENSSL_LHASH *)lh, out); } static __attribute__((unused)) inline void lh_ERR_STRING_DATA_node_usage_stats_bio(const struct lhash_st_ERR_STRING_DATA *lh, BIO *out) { OPENSSL_LH_node_usage_stats_bio((const OPENSSL_LHASH *)lh, out); } static __attribute__((unused)) inline void lh_ERR_STRING_DATA_stats_bio(const struct lhash_st_ERR_STRING_DATA *lh, BIO *out) { OPENSSL_LH_stats_bio((const OPENSSL_LHASH *)lh, out); } static __attribute__((unused)) inline unsigned long lh_ERR_STRING_DATA_get_down_load(struct lhash_st_ERR_STRING_DATA *lh) { return OPENSSL_LH_get_down_load((OPENSSL_LHASH *)lh); } static __attribute__((unused)) inline void lh_ERR_STRING_DATA_set_down_load(struct lhash_st_ERR_STRING_DATA *lh, unsigned long dl) { OPENSSL_LH_set_down_load((OPENSSL_LHASH *)lh, dl); } static __attribute__((unused)) inline void lh_ERR_STRING_DATA_doall(struct lhash_st_ERR_STRING_DATA *lh, void (*doall)(ERR_STRING_DATA *)) { OPENSSL_LH_doall((OPENSSL_LHASH *)lh, (OPENSSL_LH_DOALL_FUNC)doall); } struct lhash_st_ERR_STRING_DATA; | |
void ERR_put_error(int lib, int func, int reason, const char *file, int line); | |
void ERR_set_error_data(char *data, int flags); | |
unsigned long ERR_get_error(void); | |
unsigned long ERR_get_error_line(const char **file, int *line); | |
unsigned long ERR_get_error_line_data(const char **file, int *line, | |
const char **data, int *flags); | |
unsigned long ERR_peek_error(void); | |
unsigned long ERR_peek_error_line(const char **file, int *line); | |
unsigned long ERR_peek_error_line_data(const char **file, int *line, | |
const char **data, int *flags); | |
unsigned long ERR_peek_last_error(void); | |
unsigned long ERR_peek_last_error_line(const char **file, int *line); | |
unsigned long ERR_peek_last_error_line_data(const char **file, int *line, | |
const char **data, int *flags); | |
void ERR_clear_error(void); | |
char *ERR_error_string(unsigned long e, char *buf); | |
void ERR_error_string_n(unsigned long e, char *buf, size_t len); | |
const char *ERR_lib_error_string(unsigned long e); | |
const char *ERR_func_error_string(unsigned long e); | |
const char *ERR_reason_error_string(unsigned long e); | |
void ERR_print_errors_cb(int (*cb) (const char *str, size_t len, void *u), | |
void *u); | |
void ERR_print_errors_fp(FILE *fp); | |
void ERR_print_errors(BIO *bp); | |
void ERR_add_error_data(int num, ...); | |
void ERR_add_error_vdata(int num, va_list args); | |
int ERR_load_strings(int lib, ERR_STRING_DATA *str); | |
int ERR_load_strings_const(const ERR_STRING_DATA *str); | |
int ERR_unload_strings(int lib, ERR_STRING_DATA *str); | |
int ERR_load_ERR_strings(void); | |
void ERR_remove_thread_state(void *) __attribute__ ((deprecated)); | |
void ERR_remove_state(unsigned long pid) __attribute__ ((deprecated)); | |
ERR_STATE *ERR_get_state(void); | |
int ERR_get_next_error_library(void); | |
int ERR_set_mark(void); | |
int ERR_pop_to_mark(void); | |
int ERR_clear_last_mark(void); | |
# 34 "sslsym.c" 2 | |
# 1 "/usr/include/openssl/rand.h" 1 3 4 | |
# 16 "/usr/include/openssl/rand.h" 3 4 | |
# 1 "/usr/include/openssl/randerr.h" 1 3 4 | |
# 19 "/usr/include/openssl/randerr.h" 3 4 | |
int ERR_load_RAND_strings(void); | |
# 17 "/usr/include/openssl/rand.h" 2 3 4 | |
struct rand_meth_st { | |
int (*seed) (const void *buf, int num); | |
int (*bytes) (unsigned char *buf, int num); | |
void (*cleanup) (void); | |
int (*add) (const void *buf, int num, double randomness); | |
int (*pseudorand) (unsigned char *buf, int num); | |
int (*status) (void); | |
}; | |
int RAND_set_rand_method(const RAND_METHOD *meth); | |
const RAND_METHOD *RAND_get_rand_method(void); | |
int RAND_set_rand_engine(ENGINE *engine); | |
RAND_METHOD *RAND_OpenSSL(void); | |
int RAND_bytes(unsigned char *buf, int num); | |
int RAND_priv_bytes(unsigned char *buf, int num); | |
int RAND_pseudo_bytes(unsigned char *buf, int num) __attribute__ ((deprecated)); | |
void RAND_seed(const void *buf, int num); | |
void RAND_keep_random_devices_open(int keep); | |
void RAND_add(const void *buf, int num, double randomness); | |
int RAND_load_file(const char *file, long max_bytes); | |
int RAND_write_file(const char *file); | |
const char *RAND_file_name(char *file, size_t num); | |
int RAND_status(void); | |
int RAND_poll(void); | |
# 35 "sslsym.c" 2 | |
# 1 "/usr/include/openssl/engine.h" 1 3 4 | |
# 14 "/usr/include/openssl/engine.h" 3 4 | |
# 1 "/usr/include/arm-linux-gnueabihf/openssl/opensslconf.h" 1 3 4 | |
# 15 "/usr/include/openssl/engine.h" 2 3 4 | |
# 24 "/usr/include/openssl/engine.h" 3 4 | |
# 1 "/usr/include/openssl/ui.h" 1 3 4 | |
# 13 "/usr/include/openssl/ui.h" 3 4 | |
# 1 "/usr/include/arm-linux-gnueabihf/openssl/opensslconf.h" 1 3 4 | |
# 14 "/usr/include/openssl/ui.h" 2 3 4 | |
# 1 "/usr/include/openssl/uierr.h" 1 3 4 | |
# 21 "/usr/include/openssl/uierr.h" 3 4 | |
int ERR_load_UI_strings(void); | |
# 22 "/usr/include/openssl/ui.h" 2 3 4 | |
# 42 "/usr/include/openssl/ui.h" 3 4 | |
UI *UI_new(void); | |
UI *UI_new_method(const UI_METHOD *method); | |
void UI_free(UI *ui); | |
# 89 "/usr/include/openssl/ui.h" 3 4 | |
int UI_add_input_string(UI *ui, const char *prompt, int flags, | |
char *result_buf, int minsize, int maxsize); | |
int UI_dup_input_string(UI *ui, const char *prompt, int flags, | |
char *result_buf, int minsize, int maxsize); | |
int UI_add_verify_string(UI *ui, const char *prompt, int flags, | |
char *result_buf, int minsize, int maxsize, | |
const char *test_buf); | |
int UI_dup_verify_string(UI *ui, const char *prompt, int flags, | |
char *result_buf, int minsize, int maxsize, | |
const char *test_buf); | |
int UI_add_input_boolean(UI *ui, const char *prompt, const char *action_desc, | |
const char *ok_chars, const char *cancel_chars, | |
int flags, char *result_buf); | |
int UI_dup_input_boolean(UI *ui, const char *prompt, const char *action_desc, | |
const char *ok_chars, const char *cancel_chars, | |
int flags, char *result_buf); | |
int UI_add_info_string(UI *ui, const char *text); | |
int UI_dup_info_string(UI *ui, const char *text); | |
int UI_add_error_string(UI *ui, const char *text); | |
int UI_dup_error_string(UI *ui, const char *text); | |
# 152 "/usr/include/openssl/ui.h" 3 4 | |
char *UI_construct_prompt(UI *ui_method, | |
const char *object_desc, const char *object_name); | |
# 166 "/usr/include/openssl/ui.h" 3 4 | |
void *UI_add_user_data(UI *ui, void *user_data); | |
int UI_dup_user_data(UI *ui, void *user_data); | |
void *UI_get0_user_data(UI *ui); | |
const char *UI_get0_result(UI *ui, int i); | |
int UI_get_result_length(UI *ui, int i); | |
int UI_process(UI *ui); | |
int UI_ctrl(UI *ui, int cmd, long i, void *p, void (*f) (void)); | |
# 210 "/usr/include/openssl/ui.h" 3 4 | |
int UI_set_ex_data(UI *r, int idx, void *arg); | |
void *UI_get_ex_data(UI *r, int idx); | |
void UI_set_default_method(const UI_METHOD *meth); | |
const UI_METHOD *UI_get_default_method(void); | |
const UI_METHOD *UI_get_method(UI *ui); | |
const UI_METHOD *UI_set_method(UI *ui, const UI_METHOD *meth); | |
UI_METHOD *UI_OpenSSL(void); | |
const UI_METHOD *UI_null(void); | |
# 279 "/usr/include/openssl/ui.h" 3 4 | |
typedef struct ui_string_st UI_STRING; | |
struct stack_st_UI_STRING; typedef int (*sk_UI_STRING_compfunc)(const UI_STRING * const *a, const UI_STRING *const *b); typedef void (*sk_UI_STRING_freefunc)(UI_STRING *a); typedef UI_STRING * (*sk_UI_STRING_copyfunc)(const UI_STRING *a); static __attribute__((unused)) inline int sk_UI_STRING_num(const struct stack_st_UI_STRING *sk) { return OPENSSL_sk_num((const OPENSSL_STACK *)sk); } static __attribute__((unused)) inline UI_STRING *sk_UI_STRING_value(const struct stack_st_UI_STRING *sk, int idx) { return (UI_STRING *)OPENSSL_sk_value((const OPENSSL_STACK *)sk, idx); } static __attribute__((unused)) inline struct stack_st_UI_STRING *sk_UI_STRING_new(sk_UI_STRING_compfunc compare) { return (struct stack_st_UI_STRING *)OPENSSL_sk_new((OPENSSL_sk_compfunc)compare); } static __attribute__((unused)) inline struct stack_st_UI_STRING *sk_UI_STRING_new_null(void) { return (struct stack_st_UI_STRING *)OPENSSL_sk_new_null(); } static __attribute__((unused)) inline struct stack_st_UI_STRING *sk_UI_STRING_new_reserve(sk_UI_STRING_compfunc compare, int n) { return (struct stack_st_UI_STRING *)OPENSSL_sk_new_reserve((OPENSSL_sk_compfunc)compare, n); } static __attribute__((unused)) inline int sk_UI_STRING_reserve(struct stack_st_UI_STRING *sk, int n) { return OPENSSL_sk_reserve((OPENSSL_STACK *)sk, n); } static __attribute__((unused)) inline void sk_UI_STRING_free(struct stack_st_UI_STRING *sk) { OPENSSL_sk_free((OPENSSL_STACK *)sk); } static __attribute__((unused)) inline void sk_UI_STRING_zero(struct stack_st_UI_STRING *sk) { OPENSSL_sk_zero((OPENSSL_STACK *)sk); } static __attribute__((unused)) inline UI_STRING *sk_UI_STRING_delete(struct stack_st_UI_STRING *sk, int i) { return (UI_STRING *)OPENSSL_sk_delete((OPENSSL_STACK *)sk, i); } static __attribute__((unused)) inline UI_STRING *sk_UI_STRING_delete_ptr(struct stack_st_UI_STRING *sk, UI_STRING *ptr) { return (UI_STRING *)OPENSSL_sk_delete_ptr((OPENSSL_STACK *)sk, (const void *)ptr); } static __attribute__((unused)) inline int sk_UI_STRING_push(struct stack_st_UI_STRING *sk, UI_STRING *ptr) { return OPENSSL_sk_push((OPENSSL_STACK *)sk, (const void *)ptr); } static __attribute__((unused)) inline int sk_UI_STRING_unshift(struct stack_st_UI_STRING *sk, UI_STRING *ptr) { return OPENSSL_sk_unshift((OPENSSL_STACK *)sk, (const void *)ptr); } static __attribute__((unused)) inline UI_STRING *sk_UI_STRING_pop(struct stack_st_UI_STRING *sk) { return (UI_STRING *)OPENSSL_sk_pop((OPENSSL_STACK *)sk); } static __attribute__((unused)) inline UI_STRING *sk_UI_STRING_shift(struct stack_st_UI_STRING *sk) { return (UI_STRING *)OPENSSL_sk_shift((OPENSSL_STACK *)sk); } static __attribute__((unused)) inline void sk_UI_STRING_pop_free(struct stack_st_UI_STRING *sk, sk_UI_STRING_freefunc freefunc) { OPENSSL_sk_pop_free((OPENSSL_STACK *)sk, (OPENSSL_sk_freefunc)freefunc); } static __attribute__((unused)) inline int sk_UI_STRING_insert(struct stack_st_UI_STRING *sk, UI_STRING *ptr, int idx) { return OPENSSL_sk_insert((OPENSSL_STACK *)sk, (const void *)ptr, idx); } static __attribute__((unused)) inline UI_STRING *sk_UI_STRING_set(struct stack_st_UI_STRING *sk, int idx, UI_STRING *ptr) { return (UI_STRING *)OPENSSL_sk_set((OPENSSL_STACK *)sk, idx, (const void *)ptr); } static __attribute__((unused)) inline int sk_UI_STRING_find(struct stack_st_UI_STRING *sk, UI_STRING *ptr) { return OPENSSL_sk_find((OPENSSL_STACK *)sk, (const void *)ptr); } static __attribute__((unused)) inline int sk_UI_STRING_find_ex(struct stack_st_UI_STRING *sk, UI_STRING *ptr) { return OPENSSL_sk_find_ex((OPENSSL_STACK *)sk, (const void *)ptr); } static __attribute__((unused)) inline void sk_UI_STRING_sort(struct stack_st_UI_STRING *sk) { OPENSSL_sk_sort((OPENSSL_STACK *)sk); } static __attribute__((unused)) inline int sk_UI_STRING_is_sorted(const struct stack_st_UI_STRING *sk) { return OPENSSL_sk_is_sorted((const OPENSSL_STACK *)sk); } static __attribute__((unused)) inline struct stack_st_UI_STRING * sk_UI_STRING_dup(const struct stack_st_UI_STRING *sk) { return (struct stack_st_UI_STRING *)OPENSSL_sk_dup((const OPENSSL_STACK *)sk); } static __attribute__((unused)) inline struct stack_st_UI_STRING *sk_UI_STRING_deep_copy(const struct stack_st_UI_STRING *sk, sk_UI_STRING_copyfunc copyfunc, sk_UI_STRING_freefunc freefunc) { return (struct stack_st_UI_STRING *)OPENSSL_sk_deep_copy((const OPENSSL_STACK *)sk, (OPENSSL_sk_copyfunc)copyfunc, (OPENSSL_sk_freefunc)freefunc); } static __attribute__((unused)) inline sk_UI_STRING_compfunc sk_UI_STRING_set_cmp_func(struct stack_st_UI_STRING *sk, sk_UI_STRING_compfunc compare) { return (sk_UI_STRING_compfunc)OPENSSL_sk_set_cmp_func((OPENSSL_STACK *)sk, (OPENSSL_sk_compfunc)compare); } | |
enum UI_string_types { | |
UIT_NONE = 0, | |
UIT_PROMPT, | |
UIT_VERIFY, | |
UIT_BOOLEAN, | |
UIT_INFO, | |
UIT_ERROR | |
}; | |
UI_METHOD *UI_create_method(const char *name); | |
void UI_destroy_method(UI_METHOD *ui_method); | |
int UI_method_set_opener(UI_METHOD *method, int (*opener) (UI *ui)); | |
int UI_method_set_writer(UI_METHOD *method, | |
int (*writer) (UI *ui, UI_STRING *uis)); | |
int UI_method_set_flusher(UI_METHOD *method, int (*flusher) (UI *ui)); | |
int UI_method_set_reader(UI_METHOD *method, | |
int (*reader) (UI *ui, UI_STRING *uis)); | |
int UI_method_set_closer(UI_METHOD *method, int (*closer) (UI *ui)); | |
int UI_method_set_data_duplicator(UI_METHOD *method, | |
void *(*duplicator) (UI *ui, void *ui_data), | |
void (*destructor)(UI *ui, void *ui_data)); | |
int UI_method_set_prompt_constructor(UI_METHOD *method, | |
char *(*prompt_constructor) (UI *ui, | |
const char | |
*object_desc, | |
const char | |
*object_name)); | |
int UI_method_set_ex_data(UI_METHOD *method, int idx, void *data); | |
int (*UI_method_get_opener(const UI_METHOD *method)) (UI *); | |
int (*UI_method_get_writer(const UI_METHOD *method)) (UI *, UI_STRING *); | |
int (*UI_method_get_flusher(const UI_METHOD *method)) (UI *); | |
int (*UI_method_get_reader(const UI_METHOD *method)) (UI *, UI_STRING *); | |
int (*UI_method_get_closer(const UI_METHOD *method)) (UI *); | |
char *(*UI_method_get_prompt_constructor(const UI_METHOD *method)) | |
(UI *, const char *, const char *); | |
void *(*UI_method_get_data_duplicator(const UI_METHOD *method)) (UI *, void *); | |
void (*UI_method_get_data_destructor(const UI_METHOD *method)) (UI *, void *); | |
const void *UI_method_get_ex_data(const UI_METHOD *method, int idx); | |
enum UI_string_types UI_get_string_type(UI_STRING *uis); | |
int UI_get_input_flags(UI_STRING *uis); | |
const char *UI_get0_output_string(UI_STRING *uis); | |
const char *UI_get0_action_string(UI_STRING *uis); | |
const char *UI_get0_result_string(UI_STRING *uis); | |
int UI_get_result_string_length(UI_STRING *uis); | |
const char *UI_get0_test_string(UI_STRING *uis); | |
int UI_get_result_minsize(UI_STRING *uis); | |
int UI_get_result_maxsize(UI_STRING *uis); | |
int UI_set_result(UI *ui, UI_STRING *uis, const char *result); | |
int UI_set_result_ex(UI *ui, UI_STRING *uis, const char *result, int len); | |
int UI_UTIL_read_pw_string(char *buf, int length, const char *prompt, | |
int verify); | |
int UI_UTIL_read_pw(char *buf, char *buff, int size, const char *prompt, | |
int verify); | |
UI_METHOD *UI_UTIL_wrap_read_pem_callback(pem_password_cb *cb, int rwflag); | |
# 25 "/usr/include/openssl/engine.h" 2 3 4 | |
# 1 "/usr/include/openssl/engineerr.h" 1 3 4 | |
# 18 "/usr/include/openssl/engineerr.h" 3 4 | |
# 1 "/usr/include/arm-linux-gnueabihf/openssl/opensslconf.h" 1 3 4 | |
# 19 "/usr/include/openssl/engineerr.h" 2 3 4 | |
int ERR_load_ENGINE_strings(void); | |
# 31 "/usr/include/openssl/engine.h" 2 3 4 | |
# 251 "/usr/include/openssl/engine.h" 3 4 | |
typedef struct ENGINE_CMD_DEFN_st { | |
unsigned int cmd_num; | |
const char *cmd_name; | |
const char *cmd_desc; | |
unsigned int cmd_flags; | |
} ENGINE_CMD_DEFN; | |
typedef int (*ENGINE_GEN_FUNC_PTR) (void); | |
typedef int (*ENGINE_GEN_INT_FUNC_PTR) (ENGINE *); | |
typedef int (*ENGINE_CTRL_FUNC_PTR) (ENGINE *, int, long, void *, | |
void (*f) (void)); | |
typedef EVP_PKEY *(*ENGINE_LOAD_KEY_PTR)(ENGINE *, const char *, | |
UI_METHOD *ui_method, | |
void *callback_data); | |
typedef int (*ENGINE_SSL_CLIENT_CERT_PTR) (ENGINE *, SSL *ssl, | |
struct stack_st_X509_NAME *ca_dn, | |
X509 **pcert, EVP_PKEY **pkey, | |
struct stack_st_X509 **pother, | |
UI_METHOD *ui_method, | |
void *callback_data); | |
# 290 "/usr/include/openssl/engine.h" 3 4 | |
typedef int (*ENGINE_CIPHERS_PTR) (ENGINE *, const EVP_CIPHER **, | |
const int **, int); | |
typedef int (*ENGINE_DIGESTS_PTR) (ENGINE *, const EVP_MD **, const int **, | |
int); | |
typedef int (*ENGINE_PKEY_METHS_PTR) (ENGINE *, EVP_PKEY_METHOD **, | |
const int **, int); | |
typedef int (*ENGINE_PKEY_ASN1_METHS_PTR) (ENGINE *, EVP_PKEY_ASN1_METHOD **, | |
const int **, int); | |
# 311 "/usr/include/openssl/engine.h" 3 4 | |
ENGINE *ENGINE_get_first(void); | |
ENGINE *ENGINE_get_last(void); | |
ENGINE *ENGINE_get_next(ENGINE *e); | |
ENGINE *ENGINE_get_prev(ENGINE *e); | |
int ENGINE_add(ENGINE *e); | |
int ENGINE_remove(ENGINE *e); | |
ENGINE *ENGINE_by_id(const char *id); | |
# 341 "/usr/include/openssl/engine.h" 3 4 | |
void ENGINE_load_builtin_engines(void); | |
unsigned int ENGINE_get_table_flags(void); | |
void ENGINE_set_table_flags(unsigned int flags); | |
# 358 "/usr/include/openssl/engine.h" 3 4 | |
int ENGINE_register_RSA(ENGINE *e); | |
void ENGINE_unregister_RSA(ENGINE *e); | |
void ENGINE_register_all_RSA(void); | |
int ENGINE_register_DSA(ENGINE *e); | |
void ENGINE_unregister_DSA(ENGINE *e); | |
void ENGINE_register_all_DSA(void); | |
int ENGINE_register_EC(ENGINE *e); | |
void ENGINE_unregister_EC(ENGINE *e); | |
void ENGINE_register_all_EC(void); | |
int ENGINE_register_DH(ENGINE *e); | |
void ENGINE_unregister_DH(ENGINE *e); | |
void ENGINE_register_all_DH(void); | |
int ENGINE_register_RAND(ENGINE *e); | |
void ENGINE_unregister_RAND(ENGINE *e); | |
void ENGINE_register_all_RAND(void); | |
int ENGINE_register_ciphers(ENGINE *e); | |
void ENGINE_unregister_ciphers(ENGINE *e); | |
void ENGINE_register_all_ciphers(void); | |
int ENGINE_register_digests(ENGINE *e); | |
void ENGINE_unregister_digests(ENGINE *e); | |
void ENGINE_register_all_digests(void); | |
int ENGINE_register_pkey_meths(ENGINE *e); | |
void ENGINE_unregister_pkey_meths(ENGINE *e); | |
void ENGINE_register_all_pkey_meths(void); | |
int ENGINE_register_pkey_asn1_meths(ENGINE *e); | |
void ENGINE_unregister_pkey_asn1_meths(ENGINE *e); | |
void ENGINE_register_all_pkey_asn1_meths(void); | |
int ENGINE_register_complete(ENGINE *e); | |
int ENGINE_register_all_complete(void); | |
# 413 "/usr/include/openssl/engine.h" 3 4 | |
int ENGINE_ctrl(ENGINE *e, int cmd, long i, void *p, void (*f) (void)); | |
int ENGINE_cmd_is_executable(ENGINE *e, int cmd); | |
int ENGINE_ctrl_cmd(ENGINE *e, const char *cmd_name, | |
long i, void *p, void (*f) (void), int cmd_optional); | |
# 454 "/usr/include/openssl/engine.h" 3 4 | |
int ENGINE_ctrl_cmd_string(ENGINE *e, const char *cmd_name, const char *arg, | |
int cmd_optional); | |
# 465 "/usr/include/openssl/engine.h" 3 4 | |
ENGINE *ENGINE_new(void); | |
int ENGINE_free(ENGINE *e); | |
int ENGINE_up_ref(ENGINE *e); | |
int ENGINE_set_id(ENGINE *e, const char *id); | |
int ENGINE_set_name(ENGINE *e, const char *name); | |
int ENGINE_set_RSA(ENGINE *e, const RSA_METHOD *rsa_meth); | |
int ENGINE_set_DSA(ENGINE *e, const DSA_METHOD *dsa_meth); | |
int ENGINE_set_EC(ENGINE *e, const EC_KEY_METHOD *ecdsa_meth); | |
int ENGINE_set_DH(ENGINE *e, const DH_METHOD *dh_meth); | |
int ENGINE_set_RAND(ENGINE *e, const RAND_METHOD *rand_meth); | |
int ENGINE_set_destroy_function(ENGINE *e, ENGINE_GEN_INT_FUNC_PTR destroy_f); | |
int ENGINE_set_init_function(ENGINE *e, ENGINE_GEN_INT_FUNC_PTR init_f); | |
int ENGINE_set_finish_function(ENGINE *e, ENGINE_GEN_INT_FUNC_PTR finish_f); | |
int ENGINE_set_ctrl_function(ENGINE *e, ENGINE_CTRL_FUNC_PTR ctrl_f); | |
int ENGINE_set_load_privkey_function(ENGINE *e, | |
ENGINE_LOAD_KEY_PTR loadpriv_f); | |
int ENGINE_set_load_pubkey_function(ENGINE *e, ENGINE_LOAD_KEY_PTR loadpub_f); | |
int ENGINE_set_load_ssl_client_cert_function(ENGINE *e, | |
ENGINE_SSL_CLIENT_CERT_PTR | |
loadssl_f); | |
int ENGINE_set_ciphers(ENGINE *e, ENGINE_CIPHERS_PTR f); | |
int ENGINE_set_digests(ENGINE *e, ENGINE_DIGESTS_PTR f); | |
int ENGINE_set_pkey_meths(ENGINE *e, ENGINE_PKEY_METHS_PTR f); | |
int ENGINE_set_pkey_asn1_meths(ENGINE *e, ENGINE_PKEY_ASN1_METHS_PTR f); | |
int ENGINE_set_flags(ENGINE *e, int flags); | |
int ENGINE_set_cmd_defns(ENGINE *e, const ENGINE_CMD_DEFN *defns); | |
int ENGINE_set_ex_data(ENGINE *e, int idx, void *arg); | |
void *ENGINE_get_ex_data(const ENGINE *e, int idx); | |
# 511 "/usr/include/openssl/engine.h" 3 4 | |
const char *ENGINE_get_id(const ENGINE *e); | |
const char *ENGINE_get_name(const ENGINE *e); | |
const RSA_METHOD *ENGINE_get_RSA(const ENGINE *e); | |
const DSA_METHOD *ENGINE_get_DSA(const ENGINE *e); | |
const EC_KEY_METHOD *ENGINE_get_EC(const ENGINE *e); | |
const DH_METHOD *ENGINE_get_DH(const ENGINE *e); | |
const RAND_METHOD *ENGINE_get_RAND(const ENGINE *e); | |
ENGINE_GEN_INT_FUNC_PTR ENGINE_get_destroy_function(const ENGINE *e); | |
ENGINE_GEN_INT_FUNC_PTR ENGINE_get_init_function(const ENGINE *e); | |
ENGINE_GEN_INT_FUNC_PTR ENGINE_get_finish_function(const ENGINE *e); | |
ENGINE_CTRL_FUNC_PTR ENGINE_get_ctrl_function(const ENGINE *e); | |
ENGINE_LOAD_KEY_PTR ENGINE_get_load_privkey_function(const ENGINE *e); | |
ENGINE_LOAD_KEY_PTR ENGINE_get_load_pubkey_function(const ENGINE *e); | |
ENGINE_SSL_CLIENT_CERT_PTR ENGINE_get_ssl_client_cert_function(const ENGINE | |
*e); | |
ENGINE_CIPHERS_PTR ENGINE_get_ciphers(const ENGINE *e); | |
ENGINE_DIGESTS_PTR ENGINE_get_digests(const ENGINE *e); | |
ENGINE_PKEY_METHS_PTR ENGINE_get_pkey_meths(const ENGINE *e); | |
ENGINE_PKEY_ASN1_METHS_PTR ENGINE_get_pkey_asn1_meths(const ENGINE *e); | |
const EVP_CIPHER *ENGINE_get_cipher(ENGINE *e, int nid); | |
const EVP_MD *ENGINE_get_digest(ENGINE *e, int nid); | |
const EVP_PKEY_METHOD *ENGINE_get_pkey_meth(ENGINE *e, int nid); | |
const EVP_PKEY_ASN1_METHOD *ENGINE_get_pkey_asn1_meth(ENGINE *e, int nid); | |
const EVP_PKEY_ASN1_METHOD *ENGINE_get_pkey_asn1_meth_str(ENGINE *e, | |
const char *str, | |
int len); | |
const EVP_PKEY_ASN1_METHOD *ENGINE_pkey_asn1_find_str(ENGINE **pe, | |
const char *str, | |
int len); | |
const ENGINE_CMD_DEFN *ENGINE_get_cmd_defns(const ENGINE *e); | |
int ENGINE_get_flags(const ENGINE *e); | |
# 561 "/usr/include/openssl/engine.h" 3 4 | |
int ENGINE_init(ENGINE *e); | |
int ENGINE_finish(ENGINE *e); | |
EVP_PKEY *ENGINE_load_private_key(ENGINE *e, const char *key_id, | |
UI_METHOD *ui_method, void *callback_data); | |
EVP_PKEY *ENGINE_load_public_key(ENGINE *e, const char *key_id, | |
UI_METHOD *ui_method, void *callback_data); | |
int ENGINE_load_ssl_client_cert(ENGINE *e, SSL *s, | |
struct stack_st_X509_NAME *ca_dn, X509 **pcert, | |
EVP_PKEY **ppkey, struct stack_st_X509 **pother, | |
UI_METHOD *ui_method, void *callback_data); | |
ENGINE *ENGINE_get_default_RSA(void); | |
ENGINE *ENGINE_get_default_DSA(void); | |
ENGINE *ENGINE_get_default_EC(void); | |
ENGINE *ENGINE_get_default_DH(void); | |
ENGINE *ENGINE_get_default_RAND(void); | |
ENGINE *ENGINE_get_cipher_engine(int nid); | |
ENGINE *ENGINE_get_digest_engine(int nid); | |
ENGINE *ENGINE_get_pkey_meth_engine(int nid); | |
ENGINE *ENGINE_get_pkey_asn1_meth_engine(int nid); | |
int ENGINE_set_default_RSA(ENGINE *e); | |
int ENGINE_set_default_string(ENGINE *e, const char *def_list); | |
int ENGINE_set_default_DSA(ENGINE *e); | |
int ENGINE_set_default_EC(ENGINE *e); | |
int ENGINE_set_default_DH(ENGINE *e); | |
int ENGINE_set_default_RAND(ENGINE *e); | |
int ENGINE_set_default_ciphers(ENGINE *e); | |
int ENGINE_set_default_digests(ENGINE *e); | |
int ENGINE_set_default_pkey_meths(ENGINE *e); | |
int ENGINE_set_default_pkey_asn1_meths(ENGINE *e); | |
# 629 "/usr/include/openssl/engine.h" 3 4 | |
int ENGINE_set_default(ENGINE *e, unsigned int flags); | |
void ENGINE_add_conf_module(void); | |
# 659 "/usr/include/openssl/engine.h" 3 4 | |
typedef void *(*dyn_MEM_malloc_fn) (size_t, const char *, int); | |
typedef void *(*dyn_MEM_realloc_fn) (void *, size_t, const char *, int); | |
typedef void (*dyn_MEM_free_fn) (void *, const char *, int); | |
typedef struct st_dynamic_MEM_fns { | |
dyn_MEM_malloc_fn malloc_fn; | |
dyn_MEM_realloc_fn realloc_fn; | |
dyn_MEM_free_fn free_fn; | |
} dynamic_MEM_fns; | |
typedef struct st_dynamic_fns { | |
void *static_state; | |
dynamic_MEM_fns mem_fns; | |
} dynamic_fns; | |
# 689 "/usr/include/openssl/engine.h" 3 4 | |
typedef unsigned long (*dynamic_v_check_fn) (unsigned long ossl_version); | |
# 714 "/usr/include/openssl/engine.h" 3 4 | |
typedef int (*dynamic_bind_engine) (ENGINE *e, const char *id, | |
const dynamic_fns *fns); | |
# 740 "/usr/include/openssl/engine.h" 3 4 | |
void *ENGINE_get_static_state(void); | |
# 37 "sslsym.c" 2 | |
# 1 "/usr/include/openssl/aes.h" 1 3 4 | |
# 13 "/usr/include/openssl/aes.h" 3 4 | |
# 1 "/usr/include/arm-linux-gnueabihf/openssl/opensslconf.h" 1 3 4 | |
# 14 "/usr/include/openssl/aes.h" 2 3 4 | |
# 1 "/usr/lib/gcc/arm-linux-gnueabihf/8/include/stddef.h" 1 3 4 | |
# 16 "/usr/include/openssl/aes.h" 2 3 4 | |
# 31 "/usr/include/openssl/aes.h" 3 4 | |
struct aes_key_st { | |
unsigned int rd_key[4 * (14 + 1)]; | |
int rounds; | |
}; | |
typedef struct aes_key_st AES_KEY; | |
const char *AES_options(void); | |
int AES_set_encrypt_key(const unsigned char *userKey, const int bits, | |
AES_KEY *key); | |
int AES_set_decrypt_key(const unsigned char *userKey, const int bits, | |
AES_KEY *key); | |
void AES_encrypt(const unsigned char *in, unsigned char *out, | |
const AES_KEY *key); | |
void AES_decrypt(const unsigned char *in, unsigned char *out, | |
const AES_KEY *key); | |
void AES_ecb_encrypt(const unsigned char *in, unsigned char *out, | |
const AES_KEY *key, const int enc); | |
void AES_cbc_encrypt(const unsigned char *in, unsigned char *out, | |
size_t length, const AES_KEY *key, | |
unsigned char *ivec, const int enc); | |
void AES_cfb128_encrypt(const unsigned char *in, unsigned char *out, | |
size_t length, const AES_KEY *key, | |
unsigned char *ivec, int *num, const int enc); | |
void AES_cfb1_encrypt(const unsigned char *in, unsigned char *out, | |
size_t length, const AES_KEY *key, | |
unsigned char *ivec, int *num, const int enc); | |
void AES_cfb8_encrypt(const unsigned char *in, unsigned char *out, | |
size_t length, const AES_KEY *key, | |
unsigned char *ivec, int *num, const int enc); | |
void AES_ofb128_encrypt(const unsigned char *in, unsigned char *out, | |
size_t length, const AES_KEY *key, | |
unsigned char *ivec, int *num); | |
void AES_ige_encrypt(const unsigned char *in, unsigned char *out, | |
size_t length, const AES_KEY *key, | |
unsigned char *ivec, const int enc); | |
void AES_bi_ige_encrypt(const unsigned char *in, unsigned char *out, | |
size_t length, const AES_KEY *key, | |
const AES_KEY *key2, const unsigned char *ivec, | |
const int enc); | |
int AES_wrap_key(AES_KEY *key, const unsigned char *iv, | |
unsigned char *out, | |
const unsigned char *in, unsigned int inlen); | |
int AES_unwrap_key(AES_KEY *key, const unsigned char *iv, | |
unsigned char *out, | |
const unsigned char *in, unsigned int inlen); | |
# 38 "sslsym.c" 2 | |
# 1 "sslshim.h" 1 | |
# 40 "sslsym.c" 2 | |
# 41 "sslsym.c" | |
static void *SSLhandle = | |
# 41 "sslsym.c" 3 4 | |
((void *)0) | |
# 41 "sslsym.c" | |
; | |
static void *CRYPThandle = | |
# 42 "sslsym.c" 3 4 | |
((void *)0) | |
# 42 "sslsym.c" | |
; | |
# 103 "sslsym.c" | |
static int (*dlsym_RSA_set0_key)(RSA* r, BIGNUM* n, BIGNUM* e, BIGNUM* d); int RSA_set0_key(RSA* r, BIGNUM* n, BIGNUM* e, BIGNUM* d) { return (*dlsym_RSA_set0_key)(r, n, e, d); }; | |
# 121 "sslsym.c" | |
static char *LIBSSL[] = { | |
"libssl.so", | |
"libssl.so.1.1", | |
"libssl.so.1.0.2", | |
"libssl.so.1.0.1", | |
"libssl.so.1.0.0", | |
# 126 "sslsym.c" 3 4 | |
((void *)0) | |
# 126 "sslsym.c" | |
}; | |
static char *LIBCRYPTO[] = { | |
"libcrypto.so", | |
"libcrypto.so.1.1", | |
"libcrypto.so.1.0.2", | |
"libcrypto.so.1.0.1", | |
"libcrypto.so.1.0.0", | |
# 132 "sslsym.c" 3 4 | |
((void *)0) | |
# 132 "sslsym.c" | |
}; | |
# 148 "sslsym.c" | |
static int (*dlsym_SSL_read)(SSL* s, void* buf, int len); int SSL_read(SSL* s, void* buf, int len) { return (*dlsym_SSL_read)(s, buf, len); }; | |
static int (*dlsym_SSL_write)(SSL* s, const void* buf, int len); int SSL_write(SSL* s, const void* buf, int len) { return (*dlsym_SSL_write)(s, buf, len); }; | |
static const SSL_METHOD* (*dlsym_SSLv23_client_method)(void); const SSL_METHOD* | |
# 150 "sslsym.c" 3 4 | |
TLS_client_method | |
# 150 "sslsym.c" | |
(void) { return (*dlsym_SSLv23_client_method)(); }; | |
static const SSL_METHOD* (*dlsym_TLS_client_method)(void); const SSL_METHOD* TLS_client_method(void) { return (*dlsym_TLS_client_method)(); }; | |
static unsigned long (*dlsym_OpenSSL_version_num)(void); unsigned long OpenSSL_version_num(void) { return (*dlsym_OpenSSL_version_num)(); }; | |
sslsym.c:153:1: error: macro "SSL_library_init" passed 1 arguments, but takes just 0 | |
SYMDECL(SSL_library_init, int, 0); | |
^~ | |
static int (*dlsym_SSL_library_init)(void); int SSL_library_init { return (*dlsym_SSL_library_init)(); }; | |
static int (*dlsym_SSL_CTX_set_cipher_list)(SSL_CTX * ctx, const char* str); int SSL_CTX_set_cipher_list(SSL_CTX * ctx, const char* str) { return (*dlsym_SSL_CTX_set_cipher_list)(ctx, str); }; | |
static SSL_CTX* (*dlsym_SSL_CTX_new)(const SSL_METHOD * meth); SSL_CTX* SSL_CTX_new(const SSL_METHOD * meth) { return (*dlsym_SSL_CTX_new)(meth); }; | |
static long (*dlsym_SSL_CTX_ctrl)(SSL_CTX * ctx, int cmd, long larg, void* parg); long SSL_CTX_ctrl(SSL_CTX * ctx, int cmd, long larg, void* parg) { return (*dlsym_SSL_CTX_ctrl)(ctx, cmd, larg, parg); }; | |
static SSL* (*dlsym_SSL_new)(SSL_CTX* s); SSL* SSL_new(SSL_CTX* s) { return (*dlsym_SSL_new)(s); }; | |
static int (*dlsym_SSL_connect)(SSL* s); int SSL_connect(SSL* s) { return (*dlsym_SSL_connect)(s); }; | |
static int (*dlsym_SSL_shutdown)(SSL* s); int SSL_shutdown(SSL* s) { return (*dlsym_SSL_shutdown)(s); }; | |
static int (*dlsym_SSL_clear)(SSL* s); int SSL_clear(SSL* s) { return (*dlsym_SSL_clear)(s); }; | |
static int (*dlsym_SSL_get_fd)(const SSL* s); int SSL_get_fd(const SSL* s) { return (*dlsym_SSL_get_fd)(s); }; | |
static int (*dlsym_SSL_set_fd)(SSL* s, int fd); int SSL_set_fd(SSL* s, int fd) { return (*dlsym_SSL_set_fd)(s, fd); }; | |
static int (*dlsym_SSL_get_error)(const SSL* s, int ret_code); int SSL_get_error(const SSL* s, int ret_code) { return (*dlsym_SSL_get_error)(s, ret_code); }; | |
static long (*dlsym_SSL_ctrl)(SSL* ssl, int cmd, long larg, void* parg); long SSL_ctrl(SSL* ssl, int cmd, long larg, void* parg) { return (*dlsym_SSL_ctrl)(ssl, cmd, larg, parg); }; | |
static int (*dlsym_SSL_pending)(const SSL* s); int SSL_pending(const SSL* s) { return (*dlsym_SSL_pending)(s); }; | |
static void (*dlsym_SSL_free)(SSL* s); void SSL_free(SSL* s) { return (*dlsym_SSL_free)(s); }; | |
static void (*dlsym_SSL_CTX_free)(SSL_CTX * ctx); void SSL_CTX_free(SSL_CTX * ctx) { return (*dlsym_SSL_CTX_free)(ctx); }; | |
static unsigned long (*dlsym_ERR_get_error)(void); unsigned long ERR_get_error(void) { return (*dlsym_ERR_get_error)(); }; | |
static int (*dlsym_SHA512_Init)(SHA512_CTX* c); int SHA512_Init(SHA512_CTX* c) { return (*dlsym_SHA512_Init)(c); }; | |
static int (*dlsym_SHA512_Update)(SHA512_CTX* c, const void* data, size_t len); int SHA512_Update(SHA512_CTX* c, const void* data, size_t len) { return (*dlsym_SHA512_Update)(c, data, len); }; | |
static int (*dlsym_SHA512_Final)(unsigned char* md, SHA512_CTX* c); int SHA512_Final(unsigned char* md, SHA512_CTX* c) { return (*dlsym_SHA512_Final)(md, c); }; | |
static int (*dlsym_RAND_bytes)(unsigned char* buf, int num); int RAND_bytes(unsigned char* buf, int num) { return (*dlsym_RAND_bytes)(buf, num); }; | |
static RSA* (*dlsym_RSA_new)(void); RSA* RSA_new(void) { return (*dlsym_RSA_new)(); }; | |
static int (*dlsym_RSA_size)(const RSA* rsa); int RSA_size(const RSA* rsa) { return (*dlsym_RSA_size)(rsa); }; | |
static int (*dlsym_RSA_public_encrypt)(int flen, const unsigned char* from, unsigned char* to, RSA* rsa, int padding); int RSA_public_encrypt(int flen, const unsigned char* from, unsigned char* to, RSA* rsa, int padding) { return (*dlsym_RSA_public_encrypt)(flen, from, to, rsa, padding); }; | |
static int (*dlsym_RSA_public_decrypt)(int flen, const unsigned char* from, unsigned char* to, RSA* rsa, int padding); int RSA_public_decrypt(int flen, const unsigned char* from, unsigned char* to, RSA* rsa, int padding) { return (*dlsym_RSA_public_decrypt)(flen, from, to, rsa, padding); }; | |
static int (*dlsym_RSA_private_encrypt)(int flen, const unsigned char* from, unsigned char* to, RSA* rsa, int padding); int RSA_private_encrypt(int flen, const unsigned char* from, unsigned char* to, RSA* rsa, int padding) { return (*dlsym_RSA_private_encrypt)(flen, from, to, rsa, padding); }; | |
static int (*dlsym_RSA_private_decrypt)(int flen, const unsigned char* from, unsigned char* to, RSA* rsa, int padding); int RSA_private_decrypt(int flen, const unsigned char* from, unsigned char* to, RSA* rsa, int padding) { return (*dlsym_RSA_private_decrypt)(flen, from, to, rsa, padding); }; | |
static BIGNUM* (*dlsym_BN_bin2bn)(const unsigned char* s, int len, BIGNUM* ret); BIGNUM* BN_bin2bn(const unsigned char* s, int len, BIGNUM* ret) { return (*dlsym_BN_bin2bn)(s, len, ret); }; | |
static int (*dlsym_AES_set_decrypt_key)(const unsigned char* userKey, const int bits, AES_KEY* key); int AES_set_decrypt_key(const unsigned char* userKey, const int bits, AES_KEY* key) { return (*dlsym_AES_set_decrypt_key)(userKey, bits, key); }; | |
static BIO* (*dlsym_BIO_new_mem_buf)(const void* buf, int len); BIO* BIO_new_mem_buf(const void* buf, int len) { return (*dlsym_BIO_new_mem_buf)(buf, len); }; | |
static int (*dlsym_BIO_free)(BIO* a); int BIO_free(BIO* a) { return (*dlsym_BIO_free)(a); }; | |
static RSA * (*dlsym_PEM_read_bio_RSAPrivateKey)(BIO* bp, RSA** x, pem_password_cb* cb, void* u); RSA * PEM_read_bio_RSAPrivateKey(BIO* bp, RSA** x, pem_password_cb* cb, void* u) { return (*dlsym_PEM_read_bio_RSAPrivateKey)(bp, x, cb, u); }; | |
static void (*dlsym_AES_cbc_encrypt)(const unsigned char* in, unsigned char* out, size_t length, const AES_KEY* key, unsigned char* ivec, const int enc); void AES_cbc_encrypt(const unsigned char* in, unsigned char* out, size_t length, const AES_KEY* key, unsigned char* ivec, const int enc) { return (*dlsym_AES_cbc_encrypt)(in, out, length, key, ivec, enc); }; | |
static void (*dlsym_RAND_seed)(const void* buf, int num); void RAND_seed(const void* buf, int num) { return (*dlsym_RAND_seed)(buf, num); }; | |
static void (*dlsym_RSA_free)(RSA* r); void RSA_free(RSA* r) { return (*dlsym_RSA_free)(r); }; | |
static void (*dlsym_ERR_clear_error)(void); void ERR_clear_error(void) { return (*dlsym_ERR_clear_error)(); }; | |
static void (*dlsym_ERR_remove_state)(unsigned long pid); void ERR_remove_state(unsigned long pid) { return (*dlsym_ERR_remove_state)(pid); }; | |
# 210 "sslsym.c" | |
static void *dlopen_try(char **filenames, int flag) { | |
void *handle; | |
for (handle = | |
# 212 "sslsym.c" 3 4 | |
((void *)0) | |
# 212 "sslsym.c" | |
; !handle && *filenames; filenames++) handle = dlopen(*filenames, flag); | |
return handle; | |
} | |
static int lambda(void) { | |
return | |
# 217 "sslsym.c" 3 4 | |
1 | |
# 217 "sslsym.c" | |
; | |
} | |
# 220 "sslsym.c" 3 4 | |
_Bool | |
# 220 "sslsym.c" | |
load_ssl_symbols(void) { | |
CRYPThandle = dlopen_try(LIBCRYPTO, | |
# 221 "sslsym.c" 3 4 | |
0x00002 | |
# 221 "sslsym.c" | |
); | |
SSLhandle = dlopen_try(LIBSSL, | |
# 222 "sslsym.c" 3 4 | |
0x00002 | |
# 222 "sslsym.c" | |
); | |
if (!SSLhandle || !CRYPThandle) { | |
free_ssl_symbols(); | |
return | |
# 226 "sslsym.c" 3 4 | |
0 | |
# 226 "sslsym.c" | |
; | |
} | |
dlsym_SSL_CTX_new = dlsym(SSLhandle, "SSL_CTX_new"); | |
dlsym_SSL_CTX_ctrl = dlsym(SSLhandle, "SSL_CTX_ctrl"); | |
dlsym_SSL_CTX_set_cipher_list = dlsym(SSLhandle, "SSL_CTX_set_cipher_list"); | |
dlsym_SSL_CTX_free = dlsym(SSLhandle, "SSL_CTX_free"); | |
dlsym_SSL_ctrl = dlsym(SSLhandle, "SSL_ctrl"); | |
dlsym_SSL_free = dlsym(SSLhandle, "SSL_free"); | |
dlsym_SSL_new = dlsym(SSLhandle, "SSL_new"); | |
dlsym_SSL_connect = dlsym(SSLhandle, "SSL_connect"); | |
dlsym_SSL_get_fd = dlsym(SSLhandle, "SSL_get_fd"); | |
dlsym_SSL_set_fd = dlsym(SSLhandle, "SSL_set_fd"); | |
dlsym_SSL_get_error = dlsym(SSLhandle, "SSL_get_error"); | |
dlsym_SSL_shutdown = dlsym(SSLhandle, "SSL_shutdown"); | |
dlsym_SSL_clear = dlsym(SSLhandle, "SSL_clear"); | |
dlsym_SSL_read = dlsym(SSLhandle, "SSL_read"); | |
dlsym_SSL_write = dlsym(SSLhandle, "SSL_write"); | |
dlsym_SSL_pending = dlsym(SSLhandle, "SSL_pending"); | |
dlsym_SSLv23_client_method = dlsym(SSLhandle, "SSLv23_client_method"); | |
dlsym_TLS_client_method = dlsym(SSLhandle, "TLS_client_method"); | |
dlsym_SSL_library_init = dlsym(SSLhandle, "SSL_library_init"); | |
dlsym_OpenSSL_version_num = dlsym(SSLhandle, "OpenSSL_version_num"); | |
dlsym_RAND_seed = dlsym(CRYPThandle, "RAND_seed"); | |
dlsym_RAND_bytes = dlsym(CRYPThandle, "RAND_bytes"); | |
dlsym_SHA512_Init = dlsym(CRYPThandle, "SHA512_Init"); | |
dlsym_SHA512_Update = dlsym(CRYPThandle, "SHA512_Update"); | |
dlsym_SHA512_Final = dlsym(CRYPThandle, "SHA512_Final"); | |
dlsym_ERR_clear_error = dlsym(CRYPThandle, "ERR_clear_error"); | |
dlsym_ERR_get_error = dlsym(CRYPThandle, "ERR_get_error"); | |
dlsym_ERR_remove_state = dlsym(CRYPThandle, "ERR_remove_state"); | |
dlsym_RSA_new = dlsym(CRYPThandle, "RSA_new"); | |
dlsym_RSA_size = dlsym(CRYPThandle, "RSA_size"); | |
dlsym_RSA_public_encrypt = dlsym(CRYPThandle, "RSA_public_encrypt"); | |
dlsym_RSA_private_encrypt = dlsym(CRYPThandle, "RSA_private_encrypt"); | |
dlsym_RSA_public_decrypt = dlsym(CRYPThandle, "RSA_public_decrypt"); | |
dlsym_RSA_private_decrypt = dlsym(CRYPThandle, "RSA_private_decrypt"); | |
dlsym_RSA_free = dlsym(CRYPThandle, "RSA_free"); | |
dlsym_RSA_set0_key = dlsym(CRYPThandle, "RSA_set0_key"); | |
dlsym_BN_bin2bn = dlsym(CRYPThandle, "BN_bin2bn"); | |
dlsym_AES_set_decrypt_key = dlsym(CRYPThandle, "AES_set_decrypt_key"); | |
dlsym_AES_cbc_encrypt = dlsym(CRYPThandle, "AES_cbc_encrypt"); | |
dlsym_BIO_new_mem_buf = dlsym(CRYPThandle, "BIO_new_mem_buf"); | |
dlsym_BIO_free = dlsym(CRYPThandle, "BIO_free"); | |
dlsym_PEM_read_bio_RSAPrivateKey = dlsym(CRYPThandle, "PEM_read_bio_RSAPrivateKey"); | |
if (!dlsym_SSLv23_client_method) dlsym_SSLv23_client_method = dlsym_TLS_client_method; | |
if (!dlsym_SSL_library_init) dlsym_SSL_library_init = λ | |
if (!dlsym_RSA_set0_key) dlsym_RSA_set0_key = &(shim_RSA_set0_key); | |
return | |
# 280 "sslsym.c" 3 4 | |
1 | |
# 280 "sslsym.c" | |
; | |
} | |
void free_ssl_symbols(void) { | |
if (SSLhandle) dlclose(SSLhandle); | |
if (CRYPThandle) dlclose(CRYPThandle); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment