We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f529c96 commit f4dc8e9Copy full SHA for f4dc8e9
cryptoki/src/mechanism/mod.rs
@@ -316,7 +316,7 @@ impl MechanismType {
316
/// pub const CKM_SOME_CUSTOM_MECH: MechanismType =
317
/// MechanismType::new_vendor_defined(0x00000001);
318
/// ```
319
- pub const fn new_vendor_defined(adding: u64) -> MechanismType {
+ pub const fn new_vendor_defined(adding: CK_ULONG) -> MechanismType {
320
MechanismType {
321
val: CKM_VENDOR_DEFINED | adding,
322
}
0 commit comments