CodeQL library for Rust
codeql/rust-all 0.2.5-dev (changelog, source)
Search

Class StreamCipherInit

An operation that initializes a cipher through the cipher::KeyInit or cipher::KeyIvInit trait, for example Des::new or cbc::Encryptor<des::Des>::new.

Import path

import codeql.rust.frameworks.rustcrypto.RustCrypto

Direct supertypes

Indirect supertypes

Fields

Predicates

getAlgorithm

Gets the algorithm used, if it matches a known CryptographicAlgorithm.

getAnInput

Gets an input the algorithm is used on, for example the plain text input to be encrypted.

getBlockMode

Gets the block mode used to perform this cryptographic operation.

getInitialization

Gets the data flow node where the cryptographic algorithm used in this operation is configured.

Inherited predicates

asExpr

Gets the expression that corresponds to this node, if any.

from NodePublic
asParameter

Gets the parameter that corresponds to this node, if any.

from NodePublic
asPat

Gets the pattern that corresponds to this node, if any.

from NodePublic
getLocation

Gets the location of this node.

from NodePublic
toString

Gets a textual representation of this node.

from NodePublic

Charpred