EVP_BF_CBC(3ossl)
π EVP_BF_CBC π
okay so this is from the 3ossl manual fam β like, OpenSSL section 3, and it's all about the Blowfish ciphers in EVP. bestie, get comfy, we're meeting the fish π‘β¨
β¨ NAME β¨
EVP_bf_cbc, EVP_bf_cfb, EVP_bf_cfb64, EVP_bf_ecb, EVP_bf_ofb β the EVP Blowfish cipher, no cap π
π SYNOPSIS π
#include <openssl/evp.h>
const EVP_CIPHER *EVP_bf_cbc(void);
const EVP_CIPHER *EVP_bf_cfb(void);
const EVP_CIPHER *EVP_bf_cfb64(void);
const EVP_CIPHER *EVP_bf_ecb(void);
const EVP_CIPHER *EVP_bf_ofb(void);
like, five little functions, all void-taking, all handing you back a const EVP_CIPHER *. slay πΈ
π¦ DESCRIPTION π¦
So the Blowfish encryption algorithm, but for EVP. that's the whole vibe.
And listen β this is a variable key length cipher. yes bestie, the key length is a whole variable, it's giving flexible β¨
Here's the lineup, one bullet each, no skips:
EVP_bf_cbc()β Blowfish encryption algorithm in CBC mode πEVP_bf_cfb()β Blowfish encryption algorithm in CFB mode πEVP_bf_cfb64()β Blowfish encryption algorithm in CFB mode, the64one πEVP_bf_ecb()β Blowfish encryption algorithm in ECB mode πEVP_bf_ofb()β Blowfish encryption algorithm in OFB mode π
(and yeah, the doc lists them all together as "CBC, CFB, ECB and OFB modes respectively" β I just broke it out so your brain doesn't have to hold all five at once, you're welcome π«Ά)
π₯ NOTES π₯
okay real talk, pay attention here because this is the part that matters:
Developers should be aware of the negative performance implications of calling these functions multiple times π and should consider usingEVP_CIPHER_fetch(3)withEVP_CIPHER-BLOWFISH(7)instead.
and if you wanna know why, go read "Performance" in crypto(7) for the further information. iykyk π§
β RETURN VALUES β
These functions return an EVP_CIPHER structure that contains the implementation of the symmetric cipher. that's the whole return, that's the bag π°
Want the details of what's actually inside that EVP_CIPHER structure? See EVP_CIPHER_meth_new(3), it's all laid out there π
π SEE ALSO π
go read these next, bestie, they're the friends of this page:
π COPYRIGHT π
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!! π mwah, go encrypt something responsibly π‘β¨
sign-off szn: this lil beauty is from version 3.5.6, dated 2026-04-07, and it lives at the page name EVP_BF_CBC(3ossl) β see you in the group chat ππ«Άπ
π¦ where this page comes from
- freebsd 15.1: base 15.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms