MCPcopy Index your code
hub / github.com/RustPython/RustPython / RAND_add

Function RAND_add

crates/stdlib/src/ssl.rs:4879–4882  ·  view source on GitHub ↗
(_string: PyObjectRef, _entropy: f64)

Source from the content-addressed store, hash-verified

4877
4878 #[pyfunction]
4879 fn RAND_add(_string: PyObjectRef, _entropy: f64) {
4880 // No-op: aws-lc-rs handles its own entropy
4881 // Accept any type (str, bytes, bytearray)
4882 }
4883
4884 #[pyfunction]
4885 fn RAND_bytes(n: i64, vm: &VirtualMachine) -> PyResult<PyBytesRef> {

Callers 1

rand_addFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected