decrypt_inner

Function decrypt_inner 

Source
fn decrypt_inner<MGF: FnMut(&mut [u8], &mut [u8])>(
    em: &mut [u8],
    h_size: usize,
    expected_p_hash: &[u8],
    k: usize,
    mgf: MGF,
) -> Result<CtOption<(Vec<u8>, u32)>>
Expand description

Decrypts OAEP padding. It returns one or zero in valid that indicates whether the plaintext was correctly structured.