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

Synopsis

Declared in <openssl/modes.h>

void
CRYPTO_ofb128_encrypt(
    unsigned char const* in,
    unsigned char* out,
    size_t len,
    void const* key,
    unsigned char ivec[],
    int* num,
    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 OFB block (updated; typically starts at 0).

block

Block‐encrypt function for the underlying cipher.

Created with MrDocs