Encrypt or decrypt data with Camellia in 128‐bit CFB mode (deprecated).

Synopsis

Declared in <openssl/camellia.h>

[[deprecated]]
void
Camellia_cfb128_encrypt(
    unsigned char const* in,
    unsigned char* out,
    size_t length,
    CAMELLIA_KEY const* key,
    unsigned char* ivec,
    int* num,
    int const enc);
Warning

Deprecated. Use of this entity is allowed but discouraged.

Parameters

Name

Description

in

Input buffer of length bytes.

out

Output buffer of at least length bytes (may equal in).

length

Number of bytes to process (need not be block‐aligned).

key

Expanded Camellia key from Camellia_set_key().

ivec

16‐byte IV; updated with running feedback state on return.

num

Byte offset into the feedback buffer (0–15); updated on return; initialize to 0 with ivec.

enc

Non‐zero to encrypt, zero to decrypt.

Created with MrDocs