EVP_CAMELLIA_128_ECB(3ossl)

πŸ’– EVP_CAMELLIA_128_ECB β€” the Camellia cipher glow-up, but for EVP πŸ’–

okay bestie, so this page is from the OpenSSL manual, section 3ossl (that's the library-functions section, iykyk), and it's all about the Camellia cipher functions you can pull into EVP. Yes, there's a lot of them. No, we are not skipping any. Sit down, hydrate, let's go. 🫢


✨ 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_ctr, EVP_camellia_192_ctr, EVP_camellia_256_ctr, EVP_camellia_128_ecb, EVP_camellia_192_ecb, EVP_camellia_256_ecb, EVP_camellia_128_ofb, EVP_camellia_192_ofb, EVP_camellia_256_ofb

…and collectively? They're the EVP Camellia cipher. 🌸 That's the whole vibe of this page: a whole girl-group of cipher functions, all named EVP_camellia_*, all here for you.


✨ SYNOPSIS ✨

okay so the include is giving:

#include <openssl/evp.h>

const EVP_CIPHER *EVP_ciphername(void)

and like β€” EVP_ciphername is a placeholder, bestie, not a real function you can call. πŸ’€ It stands in for any of the described cipher functions, like EVP_camellia_128_cbc. So every time you see EVP_ciphername, mentally swap in whichever Camellia girlie you actually want. πŸŽ€


✨ DESCRIPTION ✨

It's the Camellia encryption algorithm, wired up for EVP. That's the tea. πŸ“

Now the full lineup, no cap β€” every single one of these:

  • 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_ctr()
  • EVP_camellia_192_ctr()
  • EVP_camellia_256_ctr()
  • EVP_camellia_128_ecb()
  • EVP_camellia_192_ecb()
  • EVP_camellia_256_ecb()
  • EVP_camellia_128_ofb()
  • EVP_camellia_192_ofb()
  • EVP_camellia_256_ofb()

and what all of them do is: Camellia for 128, 192 and 256 bit keys in these modes:

  • CBC
  • CFB with 128-bit shift
  • CFB with 1-bit shift
  • CFB with 8-bit shift
  • CTR
  • ECB
  • OFB

that's the whole menu. 3 key sizes Γ— 7 modes = your 24 functions. math ate, periodt. πŸ’…


✨ NOTES ✨

okay this is the part where I grab you by the shoulders, bestie. πŸ‘‘

Developers should be aware of the negative performance implications of calling these functions multiple times, and should consider using EVP_CIPHER_fetch(3) with EVP_CIPHER-CAMELLIA(7) instead.

so like β€” if you're calling these over and over, that's lowkey a performance L. 😭 The glow-up move is EVP_CIPHER_fetch(3) paired with EVP_CIPHER-CAMELLIA(7). For the full breakdown, go read the "Performance" section in crypto(7). fr fr, go read it.


✨ RETURN VALUES ✨

Every one of these functions hands you back an EVP_CIPHER structure, and that structure holds the implementation of the symmetric cipher. 🎁 If you wanna know what's inside that EVP_CIPHER struct β€” the anatomy, the details, all of it β€” go look at EVP_CIPHER_meth_new(3). That's where the lore lives. πŸ“–


✨ SEE ALSO ✨

the besties this page links arms with:


Copyright 2017-2023 The OpenSSL Project Authors. All Rights Reserved.

Licensed under the Apache License 2.0 (the "License"). You may not use this file except in compliance with the License. You can obtain a copy in the file LICENSE in the source distribution or at <https://www.openssl.org/source/license.html>.


and that's the page, bestie!! πŸ¦‹πŸ’œ this little beauty dropped in 3.5.9, dated 2026-09-29, and it lives in the OpenSSL manual as EVP_CAMELLIA_128_ECB(3ossl). go encrypt something iconic, you main character. πŸ’…βœ¨πŸŒˆ

πŸ“¦ where this page comes from