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

Synopsis

Declared in <openssl/modes.h>

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

Parameters

Name

Description

in

Input bytes of length length.

out

Output buffer of length length (may equal in).

length

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).

enc

Non‐zero to encrypt, zero to decrypt.

block

Block‐encrypt function for the underlying cipher.

Created with MrDocs