Decrypt a buffer of arbitrary length in CBC mode.

Synopsis

Declared in <crypto/aes.h>

int
Decrypt(
    unsigned char const* data,
    int size,
    unsigned char* out) const;

Return Value

The number of plaintext bytes written.

Parameters

Name

Description

data

The ciphertext to decrypt.

size

The number of ciphertext bytes.

out

Output buffer receiving the plaintext.

Created with MrDocs