Google have released the PSP (PSP Security Protocol) specification and a reference implementation. That implementation is in C. The psp_security crate is a Rust port of the reference implementation.