info > EVP_CIPHER-CAST(7)

```html

EVP_CIPHER-CAST(7SSL) β€” OpenSSL

πŸ“Œ NAME

EVP_CIPHER-CAST β€” The CAST EVP_CIPHER implementations

πŸš€ Quick Reference

Use Case Command Description
πŸ” Encrypt with CAST-128-CBC EVP_CIPHER_fetch(NULL, "CAST-128-CBC", NULL) Obtain a CAST-128 cipher in CBC mode (64‑bit block, 128‑bit key)
πŸ” Encrypt with CAST-192-CBC EVP_CIPHER_fetch(NULL, "CAST-192-CBC", NULL) CAST cipher with 192‑bit key, CBC mode
πŸ” Encrypt with CAST-256-CBC EVP_CIPHER_fetch(NULL, "CAST-256-CBC", NULL) CAST cipher with 256‑bit key, CBC mode (128‑bit block)
πŸ” Use CFB mode EVP_CIPHER_fetch(NULL, "CAST-128-CFB", NULL) CAST-128 in CFB (cipher feedback) mode
πŸ” Use ECB mode EVP_CIPHER_fetch(NULL, "CAST-128-ECB", NULL) CAST-128 in ECB (electronic codebook) mode
πŸ” Use OFB mode EVP_CIPHER_fetch(NULL, "CAST-128-OFB", NULL) CAST-128 in OFB (output feedback) mode
πŸ”§ Access parameters EVP_CIPHER_CTX_get_params() Retrieve cipher parameters (key size, IV length, etc.)
πŸ”§ Set parameters EVP_CIPHER_CTX_set_params() Set cipher parameters (e.g., custom key length)
πŸ“¦ Load legacy provider OSSL_PROVIDER_load(NULL, "legacy") CAST algorithms are only available in the legacy provider

πŸ“– Description

Support for CAST symmetric encryption using the EVP_CIPHER API.

🏷️ Algorithm Names

The following algorithms are available in the legacy provider:

βš™οΈ Parameters

This implementation supports the parameters described in PARAMETERS in EVP_EncryptInit(3).

πŸ“š See Also

πŸ“„ Copyright

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

3.0.2 β€” 2026-06-02 β€” EVP_CIPHER-CAST(7SSL)

```
EVP_CIPHER-CAST(7)
EVP_CIPHER-CAST(7SSL) β€” OpenSSL πŸ“Œ NAME πŸš€ Quick Reference πŸ“– Description
🏷️ Algorithm Names βš™οΈ Parameters
πŸ“š See Also πŸ“„ Copyright

Generated by phpman v4.9.26-1-g511901d Author: Che Dong Under GNU General Public License
2026-08-07 01:57 @216.73.216.207
CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Valid XHTML 1.0 Transitional!Valid CSS!
Enhanced by LLM: deepseek-v4-flash / taotoken.net / www.chedong.com - original format