Decrypt with a 128‐bit block cipher in CBC mode.

Synopsis

Declared in <openssl/modes.h>

void
CRYPTO_cbc128_decrypt(
    unsigned char const* in,
    unsigned char* out,
    size_t len,
    void const* key,
    unsigned char ivec[],
    block128_f block);

Parameters

Name

Description

in

Input ciphertext of length len.

out

Output plaintext buffer of length len (may equal in).

len

Number of bytes to decrypt.

key

Cipher‐specific expanded key for block.

ivec

16‐byte IV; updated to the last ciphertext block on return.

block

Block‐decrypt function for the underlying cipher.

Created with MrDocs