Skip to content

decrypt_session_key does not exist but is referred #565

@pinkforest

Description

@pinkforest
/// Decrypts a plaintext using RSA and the padding scheme from PKCS#1 v1.5.                                          
///                                                                                                                  
/// If an `rng` is passed, it uses RSA blinding to avoid timing side-channel attacks.                                
///                                                                                                                  
/// Note that whether this function returns an error or not discloses secret                                         
/// information. If an attacker can cause this function to run repeatedly and                                        
/// learn whether each instance returned an error then they can decrypt and                                          
/// forge signatures as if they had the private key. See                                                             
/// `decrypt_session_key` for a way of solving this problem.  

It's in bunch of places

algorithms/pkcs1v15.rs:/// `decrypt_session_key` for a way of solving this problem.
algorithms/oaep.rs:/// See `decrypt_session_key` for a way of solving this problem.
algorithms/oaep.rs:/// See `decrypt_session_key` for a way of solving this problem.
oaep.rs:/// See `decrypt_session_key` for a way of solving this problem.
oaep.rs:/// See `decrypt_session_key` for a way of solving this problem.
pkcs1v15.rs:/// `decrypt_session_key` for a way of solving this problem.

Might want to clarify this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions