Camellia_cfb1_encrypt

Encrypt or decrypt data with Camellia in 1-bit CFB mode (deprecated).

Synopsis

Declared in <openssl/camellia.h>

[[deprecated]]
void
Camellia_cfb1_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

NameDescription
inInput buffer of length bytes.
outOutput buffer of at least length bytes (may equal in).
lengthNumber of bytes to process.
keyExpanded Camellia key from Camellia_set_key().
ivec16-byte IV; updated with running feedback state on return.
numBit offset into the feedback buffer (0–7); updated on return.
encNon-zero to encrypt, zero to decrypt.