EVP_CIPHER-NULL(7ossl)
π EVP_CIPHER-NULL β the NULL EVP_CIPHER implementation π
Okay so bestie, welcome to EVP_CIPHER-NULL(7ossl) from the OpenSSL fam β this is the manual page for the NULL cipher and it's literally the chillest crypto thing ever. Let's get into it β¨
β¨ NAME β¨
EVP_CIPHER-NULL β the NULL EVP_CIPHER implementation, no cap π«Ά
πΈ DESCRIPTION πΈ
So this is the support for a NULL symmetric encryption using the EVP_CIPHER API. It's what gets used when the TLS cipher suite is TLS_NULL_WITH_NULL_NULL β and the way that this works is honestly iconic in its laziness: it does no encryption (just copies the data π) and has a mac size of zero.
No thoughts, head empty, just vibing and copying bytes. We love a low-effort queen π
π¦ Algorithm Name π¦
The following algorithm is available in the default provider:
"NULL"
That's it. One name. One vibe. Main character energy fr fr π
π Parameters π
This implementation supports the following parameters:
Gettable EVP_CIPHER parameters
See "Gettable EVP_CIPHER parameters" in EVP_EncryptInit(3) β go read that if you wanna know the tea β
Gettable EVP_CIPHER_CTX parameters
"keylen"(OSSL_CIPHER_PARAM_KEYLEN) <unsigned integer>"ivlen"(OSSL_CIPHER_PARAM_IVLENand<OSSL_CIPHER_PARAM_AEAD_IVLEN) <unsigned integer>"tls-mac"(OSSL_CIPHER_PARAM_TLS_MAC) <octet ptr>
See "PARAMETERS" in EVP_EncryptInit(3) for further information β bestie, that's where the lore lives π
Settable EVP_CIPHER_CTX parameters
"tls-mac-size"(OSSL_CIPHER_PARAM_TLS_MAC_SIZE) <unsigned integer>
See "PARAMETERS" in EVP_EncryptInit(3) for further information. Same vibe, different direction π«
π§ CONFORMING TO π§
RFC 5246 section-6.2.3.1 β yes, it's a real spec, not me making stuff up π₯
π SEE ALSO π
Go give 'em a read, they're giving supporting cast excellence π
β COPYRIGHT β
Copyright 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>.
π real talk: the NULL cipher does zero encryption and zero MAC, so likeβ¦ it's literally a fancy memcpy. Don't go thinking it's protecting anything, bestie. It's here for TLS_NULL_WITH_NULL_NULL and that's it. The spec is RFC 5246 section-6.2.3.1 and the details above are the whole story π
That's the whole page, bestie β stay slay, keep your ciphers real (this one isn't, and that's the point π). This was EVP_CIPHER-NULL(7ossl) from OpenSSL version 3.5.9, dated 2026-09-29 β mwah, periodt! ππ¦β¨
π¦ where this page comes from
- alpine 3.23: openssl-doc 3.5.9-r0 Β· Apache-2.0
- alpine 3.24: openssl-doc 3.5.9-r0 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms