Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
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
2 changes: 2 additions & 0 deletions .git-blame-ignore-revs
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Run cargo fmt
2eb064a8ce147cd32b6697c0d24330789a57c7ac
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