| commit | 929518a74286cd5957d30039b7cca96f49cc836b | [log] [tgz] |
|---|---|---|
| author | Adam Langley <agl@chromium.org> | Mon Jan 08 12:22:26 2024 -0800 |
| committer | Adam Langley <agl@google.com> | Fri Jan 19 18:24:42 2024 +0000 |
| tree | cea2b1037df1818b4aabd5e397559c12ee7ecf83 | |
| parent | a8e5e3419680575b831c0536214467166a4dac84 [diff] [blame] |
Reworking bssl_crypto: rand Change-Id: I49e1b11b6eba1f2ddc190c5c070f133cce10b2f7 Reviewed-on: https://boringssl-review.googlesource.com/c/boringssl/+/65175 Reviewed-by: Bob Beck <bbe@google.com>
diff --git a/rust/bssl-crypto/src/lib.rs b/rust/bssl-crypto/src/lib.rs index 61a8dbc..753cc79 100644 --- a/rust/bssl-crypto/src/lib.rs +++ b/rust/bssl-crypto/src/lib.rs
@@ -50,9 +50,6 @@ pub mod hmac; -/// Random number generation. -pub mod rand; - pub mod x25519; pub mod ec; @@ -63,6 +60,9 @@ mod mem; pub use mem::constant_time_compare; +mod rand; +pub use rand::{rand_array, rand_bytes}; + #[cfg(test)] mod test_helpers;