File
Blob: firmware/crates/esp32-radio/src/platform/crypto/mod.rs
| 1 | //! ESP-IDF AES/SHA/EC with str0m/dimpl protocol code and RustCrypto ChaCha. |
| 2 | mod dtls; |
| 3 | mod ec; |
| 4 | mod hashes; |
| 5 | mod key; |
| 6 | mod native; |
| 7 | mod self_test; |
| 8 | mod signature; |
| 9 | mod srtp; |
| 10 | mod suites; |
| 11 | |
| 12 | pub(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 | } |