liboscore 0.2.7

Rust wrapper around the libOSCORE implementation of OSCORE (RFC8613), a security layer for CoAP
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//! Re-exports from bindgen-generated types.
//!
//! This is available publicly because some APIs are not fully wrapped in Rust types; generally, it
//! is recommended not to use any of those items unless a non-raw API asks for it.
#![allow(non_camel_case_types)]
#![allow(dead_code)]
#![allow(non_upper_case_globals)]

// Types we block in the bindgen, but we have to make them available
// use liboscore_cryptobackend::aead::{
//     DecryptState as oscore_crypto_aead_decryptstate_t,
//     EncryptState as oscore_crypto_aead_encryptstate_t,
// };
use liboscore_msgbackend::{oscore_msg_native_t, oscore_msgerr_native_t};

include!(concat!(env!("OUT_DIR"), "/bindings.rs"));