Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run cargo fmt #42

Merged
merged 1 commit into from
Sep 11, 2022
Merged
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
1 change: 1 addition & 0 deletions .git-blame-ignore-revs
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
9598ef55a873af63b3fd681729b928c7280f3d0e
Empty file added rustfmt.toml
Empty file.
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