EVP_DESX_CBC(3ossl)

πŸ’– EVP_DESX_CBC(3ossl) β€” aka the OpenSSL DES-X cipher page, but make it make sense πŸ’–

okay bestie, welcome to the EVP_DESX_CBC manual page from the OpenSSL fam 🫢 this is the one that tells you all about EVP_desx_cbc, and yes it's a real function, and yes it's giving very specific cryptographic energy. let's get into it ✨


πŸŽ€ NAME πŸŽ€

EVP_desx_cbc β€” the EVP DES-X cipher, no cap πŸ’…


✨ SYNOPSIS ✨

lowkey just one include and one function, we love a minimal moment:

#include <openssl/evp.h>

const EVP_CIPHER *EVP_desx_cbc(void);

🌸 DESCRIPTION 🌸

So. EVP_desx_cbc is the DES-X encryption algorithm for EVP. That's the whole vibe of it. πŸ¦‹

Heads up tho, because this part matters fr fr: all modes below use a key length of 128 bits and acts on blocks of 128-bits. Like, that's the spec, don't come for me, I'm just the messenger πŸ’€

πŸ’« EVP_desx_cbc()

This one is the DES-X algorithm in CBC mode. periodt.

🚨 real talk bestie: this algorithm is not provided by the OpenSSL default provider. If you wanna use it, you have to load either the OpenSSL legacy provider or another implementation. no provider, no party πŸ™ˆ

Also, devs, listen up πŸ‘‘ β€” there are negative performance implications of calling this function multiple times. So instead of spamming it like it's a group chat, consider using EVP_CIPHER_fetch(3) with EVP_CIPHER-DES(7) instead. There's more on this in the "Performance" section of crypto(7). iykyk πŸ’œ


πŸ“ RETURN VALUES πŸ“

These functions return an EVP_CIPHER structure that contains the implementation of the symmetric cipher. If you wanna know what's inside that EVP_CIPHER structure, go peek at EVP_CIPHER_meth_new(3) for the details. slay 🌈


🌟 SEE ALSO 🌟

the little crew that comes with this page:


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 whole page bestie, we ate and left no crumbs πŸ’…βœ¨ this was EVP_DESX_CBC(3ossl) from the OpenSSL manual, version 3.5.9, dated 2026-09-29 β€” mwah, go encrypt something cute πŸŽ€πŸ’–πŸ¦‹

πŸ“¦ where this page comes from