EVP_DESX_CBC(3ossl)

πŸ“¦
version 15.1 Β· 3 versions
, in freebsd 15.1

πŸ’– EVP_DESX_CBC(3ossl) πŸ’–

okay bestie, so this one lives in the OpenSSL manual, and it's literally the whole page for EVP_desx_cbc β€” the EVP DES-X cipher. buckle up, it's short but she's iconic πŸŽ€


✨ NAME ✨

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


🌸 SYNOPSIS 🌸

#include <openssl/evp.h>

const EVP_CIPHER *EVP_desx_cbc(void);

πŸ¦‹ DESCRIPTION πŸ¦‹

so this is the DES-X encryption algorithm, but for EVP β€” like, the EVP-flavoured version 🫢

quick vibe check on the numbers: all modes below use a key length of 128 bits and acts on blocks of 128-bits. yes, that's what it says, i'm just the messenger 🧚

πŸ’œ EVP_desx_cbc()

the DES-X algorithm, in CBC mode. periodt.

⚠️ okay so this is the important part: this algorithm is not provided by the OpenSSL default provider. if you wanna use it you literally have to load either the OpenSSL legacy provider or another implementation. no default-provider shortcuts, bestie 😭

also, devs β€” listen up πŸ‘‘ β€” you should be aware of the negative performance implications of calling this function multiple times, and you should consider using EVP_CIPHER_fetch(3) with EVP_CIPHER-DES(7) instead. see "Performance" in crypto(7) for further information. iykyk πŸ”₯


⭐ RETURN VALUES ⭐

these functions return an EVP_CIPHER structure that contains the implementation of the symmetric cipher. see EVP_CIPHER_meth_new(3) for details of the EVP_CIPHER structure. she gives exactly what she's supposed to πŸ’–


🌈 SEE ALSO 🌈

go read them, bestie, they're all linked lore πŸ“šβœ¨


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>.


aaaand that's the whole page πŸŽ€ mwah πŸ’‹ β€” sign-off time: this was version 3.5.6, dated 2026-04-07, and you just read EVP_DESX_CBC(3ossl). slay, go encrypt something (with the legacy provider loaded, obviously) πŸ¦‹πŸ’…

πŸ“¦ where this page comes from