in src/vtok_p11/src/pkcs11.rs [2055:2126]
fn bindgen_test_layout_CK_X9_42_DH1_DERIVE_PARAMS() {
assert_eq!(
::std::mem::size_of::<CK_X9_42_DH1_DERIVE_PARAMS>(),
40usize,
concat!("Size of: ", stringify!(CK_X9_42_DH1_DERIVE_PARAMS))
);
assert_eq!(
::std::mem::align_of::<CK_X9_42_DH1_DERIVE_PARAMS>(),
8usize,
concat!("Alignment of ", stringify!(CK_X9_42_DH1_DERIVE_PARAMS))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<CK_X9_42_DH1_DERIVE_PARAMS>())).kdf as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(CK_X9_42_DH1_DERIVE_PARAMS),
"::",
stringify!(kdf)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<CK_X9_42_DH1_DERIVE_PARAMS>())).ulOtherInfoLen as *const _
as usize
},
8usize,
concat!(
"Offset of field: ",
stringify!(CK_X9_42_DH1_DERIVE_PARAMS),
"::",
stringify!(ulOtherInfoLen)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<CK_X9_42_DH1_DERIVE_PARAMS>())).pOtherInfo as *const _ as usize
},
16usize,
concat!(
"Offset of field: ",
stringify!(CK_X9_42_DH1_DERIVE_PARAMS),
"::",
stringify!(pOtherInfo)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<CK_X9_42_DH1_DERIVE_PARAMS>())).ulPublicDataLen as *const _
as usize
},
24usize,
concat!(
"Offset of field: ",
stringify!(CK_X9_42_DH1_DERIVE_PARAMS),
"::",
stringify!(ulPublicDataLen)
)
);
assert_eq!(
unsafe {
&(*(::std::ptr::null::<CK_X9_42_DH1_DERIVE_PARAMS>())).pPublicData as *const _ as usize
},
32usize,
concat!(
"Offset of field: ",
stringify!(CK_X9_42_DH1_DERIVE_PARAMS),
"::",
stringify!(pPublicData)
)
);
}