1#[repr(C)]
4#[derive(Default)]
5pub struct __IncompleteArrayField<T>(::std::marker::PhantomData<T>, [T; 0]);
6impl<T> __IncompleteArrayField<T> {
7 #[inline]
8 pub const fn new() -> Self {
9 __IncompleteArrayField(::std::marker::PhantomData, [])
10 }
11
12 #[inline]
13 pub fn as_ptr(&self) -> *const T {
14 self as *const _ as *const T
15 }
16
17 #[inline]
18 pub fn as_mut_ptr(&mut self) -> *mut T {
19 self as *mut _ as *mut T
20 }
21
22 #[inline]
23 pub unsafe fn as_slice(&self, len: usize) -> &[T] {
24 ::std::slice::from_raw_parts(self.as_ptr(), len)
25 }
26
27 #[inline]
28 pub unsafe fn as_mut_slice(&mut self, len: usize) -> &mut [T] {
29 ::std::slice::from_raw_parts_mut(self.as_mut_ptr(), len)
30 }
31}
32impl<T> ::std::fmt::Debug for __IncompleteArrayField<T> {
33 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
34 fmt.write_str("__IncompleteArrayField")
35 }
36}
37pub const __BITS_PER_LONG: u32 = 64;
38pub const __FD_SETSIZE: u32 = 1024;
39pub const TLS_TX: u32 = 1;
40pub const TLS_RX: u32 = 2;
41pub const TLS_TX_ZEROCOPY_RO: u32 = 3;
42pub const TLS_RX_EXPECT_NO_PAD: u32 = 4;
43pub const TLS_1_2_VERSION_MAJOR: u32 = 3;
44pub const TLS_1_2_VERSION_MINOR: u32 = 3;
45pub const TLS_1_3_VERSION_MAJOR: u32 = 3;
46pub const TLS_1_3_VERSION_MINOR: u32 = 4;
47pub const TLS_CIPHER_AES_GCM_128: u32 = 51;
48pub const TLS_CIPHER_AES_GCM_128_IV_SIZE: u32 = 8;
49pub const TLS_CIPHER_AES_GCM_128_KEY_SIZE: u32 = 16;
50pub const TLS_CIPHER_AES_GCM_128_SALT_SIZE: u32 = 4;
51pub const TLS_CIPHER_AES_GCM_128_TAG_SIZE: u32 = 16;
52pub const TLS_CIPHER_AES_GCM_128_REC_SEQ_SIZE: u32 = 8;
53pub const TLS_CIPHER_AES_GCM_256: u32 = 52;
54pub const TLS_CIPHER_AES_GCM_256_IV_SIZE: u32 = 8;
55pub const TLS_CIPHER_AES_GCM_256_KEY_SIZE: u32 = 32;
56pub const TLS_CIPHER_AES_GCM_256_SALT_SIZE: u32 = 4;
57pub const TLS_CIPHER_AES_GCM_256_TAG_SIZE: u32 = 16;
58pub const TLS_CIPHER_AES_GCM_256_REC_SEQ_SIZE: u32 = 8;
59pub const TLS_CIPHER_AES_CCM_128: u32 = 53;
60pub const TLS_CIPHER_AES_CCM_128_IV_SIZE: u32 = 8;
61pub const TLS_CIPHER_AES_CCM_128_KEY_SIZE: u32 = 16;
62pub const TLS_CIPHER_AES_CCM_128_SALT_SIZE: u32 = 4;
63pub const TLS_CIPHER_AES_CCM_128_TAG_SIZE: u32 = 16;
64pub const TLS_CIPHER_AES_CCM_128_REC_SEQ_SIZE: u32 = 8;
65pub const TLS_CIPHER_CHACHA20_POLY1305: u32 = 54;
66pub const TLS_CIPHER_CHACHA20_POLY1305_IV_SIZE: u32 = 12;
67pub const TLS_CIPHER_CHACHA20_POLY1305_KEY_SIZE: u32 = 32;
68pub const TLS_CIPHER_CHACHA20_POLY1305_SALT_SIZE: u32 = 0;
69pub const TLS_CIPHER_CHACHA20_POLY1305_TAG_SIZE: u32 = 16;
70pub const TLS_CIPHER_CHACHA20_POLY1305_REC_SEQ_SIZE: u32 = 8;
71pub const TLS_CIPHER_SM4_GCM: u32 = 55;
72pub const TLS_CIPHER_SM4_GCM_IV_SIZE: u32 = 8;
73pub const TLS_CIPHER_SM4_GCM_KEY_SIZE: u32 = 16;
74pub const TLS_CIPHER_SM4_GCM_SALT_SIZE: u32 = 4;
75pub const TLS_CIPHER_SM4_GCM_TAG_SIZE: u32 = 16;
76pub const TLS_CIPHER_SM4_GCM_REC_SEQ_SIZE: u32 = 8;
77pub const TLS_CIPHER_SM4_CCM: u32 = 56;
78pub const TLS_CIPHER_SM4_CCM_IV_SIZE: u32 = 8;
79pub const TLS_CIPHER_SM4_CCM_KEY_SIZE: u32 = 16;
80pub const TLS_CIPHER_SM4_CCM_SALT_SIZE: u32 = 4;
81pub const TLS_CIPHER_SM4_CCM_TAG_SIZE: u32 = 16;
82pub const TLS_CIPHER_SM4_CCM_REC_SEQ_SIZE: u32 = 8;
83pub const TLS_CIPHER_ARIA_GCM_128: u32 = 57;
84pub const TLS_CIPHER_ARIA_GCM_128_IV_SIZE: u32 = 8;
85pub const TLS_CIPHER_ARIA_GCM_128_KEY_SIZE: u32 = 16;
86pub const TLS_CIPHER_ARIA_GCM_128_SALT_SIZE: u32 = 4;
87pub const TLS_CIPHER_ARIA_GCM_128_TAG_SIZE: u32 = 16;
88pub const TLS_CIPHER_ARIA_GCM_128_REC_SEQ_SIZE: u32 = 8;
89pub const TLS_CIPHER_ARIA_GCM_256: u32 = 58;
90pub const TLS_CIPHER_ARIA_GCM_256_IV_SIZE: u32 = 8;
91pub const TLS_CIPHER_ARIA_GCM_256_KEY_SIZE: u32 = 32;
92pub const TLS_CIPHER_ARIA_GCM_256_SALT_SIZE: u32 = 4;
93pub const TLS_CIPHER_ARIA_GCM_256_TAG_SIZE: u32 = 16;
94pub const TLS_CIPHER_ARIA_GCM_256_REC_SEQ_SIZE: u32 = 8;
95pub const TLS_SET_RECORD_TYPE: u32 = 1;
96pub const TLS_GET_RECORD_TYPE: u32 = 2;
97pub const TLS_CONF_BASE: u32 = 1;
98pub const TLS_CONF_SW: u32 = 2;
99pub const TLS_CONF_HW: u32 = 3;
100pub const TLS_CONF_HW_RECORD: u32 = 4;
101pub type __s8 = ::std::os::raw::c_schar;
102pub type __u8 = ::std::os::raw::c_uchar;
103pub type __s16 = ::std::os::raw::c_short;
104pub type __u16 = ::std::os::raw::c_ushort;
105pub type __s32 = ::std::os::raw::c_int;
106pub type __u32 = ::std::os::raw::c_uint;
107pub type __s64 = ::std::os::raw::c_longlong;
108pub type __u64 = ::std::os::raw::c_ulonglong;
109#[repr(C)]
110#[derive(Debug, Copy, Clone)]
111pub struct __kernel_fd_set {
112 pub fds_bits: [::std::os::raw::c_ulong; 16usize],
113}
114#[allow(clippy::unnecessary_operation, clippy::identity_op)]
115const _: () = {
116 ["Size of __kernel_fd_set"][::std::mem::size_of::<__kernel_fd_set>() - 128usize];
117 ["Alignment of __kernel_fd_set"][::std::mem::align_of::<__kernel_fd_set>() - 8usize];
118 ["Offset of field: __kernel_fd_set::fds_bits"]
119 [::std::mem::offset_of!(__kernel_fd_set, fds_bits) - 0usize];
120};
121pub type __kernel_sighandler_t =
122 ::std::option::Option<unsafe extern "C" fn(arg1: ::std::os::raw::c_int)>;
123pub type __kernel_key_t = ::std::os::raw::c_int;
124pub type __kernel_mqd_t = ::std::os::raw::c_int;
125pub type __kernel_old_uid_t = ::std::os::raw::c_ushort;
126pub type __kernel_old_gid_t = ::std::os::raw::c_ushort;
127pub type __kernel_old_dev_t = ::std::os::raw::c_ulong;
128pub type __kernel_long_t = ::std::os::raw::c_long;
129pub type __kernel_ulong_t = ::std::os::raw::c_ulong;
130pub type __kernel_ino_t = __kernel_ulong_t;
131pub type __kernel_mode_t = ::std::os::raw::c_uint;
132pub type __kernel_pid_t = ::std::os::raw::c_int;
133pub type __kernel_ipc_pid_t = ::std::os::raw::c_int;
134pub type __kernel_uid_t = ::std::os::raw::c_uint;
135pub type __kernel_gid_t = ::std::os::raw::c_uint;
136pub type __kernel_suseconds_t = __kernel_long_t;
137pub type __kernel_daddr_t = ::std::os::raw::c_int;
138pub type __kernel_uid32_t = ::std::os::raw::c_uint;
139pub type __kernel_gid32_t = ::std::os::raw::c_uint;
140pub type __kernel_size_t = __kernel_ulong_t;
141pub type __kernel_ssize_t = __kernel_long_t;
142pub type __kernel_ptrdiff_t = __kernel_long_t;
143#[repr(C)]
144#[derive(Debug, Copy, Clone)]
145pub struct __kernel_fsid_t {
146 pub val: [::std::os::raw::c_int; 2usize],
147}
148#[allow(clippy::unnecessary_operation, clippy::identity_op)]
149const _: () = {
150 ["Size of __kernel_fsid_t"][::std::mem::size_of::<__kernel_fsid_t>() - 8usize];
151 ["Alignment of __kernel_fsid_t"][::std::mem::align_of::<__kernel_fsid_t>() - 4usize];
152 ["Offset of field: __kernel_fsid_t::val"]
153 [::std::mem::offset_of!(__kernel_fsid_t, val) - 0usize];
154};
155pub type __kernel_off_t = __kernel_long_t;
156pub type __kernel_loff_t = ::std::os::raw::c_longlong;
157pub type __kernel_old_time_t = __kernel_long_t;
158pub type __kernel_time_t = __kernel_long_t;
159pub type __kernel_time64_t = ::std::os::raw::c_longlong;
160pub type __kernel_clock_t = __kernel_long_t;
161pub type __kernel_timer_t = ::std::os::raw::c_int;
162pub type __kernel_clockid_t = ::std::os::raw::c_int;
163pub type __kernel_caddr_t = *mut ::std::os::raw::c_char;
164pub type __kernel_uid16_t = ::std::os::raw::c_ushort;
165pub type __kernel_gid16_t = ::std::os::raw::c_ushort;
166pub type __le16 = __u16;
167pub type __be16 = __u16;
168pub type __le32 = __u32;
169pub type __be32 = __u32;
170pub type __le64 = __u64;
171pub type __be64 = __u64;
172pub type __sum16 = __u16;
173pub type __wsum = __u32;
174pub type __poll_t = ::std::os::raw::c_uint;
175#[repr(C)]
176#[derive(Debug, Copy, Clone)]
177pub struct tls_crypto_info {
178 pub version: __u16,
179 pub cipher_type: __u16,
180}
181#[allow(clippy::unnecessary_operation, clippy::identity_op)]
182const _: () = {
183 ["Size of tls_crypto_info"][::std::mem::size_of::<tls_crypto_info>() - 4usize];
184 ["Alignment of tls_crypto_info"][::std::mem::align_of::<tls_crypto_info>() - 2usize];
185 ["Offset of field: tls_crypto_info::version"]
186 [::std::mem::offset_of!(tls_crypto_info, version) - 0usize];
187 ["Offset of field: tls_crypto_info::cipher_type"]
188 [::std::mem::offset_of!(tls_crypto_info, cipher_type) - 2usize];
189};
190#[repr(C)]
191#[derive(Debug, Copy, Clone)]
192pub struct tls12_crypto_info_aes_gcm_128 {
193 pub info: tls_crypto_info,
194 pub iv: [::std::os::raw::c_uchar; 8usize],
195 pub key: [::std::os::raw::c_uchar; 16usize],
196 pub salt: [::std::os::raw::c_uchar; 4usize],
197 pub rec_seq: [::std::os::raw::c_uchar; 8usize],
198}
199#[allow(clippy::unnecessary_operation, clippy::identity_op)]
200const _: () = {
201 ["Size of tls12_crypto_info_aes_gcm_128"]
202 [::std::mem::size_of::<tls12_crypto_info_aes_gcm_128>() - 40usize];
203 ["Alignment of tls12_crypto_info_aes_gcm_128"]
204 [::std::mem::align_of::<tls12_crypto_info_aes_gcm_128>() - 2usize];
205 ["Offset of field: tls12_crypto_info_aes_gcm_128::info"]
206 [::std::mem::offset_of!(tls12_crypto_info_aes_gcm_128, info) - 0usize];
207 ["Offset of field: tls12_crypto_info_aes_gcm_128::iv"]
208 [::std::mem::offset_of!(tls12_crypto_info_aes_gcm_128, iv) - 4usize];
209 ["Offset of field: tls12_crypto_info_aes_gcm_128::key"]
210 [::std::mem::offset_of!(tls12_crypto_info_aes_gcm_128, key) - 12usize];
211 ["Offset of field: tls12_crypto_info_aes_gcm_128::salt"]
212 [::std::mem::offset_of!(tls12_crypto_info_aes_gcm_128, salt) - 28usize];
213 ["Offset of field: tls12_crypto_info_aes_gcm_128::rec_seq"]
214 [::std::mem::offset_of!(tls12_crypto_info_aes_gcm_128, rec_seq) - 32usize];
215};
216#[repr(C)]
217#[derive(Debug, Copy, Clone)]
218pub struct tls12_crypto_info_aes_gcm_256 {
219 pub info: tls_crypto_info,
220 pub iv: [::std::os::raw::c_uchar; 8usize],
221 pub key: [::std::os::raw::c_uchar; 32usize],
222 pub salt: [::std::os::raw::c_uchar; 4usize],
223 pub rec_seq: [::std::os::raw::c_uchar; 8usize],
224}
225#[allow(clippy::unnecessary_operation, clippy::identity_op)]
226const _: () = {
227 ["Size of tls12_crypto_info_aes_gcm_256"]
228 [::std::mem::size_of::<tls12_crypto_info_aes_gcm_256>() - 56usize];
229 ["Alignment of tls12_crypto_info_aes_gcm_256"]
230 [::std::mem::align_of::<tls12_crypto_info_aes_gcm_256>() - 2usize];
231 ["Offset of field: tls12_crypto_info_aes_gcm_256::info"]
232 [::std::mem::offset_of!(tls12_crypto_info_aes_gcm_256, info) - 0usize];
233 ["Offset of field: tls12_crypto_info_aes_gcm_256::iv"]
234 [::std::mem::offset_of!(tls12_crypto_info_aes_gcm_256, iv) - 4usize];
235 ["Offset of field: tls12_crypto_info_aes_gcm_256::key"]
236 [::std::mem::offset_of!(tls12_crypto_info_aes_gcm_256, key) - 12usize];
237 ["Offset of field: tls12_crypto_info_aes_gcm_256::salt"]
238 [::std::mem::offset_of!(tls12_crypto_info_aes_gcm_256, salt) - 44usize];
239 ["Offset of field: tls12_crypto_info_aes_gcm_256::rec_seq"]
240 [::std::mem::offset_of!(tls12_crypto_info_aes_gcm_256, rec_seq) - 48usize];
241};
242#[repr(C)]
243#[derive(Debug, Copy, Clone)]
244pub struct tls12_crypto_info_aes_ccm_128 {
245 pub info: tls_crypto_info,
246 pub iv: [::std::os::raw::c_uchar; 8usize],
247 pub key: [::std::os::raw::c_uchar; 16usize],
248 pub salt: [::std::os::raw::c_uchar; 4usize],
249 pub rec_seq: [::std::os::raw::c_uchar; 8usize],
250}
251#[allow(clippy::unnecessary_operation, clippy::identity_op)]
252const _: () = {
253 ["Size of tls12_crypto_info_aes_ccm_128"]
254 [::std::mem::size_of::<tls12_crypto_info_aes_ccm_128>() - 40usize];
255 ["Alignment of tls12_crypto_info_aes_ccm_128"]
256 [::std::mem::align_of::<tls12_crypto_info_aes_ccm_128>() - 2usize];
257 ["Offset of field: tls12_crypto_info_aes_ccm_128::info"]
258 [::std::mem::offset_of!(tls12_crypto_info_aes_ccm_128, info) - 0usize];
259 ["Offset of field: tls12_crypto_info_aes_ccm_128::iv"]
260 [::std::mem::offset_of!(tls12_crypto_info_aes_ccm_128, iv) - 4usize];
261 ["Offset of field: tls12_crypto_info_aes_ccm_128::key"]
262 [::std::mem::offset_of!(tls12_crypto_info_aes_ccm_128, key) - 12usize];
263 ["Offset of field: tls12_crypto_info_aes_ccm_128::salt"]
264 [::std::mem::offset_of!(tls12_crypto_info_aes_ccm_128, salt) - 28usize];
265 ["Offset of field: tls12_crypto_info_aes_ccm_128::rec_seq"]
266 [::std::mem::offset_of!(tls12_crypto_info_aes_ccm_128, rec_seq) - 32usize];
267};
268#[repr(C)]
269#[derive(Debug)]
270pub struct tls12_crypto_info_chacha20_poly1305 {
271 pub info: tls_crypto_info,
272 pub iv: [::std::os::raw::c_uchar; 12usize],
273 pub key: [::std::os::raw::c_uchar; 32usize],
274 pub salt: __IncompleteArrayField<::std::os::raw::c_uchar>,
275 pub rec_seq: [::std::os::raw::c_uchar; 8usize],
276}
277#[allow(clippy::unnecessary_operation, clippy::identity_op)]
278const _: () = {
279 ["Size of tls12_crypto_info_chacha20_poly1305"]
280 [::std::mem::size_of::<tls12_crypto_info_chacha20_poly1305>() - 56usize];
281 ["Alignment of tls12_crypto_info_chacha20_poly1305"]
282 [::std::mem::align_of::<tls12_crypto_info_chacha20_poly1305>() - 2usize];
283 ["Offset of field: tls12_crypto_info_chacha20_poly1305::info"]
284 [::std::mem::offset_of!(tls12_crypto_info_chacha20_poly1305, info) - 0usize];
285 ["Offset of field: tls12_crypto_info_chacha20_poly1305::iv"]
286 [::std::mem::offset_of!(tls12_crypto_info_chacha20_poly1305, iv) - 4usize];
287 ["Offset of field: tls12_crypto_info_chacha20_poly1305::key"]
288 [::std::mem::offset_of!(tls12_crypto_info_chacha20_poly1305, key) - 16usize];
289 ["Offset of field: tls12_crypto_info_chacha20_poly1305::salt"]
290 [::std::mem::offset_of!(tls12_crypto_info_chacha20_poly1305, salt) - 48usize];
291 ["Offset of field: tls12_crypto_info_chacha20_poly1305::rec_seq"]
292 [::std::mem::offset_of!(tls12_crypto_info_chacha20_poly1305, rec_seq) - 48usize];
293};
294#[repr(C)]
295#[derive(Debug, Copy, Clone)]
296pub struct tls12_crypto_info_sm4_gcm {
297 pub info: tls_crypto_info,
298 pub iv: [::std::os::raw::c_uchar; 8usize],
299 pub key: [::std::os::raw::c_uchar; 16usize],
300 pub salt: [::std::os::raw::c_uchar; 4usize],
301 pub rec_seq: [::std::os::raw::c_uchar; 8usize],
302}
303#[allow(clippy::unnecessary_operation, clippy::identity_op)]
304const _: () = {
305 ["Size of tls12_crypto_info_sm4_gcm"]
306 [::std::mem::size_of::<tls12_crypto_info_sm4_gcm>() - 40usize];
307 ["Alignment of tls12_crypto_info_sm4_gcm"]
308 [::std::mem::align_of::<tls12_crypto_info_sm4_gcm>() - 2usize];
309 ["Offset of field: tls12_crypto_info_sm4_gcm::info"]
310 [::std::mem::offset_of!(tls12_crypto_info_sm4_gcm, info) - 0usize];
311 ["Offset of field: tls12_crypto_info_sm4_gcm::iv"]
312 [::std::mem::offset_of!(tls12_crypto_info_sm4_gcm, iv) - 4usize];
313 ["Offset of field: tls12_crypto_info_sm4_gcm::key"]
314 [::std::mem::offset_of!(tls12_crypto_info_sm4_gcm, key) - 12usize];
315 ["Offset of field: tls12_crypto_info_sm4_gcm::salt"]
316 [::std::mem::offset_of!(tls12_crypto_info_sm4_gcm, salt) - 28usize];
317 ["Offset of field: tls12_crypto_info_sm4_gcm::rec_seq"]
318 [::std::mem::offset_of!(tls12_crypto_info_sm4_gcm, rec_seq) - 32usize];
319};
320#[repr(C)]
321#[derive(Debug, Copy, Clone)]
322pub struct tls12_crypto_info_sm4_ccm {
323 pub info: tls_crypto_info,
324 pub iv: [::std::os::raw::c_uchar; 8usize],
325 pub key: [::std::os::raw::c_uchar; 16usize],
326 pub salt: [::std::os::raw::c_uchar; 4usize],
327 pub rec_seq: [::std::os::raw::c_uchar; 8usize],
328}
329#[allow(clippy::unnecessary_operation, clippy::identity_op)]
330const _: () = {
331 ["Size of tls12_crypto_info_sm4_ccm"]
332 [::std::mem::size_of::<tls12_crypto_info_sm4_ccm>() - 40usize];
333 ["Alignment of tls12_crypto_info_sm4_ccm"]
334 [::std::mem::align_of::<tls12_crypto_info_sm4_ccm>() - 2usize];
335 ["Offset of field: tls12_crypto_info_sm4_ccm::info"]
336 [::std::mem::offset_of!(tls12_crypto_info_sm4_ccm, info) - 0usize];
337 ["Offset of field: tls12_crypto_info_sm4_ccm::iv"]
338 [::std::mem::offset_of!(tls12_crypto_info_sm4_ccm, iv) - 4usize];
339 ["Offset of field: tls12_crypto_info_sm4_ccm::key"]
340 [::std::mem::offset_of!(tls12_crypto_info_sm4_ccm, key) - 12usize];
341 ["Offset of field: tls12_crypto_info_sm4_ccm::salt"]
342 [::std::mem::offset_of!(tls12_crypto_info_sm4_ccm, salt) - 28usize];
343 ["Offset of field: tls12_crypto_info_sm4_ccm::rec_seq"]
344 [::std::mem::offset_of!(tls12_crypto_info_sm4_ccm, rec_seq) - 32usize];
345};
346#[repr(C)]
347#[derive(Debug, Copy, Clone)]
348pub struct tls12_crypto_info_aria_gcm_128 {
349 pub info: tls_crypto_info,
350 pub iv: [::std::os::raw::c_uchar; 8usize],
351 pub key: [::std::os::raw::c_uchar; 16usize],
352 pub salt: [::std::os::raw::c_uchar; 4usize],
353 pub rec_seq: [::std::os::raw::c_uchar; 8usize],
354}
355#[allow(clippy::unnecessary_operation, clippy::identity_op)]
356const _: () = {
357 ["Size of tls12_crypto_info_aria_gcm_128"]
358 [::std::mem::size_of::<tls12_crypto_info_aria_gcm_128>() - 40usize];
359 ["Alignment of tls12_crypto_info_aria_gcm_128"]
360 [::std::mem::align_of::<tls12_crypto_info_aria_gcm_128>() - 2usize];
361 ["Offset of field: tls12_crypto_info_aria_gcm_128::info"]
362 [::std::mem::offset_of!(tls12_crypto_info_aria_gcm_128, info) - 0usize];
363 ["Offset of field: tls12_crypto_info_aria_gcm_128::iv"]
364 [::std::mem::offset_of!(tls12_crypto_info_aria_gcm_128, iv) - 4usize];
365 ["Offset of field: tls12_crypto_info_aria_gcm_128::key"]
366 [::std::mem::offset_of!(tls12_crypto_info_aria_gcm_128, key) - 12usize];
367 ["Offset of field: tls12_crypto_info_aria_gcm_128::salt"]
368 [::std::mem::offset_of!(tls12_crypto_info_aria_gcm_128, salt) - 28usize];
369 ["Offset of field: tls12_crypto_info_aria_gcm_128::rec_seq"]
370 [::std::mem::offset_of!(tls12_crypto_info_aria_gcm_128, rec_seq) - 32usize];
371};
372#[repr(C)]
373#[derive(Debug, Copy, Clone)]
374pub struct tls12_crypto_info_aria_gcm_256 {
375 pub info: tls_crypto_info,
376 pub iv: [::std::os::raw::c_uchar; 8usize],
377 pub key: [::std::os::raw::c_uchar; 32usize],
378 pub salt: [::std::os::raw::c_uchar; 4usize],
379 pub rec_seq: [::std::os::raw::c_uchar; 8usize],
380}
381#[allow(clippy::unnecessary_operation, clippy::identity_op)]
382const _: () = {
383 ["Size of tls12_crypto_info_aria_gcm_256"]
384 [::std::mem::size_of::<tls12_crypto_info_aria_gcm_256>() - 56usize];
385 ["Alignment of tls12_crypto_info_aria_gcm_256"]
386 [::std::mem::align_of::<tls12_crypto_info_aria_gcm_256>() - 2usize];
387 ["Offset of field: tls12_crypto_info_aria_gcm_256::info"]
388 [::std::mem::offset_of!(tls12_crypto_info_aria_gcm_256, info) - 0usize];
389 ["Offset of field: tls12_crypto_info_aria_gcm_256::iv"]
390 [::std::mem::offset_of!(tls12_crypto_info_aria_gcm_256, iv) - 4usize];
391 ["Offset of field: tls12_crypto_info_aria_gcm_256::key"]
392 [::std::mem::offset_of!(tls12_crypto_info_aria_gcm_256, key) - 12usize];
393 ["Offset of field: tls12_crypto_info_aria_gcm_256::salt"]
394 [::std::mem::offset_of!(tls12_crypto_info_aria_gcm_256, salt) - 44usize];
395 ["Offset of field: tls12_crypto_info_aria_gcm_256::rec_seq"]
396 [::std::mem::offset_of!(tls12_crypto_info_aria_gcm_256, rec_seq) - 48usize];
397};
398pub const TLS_INFO_UNSPEC: _bindgen_ty_1 = 0;
399pub const TLS_INFO_VERSION: _bindgen_ty_1 = 1;
400pub const TLS_INFO_CIPHER: _bindgen_ty_1 = 2;
401pub const TLS_INFO_TXCONF: _bindgen_ty_1 = 3;
402pub const TLS_INFO_RXCONF: _bindgen_ty_1 = 4;
403pub const TLS_INFO_ZC_RO_TX: _bindgen_ty_1 = 5;
404pub const TLS_INFO_RX_NO_PAD: _bindgen_ty_1 = 6;
405pub const __TLS_INFO_MAX: _bindgen_ty_1 = 7;
406pub type _bindgen_ty_1 = ::std::os::raw::c_uint;