Skip to content

say-fish/zcryptoki

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

zcryptoki

FOSS version of pkcs11 headers packaged for the zig build system.

Usage

  1. Fetch:
zig fetch --save git+https://github.com/say-fish/zcryptoki
  1. Add it to your build system:
const zcryptoki = b.dependency("zcryptoki", .{
    .target = target,
    .optimize = optimize,
    .version = .@"3.1", // pkcs11 version: optional, defaults to 3.1
    .deprecated = false,  // where to enable deprecated features, defaults to false
});
  1. Use it:
const cki = @import("zcryptoki");
cki.CK_OBJECT_HANDLE
...

About

FOSS cryptoki headers packaged for zig

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published