2 unstable releases

Uses new Rust 2024

0.2.0 Aug 12, 2025
0.1.0 Aug 12, 2025

#877 in Hardware support


Used in keycache

BSD-2-Clause OR MIT

32KB
493 lines

keycache-libsecureenclave-sys

This crate provides a sys-wrapper for https://github.com/KizzyCode/secureenclave-c.

Bindgen

To regenerate the bindings after an update, call bindgen from the libsecureenclave-sys root directory:

bindgen --default-macro-constant-type=signed \
  --default-enum-style=rust \
  \
  --no-recursive-allowlist \
  --allowlist-type "sep_.*" \
  --allowlist-var "sep_.*" \
  --allowlist-function "sep_.*" \
  \
  --output ./src/ffi/libsecureenclave.rs ./libsecureenclave/Sources/SecureEnclave/include/SecureEnclave.h

Dependencies

~140KB