Skip to content
File

Blob: firmware/crates/esp32-radio/src/platform/crypto/mod.rs

rust22 lines
1//! ESP-IDF AES/SHA/EC with str0m/dimpl protocol code and RustCrypto ChaCha.
2mod dtls;
3mod ec;
4mod hashes;
5mod key;
6mod native;
7mod self_test;
8mod signature;
9mod srtp;
10mod suites;
11 
12pub(crate) fn provider() -> radio_webrtc::CryptoProvider {
13 self_test::run();
14 super::log("Crypto: ESP-IDF AES/SHA/EC; RustCrypto ChaCha");
15 radio_webrtc::CryptoProvider {
16 srtp_provider: &srtp::Provider,
17 sha1_hmac_provider: &hashes::Hashes,
18 sha256_provider: &hashes::Hashes,
19 dtls_provider: &dtls::Provider,
20 }
21}