-
Notifications
You must be signed in to change notification settings - Fork 0
/
s2n.ffi
66 lines (63 loc) · 1.69 KB
/
s2n.ffi
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
;; -*- Mode: Irken -*-
(s2n
(includes "s2n.h")
(lflags "-L/usr/local/lib" "-ls2n")
(cflags "-I/usr/local/include")
;; this is an opaque structure, we don't need to know anything about it.
;(structs s2n_config s2n_connection)
;; s2n is nice: all constants are in enum form.
(enums s2n_error_type
s2n_tls_extension_type
s2n_max_frag_len
s2n_status_request_type
s2n_ct_support_level
s2n_mode
s2n_blinding
s2n_blocked_status
s2n_cert_auth_type
s2n_cert_type
)
(constants)
(sigs
s2n_errno
s2n_error_get_type
s2n_init
s2n_cleanup
s2n_strerror
s2n_config_new
s2n_config_free
s2n_config_free_dhparams
s2n_config_free_cert_chain_and_key
s2n_config_add_cert_chain_and_key
s2n_config_add_dhparams
s2n_config_set_cipher_preferences
s2n_config_set_protocol_preferences
s2n_connection_new
s2n_connection_set_config
s2n_connection_set_fd
s2n_connection_set_read_fd
s2n_connection_set_write_fd
s2n_connection_use_corked_io
s2n_connection_set_blinding
s2n_connection_get_delay
s2n_set_server_name
s2n_get_server_name
s2n_get_application_protocol
s2n_connection_get_ocsp_response
s2n_connection_get_sct_list
s2n_negotiate
s2n_send
s2n_recv
s2n_connection_wipe
s2n_connection_free
s2n_shutdown
s2n_connection_get_wire_bytes_in
s2n_connection_get_wire_bytes_out
s2n_connection_get_client_protocol_version
s2n_connection_get_server_protocol_version
s2n_connection_get_actual_protocol_version
s2n_connection_get_client_hello_version
s2n_connection_get_cipher
s2n_connection_get_curve
s2n_connection_get_alert
))