Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 4 additions & 5 deletions src/api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
//! [pkcs11-v3]: https://docs.oasis-open.org/pkcs11/pkcs11-base/v3.0/pkcs11-base-v3.0.html
//! [pkcs11-headers]: https://docs.oasis-open.org/pkcs11/pkcs11-base/v3.0/cs01/include/pkcs11-v3.0/

use crate::types::*;
use core::hint::unreachable_unchecked;
use core::time::Duration;
use crate::types::*;

#[macro_use]
mod macros;
Expand Down Expand Up @@ -44,7 +44,7 @@ generate_enums! {
ReadDirFilesFirst: 13
ReadDirFilesNext: 14
ReadFile: 15
Metadata: 26
Metadata: 26
// ReadCounter: 7
RandomBytes: 16
SerializeKey: 17
Expand Down Expand Up @@ -360,7 +360,7 @@ pub mod reply {

DebugDumpStore:

Decrypt:
Decrypt:
- plaintext: Option<Message>

Delete:
Expand All @@ -379,7 +379,7 @@ pub mod reply {
DeserializeKey:
- key: KeyId

Encrypt:
Encrypt:
- ciphertext: Message
- nonce: ShortData
- tag: ShortData
Expand Down Expand Up @@ -482,5 +482,4 @@ pub mod reply {
WriteCertificate:
- id: CertId
}

}
1 change: 0 additions & 1 deletion src/api/macros.rs
Original file line number Diff line number Diff line change
Expand Up @@ -100,4 +100,3 @@ macro_rules! impl_reply {

)*}
}

Loading