EVP_DESX_CBC(3ossl)
π EVP_DESX_CBC(3ossl) β like, the whole OpenSSL manual page, bestie
okay so real talk, this one's called EVP_desx_cbc and it lives in the OpenSSL manual pages (that's the 3ossl bit, iykyk). Sit down, grab a boba, we're learning about a whole cipher together π«Ά
β¨ NAME β¨
EVP_desx_cbc β the EVP DES-X cipher. that's it, that's the name, slay π
πΈ SYNOPSIS πΈ
okay so first you gotta let your code know you're about to do cipher things:
#include <openssl/evp.h>
const EVP_CIPHER *EVP_desx_cbc(void);
like literally just that one function call, no drama, no cap β¨
π¦ DESCRIPTION π¦
So it's the DES-X encryption algorithm, but for EVP (the OpenSSL EVP layer, the main character of cipher-land π).
Lowkey important deets, bestie β read these carefully:
- all modes below use a key length of 128 bits and act on blocks of 128-bits. literally exactly what it says, no notes π
π EVP_desx_cbc()
- The DES-X algorithm, in CBC mode. iconic behaviour fr fr.
- β οΈ This algorithm is not provided by the OpenSSL default provider. So if you just call it and expect it to work, it's giving nothing. To actually use it you have to load either the OpenSSL legacy provider or another implementation. no legacy provider, no cipher β that's the vibe check π«
π performance, unfortunately
Developers should be aware of the negative performance implications of calling this function multiple times π β like don't be out here spamming it in a loop, that's not the move.
Instead, consider using EVP_CIPHER_fetch(3) with EVP_CIPHER-DES(7) instead. See "Performance" in crypto(7) for further information β go read it, bestie, it's worth the scroll πβ¨
π RETURN VALUES π
These functions return an EVP_CIPHER structure that contains the implementation of the symmetric cipher. So like, you get the cipher object back π
See EVP_CIPHER_meth_new(3) for details of the EVP_CIPHER structure β that's where all the lore lives π§
π₯ SEE ALSO π₯
π 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>.
okay that's the whole page, you ate that π
signing off with love: this was 3.5.0, dated 2026-09-25, straight from the EVP_DESX_CBC(3ossl) manual page. mwah πβ¨
π¦ where this page comes from
- opensuse-leap 16.0: openssl-3-doc 3.5.0-160000.11.1 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms