Home
last modified time | relevance | path

Searched refs:RustCryptoImpl (Results 1 – 2 of 2) sorted by relevance

/external/rust/beto-rust/nearby/crypto/crypto_provider_rustcrypto/src/
Dlib.rs50 pub type RustCrypto = RustCryptoImpl<rand::rngs::StdRng>;
53 pub type RustCrypto = RustCryptoImpl<rand_chacha::ChaCha20Rng>;
61 pub struct RustCryptoImpl<R: CryptoRng + SeedableRng + RngCore> { struct
65 impl<R: CryptoRng + SeedableRng + RngCore> RustCryptoImpl<R> { impl
73 crypto_provider::CryptoProvider for RustCryptoImpl<R>
/external/rust/beto-rust/nearby/connections/ukey2/ukey2_connections/src/
Dtests.rs145 use crypto_provider_rustcrypto::RustCryptoImpl; in send_receive_message_seeded()
149 run_handshake_with_rng::<RustCryptoImpl<MockRng>, _>( in send_receive_message_seeded()
154 init_conn_ctx.encode_message_to_peer::<RustCryptoImpl<MockRng>, &[u8]>(message, None); in send_receive_message_seeded()