Home
last modified time | relevance | path

Searched refs:OPENSSL_STACK (Results 1 – 9 of 9) sorted by relevance

/third_party/openssl/include/openssl/
Dstack.h17 typedef struct stack_st OPENSSL_STACK; /* Use STACK_OF(...) instead */ typedef
23 int OPENSSL_sk_num(const OPENSSL_STACK *);
24 void *OPENSSL_sk_value(const OPENSSL_STACK *, int);
26 void *OPENSSL_sk_set(OPENSSL_STACK *st, int i, const void *data);
28 OPENSSL_STACK *OPENSSL_sk_new(OPENSSL_sk_compfunc cmp);
29 OPENSSL_STACK *OPENSSL_sk_new_null(void);
30 OPENSSL_STACK *OPENSSL_sk_new_reserve(OPENSSL_sk_compfunc c, int n);
31 int OPENSSL_sk_reserve(OPENSSL_STACK *st, int n);
32 void OPENSSL_sk_free(OPENSSL_STACK *);
33 void OPENSSL_sk_pop_free(OPENSSL_STACK *st, void (*func) (void *));
[all …]
Dsafestack.h29 return OPENSSL_sk_num((const OPENSSL_STACK *)sk); \
33 return (t2 *)OPENSSL_sk_value((const OPENSSL_STACK *)sk, idx); \
49 return OPENSSL_sk_reserve((OPENSSL_STACK *)sk, n); \
53 OPENSSL_sk_free((OPENSSL_STACK *)sk); \
57 OPENSSL_sk_zero((OPENSSL_STACK *)sk); \
61 return (t2 *)OPENSSL_sk_delete((OPENSSL_STACK *)sk, i); \
65 return (t2 *)OPENSSL_sk_delete_ptr((OPENSSL_STACK *)sk, \
70 return OPENSSL_sk_push((OPENSSL_STACK *)sk, (const void *)ptr); \
74 return OPENSSL_sk_unshift((OPENSSL_STACK *)sk, (const void *)ptr); \
78 return (t2 *)OPENSSL_sk_pop((OPENSSL_STACK *)sk); \
[all …]
/third_party/openssl/crypto/stack/
Dstack.c34 OPENSSL_sk_compfunc OPENSSL_sk_set_cmp_func(OPENSSL_STACK *sk, OPENSSL_sk_compfunc c) in OPENSSL_sk_set_cmp_func()
45 OPENSSL_STACK *OPENSSL_sk_dup(const OPENSSL_STACK *sk) in OPENSSL_sk_dup()
47 OPENSSL_STACK *ret; in OPENSSL_sk_dup()
73 OPENSSL_STACK *OPENSSL_sk_deep_copy(const OPENSSL_STACK *sk, in OPENSSL_sk_deep_copy()
77 OPENSSL_STACK *ret; in OPENSSL_sk_deep_copy()
116 OPENSSL_STACK *OPENSSL_sk_new_null(void) in OPENSSL_sk_new_null()
121 OPENSSL_STACK *OPENSSL_sk_new(OPENSSL_sk_compfunc c) in OPENSSL_sk_new()
160 static int sk_reserve(OPENSSL_STACK *st, int n, int exact) in sk_reserve()
207 OPENSSL_STACK *OPENSSL_sk_new_reserve(OPENSSL_sk_compfunc c, int n) in OPENSSL_sk_new_reserve()
209 OPENSSL_STACK *st = OPENSSL_zalloc(sizeof(OPENSSL_STACK)); in OPENSSL_sk_new_reserve()
[all …]
/third_party/libwebsockets/lib/tls/mbedtls/wrapper/library/
Dssl_stack.c30 OPENSSL_STACK* OPENSSL_sk_new(OPENSSL_sk_compfunc c) in OPENSSL_sk_new()
32 OPENSSL_STACK *stack; in OPENSSL_sk_new()
35 stack = ssl_mem_zalloc(sizeof(OPENSSL_STACK)); in OPENSSL_sk_new()
62 OPENSSL_STACK *OPENSSL_sk_new_null(void) in OPENSSL_sk_new_null()
70 void OPENSSL_sk_free(OPENSSL_STACK *stack) in OPENSSL_sk_free()
/third_party/libwebsockets/lib/tls/mbedtls/wrapper/include/internal/
Dssl_stack.h28 OPENSSL_STACK* OPENSSL_sk_new(OPENSSL_sk_compfunc c);
37 OPENSSL_STACK *OPENSSL_sk_new_null(void);
46 void OPENSSL_sk_free(OPENSSL_STACK *stack);
Dssl_types.h61 typedef struct stack_st OPENSSL_STACK; typedef
/third_party/libwebsockets/lib/tls/openssl/
Dopenssl-x509.c257 for (j = 0; j < OPENSSL_sk_num((const OPENSSL_STACK *)&cv); j++) { in lws_tls_openssl_cert_info()
258 CONF_VALUE *nval = OPENSSL_sk_value((const OPENSSL_STACK *)&cv, j); in lws_tls_openssl_cert_info()
Dopenssl-client.c159 for (n = 0; n < OPENSSL_sk_num((const OPENSSL_STACK *)x509_stack) && in OpenSSL_client_verify_callback()
162 X509 *x509 = OPENSSL_sk_value((const OPENSSL_STACK *)x509_stack, n); in OpenSSL_client_verify_callback()
/third_party/libwebsockets/lib/tls/
DCMakeLists.txt361 CHECK_C_SOURCE_COMPILES("#include <openssl/ssl.h>\nint main(void) { OPENSSL_STACK *x = NULL; return…