bitwarden_crypto::aes

Function decrypt_aes256

source
pub(crate) fn decrypt_aes256(
    iv: &[u8; 16],
    data: Vec<u8>,
    key: &GenericArray<u8, U32>,
) -> Result<Vec<u8>, CryptoError>
Expand description

Decrypt using AES-256 in CBC mode.

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