in src/vtok_p11/src/pkcs11.rs [5534:5587]
fn bindgen_test_layout_CK_TLS12_MASTER_KEY_DERIVE_PARAMS() {
assert_eq!(
::std::mem::size_of::<CK_TLS12_MASTER_KEY_DERIVE_PARAMS>(),
48usize,
concat!("Size of: ", stringify!(CK_TLS12_MASTER_KEY_DERIVE_PARAMS))
);
assert_eq!(
::std::mem::align_of::<CK_TLS12_MASTER_KEY_DERIVE_PARAMS>(),
8usize,
concat!(
"Alignment of ",
stringify!(CK_TLS12_MASTER_KEY_DERIVE_PARAMS)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<CK_TLS12_MASTER_KEY_DERIVE_PARAMS>())).RandomInfo as *const _
as usize
},
0usize,
concat!(
"Offset of field: ",
stringify!(CK_TLS12_MASTER_KEY_DERIVE_PARAMS),
"::",
stringify!(RandomInfo)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<CK_TLS12_MASTER_KEY_DERIVE_PARAMS>())).pVersion as *const _
as usize
},
32usize,
concat!(
"Offset of field: ",
stringify!(CK_TLS12_MASTER_KEY_DERIVE_PARAMS),
"::",
stringify!(pVersion)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<CK_TLS12_MASTER_KEY_DERIVE_PARAMS>())).prfHashMechanism
as *const _ as usize
},
40usize,
concat!(
"Offset of field: ",
stringify!(CK_TLS12_MASTER_KEY_DERIVE_PARAMS),
"::",
stringify!(prfHashMechanism)
)
);
}