(n: i64, vm: &VirtualMachine)
| 4900 | |
| 4901 | #[pyfunction] |
| 4902 | fn RAND_pseudo_bytes(n: i64, vm: &VirtualMachine) -> PyResult<(PyBytesRef, bool)> { |
| 4903 | // In rustls/aws-lc-rs, all random bytes are cryptographically strong |
| 4904 | let bytes = RAND_bytes(n, vm)?; |
| 4905 | Ok((bytes, true)) |
| 4906 | } |
| 4907 | |
| 4908 | /// Test helper to decode a certificate from a file path |
| 4909 | /// |
nothing calls this directly
no test coverage detected