EVP_CAMELLIA_128_CBC(3) | Library Functions Manual | EVP_CAMELLIA_128_CBC(3)

# NAME

`EVP_camellia_128_cbc`, `EVP_camellia_192_cbc`, `EVP_camellia_256_cbc`, `EVP_camellia_128_cfb`, `EVP_camellia_192_cfb`, `EVP_camellia_256_cfb`, `EVP_camellia_128_cfb1`, `EVP_camellia_192_cfb1`, `EVP_camellia_256_cfb1`, `EVP_camellia_128_cfb8`, `EVP_camellia_192_cfb8`, `EVP_camellia_256_cfb8`, `EVP_camellia_128_cfb128`, `EVP_camellia_192_cfb128`, `EVP_camellia_256_cfb128`, `EVP_camellia_128_ecb`, `EVP_camellia_192_ecb`, `EVP_camellia_256_ecb`, `EVP_camellia_128_ofb`, `EVP_camellia_192_ofb`, `EVP_camellia_256_ofb` — EVP Camellia cipher

# SYNOPSIS

library “libcrypto”
`#include <openssl/evp.h>`

const EVP_CIPHER *
`EVP_camellia_128_cbc`(void);

const EVP_CIPHER *
`EVP_camellia_192_cbc`(void);

const EVP_CIPHER *
`EVP_camellia_256_cbc`(void);

const EVP_CIPHER *
`EVP_camellia_128_cfb`(void);

const EVP_CIPHER *
`EVP_camellia_192_cfb`(void);

const EVP_CIPHER *
`EVP_camellia_256_cfb`(void);

const EVP_CIPHER *
`EVP_camellia_128_cfb1`(void);

const EVP_CIPHER *
`EVP_camellia_192_cfb1`(void);

const EVP_CIPHER *
`EVP_camellia_256_cfb1`(void);

const EVP_CIPHER *
`EVP_camellia_128_cfb8`(void);

const EVP_CIPHER *
`EVP_camellia_192_cfb8`(void);

const EVP_CIPHER *
`EVP_camellia_256_cfb8`(void);

const EVP_CIPHER *
`EVP_camellia_128_cfb128`(void);

const EVP_CIPHER *
`EVP_camellia_192_cfb128`(void);

const EVP_CIPHER *
`EVP_camellia_256_cfb128`(void);

const EVP_CIPHER *
`EVP_camellia_128_ecb`(void);

const EVP_CIPHER *
`EVP_camellia_192_ecb`(void);

const EVP_CIPHER *
`EVP_camellia_256_ecb`(void);

const EVP_CIPHER *
`EVP_camellia_128_ofb`(void);

const EVP_CIPHER *
`EVP_camellia_192_ofb`(void);

const EVP_CIPHER *
`EVP_camellia_256_ofb`(void);

# DESCRIPTION

These functions provide the Camellia encryption algorithm in the evp(3) framework. Camellia is a block cipher operating on 128 bit blocks. These functions use 128, 192, and 256-bit keys in the following modes, respectively: CBC, CFB with 1-bit shift, CFB with 8-bit shift, CFB with 128-bit shift, ECB, and OFB.

`EVP_camellia_128_cfb`(), `EVP_camellia_192_cfb`(), and `EVP_camellia_256_cfb`() are aliases for `EVP_camellia_128_cfb128`(), `EVP_camellia_192_cfb128`(), and `EVP_camellia_256_cfb128`(), implemented as macros.

# RETURN VALUES

These functions return an EVP_CIPHER structure that provides the implementation of the symmetric cipher.

# SEE ALSO

evp(3), EVP_EncryptInit(3)

# HISTORY

These functions first appeared in OpenSSL 0.9.8c and have been available since OpenBSD 4.5.

June 8, 2025 | Debian