Skip to content

Add PKCS#11 3.2 bindings + plug them into the cryptoki #264

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

Open
wants to merge 12 commits into
base: main
Choose a base branch
from
12 changes: 6 additions & 6 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion cryptoki-sys/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ documentation = "https://docs.rs/crate/cryptoki-sys"
rust-version = "1.66.0"

[build-dependencies]
bindgen = { version = "0.70.1", optional = true }
bindgen = { version = "0.71.1", optional = true }

[dependencies]
libloading = "0.8.6"
Expand Down
1,114 changes: 1,091 additions & 23 deletions cryptoki-sys/src/bindings/aarch64-apple-darwin.rs

Large diffs are not rendered by default.

1,114 changes: 1,091 additions & 23 deletions cryptoki-sys/src/bindings/aarch64-unknown-linux-gnu.rs

Large diffs are not rendered by default.

1,114 changes: 1,091 additions & 23 deletions cryptoki-sys/src/bindings/arm-unknown-linux-gnueabi.rs

Large diffs are not rendered by default.

794 changes: 781 additions & 13 deletions cryptoki-sys/src/bindings/generic.rs

Large diffs are not rendered by default.

1,114 changes: 1,091 additions & 23 deletions cryptoki-sys/src/bindings/i686-unknown-linux-gnu.rs

Large diffs are not rendered by default.

1,114 changes: 1,091 additions & 23 deletions cryptoki-sys/src/bindings/loongarch64-unknown-linux-gnu.rs

Large diffs are not rendered by default.

1,114 changes: 1,091 additions & 23 deletions cryptoki-sys/src/bindings/powerpc64-unknown-linux-gnu.rs

Large diffs are not rendered by default.

1,114 changes: 1,091 additions & 23 deletions cryptoki-sys/src/bindings/riscv64gc-unknown-linux-gnu.rs

Large diffs are not rendered by default.

1,114 changes: 1,091 additions & 23 deletions cryptoki-sys/src/bindings/x86_64-apple-darwin.rs

Large diffs are not rendered by default.

1,114 changes: 1,091 additions & 23 deletions cryptoki-sys/src/bindings/x86_64-pc-windows-msvc.rs

Large diffs are not rendered by default.

1,114 changes: 1,091 additions & 23 deletions cryptoki-sys/src/bindings/x86_64-unknown-freebsd.rs

Large diffs are not rendered by default.

1,114 changes: 1,091 additions & 23 deletions cryptoki-sys/src/bindings/x86_64-unknown-linux-gnu.rs

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions cryptoki-sys/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
#![allow(clippy::missing_safety_doc)]
#![allow(clippy::string_lit_as_bytes)]
#![allow(clippy::too_many_arguments)]
// Public items exportedby this crate should match the C API
#![allow(clippy::type_complexity)]
// Public items exportedby this crate should match the C style
#![allow(clippy::upper_case_acronyms)]
// Suppress warnings from bindgen-generated code
Expand Down
4 changes: 2 additions & 2 deletions cryptoki-sys/vendor/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Vendor

This is downloaded from https://github.com/latchset/pkcs11-headers/blob/b131b9e4599db6e0287a3d74f6768e08a0c82d23/public-domain/3.1/pkcs11.h:
This is downloaded from https://github.com/latchset/pkcs11-headers/blob/57ab27526e16bb16f4ecaed248aefd0200ada958/public-domain/3.2-prerelease/pkcs11.h:

```shell
wget https://raw.githubusercontent.com/latchset/pkcs11-headers/0ecf659eaa743472192bf3af2579144c5f8c053f/public-domain/3.1/pkcs11.h
wget https://raw.githubusercontent.com/latchset/pkcs11-headers/57ab27526e16bb16f4ecaed248aefd0200ada958/public-domain/3.2-prerelease/pkcs11.h
```
Loading
Loading