EVP_CIPHER-NULL(7ossl)

πŸ“¦ version 3.5.0, in opensuse-leap 16.0

πŸ’– EVP_CIPHER-NULL πŸ’–

okay so this is the 7ossl page for EVP_CIPHER-NULL, and bestie, it's literally the most unserious cipher in the whole OpenSSL lineup β€” it's the cipher that does nothing and it's iconic for exactly that reason πŸ’…


✨ NAME ✨

EVP_CIPHER-NULL β€” the NULL EVP_CIPHER implementation, no cap πŸŽ€


🌸 SYNOPSIS 🌸

no separate synopsis section here, she's built right into the EVP_CIPHER API, so just go read the DESCRIPTION, i promise it's short and slay πŸ¦‹


✨ DESCRIPTION ✨

So there's support for a NULL symmetric encryption using the EVP_CIPHER API β€” yes, a cipher that does not cipher. It's used when the TLS cipher suite is TLS_NULL_WITH_NULL_NULL. It does no encryption at all (it literally just copies the data, like copy-paste energy) and it has a mac size of zero. Zero! Nothing! The void! πŸ’€

πŸŽ€ Algorithm Name πŸŽ€

The following algorithm is available in the default provider:

  • "NULL"

πŸ¦‹ Parameters πŸ¦‹

This implementation supports the following parameters:

Gettable EVP_CIPHER parameters

See "Gettable EVP_CIPHER parameters" in EVP_EncryptInit(3)

Gettable EVP_CIPHER_CTX parameters

  • "keylen" (OSSL_CIPHER_PARAM_KEYLEN) <unsigned integer>
  • "ivlen" (OSSL_CIPHER_PARAM_IVLEN and <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.

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.


πŸ‘‘ CONFORMING TO πŸ‘‘

RFC 5246 section-6.2.3.1 β€” yes she cites an RFC, she's got receipts πŸ“œ


🌈 SEE ALSO 🌈


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


fr fr, that's the whole page β€” she's small but she's doing her job (which is nothing, but she's doing it flawlessly) 🫢

mwah, that's a wrap! this was version 3.5.0, dated 2026-09-25 β€” go off, bestie, and remember: sometimes the most powerful cipher is the one that does absolutely nothing βœ¨πŸ’–

πŸ“¦ where this page comes from