19 lines
604 B
Rust
19 lines
604 B
Rust
//! Camera QRNG Library
|
|
//!
|
|
//! Quantum random number generation using camera sensor thermal noise.
|
|
//! Can be used as:
|
|
//! - A Rust library
|
|
//! - An OpenSSL 3.x provider (cdylib)
|
|
//! - A standalone HTTP server (binary)
|
|
|
|
pub mod entropy;
|
|
pub mod provider;
|
|
|
|
pub use entropy::{
|
|
extract_entropy, extract_entropy_camera, fill_entropy,
|
|
list_cameras, spawn_raw_lsb_stream, subscribe_entropy, unsubscribe_entropy, ensure_producer_running, test_camera, extract_raw_lsb, CameraConfig, CameraListItem, CHUNK_SIZE,
|
|
};
|
|
|
|
// Re-export the OpenSSL provider init for cdylib
|
|
pub use provider::OSSL_provider_init;
|