Encrypt or decrypt with a 128‐bit block cipher in full‐block CFB mode.

Synopsis

Declared in <openssl/modes.h>

void
CRYPTO_cfb128_encrypt(
    unsigned char const* in,
    unsigned char* out,
    size_t len,
    void const* key,
    unsigned char ivec[],
    int* num,
    int enc,
    block128_f block);

Parameters

Name

Description

in

Input bytes of length len.

out

Output buffer of length len (may equal in).

len

Number of bytes to process.

key

Cipher‐specific expanded key for block.

ivec

16‐byte IV / feedback block updated in place.

num

Offset into the current CFB block (updated; typically starts at 0).

enc

Non‐zero to encrypt, zero to decrypt.

block

Block‐encrypt function for the underlying cipher.

Created with MrDocs