bitwarden_crypto::aes

Function decrypt_aes128

Source
fn decrypt_aes128(
    iv: &[u8; 16],
    data: Vec<u8>,
    key: &GenericArray<u8, U16>,
) -> Result<Vec<u8>, CryptoError>
Expand description

Decrypt using AES-128 in CBC mode.

Behaves similar to decrypt_aes128_hmac, but does not validate the MAC.