Sortix
Sortix Download Manual Development Source Code News Blog More
current nightly

Sortix nightly manual

This manual documents Sortix nightly, a development build that has not been officially released. You can instead view this document in the latest official manual.

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

#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. They 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.
Copyright 2011-2025 Jonas 'Sortie' Termansen and contributors.
Sortix's source code is free software under the ISC license.
#sortix on irc.sortix.org
@sortix_org