Encrypt or decrypt one 8-byte CAST block in ECB mode (deprecated; prefer EVP).
Declared in <openssl/cast.h>
[[deprecated]]
void
CAST_ecb_encrypt(
unsigned char const* in,
unsigned char* out,
CAST_KEY const* key,
int enc);
Deprecated. Use of this entity is allowed but discouraged.
| Name | Description |
|---|---|
| in | 8-byte input block. |
| out | 8-byte output buffer (may equal in). |
| key | Expanded CAST key from CAST_set_key(). |
| enc | CAST_ENCRYPT to encrypt, or CAST_DECRYPT to decrypt. |