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

Function cipher_to_tuple

crates/stdlib/src/openssl.rs:3964–3966  ·  view source on GitHub ↗
(cipher: &ssl::SslCipherRef)

Source from the content-addressed store, hash-verified

3962 type CipherTuple = (&'static str, &'static str, i32);
3963
3964 fn cipher_to_tuple(cipher: &ssl::SslCipherRef) -> CipherTuple {
3965 (cipher.name(), cipher.version(), cipher.bits().secret)
3966 }
3967
3968 fn cipher_description(cipher: *const sys::SSL_CIPHER) -> String {
3969 unsafe {

Callers 2

get_ciphersMethod · 0.85
shared_ciphersMethod · 0.85

Calls 2

nameMethod · 0.45
versionMethod · 0.45

Tested by

no test coverage detected